{"name": "change_root", "code": "unsigned __int64 change_root ( ) { unsigned __int64 @@v1@@ ; @@v1@@ = __readfsqword ( Number ) ; if ( chroot_dir ) { if ( chroot ( chroot_dir ) < Number ) { fwrite ( String , Number , Number , stderr ) ; exit ( Number ) ; } if ( chdir ( String ) ) { perror ( String ) ; exit ( Number ) ; } } return __readfsqword ( Number ) ^ @@v1@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "os_setup_post", "code": "unsigned __int64 os_setup_post ( ) { char @@buf@@ ; int @@fd@@ ; ssize_t @@v3@@ ; unsigned __int64 @@v4@@ ; @@v4@@ = __readfsqword ( Number ) ; @@fd@@ = Number ; if ( daemonize ) { @@buf@@ = Number ; do @@v3@@ = write ( @@fd@@ , & @@buf@@ , Number ) ; while ( @@v3@@ == Number && * _errno_location ( ) == Number ) ; if ( @@v3@@ != Number ) exit ( Number ) ; if ( chdir ( String ) ) { perror ( String ) ; exit ( Number ) ; } do @@fd@@ = qemu_open ( String , Number L ) ; while ( @@fd@@ == Number && * _errno_location ( ) == Number ) ; if ( @@fd@@ == Number ) exit ( Number ) ; } change_root ( ) ; change_process_uid ( ) ; if ( daemonize ) { dup2 ( @@fd@@ , Number ) ; dup2 ( @@fd@@ , Number ) ; dup2 ( @@fd@@ , Number ) ; close ( @@fd@@ ) ; } return __readfsqword ( Number ) ^ @@v4@@ ; }", "source": [{"n": "v3", "t": {"T": 1, "n": "ssize_t", "s": 8}, "location": "s16"}, {"n": "fd", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "buf", "t": {"T": 1, "n": "char", "s": 1}, "location": "s21"}, {"n": "v4", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}