{"name": "add_buf", "code": "__int64 __fastcall add_buf ( __int64 * @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; if ( ! @@a2@@ ) return Number L ; @@v3@@ = wpabuf_len ( @@a2@@ ) ; if ( ( unsigned int ) wpabuf_resize ( @@a1@@ , @@v3@@ ) ) return Number ; wpabuf_put_buf ( * @@a1@@ , @@a2@@ ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "wpabuf_len", "code": "__int64 __fastcall wpabuf_len ( __int64 @@a1@@ ) { return * ( _QWORD * ) ( @@a1@@ + Number ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "wpabuf_put_buf", "code": "void __fastcall wpabuf_put_buf ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v2@@ ; const void * @@v3@@ ; @@v2@@ = wpabuf_len ( @@a2@@ ) ; @@v3@@ = ( const void * ) wpabuf_head ( @@a2@@ ) ; wpabuf_put_data ( @@a1@@ , @@v3@@ , @@v2@@ ) ; }", "source": [{"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v3", "t": {"T": 3, "t": "const void"}, "location": "r8"}]} {"name": "add_buf_data", "code": "__int64 __fastcall add_buf_data ( __int64 * @@a1@@ , const void * @@a2@@ , size_t @@a3@@ ) { if ( ! @@a2@@ || ! @@a3@@ ) return Number L ; if ( ( unsigned int ) wpabuf_resize ( @@a1@@ , @@a3@@ ) ) return Number ; wpabuf_put_data ( * @@a1@@ , @@a2@@ , @@a3@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "__int64"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const void"}, "location": "r64"}]} {"name": "hostapd_build_ap_extra_ies", "code": "__int64 __fastcall hostapd_build_ap_extra_ies ( _QWORD * @@a1@@ , _QWORD * @@a2@@ , _QWORD * @@a3@@ , _QWORD * @@a4@@ ) { __int64 @@result@@ ; char @@v7@@ [ Number ] ; __int64 @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; char * @@v12@@ ; @@v10@@ = Number L ; @@v9@@ = Number L ; @@v8@@ = Number L ; * @@a4@@ = Number L ; * @@a3@@ = * @@a4@@ ; * @@a2@@ = * @@a3@@ ; @@v12@@ = @@v7@@ ; @@v12@@ = ( char * ) hostapd_eid_time_adv ( @@a1@@ , @@v7@@ ) ; if ( ( int ) add_buf_data ( & @@v10@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number ) goto LABEL_15 ; @@v12@@ = ( char * ) hostapd_eid_time_zone ( @@a1@@ , @@v12@@ ) ; if ( ( int ) add_buf_data ( & @@v9@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number ) goto LABEL_15 ; @@v12@@ = @@v7@@ ; @@v12@@ = ( char * ) hostapd_eid_ext_capab ( @@a1@@ , @@v7@@ ) ; if ( ( int ) add_buf_data ( & @@v8@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number ) goto LABEL_15 ; @@v12@@ = ( char * ) hostapd_eid_interworking ( @@a1@@ , @@v12@@ ) ; @@v12@@ = ( char * ) hostapd_eid_adv_proto ( @@a1@@ , @@v12@@ ) ; @@v12@@ = ( char * ) hostapd_eid_roaming_consortium ( @@a1@@ , @@v12@@ ) ; if ( ( int ) add_buf_data ( & @@v10@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number || ( int ) add_buf_data ( & @@v9@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number || ( int ) add_buf ( & @@v10@@ , @@a1@@ [ Number ] ) < Number || ( int ) add_buf ( & @@v9@@ , @@a1@@ [ Number ] ) < Number ) { goto LABEL_15 ; } if ( * ( _DWORD * ) ( @@a1@@ [ Number ] + Number L ) ) { @@v11@@ = wps_build_assoc_resp_ie ( ) ; add_buf ( & @@v8@@ , @@v11@@ ) ; wpabuf_free ( @@v11@@ ) ; } @@v12@@ = ( char * ) hostapd_eid_hs20_indication ( @@a1@@ , @@v7@@ ) ; if ( ( int ) add_buf_data ( & @@v10@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number || ( int ) add_buf_data ( & @@v9@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number || ( @@v12@@ = ( char * ) hostapd_eid_osen ( @@a1@@ , @@v7@@ ) , ( int ) add_buf_data ( & @@v10@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number ) || ( int ) add_buf_data ( & @@v9@@ , @@v7@@ , @@v12@@ - @@v7@@ ) < Number ) { LABEL_15 : wpabuf_free ( @@v10@@ ) ; wpabuf_free ( @@v9@@ ) ; wpabuf_free ( @@v8@@ ) ; @@result@@ = Number ; } else { add_buf ( & @@v10@@ , * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ) ; add_buf ( & @@v9@@ , * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ) ; add_buf ( & @@v8@@ , * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ) ; * @@a2@@ = @@v10@@ ; * @@a3@@ = @@v9@@ ; * @@a4@@ = @@v8@@ ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "_QWORD"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "_QWORD"}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_QWORD"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v7", "t": {"T": 2, "n": 200, "s": 1, "t": "char"}, "location": "s240"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v12", "t": {"T": 3, "t": "char"}, "location": "s8"}]}