{"name": "build_id_cache__add_file", "code": "__int64 __fastcall build_id_cache__add_file ( const char * @@a1@@ , __int64 @@a2@@ ) { __int64 @@result@@ ; const char * @@v3@@ ; unsigned int @@v4@@ ; char @@v5@@ [ Number ] ; char @@v6@@ [ Number ] ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; if ( ( int ) filename__read_build_id ( @@a1@@ , @@v5@@ , Number L ) >= Number ) { build_id__sprintf ( @@v5@@ , Number L , @@v6@@ ) ; @@v4@@ = build_id_cache__add_s ( @@v6@@ , @@a2@@ , @@a1@@ , Number L ) ; if ( verbose ) { if ( @@v4@@ ) @@v3@@ = String ; else @@v3@@ = String ; eprintf ( Number L , String , @@v6@@ , @@a1@@ , @@v3@@ ) ; } @@result@@ = @@v4@@ ; } else { eprintf ( Number L , String , @@a1@@ ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "v3", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s100"}, {"n": "v6", "t": {"T": 2, "n": 56, "s": 1, "t": "char"}, "location": "s64"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "v5", "t": {"T": 2, "n": 32, "s": 1, "t": "char"}, "location": "s96"}]}
{"name": "__cmd_buildid_cache", "code": "__int64 _cmd_buildid_cache ( ) { int * v0 ; char * v1 ; int * v2 ; char * v3 ; __int64 i ; __int64 j ; __int64 v7 ; __int64 v8 ; char @@s@@ [ Number ] ; unsigned __int64 @@v10@@ ; @@v10@@ = __readfsqword ( Number ) ; snprintf ( @@s@@ , Number , String , ( const char * ) & buildid_dir ) ; if ( add_name_list_str ) { v7 = strlist__new ( Number L , add_name_list_str ) ; if ( v7 ) { for ( i = strlist__first ( v7 ) ; i ; i = strlist__next ( i ) ) { if ( ( unsigned int ) build_id_cache__add_file ( * ( const char * * ) ( i + Number ) , ( __int64 ) @@s@@ ) ) { if ( * _errno_location ( ) == Number ) { eprintf ( Number L , String , * ( const char * * ) ( i + Number ) ) ; } else { v0 = _errno_location ( ) ; v1 = strerror ( * v0 ) ; eprintf ( Number L , String , * ( const char * * ) ( i + Number ) , v1 ) ; } } } strlist__delete ( v7 ) ; } } if ( remove_name_list_str ) { v8 = strlist__new ( Number L , remove_name_list_str ) ; if ( v8 ) { for ( j = strlist__first ( v8 ) ; j ; j = strlist__next ( j ) ) { if ( ( unsigned int ) build_id_cache__remove_file ( * ( const char * * ) ( j + Number ) , ( __int64 ) @@s@@ ) ) { if ( * _errno_location ( ) == Number ) { eprintf ( Number L , String , * ( const char * * ) ( j + Number ) ) ; } else { v2 = _errno_location ( ) ; v3 = strerror ( * v2 ) ; eprintf ( Number L , String , * ( const char * * ) ( j + Number ) , v3 ) ; } } } strlist__delete ( v8 ) ; } } return Number L ; }", "source": [{"n": "s", "t": {"T": 2, "n": 4104, "s": 1, "t": "char"}, "location": "s4112"}, {"n": "v10", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}