{"name": "parent_segv", "code": "void __fastcall parent_segv ( int @@a1@@ ) { __pid_t @@v1@@ ; signal ( Number , Number L ) ; signal ( Number , Number L ) ; if ( @@a1@@ == Number ) { if ( use_colour && write ( Number , String , Number ) < Number ) exit ( Number ) ; if ( write ( Number , String , Number ) < Number ) exit ( Number ) ; if ( use_colour && write ( Number , String , Number ) < Number ) exit ( Number ) ; } else if ( @@a1@@ == Number ) { if ( use_colour && write ( Number , String , Number ) < Number ) exit ( Number ) ; if ( write ( Number , String , Number ) < Number ) exit ( Number ) ; if ( use_colour && write ( Number , String , Number ) < Number ) exit ( Number ) ; } reap_server ( ) ; @@v1@@ = getpid ( ) ; kill ( @@v1@@ , Number ) ; minisleep ( ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "v1", "t": {"T": 1, "n": "__pid_t", "s": 4}, "location": "r8"}]}
{"name": "main", "code": "int __cdecl main ( int @@argc@@ , const char * * @@argv@@ , const char * * @@envp@@ ) { int * v3 ; char * v4 ; int result ; int * v6 ; char * v7 ; const char * v8 ; int @@v9@@ ; int v10 ; __int64 @@v11@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; const char * v14 ; const char * v15 ; const char * v16 ; int * v17 ; char * v18 ; int * v19 ; char * v20 ; int @@v21@@ ; unsigned int @@v22@@ ; unsigned int @@i@@ ; test_suite = ( __int64 ) strrchr ( * @@argv@@ , Number ) ; if ( test_suite ) ++ test_suite ; else test_suite = ( __int64 ) * @@argv@@ ; setlocale ( Number , & locale ) ; ne_i18n_init ( Number L ) ; if ( isatty ( Number ) ) use_colour = Number ; test_argc = @@argc@@ ; test_argv = ( __int64 ) @@argv@@ ; debug = fopen ( String , String ) ; if ( debug ) { child_debug = fopen ( String , String ) ; if ( child_debug ) { if ( tests ) { signal ( Number , parent_segv ) ; signal ( Number , parent_segv ) ; ne_debug_init ( Number L , Number L ) ; ne_debug ( Number L , String ) ; ne_debug_init ( debug , Number L ) ; v8 = ( const char * ) ne_version_string ( ) ; ne_debug ( Number L , String , v8 ) ; ne_debug ( Number L , String ) ; if ( ( unsigned int ) ne_sock_init ( ) ) { if ( use_colour ) printf ( String ) ; printf ( String ) ; if ( use_colour ) printf ( String ) ; puts ( String ) ; } printf ( String , ( const char * ) test_suite ) ; for ( @@i@@ = Number ; ! aborted && * ( ( _QWORD * ) & tests + Number * ( int ) @@i@@ ) ; ++ @@i@@ ) { @@v21@@ = Number ; test_name = ( char * ) * ( ( _QWORD * ) & tests + Number * ( int ) @@i@@ + Number ) ; @@v9@@ = strlen ( String ) ; v10 = strlen ( test_name ) ; printf ( String , @@i@@ , test_name , @@v9@@ - v10 , String ) ; have_context = Number ; test_num = @@i@@ ; warned = Number ; fflush ( stdout ) ; ne_debug ( Number L , String , @@i@@ , test_name ) ; @@v22@@ = ( * ( ( __int64 ( * * ) ( void ) ) & tests + Number * ( int ) @@i@@ ) ) ( ) ; if ( ( * ( ( _DWORD * ) & tests + Number * ( int ) @@i@@ + Number ) & Number ) != Number ) { if ( @@v22@@ ) { if ( @@v22@@ == Number ) { @@v22@@ = Number ; @@v21@@ = Number ; } } else { t_context ( ( __int64 ) String , ( __int64 ) String , ( int ) @@i@@ , @@v11@@ , @@v12@@ , @@v13@@ ) ; @@v22@@ = Number ; } } if ( warned ) printf ( String , String ) ; switch ( @@v22@@ ) { case Number : if ( @@v21@@ ) { if ( use_colour ) printf ( String ) ; printf ( String ) ; } else { if ( use_colour ) printf ( String ) ; printf ( String ) ; } if ( use_colour ) printf ( String ) ; if ( warned ) { if ( warned <= Number ) v14 = & locale ; else v14 = String ; printf ( String , ( unsigned int ) warned , v14 ) ; } putchar ( Number ) ; ++ passes ; break ; case Number : goto LABEL_43 ; case Number : aborted = Number ; LABEL_43 : if ( use_colour ) printf ( String ) ; printf ( String ) ; if ( use_colour ) printf ( String ) ; if ( have_context ) printf ( String , test_context ) ; putchar ( Number ) ; ++ fails ; break ; case Number : goto LABEL_51 ; case Number : aborted = Number ; LABEL_51 : if ( use_colour ) printf ( String ) ; printf ( String ) ; if ( use_colour ) printf ( String ) ; if ( have_context ) printf ( String , test_context ) ; putchar ( Number ) ; ++ skipped ; break ; default : if ( use_colour ) printf ( String ) ; printf ( String ) ; if ( use_colour ) printf ( String ) ; printf ( String , @@v22@@ ) ; break ; } reap_server ( ) ; } if ( skipped ) { v15 = skipped == Number ? String : String ; printf ( String , ( unsigned int ) skipped , v15 ) ; @@i@@ -= skipped ; if ( @@i@@ != passes + fails ) puts ( String ) ; } if ( ! skipped || @@i@@ ) { printf ( String , ( const char * ) test_suite , @@i@@ , ( unsigned int ) passes , ( unsigned int ) fails , ( float ) ( ( float ) ( Number * ( float ) passes ) / ( float ) ( int ) @@i@@ ) ) ; if ( warnings ) { if ( warnings == Number ) v16 = String ; else v16 = String ; printf ( String , ( unsigned int ) warnings , v16 ) ; } } else { printf ( String , ( const char * ) test_suite ) ; } if ( fclose ( debug ) ) { v17 = _errno_location ( ) ; v18 = strerror ( * v17 ) ; fprintf ( stderr , String , v18 ) ; fails = Number ; } if ( fclose ( child_debug ) ) { v19 = _errno_location ( ) ; v20 = strerror ( * v19 ) ; fprintf ( stderr , String , v20 ) ; fails = Number ; } ne_sock_exit ( ) ; result = fails ; } else { printf ( String , ( const char * ) test_suite ) ; result = Number ; } } else { v6 = _errno_location ( ) ; v7 = strerror ( * v6 ) ; fprintf ( stderr , String , ( const char * ) test_suite , v7 ) ; fclose ( debug ) ; result = Number ; } } else { v3 = _errno_location ( ) ; v4 = strerror ( * v3 ) ; fprintf ( stderr , String , ( const char * ) test_suite , v4 ) ; result = Number ; } return result ; }", "source": [{"n": "envp", "t": {"T": 3, "t": "const char *"}, "location": "r16"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "v9", "t": {"T": 1, "n": "int", "s": 4}, "location": "r32"}, {"n": "argc", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "argv", "t": {"T": 3, "t": "const char *"}, "location": "r64"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r80"}, {"n": "i", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v22", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s24"}, {"n": "v21", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}]}