{"name": "os_setup_signal_handling", "code": "unsigned __int64 os_setup_signal_handling ( ) { struct sigaction @@s@@ ; unsigned __int64 @@v2@@ ; @@v2@@ = __readfsqword ( Number ) ; memset ( & @@s@@ , Number , sizeof ( @@s@@ ) ) ; @@s@@ . sa_handler = ( __sighandler_t ) termsig_handler ; sigaction ( Number , & @@s@@ , Number L ) ; sigaction ( Number , & @@s@@ , Number L ) ; sigaction ( Number , & @@s@@ , Number L ) ; @@s@@ . sa_handler = ( __sighandler_t ) sigchld_handler ; @@s@@ . sa_flags = Number ; sigaction ( Number , & @@s@@ , Number L ) ; return __readfsqword ( Number ) ^ @@v2@@ ; }", "source": [{"n": "s", "t": {"T": 6, "n": "struct sigaction", "l": [{"T": 4, "n": "__sigaction_handler", "t": "sigaction::$CF138106520E5A28DAF2A67779B92EE8", "s": 8}, {"T": 4, "n": "sa_mask", "t": "__sigset_t", "s": 128}, {"T": 4, "n": "sa_flags", "t": "int", "s": 4}, {"T": 5, "s": 4}, {"T": 4, "n": "sa_restorer", "t": "void (*)(void)", "s": 8}]}, "location": "s160"}, {"n": "v2", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}
{"name": "termsig_handler", "code": "unsigned __int64 termsig_handler ( ) { unsigned __int64 @@v1@@ ; @@v1@@ = __readfsqword ( Number ) ; qemu_system_shutdown_request ( ) ; return __readfsqword ( Number ) ^ @@v1@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]} {"name": "sigchld_handler", "code": "unsigned __int64 sigchld_handler ( ) { unsigned __int64 @@v1@@ ; @@v1@@ = __readfsqword ( Number ) ; waitpid ( Number , Number L , Number ) ; return __readfsqword ( Number ) ^ @@v1@@ ; }", "source": [{"n": "v1", "t": {"T": 1, "n": "unsigned __int64", "s": 8}, "location": "s8"}]}