{"name": "show_perf_probe_events", "code": "__int64 show_perf_probe_events ( ) { int @@v1@@ ; int @@fd@@ ; __int64 @@i@@ ; __int64 @@v4@@ ; char @@s@@ [ Number ] ; char @@v6@@ [ Number ] ; unsigned __int64 @@v7@@ ; @@v7@@ = __readfsqword ( Number ) ; setup_pager ( ) ; @@v1@@ = init_vmlinux ( ) ; if ( @@v1@@ < Number ) return ( unsigned int ) @@v1@@ ; memset ( @@s@@ , Number , sizeof ( @@s@@ ) ) ; memset ( @@v6@@ , Number , sizeof ( @@v6@@ ) ) ; @@fd@@ = open_kprobe_events ( Number ) ; if ( @@fd@@ < Number ) return ( unsigned int ) @@fd@@ ; @@v4@@ = get_probe_trace_command_rawlist ( @@fd@@ ) ; close ( @@fd@@ ) ; if ( ! @@v4@@ ) return Number L ; for ( @@i@@ = strlist__first ( @@v4@@ ) ; @@i@@ ; @@i@@ = strlist__next ( @@i@@ ) ) { @@v1@@ = parse_probe_trace_command ( * ( const char * * ) ( @@i@@ + Number ) , ( __int64 ) @@s@@ ) ; if ( @@v1@@ >= Number ) { @@v1@@ = convert_to_perf_probe_event ( ( __int64 ) @@s@@ , ( __int64 ) @@v6@@ ) ; if ( @@v1@@ >= Number ) @@v1@@ = show_perf_probe_event ( ( __int64 ) @@v6@@ ) ; } clear_perf_probe_event ( ( __int64 ) @@v6@@ ) ; clear_probe_trace_event ( ( __int64 ) @@s@@ ) ; if ( @@v1@@ < Number ) break ; } strlist__delete ( @@v4@@ ) ; return ( unsigned int ) @@v1@@ ; }", "source": [{"n": "s", "t": {"T": 2, "n": 64, "s": 1, "t": "char"}, "location": "s144"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s152"}, {"n": "i", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s160"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s164"}, {"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "s168"}, {"n": "v7", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}, {"n": "v6", "t": {"T": 2, "n": 72, "s": 1, "t": "char"}, "location": "s80"}]}
{"name": "strlist__first", "code": "__int64 __fastcall strlist__first ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; @@v2@@ = rb_first ( @@a1@@ ) ; if ( @@v2@@ ) @@result@@ = @@v2@@ ; else @@result@@ = Number L ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} {"name": "strlist__next", "code": "__int64 __fastcall strlist__next ( __int64 @@a1@@ ) { __int64 @@result@@ ; __int64 @@v2@@ ; if ( ! @@a1@@ ) return Number L ; @@v2@@ = rb_next ( @@a1@@ ) ; if ( @@v2@@ ) @@result@@ = @@v2@@ ; else @@result@@ = Number L ; return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}]} {"name": "init_vmlinux", "code": "__int64 init_vmlinux ( ) { int @@v1@@ ; * ( ( _BYTE * ) & symbol_conf + Number ) = Number ; if ( * ( ( _QWORD * ) & symbol_conf + Number ) ) eprintf ( Number L , String , * ( ( const char * * ) & symbol_conf + Number ) ) ; else * ( ( _BYTE * ) & symbol_conf + Number ) = Number ; @@v1@@ = symbol__init ( ) ; if ( @@v1@@ >= Number ) { @@v1@@ = machine__init ( & machine , & unk_5925 , Number ) ; if ( @@v1@@ >= Number && ( int ) machine__create_kernel_maps ( & machine ) < Number ) eprintf ( Number L , String ) ; } else { eprintf ( Number L , String ) ; } if ( @@v1@@ < Number ) eprintf ( Number L , String ) ; return ( unsigned int ) @@v1@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "int", "s": 4}, "location": "s12"}]} {"name": "parse_probe_trace_command", "code": "__int64 __fastcall parse_probe_trace_command ( const char * @@a1@@ , __int64 @@a2@@ ) { __int64 result ; char * v3 ; char * v4 ; char * * v5 ; __int64 v6 ; char @@v7@@ ; int @@v8@@ ; unsigned int @@v9@@ ; int @@i@@ ; char * @@s@@ ; __int64 @@v12@@ ; const char * * @@v13@@ ; unsigned __int64 @@v14@@ ; @@v14@@ = __readfsqword ( Number ) ; @@v12@@ = @@a2@@ + Number ; eprintf ( Number L , String , @@a1@@ ) ; @@v13@@ = ( const char * * ) argv_split ( @@a1@@ , & @@v8@@ ) ; if ( @@v13@@ ) { if ( @@v8@@ > Number ) { @@v9@@ = sscanf ( * @@v13@@ , String , & @@v7@@ , @@a2@@ + Number , @@a2@@ ) ; if ( @@v9@@ == Number ) { eprintf ( Number L , String , * ( const char * * ) ( @@a2@@ + Number ) , * ( const char * * ) @@a2@@ , ( unsigned int ) @@v7@@ ) ; * ( _BYTE * ) ( @@v12@@ + Number ) = @@v7@@ == Number ; @@s@@ = strchr ( @@v13@@ [ Number ] , Number ) ; if ( @@s@@ ) { v3 = strndup ( @@v13@@ [ Number ] , @@s@@ - @@v13@@ [ Number ] ) ; * ( _QWORD * ) ( @@v12@@ + Number ) = v3 ; ++ @@s@@ ; } else { @@s@@ = ( char * ) @@v13@@ [ Number ] ; } @@v9@@ = sscanf ( @@s@@ , String , @@v12@@ , @@v12@@ + Number ) ; if ( @@v9@@ == Number ) * ( _QWORD * ) ( @@v12@@ + Number ) = Number L ; * ( _DWORD * ) ( @@a2@@ + Number ) = @@v8@@ - Number ; * ( _QWORD * ) ( @@a2@@ + Number ) = zalloc ( Number L * * ( int * ) ( @@a2@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@a2@@ + Number ) ) { for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a2@@ + Number ) ; ++ @@i@@ ) { @@s@@ = strchr ( @@v13@@ [ @@i@@ + Number ] , Number ) ; if ( @@s@@ ) { v4 = @@s@@ ++ ; * v4 = Number ; } else { @@s@@ = ( char * ) @@v13@@ [ @@i@@ + Number ] ; } v5 = ( char * * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L * @@i@@ ) ; * v5 = strdup ( @@v13@@ [ @@i@@ + Number ] ) ; v6 = * ( _QWORD * ) ( @@a2@@ + Number ) + Number L * @@i@@ ; * ( _QWORD * ) ( v6 + Number ) = strdup ( @@s@@ ) ; if ( ! * ( _QWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a2@@ + Number ) ) || ! * ( _QWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a2@@ + Number ) + Number ) ) { @@v9@@ = Number ; goto LABEL_24 ; } } @@v9@@ = Number ; } else { @@v9@@ = Number ; } } else { eprintf ( Number L , String , * @@v13@@ ) ; @@v9@@ = Number ; } } else { eprintf ( Number L , String ) ; @@v9@@ = Number ; } LABEL_24 : argv_free ( @@v13@@ ) ; result = @@v9@@ ; } else { eprintf ( Number L , String ) ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "v14", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v13", "t": {"T": 3, "t": "const char *"}, "location": "s32"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "s", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "v9", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s56"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s60"}, {"n": "v7", "t": {"T": 1, "n": "char", "s": 1}, "location": "s61"}]} {"name": "convert_to_perf_probe_event", "code": "__int64 __fastcall convert_to_perf_probe_event ( __int64 @@a1@@ , __int64 @@a2@@ ) { __int64 @@v3@@ ; __int64 @@v4@@ ; char * * v5 ; char * * v6 ; int @@i@@ ; int @@v8@@ ; char @@s@@ [ Number ] ; __int64 @@v10@@ ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; __int64 @@v14@@ ; __int64 @@v15@@ ; __int64 @@v16@@ ; unsigned __int64 @@v17@@ ; @@v17@@ = __readfsqword ( Number ) ; * ( _QWORD * ) @@s@@ = Number L ; @@v10@@ = Number L ; @@v11@@ = Number L ; @@v12@@ = Number L ; @@v13@@ = Number L ; @@v14@@ = Number L ; @@v15@@ = Number L ; @@v16@@ = Number L ; * ( _QWORD * ) @@a2@@ = strdup ( * ( const char * * ) @@a1@@ ) ; * ( _QWORD * ) ( @@a2@@ + Number ) = strdup ( * ( const char * * ) ( @@a1@@ + Number ) ) ; if ( ! * ( _QWORD * ) @@a2@@ || ! * ( _QWORD * ) ( @@a2@@ + Number ) ) return Number L ; @@v8@@ = kprobe_convert_to_perf_probe ( ( const char * * ) ( @@a1@@ + Number ) , @@a2@@ + Number ) ; if ( @@v8@@ < Number ) return ( unsigned int ) @@v8@@ ; * ( _DWORD * ) ( @@a2@@ + Number ) = * ( _DWORD * ) ( @@a1@@ + Number ) ; * ( _QWORD * ) ( @@a2@@ + Number ) = zalloc ( Number L * * ( int * ) ( @@a2@@ + Number ) ) ; if ( ! * ( _QWORD * ) ( @@a2@@ + Number ) ) return Number L ; for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a1@@ + Number ) && @@v8@@ >= Number ; ++ @@i@@ ) { if ( * ( _QWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) { v5 = ( char * * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L * @@i@@ ) ; * v5 = strdup ( * ( const char * * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; } else { @@v8@@ = ( unsigned int ) synthesize_probe_trace_arg ( ( __int64 * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * @@i@@ ) , @@s@@ , Number , * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * @@i@@ , @@v3@@ , @@v4@@ ) ; v6 = ( char * * ) ( * ( _QWORD * ) ( @@a2@@ + Number ) + Number L * @@i@@ ) ; * v6 = strdup ( @@s@@ ) ; } if ( ! * ( _QWORD * ) ( Number L * @@i@@ + * ( _QWORD * ) ( @@a2@@ + Number ) ) && @@v8@@ >= Number ) @@v8@@ = Number ; } if ( @@v8@@ < Number ) clear_perf_probe_event ( @@a2@@ ) ; return ( unsigned int ) @@v8@@ ; }", "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": "__int64", "s": 8}, "location": "r72"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s100"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s104"}, {"n": "v17", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s24"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v14", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s64"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s72"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s80"}, {"n": "v10", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}, {"n": "s", "t": {"T": 2, "n": 8, "s": 1, "t": "char"}, "location": "s96"}]} {"name": "clear_perf_probe_event", "code": "unsigned __int64 __fastcall clear_perf_probe_event ( __int64 @@a1@@ ) { __int64 @@v2@@ ; void * * @@i@@ ; void * * @@v4@@ ; void * * @@v5@@ ; unsigned __int64 @@v6@@ ; @@v6@@ = __readfsqword ( Number ) ; @@v4@@ = ( void * * ) ( @@a1@@ + Number ) ; if ( * ( _QWORD * ) @@a1@@ ) free ( * ( void * * ) @@a1@@ ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; if ( * @@v4@@ ) free ( * @@v4@@ ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; LODWORD ( @@v2@@ ) = Number ; while ( ( int ) @@v2@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ) { if ( * ( _QWORD * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) free ( * ( void * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; if ( * ( _QWORD * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) free ( * ( void * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) ; if ( * ( _QWORD * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) free ( * ( void * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) ; for ( @@i@@ = * ( void * * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ; @@i@@ ; @@i@@ = @@v5@@ ) { @@v5@@ = ( void * * ) * @@i@@ ; if ( @@i@@ [ Number ] ) free ( @@i@@ [ Number ] ) ; free ( @@i@@ ) ; } @@v2@@ = ( unsigned int ) ( @@v2@@ + Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; memset ( ( void * ) @@a1@@ , Number , Number ) ; return __readfsqword ( Number ) ^ @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v5", "t": {"T": 3, "t": "void *"}, "location": "s16"}, {"n": "v4", "t": {"T": 3, "t": "void *"}, "location": "s24"}, {"n": "i", "t": {"T": 3, "t": "void *"}, "location": "s32"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s36"}, {"n": "v6", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "clear_probe_trace_event", "code": "unsigned __int64 __fastcall clear_probe_trace_event ( __int64 @@a1@@ ) { __int64 @@v2@@ ; _QWORD * @@i@@ ; _QWORD * @@v4@@ ; unsigned __int64 @@v5@@ ; @@v5@@ = __readfsqword ( Number ) ; if ( * ( _QWORD * ) @@a1@@ ) free ( * ( void * * ) @@a1@@ ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; LODWORD ( @@v2@@ ) = Number ; while ( ( int ) @@v2@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ) { if ( * ( _QWORD * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) free ( * ( void * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) ) ) ; if ( * ( _QWORD * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) free ( * ( void * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) ; if ( * ( _QWORD * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) free ( * ( void * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ) ; for ( @@i@@ = * ( _QWORD * * ) ( Number L * ( int ) @@v2@@ + * ( _QWORD * ) ( @@a1@@ + Number ) + Number ) ; @@i@@ ; @@i@@ = @@v4@@ ) { @@v4@@ = ( _QWORD * ) * @@i@@ ; free ( @@i@@ ) ; } @@v2@@ = ( unsigned int ) ( @@v2@@ + Number ) ; } if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) free ( * ( void * * ) ( @@a1@@ + Number ) ) ; memset ( ( void * ) @@a1@@ , Number , Number ) ; return __readfsqword ( Number ) ^ @@v5@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v4", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "i", "t": {"T": 3, "t": "_QWORD"}, "location": "s24"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s28"}, {"n": "v5", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "open_kprobe_events", "code": "__int64 __fastcall open_kprobe_events ( unsigned __int8 @@a1@@ ) { __int64 @@v1@@ ; __int64 @@v2@@ ; __int64 result ; int * v4 ; char * v5 ; int @@v6@@ ; __int64 @@v7@@ ; char @@file@@ [ Number ] ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; @@v7@@ = debugfs_find_mountpoint ( ) ; if ( @@v7@@ ) { @@v6@@ = e_snprintf ( @@file@@ , Number , String , @@v7@@ , @@v1@@ , @@v2@@ ) ; if ( @@v6@@ >= Number ) { eprintf ( Number L , String , @@file@@ , @@a1@@ ) ; if ( @@a1@@ && probe_event_dry_run != Number ) @@v6@@ = open64 ( @@file@@ , Number , Number L ) ; else @@v6@@ = open64 ( @@file@@ , Number , Number L ) ; } if ( @@v6@@ < Number ) { if ( * _errno_location ( ) == Number ) { eprintf ( Number L , String ) ; } else { v4 = _errno_location ( ) ; v5 = strerror ( * v4 ) ; eprintf ( Number L , String , v5 ) ; } } result = ( unsigned int ) @@v6@@ ; } else { eprintf ( Number L , String ) ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "unsigned __int8", "s": 1}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "file", "t": {"T": 2, "n": 4104, "s": 1, "t": "char"}, "location": "s4112"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s4120"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4124"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "get_probe_trace_command_rawlist", "code": "__int64 __fastcall get_probe_trace_command_rawlist ( int @@a1@@ ) { int v1 ; int i ; char * v3 ; int @@v5@@ ; int @@v6@@ ; __int64 @@v7@@ ; FILE * @@stream@@ ; const char * @@v9@@ ; char @@s@@ [ Number ] ; unsigned __int64 @@v11@@ ; @@v11@@ = __readfsqword ( Number ) ; @@v7@@ = strlist__new ( Number L , Number L ) ; v1 = dup ( @@a1@@ ) ; @@stream@@ = fdopen ( v1 , String ) ; for ( i = feof ( @@stream@@ ) ; ! i ; i = feof ( @@stream@@ ) ) { @@v9@@ = fgets ( @@s@@ , Number , @@stream@@ ) ; if ( ! @@v9@@ ) break ; @@v5@@ = strlen ( @@v9@@ ) - Number ; if ( @@v9@@ [ @@v5@@ ] == Number ) @@v9@@ [ @@v5@@ ] = Number ; @@v6@@ = strlist__add ( @@v7@@ , @@s@@ ) ; if ( @@v6@@ < Number ) { v3 = strerror ( - @@v6@@ ) ; eprintf ( Number L , String , v3 ) ; strlist__delete ( @@v7@@ ) ; return Number L ; } } fclose ( @@stream@@ ) ; return @@v7@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "s", "t": {"T": 2, "n": 264, "s": 1, "t": "char"}, "location": "s272"}, {"n": "v9", "t": {"T": 3, "t": "const char"}, "location": "s280"}, {"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "s288"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s296"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s300"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s304"}, {"n": "v11", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "show_perf_probe_event", "code": "__int64 __fastcall show_perf_probe_event ( __int64 @@a1@@ ) { __int64 v1 ; __int64 @@v3@@ ; __int64 v4 ; int @@i@@ ; int @@v6@@ ; char * @@ptr@@ ; char @@v8@@ [ Number ] ; unsigned __int64 @@v9@@ ; @@v9@@ = __readfsqword ( Number ) ; @@ptr@@ = synthesize_perf_probe_point ( @@a1@@ + Number ) ; if ( ! @@ptr@@ ) return Number L ; @@v6@@ = e_snprintf ( @@v8@@ , Number , String , * ( _QWORD * ) ( @@a1@@ + Number ) , * ( _QWORD * ) @@a1@@ , v1 ) ; if ( @@v6@@ < Number ) return ( unsigned int ) @@v6@@ ; printf ( String , @@v8@@ , @@ptr@@ ) ; if ( * ( int * ) ( @@a1@@ + Number ) > Number ) { printf ( String ) ; for ( @@i@@ = Number ; @@i@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ; ++ @@i@@ ) { @@v6@@ = synthesize_perf_probe_arg ( ( __int64 * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * @@i@@ ) , @@v8@@ , Number , * ( _QWORD * ) ( @@a1@@ + Number ) + Number L * @@i@@ , @@v3@@ , v4 ) ; if ( @@v6@@ < Number ) break ; printf ( String , @@v8@@ ) ; } } puts ( String ) ; free ( @@ptr@@ ) ; return ( unsigned int ) @@v6@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v8", "t": {"T": 2, "n": 136, "s": 1, "t": "char"}, "location": "s144"}, {"n": "ptr", "t": {"T": 3, "t": "char"}, "location": "s152"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s156"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s160"}, {"n": "v9", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}