{"name": "tests_try_to_clear_dir", "code": "int __fastcall tests_try_to_clear_dir ( const char * @@a1@@ ) { DIR * v1 ; int * v2 ; char @@buf@@ [ Number ] ; struct dirent * @@v5@@ ; DIR * @@dirp@@ ; v1 = opendir ( @@a1@@ ) ; @@dirp@@ = v1 ; if ( v1 ) { if ( getcwd ( @@buf@@ , Number ) && chdir ( @@a1@@ ) != Number ) { while ( Number ) { * __errno_location ( ) = Number ; @@v5@@ = readdir ( @@dirp@@ ) ; if ( ! @@v5@@ ) break ; if ( strcmp ( String , @@v5@@ -> d_name ) && strcmp ( String , @@v5@@ -> d_name ) ) { if ( @@v5@@ -> d_type == Number ) { tests_try_to_clear_dir ( @@v5@@ -> d_name ) ; rmdir ( @@v5@@ -> d_name ) ; } else { unlink ( @@v5@@ -> d_name ) ; } } } v2 = __errno_location ( ) ; tests_test ( * v2 == Number , String , String , Number ) ; if ( chdir ( @@buf@@ ) < Number ) perror ( String ) ; } LODWORD ( v1 ) = closedir ( @@dirp@@ ) ; } return ( int ) v1 ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "v5", "t": {"T": 3, "t": "struct dirent"}, "location": "s16"}, {"n": "buf", "t": {"T": 2, "n": 4096, "s": 1, "t": "char"}, "location": "s4112"}, {"n": "dirp", "t": {"T": 3, "t": "DIR"}, "location": "s8"}]}
{"name": "tests_test", "code": "void __fastcall tests_test ( int @@a1@@ , const char * @@a2@@ , const char * @@a3@@ , unsigned int @@a4@@ ) { char * v4 ; char * v5 ; time_t @@timer@@ ; int @@errnum@@ ; if ( ! @@a1@@ ) { @@errnum@@ = * __errno_location ( ) ; time ( & @@timer@@ ) ; v4 = ctime ( & @@timer@@ ) ; fprintf ( stderr , String , program_name , v4 , @@a2@@ , @@a3@@ , @@a4@@ ) ; if ( @@errnum@@ ) { fprintf ( stderr , String , ( unsigned int ) @@errnum@@ ) ; v5 = strerror ( @@errnum@@ ) ; fprintf ( stderr , String , v5 ) ; } exit ( Number ) ; } }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "timer", "t": {"T": 1, "n": "time_t", "s": 8}, "location": "s16"}, {"n": "errnum", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}]}