{"name": "symbol__annotation", "code": "__int64 __fastcall symbol__annotation ( __int64 @@a1@@ ) { return @@a1@@ - * ( unsigned __int16 * ) symbol_conf ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]}
{"name": "symbol__annotate_init", "code": "__int64 __fastcall symbol__annotate_init ( __int64 @@a1@@ , __int64 @@a2@@ ) { pthread_mutex_t * @@mutex@@ ; @@mutex@@ = ( pthread_mutex_t * ) symbol__annotation ( @@a2@@ ) ; pthread_mutex_init ( @@mutex@@ , Number L ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "mutex", "t": {"T": 3, "t": "pthread_mutex_t"}, "location": "s16"}]} {"name": "symbol__alloc_hist", "code": "__int64 __fastcall symbol__alloc_hist ( __int64 @@a1@@ ) { __int64 @@v2@@ ; unsigned __int64 @@v3@@ ; unsigned __int64 @@v4@@ ; @@v2@@ = symbol__annotation ( @@a1@@ ) ; @@v3@@ = symbol__size ( @@a1@@ ) ; if ( @@v3@@ > Number ) return Number ; @@v4@@ = Number * ( @@v3@@ + Number ) ; if ( @@v4@@ > Number / * ( unsigned __int16 * ) & symbol_conf [ Number ] ) return Number ; * ( _QWORD * ) ( @@v2@@ + Number ) = zalloc ( @@v4@@ * * ( unsigned __int16 * ) & symbol_conf [ Number ] + Number ) ; if ( ! * ( _QWORD * ) ( @@v2@@ + Number ) ) return Number ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v2@@ + Number ) + Number L ) = @@v4@@ ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@v2@@ + Number ) + Number L ) = * ( unsigned __int16 * ) & symbol_conf [ Number ] ; INIT_LIST_HEAD ( * ( _QWORD * * ) ( @@v2@@ + Number ) ) ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}]} {"name": "symbol__alloc_hist_cycles", "code": "__int64 __fastcall symbol__alloc_hist_cycles ( __int64 @@a1@@ ) { __int64 @@v1@@ ; __int64 @@result@@ ; __int64 @@v3@@ ; __int64 @@nmemb@@ ; @@v3@@ = symbol__annotation ( @@a1@@ ) ; @@nmemb@@ = symbol__size ( @@a1@@ ) ; @@v1@@ = * ( _QWORD * ) ( @@v3@@ + Number ) ; * ( _QWORD * ) ( @@v1@@ + Number ) = calloc ( @@nmemb@@ , Number ) ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) ) @@result@@ = Number L ; else @@result@@ = Number ; return @@result@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "nmemb", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}]} {"name": "symbol__annotate_zero_histograms", "code": "unsigned __int64 __fastcall symbol__annotate_zero_histograms ( __int64 @@a1@@ ) { __int64 @@v1@@ ; pthread_mutex_t * @@mutex@@ ; unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; @@mutex@@ = ( pthread_mutex_t * ) symbol__annotation ( @@a1@@ ) ; pthread_mutex_lock ( @@mutex@@ ) ; if ( @@mutex@@ [ Number ] . __align ) { memset ( ( void * ) ( @@mutex@@ [ Number ] . __align + Number ) , Number , * ( int * ) ( @@mutex@@ [ Number ] . __align + Number ) * * ( _QWORD * ) ( @@mutex@@ [ Number ] . __align + Number ) ) ; if ( * ( _QWORD * ) ( @@mutex@@ [ Number ] . __align + Number ) ) { @@v1@@ = symbol__size ( @@a1@@ ) ; memset ( * ( void * * ) ( @@mutex@@ [ Number ] . __align + Number ) , Number , Number * @@v1@@ ) ; } } pthread_mutex_unlock ( @@mutex@@ ) ; return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "mutex", "t": {"T": 3, "t": "pthread_mutex_t"}, "location": "s16"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__get_annotation", "code": "__int64 __fastcall symbol__get_annotation ( __int64 @@a1@@ , char @@a2@@ ) { __int64 @@v3@@ ; @@v3@@ = symbol__annotation ( @@a1@@ ) ; if ( ! * ( _QWORD * ) ( @@v3@@ + Number ) && ( int ) symbol__alloc_hist ( @@a1@@ ) < Number ) return Number L ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) || ! @@a2@@ || ( int ) symbol__alloc_hist_cycles ( @@a1@@ ) >= Number ) return @@v3@@ ; return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "char", "s": 1}, "location": "r64"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}]} {"name": "disasm_line__print", "code": "__int64 __fastcall disasm_line__print ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ , int @@a6@@ , int @@a7@@ , int @@a8@@ , __int64 * @@a9@@ ) { double @@v9@@ ; __int64 @@v11@@ ; int v12 ; __int64 * @@v13@@ ; int @@v18@@ ; int i ; int j ; int @@v21@@ ; int @@v22@@ ; char * @@s2@@ ; unsigned __int64 @@v24@@ ; double @@v25@@ ; double @@v26@@ ; void * @@ptr@@ ; void * @@v28@@ ; __int64 @@v29@@ ; __int64 @@v30@@ ; __int64 @@v31@@ ; _QWORD * @@v32@@ ; __int64 * @@v33@@ ; __int64 @@v34@@ ; unsigned __int64 @@v35@@ ; @@v18@@ = @@a2@@ ; @@v13@@ = @@a9@@ ; @@v35@@ = __readfsqword ( Number ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) == Number ) { if ( @@a8@@ && @@a7@@ >= @@a8@@ ) return Number L ; @@v22@@ = Number ; if ( @@a9@@ ) return Number ; if ( perf_evsel__is_group_event ( @@a4@@ ) ) @@v22@@ = Number * * ( _DWORD * ) ( @@a4@@ + Number ) ; if ( * * ( _BYTE * * ) ( @@a1@@ + Number ) ) printf ( String , @@v22@@ , String , * ( const char * * ) ( @@a1@@ + Number ) ) ; else printf ( String , @@v22@@ , String ) ; } else { @@s2@@ = Number L ; @@v9@@ = Number ; @@v26@@ = Number ; @@ptr@@ = & @@v25@@ ; @@v28@@ = & @@v24@@ ; @@v21@@ = Number ; @@v29@@ = symbol__annotation ( @@a2@@ ) ; @@v30@@ = * ( _QWORD * ) ( @@a1@@ + Number ) ; @@v31@@ = @@v30@@ + @@a3@@ ; @@v32@@ = disasm__get_next_ip_line ( * ( _QWORD * * ) ( @@v29@@ + Number ) , ( _QWORD * ) @@a1@@ ) ; if ( perf_evsel__is_group_event ( @@a4@@ ) ) { @@v21@@ = * ( _DWORD * ) ( @@a4@@ + Number ) ; @@ptr@@ = calloc ( @@v21@@ , Number ) ; @@v28@@ = calloc ( @@v21@@ , Number ) ; if ( ! @@ptr@@ || ! @@v28@@ ) return Number ; } for ( i = Number ; i < @@v21@@ ; ++ i ) { if ( @@v32@@ ) @@v11@@ = @@v32@@ [ Number ] ; else @@v11@@ = @@a5@@ ; if ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@v29@@ + Number ) + Number L ) ) v12 = i ; else v12 = * ( _DWORD * ) ( @@a4@@ + Number ) + i ; disasm__calc_percent ( @@v29@@ , v12 , @@v30@@ , @@v11@@ , & @@s2@@ , & @@v24@@ ) ; @@v25@@ = @@v9@@ ; * ( ( double * ) @@ptr@@ + i ) = @@v9@@ ; * ( ( _QWORD * ) @@v28@@ + i ) = @@v24@@ ; @@v9@@ = @@v25@@ ; if ( @@v25@@ > @@v26@@ ) { @@v9@@ = @@v25@@ ; @@v26@@ = @@v25@@ ; } } if ( ( double ) @@a6@@ > @@v26@@ ) return Number ; if ( @@a8@@ && @@a7@@ >= @@a8@@ ) return Number L ; if ( @@a9@@ ) { while ( @@v13@@ != * ( __int64 * * ) ( @@v29@@ + Number ) && @@v13@@ != ( __int64 * ) @@a1@@ ) { disasm_line__print ( ( _DWORD ) @@v13@@ , @@v18@@ , @@a3@@ , @@a4@@ , @@a5@@ , Number , Number , Number , Number L ) ; @@v33@@ = ( __int64 * ) * @@v13@@ ; @@v13@@ = @@v33@@ ; } } @@v34@@ = get_percent_color ( @@v26@@ ) ; if ( @@s2@@ && ( ! prev_line_14041 || strcmp ( prev_line_14041 , @@s2@@ ) || @@v34@@ != prev_color_14042 ) ) { color_fprintf ( stdout , @@v34@@ , String , @@s2@@ ) ; prev_line_14041 = @@s2@@ ; prev_color_14042 = @@v34@@ ; } for ( j = Number ; j < @@v21@@ ; ++ j ) { @@v25@@ = * ( ( double * ) @@ptr@@ + j ) ; @@v24@@ = * ( ( _QWORD * ) @@v28@@ + j ) ; @@v34@@ = get_percent_color ( @@v25@@ ) ; if ( symbol_conf [ Number ] ) color_fprintf ( stdout , @@v34@@ , String , @@v24@@ ) ; else color_fprintf ( stdout , @@v34@@ , String , @@v25@@ ) ; } printf ( String ) ; color_fprintf ( stdout , String , String , @@v31@@ ) ; color_fprintf ( stdout , String , String , * ( const char * * ) ( @@a1@@ + Number ) ) ; if ( @@ptr@@ != & @@v25@@ ) free ( @@ptr@@ ) ; if ( @@v28@@ != & @@v24@@ ) free ( @@v28@@ ) ; } return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "v9", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"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": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-16"}, {"n": "a8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-24"}, {"n": "a9", "t": {"T": 3, "t": "__int64"}, "location": "s-32"}, {"n": "s2", "t": {"T": 3, "t": "char"}, "location": "s104"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s108"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s112"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s144"}, {"n": "v34", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v13", "t": {"T": 3, "t": "__int64"}, "location": "s192"}, {"n": "v33", "t": {"T": 3, "t": "__int64"}, "location": "s24"}, {"n": "v32", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}, {"n": "v31", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v30", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v29", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v28", "t": {"T": 3, "t": "void"}, "location": "s64"}, {"n": "ptr", "t": {"T": 3, "t": "void"}, "location": "s72"}, {"n": "v35", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "v26", "t": {"T": 1, "n": "double", "s": 8}, "location": "s80"}, {"n": "v25", "t": {"T": 1, "n": "double", "s": 8}, "location": "s88"}, {"n": "v24", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s96"}]} {"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"}]} {"name": "delete_last_nop", "code": "unsigned __int64 __fastcall delete_last_nop ( __int64 @@a1@@ ) { _BOOL4 @@i@@ ; _QWORD * @@v3@@ ; __int64 @@v4@@ ; unsigned __int64 @@v5@@ ; @@v5@@ = __readfsqword ( Number ) ; @@v3@@ = * ( _QWORD * * ) ( symbol__annotation ( @@a1@@ ) + Number ) ; for ( @@i@@ = list_empty ( @@v3@@ ) ; ! @@i@@ ; @@i@@ = list_empty ( @@v3@@ ) ) { @@v4@@ = @@v3@@ [ Number ] ; if ( * ( _QWORD * ) ( @@v4@@ + Number ) && * ( _QWORD * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) ) { if ( * ( _UNKNOWN * * ) ( * ( _QWORD * ) ( @@v4@@ + Number ) + Number L ) != & nop_ops ) return __readfsqword ( Number ) ^ @@v5@@ ; } else if ( ! strstr ( * ( const char * * ) ( @@v4@@ + Number ) , String ) && ! strstr ( * ( const char * * ) ( @@v4@@ + Number ) , String ) && ! strstr ( * ( const char * * ) ( @@v4@@ + Number ) , String ) ) { return __readfsqword ( Number ) ^ @@v5@@ ; } list_del ( @@v4@@ ) ; disasm_line__free ( @@v4@@ ) ; } return __readfsqword ( Number ) ^ @@v5@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "i", "t": {"T": 1, "n": "_BOOL4", "s": 4}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__free_source_line", "code": "unsigned __int64 __fastcall symbol__free_source_line ( __int64 @@a1@@ , int @@a2@@ ) { int @@i@@ ; __int64 @@v4@@ ; __int64 @@v5@@ ; __int64 @@v6@@ ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; @@v5@@ = symbol__annotation ( @@a1@@ ) ; @@v4@@ = * ( _QWORD * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ; @@v6@@ = Number L * ( * ( _DWORD * ) ( @@v4@@ + Number ) - Number ) + Number ; for ( @@i@@ = Number ; @@i@@ < @@a2@@ ; ++ @@i@@ ) { free_srcline ( * ( _QWORD * ) ( @@v4@@ + Number ) ) ; @@v4@@ += @@v6@@ ; } free ( * ( void * * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) ) ; * ( _QWORD * ) ( * ( _QWORD * ) ( @@v5@@ + Number ) + Number L ) = Number L ; return __readfsqword ( Number ) ^ @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__get_source_line", "code": "__int64 __fastcall symbol__get_source_line ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , __int64 * @@a4@@ , int @@a5@@ ) { __int64 @@v6@@ ; __int64 v7 ; double v8 ; double @@v9@@ ; unsigned __int64 v10 ; double v11 ; __int64 v12 ; int i ; int j ; int @@k@@ ; int @@v19@@ ; int @@v20@@ ; __int64 @@v21@@ ; __int64 @@v22@@ ; __int64 @@v23@@ ; size_t @@size@@ ; double @@v25@@ ; __int64 @@v26@@ ; __int64 * @@v27@@ ; __int64 @@v28@@ ; __int64 @@v29@@ ; unsigned __int64 @@v30@@ ; @@v30@@ = __readfsqword ( Number ) ; @@v20@@ = * ( _DWORD * ) ( @@a3@@ + Number ) ; @@v26@@ = symbol__annotation ( @@a1@@ ) ; @@v27@@ = ( __int64 * ) annotation__histogram ( @@v26@@ , @@v20@@ ) ; @@v21@@ = Number L ; @@v19@@ = Number ; @@v23@@ = * @@v27@@ ; @@size@@ = Number L ; if ( perf_evsel__is_group_event ( @@a3@@ ) ) { for ( i = Number ; i < * ( _DWORD * ) ( @@a3@@ + Number ) ; ++ i ) { @@v27@@ = ( __int64 * ) annotation__histogram ( @@v26@@ , i + @@v20@@ ) ; @@v23@@ += * @@v27@@ ; } @@v19@@ = * ( _DWORD * ) ( @@a3@@ + Number ) ; @@size@@ += Number L * ( @@v19@@ - Number ) ; } if ( ! @@v23@@ ) return Number L ; @@v6@@ = * ( _QWORD * ) ( @@v26@@ + Number ) ; * ( _QWORD * ) ( @@v6@@ + Number ) = calloc ( @@a5@@ , @@size@@ ) ; @@v22@@ = * ( _QWORD * ) ( @@v6@@ + Number ) ; if ( ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@v26@@ + Number ) + Number L ) ) return Number ; @@v28@@ = map__rip_2objdump ( @@a2@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; for ( j = Number ; j < @@a5@@ ; ++ j ) { @@v25@@ = Number ; * ( _DWORD * ) ( @@v22@@ + Number ) = @@v19@@ ; for ( @@k@@ = Number ; @@k@@ < @@v19@@ ; ++ @@k@@ ) { @@v27@@ = ( __int64 * ) annotation__histogram ( @@v26@@ , @@k@@ + @@v20@@ ) ; v7 = @@v27@@ [ j + Number ] ; if ( v7 < Number ) v8 = ( double ) ( int ) ( v7 & Number | ( ( unsigned __int64 ) v7 >> Number ) ) + ( double ) ( int ) ( v7 & Number | ( ( unsigned __int64 ) v7 >> Number ) ) ; else v8 = ( double ) ( int ) v7 ; @@v9@@ = Number * v8 ; v10 = * @@v27@@ ; if ( * @@v27@@ < Number ) v11 = ( double ) ( int ) ( * ( _DWORD * ) @@v27@@ & Number | ( v10 >> Number ) ) + ( double ) ( int ) ( * ( _DWORD * ) @@v27@@ & Number | ( v10 >> Number ) ) ; else v11 = ( double ) ( int ) v10 ; * ( double * ) ( @@v22@@ + Number L * @@k@@ + Number ) = @@v9@@ / v11 ; if ( * ( double * ) ( @@v22@@ + Number L * @@k@@ + Number ) > @@v25@@ ) @@v25@@ = * ( double * ) ( @@v22@@ + Number L * @@k@@ + Number ) ; } if ( @@v25@@ > Number ) { @@v29@@ = j + @@v28@@ ; v12 = get_srcline ( * ( _QWORD * ) ( @@a2@@ + Number ) , @@v29@@ , Number L , Number L ) ; * ( _QWORD * ) ( @@v22@@ + Number ) = v12 ; insert_source_line ( & @@v21@@ , @@v22@@ ) ; } @@v22@@ += @@size@@ ; } resort_source_line ( @@a4@@ , ( __int64 ) & @@v21@@ ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "__int64"}, "location": "r24"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "v9", "t": {"T": 1, "n": "double", "s": 8}, "location": "r512"}, {"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": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v20", "t": {"T": 1, "n": "int", "s": 4}, "location": "s100"}, {"n": "v19", "t": {"T": 1, "n": "int", "s": 4}, "location": "s104"}, {"n": "k", "t": {"T": 1, "n": "int", "s": 4}, "location": "s108"}, {"n": "v30", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v29", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v28", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v27", "t": {"T": 3, "t": "__int64"}, "location": "s48"}, {"n": "v26", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v25", "t": {"T": 1, "n": "double", "s": 8}, "location": "s64"}, {"n": "size", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s72"}, {"n": "v23", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v22", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}, {"n": "v21", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s96"}]} {"name": "symbol__annotate_hits", "code": "unsigned __int64 __fastcall symbol__annotate_hits ( __int64 @@a1@@ , __int64 @@a2@@ ) { unsigned __int64 @@i@@ ; __int64 @@v4@@ ; _QWORD * @@v5@@ ; unsigned __int64 @@v6@@ ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; @@v4@@ = symbol__annotation ( @@a1@@ ) ; @@v5@@ = ( _QWORD * ) annotation__histogram ( @@v4@@ , * ( _DWORD * ) ( @@a2@@ + Number ) ) ; @@v6@@ = symbol__size ( @@a1@@ ) ; for ( @@i@@ = Number L ; @@i@@ < @@v6@@ ; ++ @@i@@ ) { if ( @@v5@@ [ @@i@@ + Number ] ) printf ( String , Number , * ( _QWORD * ) ( @@a1@@ + Number ) + @@i@@ , @@v5@@ [ @@i@@ + Number ] ) ; } printf ( String , Number , String , * @@v5@@ ) ; return __readfsqword ( Number ) ^ @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s16"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s40"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__annotate_printf", "code": "__int64 __fastcall symbol__annotate_printf ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , char @@a4@@ , int @@a5@@ , int @@a6@@ , int @@a7@@ ) { int @@v8@@ ; int @@v13@@ ; int @@v14@@ ; unsigned int @@v15@@ ; int @@v16@@ ; int @@v17@@ ; int @@v18@@ ; const char * @@s@@ ; __int64 * @@i@@ ; __int64 * @@v21@@ ; __int64 @@v22@@ ; char * @@v23@@ ; __int64 @@v24@@ ; __int64 @@v25@@ ; char * @@path@@ ; __int64 @@v27@@ ; @@v22@@ = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@v23@@ = ( char * ) perf_evsel__name ( @@a3@@ ) ; @@v24@@ = symbol__annotation ( @@a1@@ ) ; @@v21@@ = Number L ; @@v25@@ = map__rip_2objdump ( @@a2@@ , * ( _QWORD * ) ( @@a1@@ + Number ) ) ; @@v13@@ = Number ; @@v14@@ = Number ; @@v15@@ = Number ; @@v16@@ = Number ; @@path@@ = strdup ( * ( const char * * ) ( @@v22@@ + Number ) ) ; if ( ! @@path@@ ) return Number L ; if ( @@a4@@ ) @@s@@ = @@path@@ ; else @@s@@ = _xpg_basename ( @@path@@ ) ; @@v27@@ = symbol__size ( @@a1@@ ) ; @@v17@@ = strlen ( @@s@@ ) ; @@v18@@ = strlen ( @@v23@@ ) ; if ( perf_evsel__is_group_event ( @@a3@@ ) ) @@v16@@ = Number * * ( _DWORD * ) ( @@a3@@ + Number ) ; printf ( String , @@v16@@ , @@v16@@ , String , @@s@@ , @@v23@@ ) ; printf ( String , @@v17@@ + @@v16@@ + @@v18@@ , @@v17@@ + @@v16@@ + @@v18@@ , graph_dotted_line ) ; if ( verbose ) symbol__annotate_hits ( @@a1@@ , @@a3@@ ) ; for ( @@i@@ = * * ( __int64 * * * ) ( @@v24@@ + Number ) ; @@i@@ != * ( __int64 * * ) ( @@v24@@ + Number ) ; @@i@@ = ( __int64 * ) * @@i@@ ) { if ( @@a7@@ && ! @@v21@@ ) { @@v21@@ = @@i@@ ; @@v14@@ = Number ; } @@v8@@ = disasm_line__print ( ( __int64 ) @@i@@ , @@a1@@ , @@v25@@ , @@a3@@ , @@v27@@ , @@a5@@ , @@v13@@ , @@a6@@ , @@v21@@ ) ; if ( @@v8@@ ) { if ( @@v8@@ == Number ) { ++ @@v15@@ ; } else if ( @@a7@@ ) { if ( @@v14@@ == @@a7@@ ) @@v21@@ = ( __int64 * ) * @@v21@@ ; else ++ @@v14@@ ; } } else { ++ @@v13@@ ; if ( @@a7@@ ) { @@v13@@ += @@v14@@ ; @@v21@@ = Number L ; @@v14@@ = Number ; } } } free ( @@path@@ ) ; return @@v15@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "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": "a5", "t": {"T": 1, "n": "int", "s": 4}, "location": "r72"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-16"}, {"n": "s", "t": {"T": 3, "t": "const char"}, "location": "s104"}, {"n": "v18", "t": {"T": 1, "n": "int", "s": 4}, "location": "s112"}, {"n": "v17", "t": {"T": 1, "n": "int", "s": 4}, "location": "s116"}, {"n": "v16", "t": {"T": 1, "n": "int", "s": 4}, "location": "s120"}, {"n": "v15", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s124"}, {"n": "v14", "t": {"T": 1, "n": "int", "s": 4}, "location": "s128"}, {"n": "v13", "t": {"T": 1, "n": "int", "s": 4}, "location": "s132"}, {"n": "v27", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "path", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "v25", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v24", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v23", "t": {"T": 3, "t": "char"}, "location": "s72"}, {"n": "v22", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v21", "t": {"T": 3, "t": "__int64"}, "location": "s88"}, {"n": "i", "t": {"T": 3, "t": "__int64"}, "location": "s96"}]} {"name": "symbol__annotate_zero_histogram", "code": "unsigned __int64 __fastcall symbol__annotate_zero_histogram ( __int64 @@a1@@ , int @@a2@@ ) { __int64 @@v3@@ ; void * @@s@@ ; unsigned __int64 @@v5@@ ; @@v5@@ = __readfsqword ( Number ) ; @@v3@@ = symbol__annotation ( @@a1@@ ) ; @@s@@ = ( void * ) annotation__histogram ( @@v3@@ , @@a2@@ ) ; memset ( @@s@@ , Number , * ( _QWORD * ) ( * ( _QWORD * ) ( @@v3@@ + Number ) + Number L ) ) ; return __readfsqword ( Number ) ^ @@v5@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "s", "t": {"T": 3, "t": "void"}, "location": "s16"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__annotate_decay_histogram", "code": "unsigned __int64 __fastcall symbol__annotate_decay_histogram ( __int64 @@a1@@ , int @@a2@@ ) { int @@i@@ ; int @@v4@@ ; __int64 @@v5@@ ; _QWORD * @@v6@@ ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; @@v5@@ = symbol__annotation ( @@a1@@ ) ; @@v6@@ = ( _QWORD * ) annotation__histogram ( @@v5@@ , @@a2@@ ) ; @@v4@@ = symbol__size ( @@a1@@ ) ; * @@v6@@ = Number L ; for ( @@i@@ = Number ; @@i@@ < @@v4@@ ; ++ @@i@@ ) { @@v6@@ [ @@i@@ + Number ] = ( unsigned __int64 ) ( Number L * @@v6@@ [ @@i@@ + Number ] ) >> Number ; * @@v6@@ += @@v6@@ [ @@i@@ + Number ] ; } return __readfsqword ( Number ) ^ @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "v6", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v4", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "symbol__tty_annotate", "code": "__int64 __fastcall symbol__tty_annotate ( __int64 @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , char @@a4@@ , char @@a5@@ , int @@a6@@ , int @@a7@@ ) { __int64 @@v8@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; unsigned __int64 @@v16@@ ; @@v16@@ = __readfsqword ( Number ) ; @@v14@@ = * ( _QWORD * ) ( @@a2@@ + Number ) ; @@v13@@ = Number L ; if ( ( int ) symbol__annotate ( @@a1@@ , @@a2@@ , Number L ) < Number ) return Number ; @@v15@@ = symbol__size ( @@a1@@ ) ; if ( @@a4@@ ) { srcline_full_filename = @@a5@@ ; symbol__get_source_line ( @@a1@@ , @@a2@@ , @@a3@@ , & @@v13@@ , @@v15@@ ) ; print_summary ( & @@v13@@ , * ( const char * * ) ( @@v14@@ + Number ) ) ; } symbol__annotate_printf ( @@a1@@ , @@a2@@ , @@a3@@ , @@a5@@ , @@a6@@ , @@a7@@ , Number ) ; if ( @@a4@@ ) symbol__free_source_line ( @@a1@@ , @@v15@@ ) ; @@v8@@ = symbol__annotation ( @@a1@@ ) ; disasm__purge ( * ( _QWORD * * * ) ( @@v8@@ + Number ) ) ; return Number L ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "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": "a5", "t": {"T": 1, "n": "char", "s": 1}, "location": "r72"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "int", "s": 4}, "location": "r80"}, {"n": "a7", "t": {"T": 1, "n": "int", "s": 4}, "location": "s-16"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v16", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}