{"name": "hist_iter__report_callback", "code": "__int64 __fastcall hist_iter__report_callback ( __int64 @@a1@@ , __int64 @@a2@@ , char @@a3@@ , __int64 @@a4@@ ) { unsigned int @@v7@@ ; __int64 @@v8@@ ; __int64 @@v9@@ ; __int64 @@v10@@ ; __int64 @@v11@@ ; @@v7@@ = Number ; @@v8@@ = @@a4@@ ; @@v9@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v10@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; report__inc_stats ( @@a4@@ , @@v9@@ ) ; if ( ( unsigned __int8 ) ui__has_annotation ( @@a4@@ ) != Number ) return Number L ; if ( sort__mode == Number ) { @@v11@@ = * ( _QWORD * ) ( @@v9@@ + Number ) ; @@v7@@ = addr_map_symbol__inc_samples ( @@v11@@ , * ( unsigned int * ) ( @@v10@@ + Number ) ) ; if ( ! @@v7@@ ) @@v7@@ = addr_map_symbol__inc_samples ( @@v11@@ + Number , * ( unsigned int * ) ( @@v10@@ + Number ) ) ; return @@v7@@ ; } if ( ! * ( _BYTE * ) ( @@v8@@ + Number ) ) { if ( symbol_conf [ Number ] && ! @@a3@@ ) return @@v7@@ ; return hist_entry__inc_addr_samples ( @@v9@@ , * ( unsigned int * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@a2@@ + Number ) ) ; } @@v7@@ = addr_map_symbol__inc_samples ( * ( _QWORD * ) ( @@v9@@ + Number ) + Number L , * ( unsigned int * ) ( @@v10@@ + Number ) ) ; if ( ! @@v7@@ ) return hist_entry__inc_addr_samples ( @@v9@@ , * ( unsigned int * ) ( @@v10@@ + Number ) , * ( _QWORD * ) ( @@a2@@ + Number ) ) ; return @@v7@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v7", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s52"}]}
{"name": "report__inc_stats", "code": "unsigned __int64 __fastcall report__inc_stats ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@v3@@ ; @@v3@@ = __readfsqword ( Number ) ; if ( * ( _DWORD * ) ( @@a2@@ + Number ) == Number ) ++ * ( _QWORD * ) ( @@a1@@ + Number ) ; return __readfsqword ( Number ) ^ @@v3@@ ; }", "source": [{"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": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "process_sample_event", "code": "__int64 __fastcall process_sample_event ( __int64 @@a1@@ , unsigned int * @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ ) { __int64 @@result@@ ; int @@v8@@ ; char @@v9@@ [ Number ] ; __int64 @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; __int64 @@v16@@ ; __int64 @@v17@@ ; __int64 @@v18@@ ; void * @@v19@@ ; __int64 ( __fastcall * @@v20@@ ) ( __int64 , __int64 , char , __int64 ) ; unsigned __int64 @@v21@@ ; @@v21@@ = __readfsqword ( Number ) ; @@v12@@ = Number L ; @@v13@@ = Number L ; @@v14@@ = Number L ; @@v15@@ = Number L ; @@v16@@ = Number L ; @@v17@@ = Number L ; @@v18@@ = Number L ; @@v19@@ = Number L ; @@v20@@ = Number L ; @@v13@@ = * ( unsigned __int8 * ) ( @@a1@@ + Number ) ; @@v20@@ = hist_iter__report_callback ; if ( ( int ) perf_event__preprocess_sample ( @@a2@@ , @@a5@@ , @@v9@@ , @@a3@@ ) >= Number ) { if ( ! * ( _BYTE * ) ( @@a1@@ + Number ) || @@v11@@ ) { if ( ! * ( _QWORD * ) ( @@a1@@ + Number ) || ( ( * ( _QWORD * ) ( Number L * ( * ( _DWORD * ) ( @@a3@@ + Number ) >> Number ) + @@a1@@ + Number ) >> ( * ( _DWORD * ) ( @@a3@@ + Number ) & Number ) ) & Number L ) != Number ) { if ( sort__mode == Number ) { @@v19@@ = & hist_iter_branch ; } else if ( * ( _BYTE * ) ( @@a1@@ + Number ) ) { @@v19@@ = & hist_iter_mem ; } else if ( symbol_conf [ Number ] ) { @@v19@@ = & hist_iter_cumulative ; } else { @@v19@@ = & hist_iter_normal ; } if ( @@v10@@ ) * ( _BYTE * ) ( * ( _QWORD * ) ( @@v10@@ + Number ) + Number L ) |= Number ; @@v8@@ = hist_entry_iter__add ( & @@v12@@ , @@v9@@ , @@a4@@ , @@a3@@ , * ( unsigned int * ) ( @@a1@@ + Number ) , @@a1@@ ) ; if ( @@v8@@ < Number ) eprintf ( Number L , verbose , String ) ; @@result@@ = ( unsigned int ) @@v8@@ ; } else { @@result@@ = Number L ; } } else { @@result@@ = Number L ; } } else { eprintf ( Number L , verbose , String , * @@a2@@ ) ; @@result@@ = Number ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "unsigned int"}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s104"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s112"}, {"n": "v9", "t": {"T": 2, "n": 16, "s": 1, "t": "char"}, "location": "s128"}, {"n": "v20", "t": {"T": 9, "n": "__int64 (__fastcall *)(__int64 a1, __int64 a2, char a3, __int64 a4)"}, "location": "s16"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s160"}, {"n": "v19", "t": {"T": 3, "t": "void"}, "location": "s24"}, {"n": "v18", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v17", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v21", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}]}