{"name": "fold", "code": "int __fastcall fold ( const char * @@a1@@ , int @@a2@@ ) { int @@result@@ ; char @@v3@@ [ Number ] ; const char * @@v4@@ ; int @@v5@@ ; int @@v6@@ ; @@v5@@ = Number ; if ( @@a2@@ > Number ) return puts ( @@a1@@ ) ; @@v4@@ = @@a1@@ ; @@v6@@ = Number ; while ( Number ) { @@result@@ = ( unsigned __int8 ) @@v4@@ [ @@v6@@ ] ; if ( ! ( _BYTE ) @@result@@ ) return @@result@@ ; while ( ( ( * __ctype_b_loc ( ) ) [ @@v4@@ [ @@v6@@ ] ] & Number ) == Number ) { @@v3@@ [ @@v6@@ ] = @@v4@@ [ @@v6@@ ] ; if ( ! @@v4@@ [ @@v6@@ ] ) break ; if ( ++ @@v6@@ == @@a2@@ ) { @@v3@@ [ @@v6@@ ] = Number ; puts ( @@v3@@ ) ; @@v4@@ += @@v6@@ ; @@v6@@ = Number ; } } while ( @@v6@@ < @@a2@@ ) { @@v3@@ [ @@v6@@ ] = @@v4@@ [ @@v6@@ ] ; if ( ! @@v4@@ [ @@v6@@ ] ) { @@v5@@ = @@v6@@ ; break ; } if ( ( ( * __ctype_b_loc ( ) ) [ @@v4@@ [ @@v6@@ ] ] & Number ) != Number ) @@v5@@ = @@v6@@ ; ++ @@v6@@ ; } @@v3@@ [ @@v5@@ ] = Number ; puts ( @@v3@@ ) ; @@v4@@ += @@v5@@ ; @@v6@@ = Number ; while ( @@v4@@ [ @@v6@@ ] && ( ( * __ctype_b_loc ( ) ) [ @@v4@@ [ @@v6@@ ] ] & Number ) != Number ) ++ @@v4@@ ; } }", "source": [{"n": "a1", "t": {"T": 3, "t": "const char"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "int", "s": 4}, "location": "r8"}, {"n": "v3", "t": {"T": 2, "n": 1024, "s": 1, "t": "char"}, "location": "s1040"}, {"n": "v4", "t": {"T": 3, "t": "const char"}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v5", "t": {"T": 1, "n": "int", "s": 4}, "location": "s8"}]}
{"name": "tests_get_args", "code": "__int64 __fastcall tests_get_args ( int @@a1@@ , const char * * @@a2@@ , const char * @@a3@@ , const char * @@a4@@ , const char * @@a5@@ ) { const unsigned __int16 * v5 ; const char * v6 ; const unsigned __int16 * v7 ; const char * v8 ; const unsigned __int16 * v9 ; const char * v10 ; __int64 @@v15@@ ; __int64 @@v16@@ ; __int64 @@v17@@ ; const char * s ; const char * sa ; char * @@k@@ ; char * @@j@@ ; int @@v22@@ ; char * @@nptr@@ ; int @@i@@ ; int @@v25@@ ; int @@v26@@ ; int @@v27@@ ; unsigned int @@v28@@ ; @@v27@@ = Number ; @@v26@@ = Number ; @@v25@@ = Number ; program_name = ( char * ) * @@a2@@ ; s = getenv ( String ) ; if ( s ) tests_file_system_mount_dir = strdup ( s ) ; sa = getenv ( String ) ; if ( sa ) tests_file_system_type = strdup ( sa ) ; @@v28@@ = Number ; rootok = Number ; for ( @@i@@ = Number ; @@i@@ < @@a1@@ ; ++ @@i@@ ) { if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { @@v27@@ = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { @@v26@@ = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { @@v25@@ = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { tests_ok_to_sync = Number ; } else if ( ! strncmp ( @@a2@@ [ @@i@@ ] , String , Number ) || ! strncmp ( @@a2@@ [ @@i@@ ] , String , Number ) ) { if ( @@a1@@ > @@i@@ + Number ) { v5 = * __ctype_b_loc ( ) ; v6 = @@a2@@ [ @@i@@ ] ; if ( ( v5 [ v6 [ strlen ( v6 ) - Number ] ] & Number ) == Number ) ++ @@i@@ ; } for ( @@nptr@@ = ( char * ) @@a2@@ [ @@i@@ ] ; * @@nptr@@ && ( ( * __ctype_b_loc ( ) ) [ * @@nptr@@ ] & Number ) == Number ; ++ @@nptr@@ ) ; @@v15@@ = atoll ( @@nptr@@ ) ; if ( @@v15@@ ) { tests_size_parameter = @@v15@@ ; } else { @@v22@@ = Number ; while ( @@v22@@ && * @@nptr@@ ) { if ( * @@nptr@@ != Number ) @@v22@@ = Number ; ++ @@nptr@@ ; } if ( @@v22@@ ) tests_size_parameter = Number L ; else @@v27@@ = Number ; } } else if ( ! strncmp ( @@a2@@ [ @@i@@ ] , String , Number ) || ! strncmp ( @@a2@@ [ @@i@@ ] , String , Number ) ) { if ( @@a1@@ > @@i@@ + Number ) { v7 = * __ctype_b_loc ( ) ; v8 = @@a2@@ [ @@i@@ ] ; if ( ( v7 [ v8 [ strlen ( v8 ) - Number ] ] & Number ) == Number ) ++ @@i@@ ; } for ( @@j@@ = ( char * ) @@a2@@ [ @@i@@ ] ; * @@j@@ && ( ( * __ctype_b_loc ( ) ) [ * @@j@@ ] & Number ) == Number ; ++ @@j@@ ) ; @@v16@@ = atoll ( @@j@@ ) ; if ( @@v16@@ || ( unsigned int ) is_zero ( @@j@@ ) ) tests_repeat_parameter = @@v16@@ ; else @@v27@@ = Number ; } else if ( ! strncmp ( @@a2@@ [ @@i@@ ] , String , Number ) || ! strncmp ( @@a2@@ [ @@i@@ ] , String , Number ) ) { if ( @@a1@@ > @@i@@ + Number ) { v9 = * __ctype_b_loc ( ) ; v10 = @@a2@@ [ @@i@@ ] ; if ( ( v9 [ v10 [ strlen ( v10 ) - Number ] ] & Number ) == Number ) ++ @@i@@ ; } for ( @@k@@ = ( char * ) @@a2@@ [ @@i@@ ] ; * @@k@@ && ( ( * __ctype_b_loc ( ) ) [ * @@k@@ ] & Number ) == Number ; ++ @@k@@ ) ; @@v17@@ = atoll ( @@k@@ ) ; if ( @@v17@@ || ( unsigned int ) is_zero ( @@k@@ ) ) tests_sleep_parameter = @@v17@@ ; else @@v27@@ = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { tests_unlink_flag = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { tests_hole_flag = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { tests_close_flag = Number ; } else if ( ! strcmp ( @@a2@@ [ @@i@@ ] , String ) || ! strcmp ( @@a2@@ [ @@i@@ ] , String ) ) { tests_delete_flag = Number ; } else { @@v27@@ = Number ; } } if ( @@v27@@ ) { @@v28@@ = Number ; if ( ! @@a5@@ ) @@a5@@ = ( const char * ) & unk_406269 ; puts ( String ) ; printf ( String , @@a3@@ ) ; printf ( String , * @@a2@@ ) ; puts ( String ) ; printf ( String ) ; puts ( String ) ; printf ( String ) ; puts ( String ) ; printf ( String ) ; puts ( String ) ; if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } if ( strchr ( @@a5@@ , Number ) ) { printf ( String ) ; puts ( String ) ; } printf ( String ) ; printf ( String ) ; printf ( String ) ; printf ( String ) ; printf ( String ) ; puts ( String ) ; puts ( String ) ; fold ( @@a4@@ , Number ) ; } else { if ( @@v26@@ ) puts ( @@a3@@ ) ; if ( @@v25@@ ) puts ( @@a4@@ ) ; if ( ( @@v26@@ || @@v25@@ ) && ( @@a1@@ == Number || @@a1@@ == Number && @@v26@@ && @@v25@@ ) ) @@v28@@ = Number ; } return @@v28@@ ; }", "source": [{"n": "a3", "t": {"T": 3, "t": "const char"}, "location": "r16"}, {"n": "a4", "t": {"T": 3, "t": "const char"}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "int", "s": 4}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char *"}, "location": "r64"}, {"n": "a5", "t": {"T": 3, "t": "const char"}, "location": "r72"}, {"n": "v15", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s104"}, {"n": "v28", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "s20"}, {"n": "v27", "t": {"T": 1, "n": "int", "s": 4}, "location": "s24"}, {"n": "v26", "t": {"T": 1, "n": "int", "s": 4}, "location": "s28"}, {"n": "v25", "t": {"T": 1, "n": "int", "s": 4}, "location": "s32"}, {"n": "i", "t": {"T": 1, "n": "int", "s": 4}, "location": "s36"}, {"n": "nptr", "t": {"T": 3, "t": "char"}, "location": "s48"}, {"n": "v22", "t": {"T": 1, "n": "int", "s": 4}, "location": "s52"}, {"n": "j", "t": {"T": 3, "t": "char"}, "location": "s64"}, {"n": "k", "t": {"T": 3, "t": "char"}, "location": "s72"}, {"n": "v17", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s88"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s96"}]}