{"name": "disasm_line__new", "code": "void * __fastcall disasm_line__new ( __int64 @@a1@@ , const char * @@a2@@ , __int64 @@a3@@ , int @@a4@@ ) { void * @@ptr@@ ; @@ptr@@ = zalloc ( @@a3@@ + Number ) ; if ( ! @@ptr@@ ) return @@ptr@@ ; * ( ( _QWORD * ) @@ptr@@ + Number ) = @@a1@@ ; * ( ( _QWORD * ) @@ptr@@ + Number ) = strdup ( @@a2@@ ) ; * ( ( _DWORD * ) @@ptr@@ + Number ) = @@a4@@ ; if ( * ( ( _QWORD * ) @@ptr@@ + Number ) ) { if ( @@a1@@ == Number ) return @@ptr@@ ; if ( ( int ) disasm_line__parse ( * ( ( const char * * ) @@ptr@@ + Number ) , ( void * * ) @@ptr@@ + Number , ( unsigned __int8 * * ) @@ptr@@ + Number ) >= Number ) { disasm_line__init_ins ( ( __int64 ) @@ptr@@ ) ; return @@ptr@@ ; } free ( * ( ( void * * ) @@ptr@@ + Number ) ) ; * ( ( _QWORD * ) @@ptr@@ + Number ) = Number L ; } free ( @@ptr@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "s16"}]}
{"name": "zalloc", "code": "void * __fastcall zalloc ( size_t @@a1@@ ) { return calloc ( Number , @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r56"}]} {"name": "disasm_line__init_ins", "code": "unsigned __int64 __fastcall disasm_line__init_ins ( __int64 @@a1@@ ) { unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; * ( _QWORD * ) ( @@a1@@ + Number ) = ins__find ( * ( const void * * ) ( @@a1@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) && * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) && * ( _QWORD * ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) && ( * ( int ( __fastcall * * ) ( __int64 ) ) ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) + Number L ) ) ( @@a1@@ + Number ) < Number ) { * ( _QWORD * ) ( @@a1@@ + Number ) = Number L ; } return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "disasm_line__parse", "code": "__int64 __fastcall disasm_line__parse ( const char * @@a1@@ , void * * @@a2@@ , unsigned __int8 * * @@a3@@ ) { __int64 @@result@@ ; unsigned __int8 @@v5@@ ; while ( ( * ( ( _BYTE * ) & sane_ctype + * ( unsigned __int8 * ) @@a1@@ ) & Number ) != Number ) ++ @@a1@@ ; if ( ! * @@a1@@ ) return Number ; for ( * @@a3@@ = ( unsigned __int8 * ) ( @@a1@@ + Number ) ; * * @@a3@@ && ( * ( ( _BYTE * ) & sane_ctype + * * @@a3@@ ) & Number ) == Number ; ++ * @@a3@@ ) ; @@v5@@ = * * @@a3@@ ; * * @@a3@@ = Number ; * @@a2@@ = strdup ( @@a1@@ ) ; if ( * @@a2@@ ) { * * @@a3@@ = @@v5@@ ; if ( * * @@a3@@ ) { ++ * @@a3@@ ; while ( ( * ( ( _BYTE * ) & sane_ctype + * * @@a3@@ ) & Number ) != Number ) ++ * @@a3@@ ; } @@result@@ = Number L ; } else { free ( * @@a2@@ ) ; * @@a2@@ = Number L ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "unsigned __int8 *"}, "location": "r16"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "void *"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "s17"}]} {"name": "symbol__parse_objdump_line", "code": "__int64 __fastcall symbol__parse_objdump_line ( __int64 @@a1@@ , __int64 @@a2@@ , FILE * @@a3@@ , __int64 @@a4@@ , int * @@a5@@ ) { __int64 result ; __int64 @@v6@@ ; __int64 v7 ; char * v8 ; char * @@lineptr@@ ; char * @@endptr@@ ; size_t @@n@@ ; char * @@v15@@ ; char * @@nptr@@ ; unsigned __int64 @@v17@@ ; __int64 @@v18@@ ; __int64 @@v19@@ ; char * @@v20@@ ; unsigned __int64 @@v21@@ ; unsigned __int64 @@v22@@ ; _QWORD * @@v23@@ ; __int64 @@v24@@ ; __int64 @@v25@@ ; __int64 @@v26@@ ; __int64 @@v27@@ ; regmatch_t @@v28@@ ; int @@v29@@ ; unsigned __int64 @@v30@@ ; @@v30@@ = __readfsqword ( Number ) ; @@v19@@ = symbol__annotation ( @@a1@@ ) ; @@lineptr@@ = Number L ; @@v18@@ = Number ; if ( getline ( & @@lineptr@@ , & @@n@@ , @@a3@@ ) < Number ) return Number ; if ( ! @@lineptr@@ ) return Number ; while ( @@n@@ && ( * ( ( _BYTE * ) & sane_ctype + ( unsigned __int8 ) @@lineptr@@ [ @@n@@ - Number ] ) & Number ) != Number ) @@lineptr@@ [ -- @@n@@ ] = Number ; @@v20@@ = strchr ( @@lineptr@@ , Number ) ; if ( @@v20@@ ) * @@v20@@ = Number ; @@v17@@ = Number ; @@v15@@ = @@lineptr@@ ; if ( regexec ( & file_lineno , @@lineptr@@ , Number , & @@v28@@ , Number ) ) { for ( @@nptr@@ = @@lineptr@@ ; * @@nptr@@ && * @@nptr@@ == Number ; ++ @@nptr@@ ) ; if ( * @@nptr@@ ) { @@v17@@ = strtoull ( @@nptr@@ , & @@endptr@@ , Number ) ; if ( * @@endptr@@ != Number || @@nptr@@ == @@endptr@@ || ! @@endptr@@ [ Number ] ) @@v17@@ = Number ; } if ( @@v17@@ != Number ) { @@v21@@ = map__rip_2objdump ( @@a2@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v22@@ = map__rip_2objdump ( @@a2@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v18@@ = @@v17@@ - @@v21@@ ; if ( @@v21@@ <= @@v17@@ && @@v22@@ > @@v17@@ ) @@v15@@ = @@endptr@@ + Number ; else @@v18@@ = Number ; } @@v23@@ = disasm_line__new ( @@v18@@ , @@v15@@ , @@a4@@ , * @@a5@@ ) ; free ( @@lineptr@@ ) ; ++ * @@a5@@ ; if ( @@v23@@ ) { if ( @@v23@@ [ Number ] == Number ) { @@v6@@ = @@v23@@ [ Number ] ; v7 = map__rip_2objdump ( @@a2@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v23@@ [ Number ] = @@v6@@ - v7 ; } if ( @@v23@@ [ Number ] ) { if ( ins__is_call ( @@v23@@ [ Number ] ) && ! @@v23@@ [ Number ] ) { @@v25@@ = Number L ; @@v26@@ = Number L ; @@v27@@ = Number L ; @@v24@@ = @@a2@@ ; @@v26@@ = @@v23@@ [ Number ] ; if ( ! ( unsigned int ) map_groups__find_ams ( & @@v24@@ , Number L ) && * ( _QWORD * ) ( @@v25@@ + Number ) == @@v27@@ ) { v8 = strdup ( ( const char * ) ( @@v25@@ + Number ) ) ; @@v23@@ [ Number ] = v8 ; } } } disasm__add ( * ( _QWORD * ) ( @@v19@@ + Number ) , @@v23@@ ) ; result = Number L ; } else { result = Number ; } } else { * @@a5@@ = atoi ( & @@lineptr@@ [ @@v29@@ ] ) ; result = Number L ; } return result ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "FILE"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "v6", "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": "a5", "t": {"T": 3, "t": "int"}, "location": "r72"}, {"n": "v21", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s104"}, {"n": "v20", "t": {"T": 3, "t": "char"}, "location": "s112"}, {"n": "v19", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s120"}, {"n": "v18", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s128"}, {"n": "v17", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s136"}, {"n": "nptr", "t": {"T": 3, "t": "char"}, "location": "s144"}, {"n": "v15", "t": {"T": 3, "t": "char"}, "location": "s152"}, {"n": "n", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s160"}, {"n": "endptr", "t": {"T": 3, "t": "char"}, "location": "s168"}, {"n": "lineptr", "t": {"T": 3, "t": "char"}, "location": "s176"}, {"n": "v30", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v29", "t": {"T": 1, "n": "int", "s": 4}, "location": "s40"}, {"n": "v28", "t": {"T": 6, "n": "regmatch_t", "l": [{"T": 4, "n": "rm_so", "t": "regoff_t", "s": 4}, {"T": 4, "n": "rm_eo", "t": "regoff_t", "s": 4}]}, "location": "s48"}, {"n": "v27", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v26", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v25", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v24", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v23", "t": {"T": 3, "t": "_QWORD"}, "location": "s88"}, {"n": "v22", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s96"}]}