{"name": "_show_one_line", "code": "__int64 __fastcall show_one_line ( FILE * @@a1@@ , unsigned int @@a2@@ , char @@a3@@ , char @@a4@@ ) { unsigned int @@v5@@ ; @@v5@@ = _show_one_line ( @@a1@@ , @@a2@@ , @@a3@@ , @@a4@@ ) ; if ( ! @@v5@@ ) { eprintf ( Number L , String ) ; @@v5@@ = Number ; } return @@v5@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "v5", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s12"}]}
{"name": "__show_one_line", "code": "__int64 __fastcall _show_one_line ( FILE * @@a1@@ , unsigned int @@a2@@ , char @@a3@@ , char @@a4@@ ) { const char * v4 ; const char * v5 ; int * v7 ; char * v8 ; const char * @@v11@@ ; const char * @@v12@@ ; char @@s@@ [ Number ] ; unsigned __int64 @@v14@@ ; @@v14@@ = __readfsqword ( Number ) ; if ( @@a4@@ ) v4 = ( const char * ) & unk_5925 ; else v4 = String ; @@v12@@ = v4 ; @@v11@@ = Number L ; while ( fgets ( @@s@@ , Number , @@a1@@ ) ) { if ( ! @@a3@@ ) { if ( ! @@v11@@ ) { if ( @@a4@@ ) v5 = String ; else v5 = String ; @@v11@@ = v5 ; color_fprintf ( stdout , @@v12@@ , v5 , @@a2@@ ) ; } color_fprintf ( stdout , @@v12@@ , String , @@s@@ ) ; } if ( strchr ( @@s@@ , Number ) ) return Number L ; } if ( ! ferror ( @@a1@@ ) ) return Number L ; v7 = _errno_location ( ) ; v8 = strerror ( * v7 ) ; eprintf ( Number L , String , v8 ) ; return Number ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "char", "s": 1}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "char", "s": 1}, "location": "r24"}, {"n": "a1", "t": {"T": 3, "t": "FILE"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r64"}, {"n": "s", "t": {"T": 2, "n": 264, "s": 1, "t": "char"}, "location": "s272"}, {"n": "v12", "t": {"T": 3, "t": "const char"}, "location": "s280"}, {"n": "v11", "t": {"T": 3, "t": "const char"}, "location": "s288"}, {"n": "v14", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "show_line_range", "code": "__int64 __fastcall show_line_range ( __int64 @@a1@@ , const char * @@a2@@ ) { __int64 result ; int * v3 ; char * v4 ; unsigned int v5 ; int v6 ; int v7 ; int @@v8@@ ; int v9 ; int v10 ; int v11 ; __int64 * @@i@@ ; __int64 @@v13@@ ; char * @@ptr@@ ; FILE * @@stream@@ ; @@v8@@ = Number ; v9 = init_vmlinux ( ) ; if ( v9 < Number ) return ( unsigned int ) v9 ; @@v13@@ = open_debuginfo ( @@a2@@ ) ; if ( @@v13@@ ) { v10 = debuginfo__find_line_range ( @@v13@@ , @@a1@@ ) ; debuginfo__delete ( @@v13@@ ) ; if ( v10 ) { if ( v10 >= Number ) { @@ptr@@ = * ( char * * ) ( @@a1@@ + Number ) ; v11 = get_real_path ( @@ptr@@ , * ( const char * * ) ( @@a1@@ + Number ) , ( char * * ) ( @@a1@@ + Number ) ) ; free ( @@ptr@@ ) ; if ( v11 >= Number ) { setup_pager ( ) ; if ( * ( _QWORD * ) ( @@a1@@ + Number ) ) fprintf ( stdout , String , * ( const char * * ) ( @@a1@@ + Number ) , * ( const char * * ) ( @@a1@@ + Number ) , ( unsigned int ) ( * ( _DWORD * ) ( @@a1@@ + Number ) - * ( _DWORD * ) ( @@a1@@ + Number ) ) ) ; else fprintf ( stdout , String , * ( const char * * ) ( @@a1@@ + Number ) , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; @@stream@@ = fopen64 ( * ( const char * * ) ( @@a1@@ + Number ) , String ) ; if ( @@stream@@ ) { while ( @@v8@@ < * ( _DWORD * ) ( @@a1@@ + Number ) ) { v5 = @@v8@@ ++ ; v11 = show_one_line ( @@stream@@ , v5 , Number , Number ) ; if ( v11 < Number ) goto LABEL_29 ; } for ( @@i@@ = * ( __int64 * * ) ( @@a1@@ + Number ) ; @@i@@ != ( __int64 * ) ( @@a1@@ + Number ) ; @@i@@ = ( __int64 * ) * @@i@@ ) { while ( @@v8@@ < * ( ( _DWORD * ) @@i@@ + Number ) ) { v11 = show_one_line ( @@stream@@ , @@v8@@ - * ( _DWORD * ) ( @@a1@@ + Number ) , Number , Number ) ; if ( v11 < Number ) goto LABEL_29 ; ++ @@v8@@ ; } v6 = @@v8@@ ++ ; v11 = show_one_line ( @@stream@@ , v6 - * ( _DWORD * ) ( @@a1@@ + Number ) , Number , Number ) ; if ( v11 < Number ) goto LABEL_29 ; } if ( * ( _DWORD * ) ( @@a1@@ + Number ) == Number ) * ( _DWORD * ) ( @@a1@@ + Number ) = @@v8@@ + Number ; do { if ( @@v8@@ > * ( _DWORD * ) ( @@a1@@ + Number ) ) break ; v7 = @@v8@@ ++ ; v11 = _show_one_line ( @@stream@@ , v7 - * ( _DWORD * ) ( @@a1@@ + Number ) , Number , Number ) ; } while ( v11 > Number ) ; LABEL_29 : fclose ( @@stream@@ ) ; result = ( unsigned int ) v11 ; } else { v3 = _errno_location ( ) ; v4 = strerror ( * v3 ) ; eprintf ( Number L , String , * ( const char * * ) ( @@a1@@ + Number ) , v4 ) ; result = ( unsigned int ) - * _errno_location ( ) ; } } else { eprintf ( Number L , String , ( unsigned int ) v11 ) ; result = ( unsigned int ) v11 ; } } else { eprintf ( Number L , String , ( unsigned int ) v10 ) ; result = ( unsigned int ) v10 ; } } else { eprintf ( Number L , String ) ; result = Number L ; } } else { eprintf ( Number L , String ) ; result = Number L ; } return result ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "stream", "t": {"T": 3, "t": "FILE"}, "location": "s32"}, {"n": "ptr", "t": {"T": 3, "t": "char"}, "location": "s40"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "i", "t": {"T": 3, "t": "__int64"}, "location": "s56"}, {"n": "v8", "t": {"T": 1, "n": "int", "s": 4}, "location": "s64"}]}