From 400bdde352a9c3755fc8353d976ebe504f3feecf Mon Sep 17 00:00:00 2001 From: jamcleod Date: Fri, 22 Oct 2021 16:42:49 -0400 Subject: [PATCH 1/5] Add mips64 to default targets --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 12c1ac559a2..be8282a8372 100755 --- a/build.sh +++ b/build.sh @@ -18,7 +18,7 @@ msg() { } # Default targets to build. Change with argument. small = i386-softmmu -TARGET_LIST="x86_64-softmmu,i386-softmmu,arm-softmmu,aarch64-softmmu,ppc-softmmu,mips-softmmu,mipsel-softmmu" +TARGET_LIST="x86_64-softmmu,i386-softmmu,arm-softmmu,aarch64-softmmu,ppc-softmmu,mips-softmmu,mipsel-softmmu,mips64-softmmu" LLVM_CONFIG_BINARY="${LLVM_CONFIG_BINARY:-llvm-config-11}" pypanda="" From 75faaead8061c63698449f6f72fa4f51e167780a Mon Sep 17 00:00:00 2001 From: jamcleod Date: Fri, 22 Oct 2021 17:00:50 -0400 Subject: [PATCH 2/5] Add callback context to PPP callbacks --- panda/include/panda/plugin_plugin.h | 154 +- panda/include/panda/types.h | 5 + panda/plugins/asidstory/asidstory.h | 2 +- .../plugins/callstack_instr/callstack_instr.h | 4 +- panda/plugins/forcedexec/forcedexec_ppp.h | 2 +- panda/plugins/hooks2/hooks2_ppp.h | 20 +- panda/plugins/loaded/loaded.h | 2 +- panda/plugins/osi/os_intro.h | 22 +- panda/plugins/pri/pri.h | 18 +- panda/plugins/pri_dwarf/pri_dwarf.h | 2 +- .../proc_start_linux/proc_start_linux_ppp.h | 4 +- panda/plugins/stringsearch/stringsearch_ppp.h | 2 +- .../generated-tpl/syscalls_ext_typedefs.tpl | 12 +- .../syscalls_ext_typedefs_arch.tpl | 4 +- .../syscall_switch_return_freebsd_x64.cpp | 2248 ++++++------ .../syscall_switch_return_linux_arm.cpp | 1870 +++++----- .../syscall_switch_return_linux_arm64.cpp | 1626 ++++----- .../syscall_switch_return_linux_mips.cpp | 2184 ++++++------ .../syscall_switch_return_linux_x64.cpp | 1744 ++++----- .../syscall_switch_return_linux_x86.cpp | 1882 +++++----- ...syscall_switch_return_windows_2000_x86.cpp | 2010 +++++------ .../syscall_switch_return_windows_7_x86.cpp | 3162 ++++++++--------- ...yscall_switch_return_windows_xpsp2_x86.cpp | 2246 ++++++------ ...yscall_switch_return_windows_xpsp3_x86.cpp | 2246 ++++++------ .../generated/syscalls_ext_typedefs.h | 12 +- .../generated/syscalls_ext_typedefs_arm.h | 1420 ++++---- .../generated/syscalls_ext_typedefs_arm64.h | 1132 +++--- .../generated/syscalls_ext_typedefs_mips.h | 1572 ++++---- .../generated/syscalls_ext_typedefs_x64.h | 2928 +++++++-------- .../generated/syscalls_ext_typedefs_x86.h | 3056 ++++++++-------- .../syscalls2/scripts/syscall_parser.py | 2 +- panda/plugins/taint2/taint2.h | 16 +- 32 files changed, 15853 insertions(+), 15756 deletions(-) diff --git a/panda/include/panda/plugin_plugin.h b/panda/include/panda/plugin_plugin.h index dc69b8e248b..5dad109d186 100644 --- a/panda/include/panda/plugin_plugin.h +++ b/panda/include/panda/plugin_plugin.h @@ -48,12 +48,20 @@ extern "C" { \ void ppp_add_cb_##cb_name(cb_name##_t fptr) ; \ void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) ; \ bool ppp_remove_cb_##cb_name(cb_name##_t fptr) ; \ +\ +void ppp_add_cb_##cb_name##_with_context(cb_name##_with_context_t fptr, void* context) ; \ +void ppp_add_cb_##cb_name##_slot_with_context(cb_name##_with_context_t fptr, int slot_num, void* context) ; \ +bool ppp_remove_cb_##cb_name##_with_context(cb_name##_with_context_t fptr, void* context) ; \ } #else #define PPP_PROT_REG_CB(cb_name) \ void ppp_add_cb_##cb_name(cb_name##_t fptr) ; \ void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) ; \ -bool ppp_remove_cb_##cb_name(cb_name##_t fptr) ; +bool ppp_remove_cb_##cb_name(cb_name##_t fptr) ;\ +\ +void ppp_add_cb_##cb_name##_with_context(cb_name##_with_context_t fptr, void* context) ; \ +void ppp_add_cb_##cb_name##_slot_with_context(cb_name##_with_context_t fptr, int slot_num, void* context) ; \ +bool ppp_remove_cb_##cb_name##_with_context(cb_name##_with_context_t fptr, void* context) ; #endif /* @@ -67,39 +75,86 @@ bool ppp_remove_cb_##cb_name(cb_name##_t fptr) ; as there isnt any attempt, here, to detect if you leave a slot empty */ -#define PPP_CB_BOILERPLATE(cb_name) \ -cb_name##_t ppp_##cb_name##_cb[PPP_MAX_CB]; \ -int ppp_##cb_name##_num_cb = 0; \ - \ -void ppp_add_cb_##cb_name(cb_name##_t fptr) { \ - assert (ppp_##cb_name##_num_cb < PPP_MAX_CB); \ - ppp_##cb_name##_cb[ppp_##cb_name##_num_cb] = fptr; \ - ppp_##cb_name##_num_cb += 1; \ -} \ - \ -void ppp_add_cb_##cb_name##_slot(cb_name##_t fptr, int slot_num) { \ - assert (slot_num < PPP_MAX_CB); \ - ppp_##cb_name##_cb[slot_num] = fptr; \ - ppp_##cb_name##_num_cb = MAX(slot_num, ppp_##cb_name##_num_cb); \ -} \ -bool ppp_remove_cb_##cb_name(cb_name##_t fptr) { \ - int i = 0; \ - bool found = false; \ - for (; i 0) +#define PPP_CHECK_CB(cb_name) \ + ((ppp_##cb_name##_num_cb > 0) || (ppp_##cb_name##_num_cb_with_context > 0)) /**************************************************************** This stuff gets used in "plugin B", i.e., the plugin that wants @@ -150,6 +214,20 @@ to add a callback to be run inside of plugin A. add_cb (cb_func); \ } +#define PPP_REG_CB_WITH_CONTEXT(other_plugin, cb_name, cb_func, context) \ + { \ + dlerror(); \ + void *op = panda_get_plugin_by_name(other_plugin); \ + if (!op) { \ + printf("In trying to add plugin callback, couldn't load %s plugin\n", other_plugin); \ + assert (op); \ + } \ + void (*add_cb)(cb_name##_with_context_t fptr, void* context) = \ + (void (*)(cb_name##_with_context_t, void*)) \ + dlsym(op, "ppp_add_cb_" #cb_name "_with_context"); \ + assert (add_cb != 0); \ + add_cb (cb_func, context); \ + } // Use to disable (delete) a ppp-callback @@ -166,4 +244,18 @@ to add a callback to be run inside of plugin A. rm_cb (cb_func); \ } +#define PPP_REMOVE_CB_WITH_CONTEXT(other_plugin, cb_name, cb_func, context) \ + { \ + dlerror(); \ + void *op = panda_get_plugin_by_name(other_plugin); \ + if (!op) { \ + printf("In trying to remove plugin callback, couldn't load %s plugin\n", other_plugin); \ + assert (op); \ + } \ + void (*rm_cb)(cb_name##_with_context_t fptr, void* context) = \ + (void (*)(cb_name##_t, void*)) dlsym(op, "ppp_remove_cb_" #cb_name "_with_context"); \ + assert (rm_cb != 0); \ + rm_cb (cb_func, context); \ + } + #endif // __PANDA_PLUGIN_PLUGIN_H_ diff --git a/panda/include/panda/types.h b/panda/include/panda/types.h index dd2a94b5d99..8852df4ce19 100644 --- a/panda/include/panda/types.h +++ b/panda/include/panda/types.h @@ -53,6 +53,11 @@ typedef target_ulong target_ptr_t; */ typedef int32_t target_pid_t; +/** @brief macro for defining a PPP callback typedef */ +#define PPP_CB_TYPEDEF(ret_type, cb_name, ...) \ + typedef ret_type (*cb_name##_t)(__VA_ARGS__); \ + typedef ret_type (*cb_name##_with_context_t)(void* context, __VA_ARGS__); + /** @brief Print format for guest VM pids. */ #define TARGET_PID_FMT "%u" diff --git a/panda/plugins/asidstory/asidstory.h b/panda/plugins/asidstory/asidstory.h index bf44435f258..46b1444fb5a 100644 --- a/panda/plugins/asidstory/asidstory.h +++ b/panda/plugins/asidstory/asidstory.h @@ -3,7 +3,7 @@ // the type for the ppp callback for when asidstory decides a process has changed // and we have decent OsiProc. -typedef void (* on_proc_change_t)(CPUState *env, target_ulong asid, OsiProc *proc); +PPP_CB_TYPEDEF(void,on_proc_change,CPUState *env, target_ulong asid, OsiProc *proc); #endif diff --git a/panda/plugins/callstack_instr/callstack_instr.h b/panda/plugins/callstack_instr/callstack_instr.h index 1a280a476f9..55fae108469 100644 --- a/panda/plugins/callstack_instr/callstack_instr.h +++ b/panda/plugins/callstack_instr/callstack_instr.h @@ -8,8 +8,8 @@ // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_call_t)(CPUState *env, target_ulong func); -typedef void (*on_ret_t)(CPUState *env, target_ulong func); +PPP_CB_TYPEDEF(void, on_call, CPUState *env, target_ulong func); +PPP_CB_TYPEDEF(void, on_ret, CPUState *env, target_ulong func); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/forcedexec/forcedexec_ppp.h b/panda/plugins/forcedexec/forcedexec_ppp.h index 9a0cc7b218e..c741db88c5b 100644 --- a/panda/plugins/forcedexec/forcedexec_ppp.h +++ b/panda/plugins/forcedexec/forcedexec_ppp.h @@ -6,7 +6,7 @@ // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef bool (*on_branch_t)(CPUState *env, TranslationBlock *tb, size_t branch_insn); +PPP_CB_TYPEDEF(bool, on_branch, CPUState *env, TranslationBlock *tb, size_t branch_insn); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/hooks2/hooks2_ppp.h b/panda/plugins/hooks2/hooks2_ppp.h index 2cc5b276c30..37363ba6701 100644 --- a/panda/plugins/hooks2/hooks2_ppp.h +++ b/panda/plugins/hooks2/hooks2_ppp.h @@ -6,24 +6,24 @@ // files in this directory that contain subsections like this one. // Hook functions must be of this type -typedef bool (*hooks2_func_t)(CPUState *, TranslationBlock *, void *); +PPP_CB_TYPEDEF(bool,hooks2_func,CPUState *, TranslationBlock *, void *); -typedef void (*on_process_start_t)(CPUState *cpu,const char *procname,target_ulong asid,target_pid_t pid); +PPP_CB_TYPEDEF(void,on_process_start,CPUState *cpu,const char *procname,target_ulong asid,target_pid_t pid); -typedef void (*on_process_end_t)(CPUState *cpu,const char *procname,target_ulong asid,target_pid_t pid); +PPP_CB_TYPEDEF(void,on_process_end,CPUState *cpu,const char *procname,target_ulong asid,target_pid_t pid); -typedef void (*on_thread_start_t)(CPUState* cpu,const char *procname,target_ulong asid,target_pid_t pid,target_pid_t tid); +PPP_CB_TYPEDEF(void,on_thread_start,CPUState* cpu,const char *procname,target_ulong asid,target_pid_t pid,target_pid_t tid); -typedef void (*on_thread_end_t)(CPUState* cpu,const char *procname,target_ulong asid,target_pid_t pid,target_pid_t tid); +PPP_CB_TYPEDEF(void,on_thread_end,CPUState* cpu,const char *procname,target_ulong asid,target_pid_t pid,target_pid_t tid); -typedef void (*on_mmap_updated_t)(CPUState* cpu,const char *libname,target_ulong base,target_ulong size); +PPP_CB_TYPEDEF(void,on_mmap_updated,CPUState* cpu,const char *libname,target_ulong base,target_ulong size); -typedef int (*_add_hooks2_t)(hooks2_func_t hook,void *cb_data,bool is_kernel,const char *procname,const char *libname,target_ulong trace_start,target_ulong trace_stop,target_ulong range_begin,target_ulong range_end); +PPP_CB_TYPEDEF(int,_add_hooks2,hooks2_func_t hook,void *cb_data,bool is_kernel,const char *procname,const char *libname,target_ulong trace_start,target_ulong trace_stop,target_ulong range_begin,target_ulong range_end); -typedef void (*_enable_hooks2_t)(int id); -typedef void (*_disable_hooks2_t)(int id); +PPP_CB_TYPEDEF(void,_enable_hooks2,int id); +PPP_CB_TYPEDEF(void,_disable_hooks2,int id); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! -#endif \ No newline at end of file +#endif diff --git a/panda/plugins/loaded/loaded.h b/panda/plugins/loaded/loaded.h index 3d65ef78a98..7a33186feb9 100644 --- a/panda/plugins/loaded/loaded.h +++ b/panda/plugins/loaded/loaded.h @@ -1,6 +1,6 @@ #ifndef __LOADED_H_ #define __LOADED_H_ -typedef void (* on_library_load_t)(CPUState *env, target_ulong pc, char *filename, target_ulong base_addr, target_ulong size); +PPP_CB_TYPEDEF(void,on_library_load,CPUState *env, target_ulong pc, char *filename, target_ulong base_addr, target_ulong size); #endif diff --git a/panda/plugins/osi/os_intro.h b/panda/plugins/osi/os_intro.h index 5d662ddf68c..301a58c4ac6 100644 --- a/panda/plugins/osi/os_intro.h +++ b/panda/plugins/osi/os_intro.h @@ -6,19 +6,19 @@ // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_get_processes_t)(CPUState *, GArray **); -typedef void (*on_get_process_handles_t)(CPUState *, GArray **); -typedef void (*on_get_current_process_t)(CPUState *, OsiProc **); -typedef void (*on_get_current_process_handle_t)(CPUState *, OsiProcHandle **); -typedef void (*on_get_process_t)(CPUState *, const OsiProcHandle *, OsiProc **); -typedef void (*on_get_modules_t)(CPUState *, GArray **); -typedef void (*on_get_mappings_t)(CPUState *, OsiProc *, GArray**); -typedef void (*on_get_current_thread_t)(CPUState *, OsiThread **); +PPP_CB_TYPEDEF(void,on_get_processes,CPUState *, GArray **); +PPP_CB_TYPEDEF(void,on_get_process_handles,CPUState *, GArray **); +PPP_CB_TYPEDEF(void,on_get_current_process,CPUState *, OsiProc **); +PPP_CB_TYPEDEF(void,on_get_current_process_handle,CPUState *, OsiProcHandle **); +PPP_CB_TYPEDEF(void,on_get_process,CPUState *, const OsiProcHandle *, OsiProc **); +PPP_CB_TYPEDEF(void,on_get_modules,CPUState *, GArray **); +PPP_CB_TYPEDEF(void,on_get_mappings,CPUState *, OsiProc *, GArray**); +PPP_CB_TYPEDEF(void,on_get_current_thread,CPUState *, OsiThread **); -typedef void (*on_get_process_pid_t)(CPUState *, const OsiProcHandle *, target_pid_t *); -typedef void (*on_get_process_ppid_t)(CPUState *, const OsiProcHandle *, target_pid_t *); +PPP_CB_TYPEDEF(void,on_get_process_pid,CPUState *, const OsiProcHandle *, target_pid_t *); +PPP_CB_TYPEDEF(void,on_get_process_ppid,CPUState *, const OsiProcHandle *, target_pid_t *); -typedef void (*on_task_change_t)(CPUState *); +PPP_CB_TYPEDEF(void,on_task_change,CPUState *); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/pri/pri.h b/panda/plugins/pri/pri.h index 05eb0e034e9..6dc78a5f5fa 100644 --- a/panda/plugins/pri/pri.h +++ b/panda/plugins/pri/pri.h @@ -1,16 +1,16 @@ #ifndef PRI_H #define PRI_H -typedef void (*on_get_pc_source_info_t)(CPUState *a, target_ulong pc, SrcInfo *info, int *rc); -typedef void (*on_get_vma_symbol_t)(CPUState *env, target_ulong pc, target_ulong vma, char **symbol_name); -typedef void (*on_all_livevar_iter_t)(CPUState *a, target_ulong pc, liveVarCB f, void *args); -typedef void (*on_global_livevar_iter_t)(CPUState *a, target_ulong pc, liveVarCB f, void *args); -typedef void (*on_funct_livevar_iter_t)(CPUState *a, target_ulong pc, liveVarCB f, void *args); +PPP_CB_TYPEDEF(void, on_get_pc_source_info, CPUState *a, target_ulong pc, SrcInfo *info, int *rc); +PPP_CB_TYPEDEF(void, on_get_vma_symbol, CPUState *env, target_ulong pc, target_ulong vma, char **symbol_name); +PPP_CB_TYPEDEF(void, on_all_livevar_iter, CPUState *a, target_ulong pc, liveVarCB f, void *args); +PPP_CB_TYPEDEF(void, on_global_livevar_iter, CPUState *a, target_ulong pc, liveVarCB f, void *args); +PPP_CB_TYPEDEF(void, on_funct_livevar_iter, CPUState *a, target_ulong pc, liveVarCB f, void *args); -typedef void (*on_before_line_change_t)(CPUState *env, target_ulong pc, const char *file_name, const char *funct_name, unsigned long long lno); -typedef void (*on_after_line_change_t)(CPUState *env, target_ulong pc, const char *file_name, const char *funct_name, unsigned long long lno); -typedef void (*on_fn_start_t)(CPUState *env, target_ulong pc, const char *file_name, const char *funct_name); -typedef void (*on_fn_return_t)(CPUState *env, target_ulong pc, const char *file_name, const char *funct_name); +PPP_CB_TYPEDEF(void, on_before_line_change, CPUState *env, target_ulong pc, const char *file_name, const char *funct_name, unsigned long long lno); +PPP_CB_TYPEDEF(void, on_after_line_change, CPUState *env, target_ulong pc, const char *file_name, const char *funct_name, unsigned long long lno); +PPP_CB_TYPEDEF(void, on_fn_start, CPUState *env, target_ulong pc, const char *file_name, const char *funct_name); +PPP_CB_TYPEDEF(void, on_fn_return, CPUState *env, target_ulong pc, const char *file_name, const char *funct_name); #endif diff --git a/panda/plugins/pri_dwarf/pri_dwarf.h b/panda/plugins/pri_dwarf/pri_dwarf.h index a3534c67555..51e2a045609 100644 --- a/panda/plugins/pri_dwarf/pri_dwarf.h +++ b/panda/plugins/pri_dwarf/pri_dwarf.h @@ -1,6 +1,6 @@ #ifndef __PRI_DWARF_H_ #define __PRI_DWARF_H_ -typedef void (* on_pri_dwarf_line_change_t)(CPUState *env, target_ulong pc, const char *file_name, const char *funct_name, unsigned long long lno); +PPP_CB_TYPEDEF(void, on_pri_dwarf_line_change, CPUState *env, target_ulong pc, const char *file_name, const char *funct_name, unsigned long long lno); #endif diff --git a/panda/plugins/proc_start_linux/proc_start_linux_ppp.h b/panda/plugins/proc_start_linux/proc_start_linux_ppp.h index 5108dfb0243..2a0523b4c63 100644 --- a/panda/plugins/proc_start_linux/proc_start_linux_ppp.h +++ b/panda/plugins/proc_start_linux/proc_start_linux_ppp.h @@ -7,8 +7,8 @@ // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_rec_auxv_t)(CPUState *env, TranslationBlock *tb, struct auxv_values * av); +PPP_CB_TYPEDEF(void, on_rec_auxv, CPUState *env, TranslationBlock *tb, struct auxv_values * av); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! -#endif \ No newline at end of file +#endif diff --git a/panda/plugins/stringsearch/stringsearch_ppp.h b/panda/plugins/stringsearch/stringsearch_ppp.h index e5f360ab395..7935857b528 100644 --- a/panda/plugins/stringsearch/stringsearch_ppp.h +++ b/panda/plugins/stringsearch/stringsearch_ppp.h @@ -9,7 +9,7 @@ // the type for the ppp callback fn that can be passed to string search to be called // whenever a string match is observed -typedef void (*on_ssm_t)(CPUState *env, target_ulong pc, target_ulong addr, uint8_t *matched_string, uint32_t matched_string_length, bool is_write, bool in_memory); +PPP_CB_TYPEDEF(void, on_ssm, CPUState *env, target_ulong pc, target_ulong addr, uint8_t *matched_string, uint32_t matched_string_length, bool is_write, bool in_memory); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! #endif diff --git a/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs.tpl b/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs.tpl index 8b2713c8869..73ddbe7d7e7 100644 --- a/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs.tpl +++ b/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs.tpl @@ -56,12 +56,12 @@ typedef struct syscall_ctx syscall_ctx_t; // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_all_sys_enter_t)(CPUState *cpu, target_ulong pc, target_ulong callno); -typedef void (*on_all_sys_enter2_t)(CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); -typedef void (*on_all_sys_return_t)(CPUState *cpu, target_ulong pc, target_ulong callno); -typedef void (*on_all_sys_return2_t)(CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); -typedef void (*on_unknown_sys_enter_t)(CPUState *cpu, target_ulong pc, target_ulong callno); -typedef void (*on_unknown_sys_return_t)(CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_all_sys_enter, CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_all_sys_enter2, CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); +PPP_CB_TYPEDEF(void, on_all_sys_return, CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_all_sys_return2, CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); +PPP_CB_TYPEDEF(void, on_unknown_sys_enter, CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_unknown_sys_return, CPUState *cpu, target_ulong pc, target_ulong callno); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! /* vim: set tabstop=4 softtabstop=4 noexpandtab ft=cpp: */ diff --git a/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs_arch.tpl b/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs_arch.tpl index 5edace6b113..1a1be18c150 100644 --- a/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs_arch.tpl +++ b/panda/plugins/syscalls2/generated-tpl/syscalls_ext_typedefs_arch.tpl @@ -4,8 +4,8 @@ // files in this directory that contain subsections like this one. {%- for syscall_name, syscall in syscalls|dictsort %} -typedef void (*on_{{syscall.name}}_enter_t)({{syscall.cargs_signature}}); -typedef void (*on_{{syscall.name}}_return_t)({{syscall.cargs_signature}}); +PPP_CB_TYPEDEF(void, on_{{syscall.name}}_enter, {{syscall.cargs_signature}}); +PPP_CB_TYPEDEF(void, on_{{syscall.name}}_return, {{syscall.cargs_signature}}); {%- endfor %} // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_freebsd_x64.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_freebsd_x64.cpp index 48a769afe75..9d1c85d4da3 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_freebsd_x64.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_freebsd_x64.cpp @@ -24,7 +24,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 1 void sys_exit ['int rval'] case 1: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -38,9 +38,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 3 ssize_t read ['int fd', 'void *buf', 'size_t nbyte'] case 3: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -50,9 +50,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 4 ssize_t write ['int fd', 'const void *buf', 'size_t nbyte'] case 4: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -62,9 +62,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 5 int open ['const char *path', 'int flags', 'mode_t mode'] case 5: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -74,7 +74,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 6 int close ['int fd'] case 6: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -82,10 +82,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 7 int wait4 ['int pid', 'int *status', 'int options', 'struct rusage *rusage'] case 7: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_wait4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -96,8 +96,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 8 int creat ['const char *path', 'int mode'] case 8: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_creat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -106,8 +106,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 9 int link ['const char *path', 'const char *link'] case 9: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -116,7 +116,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 10 int unlink ['const char *path'] case 10: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -124,7 +124,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 12 int chdir ['const char *path'] case 12: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_chdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -132,7 +132,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 13 int fchdir ['int fd'] case 13: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_fchdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -140,9 +140,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 14 int mknod ['const char *path', 'int mode', 'uint32_t dev'] case 14: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_mknod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -152,8 +152,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 15 int chmod ['const char *path', 'mode_t mode'] case 15: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_chmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -162,9 +162,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 16 int chown ['const char *path', 'int uid', 'int gid'] case 16: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_chown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -174,9 +174,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 18 int getfsstat ['struct ostatfs *buf', 'long bufsize', 'int mode'] case 18: { - uint64_t arg0; - int64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + int64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_getfsstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -192,10 +192,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 21 int mount ['const char *type', 'const char *path', 'int flags', 'void *data'] case 21: { - uint64_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -206,8 +206,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 22 int unmount ['const char *path', 'int flags'] case 22: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_unmount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -216,7 +216,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 23 int setuid ['uid_t uid'] case 23: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_setuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -236,10 +236,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 26 int ptrace ['int req', 'pid_t pid', 'caddr_t addr', 'int data'] case 26: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_ptrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -250,9 +250,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 27 int recvmsg ['int s', 'struct msghdr *msg', 'int flags'] case 27: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -262,9 +262,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 28 int sendmsg ['int s', 'struct msghdr *msg', 'int flags'] case 28: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -274,12 +274,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 29 int recvfrom ['int s', 'void *buf', 'size_t len', 'int flags', 'struct sockaddr *from', '__socklen_t *fromlenaddr'] case 29: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -292,9 +292,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 30 int accept ['int s', 'struct sockaddr *name', '__socklen_t *anamelen'] case 30: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_accept_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -304,9 +304,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 31 int getpeername ['int fdes', 'struct sockaddr *asa', '__socklen_t *alen'] case 31: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -316,9 +316,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 32 int getsockname ['int fdes', 'struct sockaddr *asa', '__socklen_t *alen'] case 32: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -328,8 +328,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 33 int access ['const char *path', 'int amode'] case 33: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_access_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -338,8 +338,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 34 int chflags ['const char *path', 'u_long flags'] case 34: { - uint64_t arg0; - int64_t arg1; + uint64_t arg0 = 0; + int64_t arg1 = 0; if (PPP_CHECK_CB(on_chflags_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -348,8 +348,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 35 int fchflags ['int fd', 'u_long flags'] case 35: { - int32_t arg0; - int64_t arg1; + int32_t arg0 = 0; + int64_t arg1 = 0; if (PPP_CHECK_CB(on_fchflags_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -364,8 +364,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 37 int kill ['int pid', 'int signum'] case 37: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -374,8 +374,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 38 int stat ['const char *path', 'struct ostat *ub'] case 38: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_stat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -390,8 +390,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 40 int lstat ['const char *path', 'struct ostat *ub'] case 40: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_lstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -400,7 +400,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 41 int dup ['unsigned fd'] case 41: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_dup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -420,10 +420,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 44 int profil ['char *samples', 'size_t size', 'size_t offset', 'unsigned scale'] case 44: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_profil_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -434,10 +434,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 45 int ktrace ['const char *fname', 'int ops', 'int facs', 'int pid'] case 45: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_ktrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -448,9 +448,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 46 int sigaction ['int signum', 'struct osigaction *nsa', 'struct osigaction *osa'] case 46: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -466,8 +466,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 49 int getlogin ['char *namebuf', 'unsigned namelen'] case 49: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_getlogin_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -476,7 +476,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 50 int setlogin ['const char *namebuf'] case 50: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_setlogin_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -484,7 +484,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 51 int acct ['const char *path'] case 51: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_acct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -492,8 +492,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 53 int sigaltstack ['stack_t *ss', 'stack_t *oss'] case 53: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sigaltstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -502,9 +502,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 54 int ioctl ['int fd', 'u_long com', 'char *data'] case 54: { - int32_t arg0; - int64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_ioctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -514,7 +514,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 55 int reboot ['int opt'] case 55: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_reboot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -522,7 +522,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 56 int revoke ['const char *path'] case 56: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_revoke_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -530,8 +530,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 57 int symlink ['const char *path', 'const char *link'] case 57: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_symlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -540,9 +540,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 58 ssize_t readlink ['const char *path', 'char *buf', 'size_t count'] case 58: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_readlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -552,9 +552,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 59 int execve ['const char *fname', 'char **argv', 'char **envv'] case 59: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -564,7 +564,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 60 int umask ['mode_t newmask'] case 60: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_umask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -572,7 +572,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 61 int chroot ['const char *path'] case 61: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_chroot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -580,8 +580,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 62 int fstat ['int fd', 'struct ostat *sb'] case 62: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -590,10 +590,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 63 int getkerninfo ['int op', 'char *where', 'size_t *size', 'int arg'] case 63: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_getkerninfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -610,9 +610,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 65 int msync ['void *addr', 'size_t len', 'int flags'] case 65: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_msync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -628,7 +628,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 69 int sbrk ['int incr'] case 69: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sbrk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -636,7 +636,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 70 int sstk ['int incr'] case 70: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sstk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -644,7 +644,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 72 int vadvise ['int anom'] case 72: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_vadvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -652,8 +652,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 73 int munmap ['void *addr', 'size_t len'] case 73: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_munmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -662,9 +662,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 74 int mprotect ['void *addr', 'size_t len', 'int prot'] case 74: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -674,9 +674,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 75 int madvise ['void *addr', 'size_t len', 'int behav'] case 75: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_madvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -686,9 +686,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 78 int mincore ['const void *addr', 'size_t len', 'char *vec'] case 78: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_mincore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -698,8 +698,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 79 int getgroups ['unsigned gidsetsize', 'gid_t *gidset'] case 79: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_getgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -708,8 +708,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 80 int setgroups ['unsigned gidsetsize', 'gid_t *gidset'] case 80: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_setgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -724,8 +724,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 82 int setpgid ['int pid', 'int pgid'] case 82: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_setpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -734,9 +734,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 83 int setitimer ['unsigned which', 'struct itimerval *itv', 'struct itimerval *oitv'] case 83: { - uint32_t arg0; - uint64_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_setitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -752,7 +752,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 85 int swapon ['const char *name'] case 85: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_swapon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -760,8 +760,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 86 int getitimer ['unsigned which', 'struct itimerval *itv'] case 86: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_getitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -770,8 +770,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 87 int gethostname ['char *hostname', 'unsigned len'] case 87: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_gethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -780,8 +780,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 88 int sethostname ['char *hostname', 'unsigned len'] case 88: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -796,8 +796,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 90 int dup2 ['unsigned from', 'unsigned to'] case 90: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_dup2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -806,9 +806,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 92 int fcntl ['int fd', 'int cmd', 'long arg'] case 92: { - int32_t arg0; - int32_t arg1; - int64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int64_t arg2 = 0; if (PPP_CHECK_CB(on_fcntl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -818,11 +818,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 93 int select ['int nd', 'fd_set *in', 'fd_set *ou', 'fd_set *ex', 'struct timeval *tv'] case 93: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_select_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -834,7 +834,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 95 int fsync ['int fd'] case 95: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -842,9 +842,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 96 int setpriority ['int which', 'int who', 'int prio'] case 96: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_setpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -854,9 +854,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 97 int socket ['int domain', 'int type', 'int protocol'] case 97: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_socket_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -866,9 +866,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 98 int connect ['int s', 'const struct sockaddr *name', 'int namelen'] case 98: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_connect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -878,9 +878,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 99 int accept ['int s', 'struct sockaddr *name', 'int *anamelen'] case 99: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_accept_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -890,8 +890,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 100 int getpriority ['int which', 'int who'] case 100: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_getpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -900,10 +900,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 101 int send ['int s', 'const void *buf', 'int len', 'int flags'] case 101: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_send_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -914,10 +914,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 102 int recv ['int s', 'void *buf', 'int len', 'int flags'] case 102: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_recv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -928,7 +928,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 103 int sigreturn ['struct osigcontext *sigcntxp'] case 103: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sigreturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -936,9 +936,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 104 int bind ['int s', 'const struct sockaddr *name', 'int namelen'] case 104: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_bind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -948,11 +948,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 105 int setsockopt ['int s', 'int level', 'int name', 'const void *val', 'int valsize'] case 105: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_setsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -964,8 +964,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 106 int listen ['int s', 'int backlog'] case 106: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_listen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -974,9 +974,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 108 int sigvec ['int signum', 'struct sigvec *nsv', 'struct sigvec *osv'] case 108: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigvec_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -986,7 +986,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 109 int sigblock ['int mask'] case 109: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sigblock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -994,7 +994,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 110 int sigsetmask ['int mask'] case 110: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sigsetmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1002,7 +1002,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 111 int sigsuspend ['osigset_t mask'] case 111: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1010,8 +1010,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 112 int sigstack ['struct sigstack *nss', 'struct sigstack *oss'] case 112: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sigstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1020,9 +1020,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 113 int recvmsg ['int s', 'struct omsghdr *msg', 'int flags'] case 113: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1032,9 +1032,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 114 int sendmsg ['int s', 'const void *msg', 'int flags'] case 114: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1044,8 +1044,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 116 int gettimeofday ['struct timeval *tp', 'struct timezone *tzp'] case 116: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_gettimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1054,8 +1054,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 117 int getrusage ['int who', 'struct rusage *rusage'] case 117: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_getrusage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1064,11 +1064,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 118 int getsockopt ['int s', 'int level', 'int name', 'void *val', 'int *avalsize'] case 118: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_getsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1080,9 +1080,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 120 int readv ['int fd', 'struct iovec *iovp', 'unsigned iovcnt'] case 120: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1092,9 +1092,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 121 int writev ['int fd', 'struct iovec *iovp', 'unsigned iovcnt'] case 121: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1104,8 +1104,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 122 int settimeofday ['struct timeval *tv', 'struct timezone *tzp'] case 122: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_settimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1114,9 +1114,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 123 int fchown ['int fd', 'int uid', 'int gid'] case 123: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_fchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1126,8 +1126,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 124 int fchmod ['int fd', 'mode_t mode'] case 124: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_fchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1136,12 +1136,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 125 int recvfrom ['int s', 'void *buf', 'size_t len', 'int flags', 'struct sockaddr *from', 'int *fromlenaddr'] case 125: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1154,8 +1154,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 126 int setreuid ['int ruid', 'int euid'] case 126: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_setreuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1164,8 +1164,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 127 int setregid ['int rgid', 'int egid'] case 127: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_setregid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1174,8 +1174,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 128 int rename ['const char *from', 'const char *to'] case 128: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_rename_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1184,8 +1184,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 131 int flock ['int fd', 'int how'] case 131: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_flock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1194,8 +1194,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 132 int mkfifo ['const char *path', 'mode_t mode'] case 132: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_mkfifo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1204,12 +1204,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 133 int sendto ['int s', 'const void *buf', 'size_t len', 'int flags', 'const struct sockaddr *to', 'int tolen'] case 133: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; - uint64_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sendto_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1222,8 +1222,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 134 int shutdown ['int s', 'int how'] case 134: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_shutdown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1232,10 +1232,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 135 int socketpair ['int domain', 'int type', 'int protocol', 'int *rsv'] case 135: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_socketpair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1246,8 +1246,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 136 int mkdir ['const char *path', 'mode_t mode'] case 136: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_mkdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1256,7 +1256,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 137 int rmdir ['const char *path'] case 137: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_rmdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1264,8 +1264,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 138 int utimes ['const char *path', 'struct timeval *tptr'] case 138: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_utimes_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1274,8 +1274,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 140 int adjtime ['struct timeval *delta', 'struct timeval *olddelta'] case 140: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1284,9 +1284,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 141 int getpeername ['int fdes', 'struct sockaddr *asa', 'int *alen'] case 141: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1302,7 +1302,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 143 int sethostid ['long hostid'] case 143: { - int64_t arg0; + int64_t arg0 = 0; if (PPP_CHECK_CB(on_sethostid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); } @@ -1310,8 +1310,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 144 int getrlimit ['unsigned which', 'struct orlimit *rlp'] case 144: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1320,8 +1320,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 145 int setrlimit ['unsigned which', 'struct orlimit *rlp'] case 145: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1330,8 +1330,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 146 int killpg ['int pgid', 'int signum'] case 146: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_killpg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1346,10 +1346,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 148 int quotactl ['const char *path', 'int cmd', 'int uid', 'void *arg'] case 148: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_quotactl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1366,9 +1366,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 150 int getsockname ['int fdec', 'struct sockaddr *asa', 'int *alen'] case 150: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1378,10 +1378,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 154 int nlm_syscall ['int debug_level', 'int grace_period', 'int addr_count', 'char **addrs'] case 154: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_nlm_syscall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1392,8 +1392,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 155 int nfssvc ['int flag', 'void *argp'] case 155: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_nfssvc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1402,10 +1402,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 156 int getdirentries ['int fd', 'char *buf', 'unsigned count', 'long *basep'] case 156: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_getdirentries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1416,8 +1416,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 157 int statfs ['const char *path', 'struct ostatfs *buf'] case 157: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1426,8 +1426,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 158 int fstatfs ['int fd', 'struct ostatfs *buf'] case 158: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1436,8 +1436,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 160 int lgetfh ['const char *fname', 'struct fhandle *fhp'] case 160: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_lgetfh_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1446,8 +1446,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 161 int getfh ['const char *fname', 'struct fhandle *fhp'] case 161: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_getfh_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1456,8 +1456,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 162 int getdomainname ['char *domainname', 'int len'] case 162: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_getdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1466,8 +1466,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 163 int setdomainname ['char *domainname', 'int len'] case 163: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_setdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1476,7 +1476,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 164 int uname ['struct utsname *name'] case 164: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_uname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1484,8 +1484,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 165 int sysarch ['int op', 'char *parms'] case 165: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sysarch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1494,9 +1494,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 166 int rtprio ['int function', 'pid_t pid', 'struct rtprio *rtp'] case 166: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_rtprio_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1506,11 +1506,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 169 int semsys ['int which', 'int a2', 'int a3', 'int a4', 'int a5'] case 169: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_semsys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1522,7 +1522,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 175 int setfib ['int fibnum'] case 175: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_setfib_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1530,7 +1530,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 176 int ntp_adjtime ['struct timex *tp'] case 176: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_ntp_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1538,7 +1538,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 181 int setgid ['gid_t gid'] case 181: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_setgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1546,7 +1546,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 182 int setegid ['gid_t egid'] case 182: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_setegid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1554,7 +1554,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 183 int seteuid ['uid_t euid'] case 183: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_seteuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1562,8 +1562,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 188 int stat ['const char *path', 'struct freebsd11_stat *ub'] case 188: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_stat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1572,8 +1572,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 189 int fstat ['int fd', 'struct freebsd11_stat *sb'] case 189: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1582,8 +1582,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 190 int lstat ['const char *path', 'struct freebsd11_stat *ub'] case 190: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_lstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1592,8 +1592,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 191 int pathconf ['const char *path', 'int name'] case 191: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_pathconf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1602,8 +1602,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 192 int fpathconf ['int fd', 'int name'] case 192: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_fpathconf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1612,8 +1612,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 194 int getrlimit ['unsigned which', 'struct rlimit *rlp'] case 194: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1622,8 +1622,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 195 int setrlimit ['unsigned which', 'struct rlimit *rlp'] case 195: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1632,10 +1632,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 196 int getdirentries ['int fd', 'char *buf', 'unsigned count', 'long *basep'] case 196: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_getdirentries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1652,12 +1652,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 202 int __sysctl ['int *name', 'unsigned namelen', 'void *old', 'size_t *oldlenp', 'const void *new', 'size_t newlen'] case 202: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on___sysctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1670,8 +1670,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 203 int mlock ['const void *addr', 'size_t len'] case 203: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1680,8 +1680,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 204 int munlock ['const void *addr', 'size_t len'] case 204: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_munlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1690,7 +1690,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 205 int undelete ['const char *path'] case 205: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_undelete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1698,8 +1698,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 206 int futimes ['int fd', 'struct timeval *tptr'] case 206: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_futimes_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1708,7 +1708,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 207 int getpgid ['pid_t pid'] case 207: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_getpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1716,9 +1716,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 209 int poll ['struct pollfd *fds', 'unsigned nfds', 'int timeout'] case 209: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_poll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1728,10 +1728,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 220 int __semctl ['int semid', 'int semnum', 'int cmd', 'union semun_old *arg'] case 220: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on___semctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1742,9 +1742,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 221 int semget ['key_t key', 'int nsems', 'int semflg'] case 221: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_semget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1754,9 +1754,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 222 int semop ['int semid', 'struct sembuf *sops', 'size_t nsops'] case 222: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_semop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1766,9 +1766,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 224 int msgctl ['int msqid', 'int cmd', 'struct msqid_ds_old *buf'] case 224: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_msgctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1778,8 +1778,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 225 int msgget ['key_t key', 'int msgflg'] case 225: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_msgget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1788,10 +1788,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 226 int msgsnd ['int msqid', 'const void *msgp', 'size_t msgsz', 'int msgflg'] case 226: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_msgsnd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1802,11 +1802,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 227 ssize_t msgrcv ['int msqid', 'void *msgp', 'size_t msgsz', 'long msgtyp', 'int msgflg'] case 227: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_msgrcv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1818,9 +1818,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 229 int shmctl ['int shmid', 'int cmd', 'struct shmid_ds_old *buf'] case 229: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_shmctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1830,7 +1830,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 230 int shmdt ['const void *shmaddr'] case 230: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_shmdt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1838,9 +1838,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 231 int shmget ['key_t key', 'size_t size', 'int shmflg'] case 231: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_shmget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1850,8 +1850,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 232 int clock_gettime ['clockid_t clock_id', 'struct timespec *tp'] case 232: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_clock_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1860,8 +1860,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 233 int clock_settime ['clockid_t clock_id', 'const struct timespec *tp'] case 233: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_clock_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1870,8 +1870,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 234 int clock_getres ['clockid_t clock_id', 'struct timespec *tp'] case 234: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_clock_getres_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1880,9 +1880,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 235 int ktimer_create ['clockid_t clock_id', 'struct sigevent *evp', 'int *timerid'] case 235: { - uint32_t arg0; - uint64_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_ktimer_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1892,7 +1892,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 236 int ktimer_delete ['int timerid'] case 236: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_ktimer_delete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1900,10 +1900,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 237 int ktimer_settime ['int timerid', 'int flags', 'const struct itimerspec *value', 'struct itimerspec *ovalue'] case 237: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_ktimer_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1914,8 +1914,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 238 int ktimer_gettime ['int timerid', 'struct itimerspec *value'] case 238: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_ktimer_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1924,7 +1924,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 239 int ktimer_getoverrun ['int timerid'] case 239: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_ktimer_getoverrun_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1932,8 +1932,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 240 int nanosleep ['const struct timespec *rqtp', 'struct timespec *rmtp'] case 240: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1942,7 +1942,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 241 int ffclock_getcounter ['ffcounter *ffcount'] case 241: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_ffclock_getcounter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1950,7 +1950,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 242 int ffclock_setestimate ['struct ffclock_estimate *cest'] case 242: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_ffclock_setestimate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1958,7 +1958,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 243 int ffclock_getestimate ['struct ffclock_estimate *cest'] case 243: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_ffclock_getestimate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1966,10 +1966,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 244 int clock_nanosleep ['clockid_t clock_id', 'int flags', 'const struct timespec *rqtp', 'struct timespec *rmtp'] case 244: { - uint32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_clock_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1980,9 +1980,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 247 int clock_getcpuclockid2 ['id_t id', 'int which', 'clockid_t *clock_id'] case 247: { - uint32_t arg0; - int32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_clock_getcpuclockid2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1992,7 +1992,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 248 int ntp_gettime ['struct ntptimeval *ntvp'] case 248: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_ntp_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2000,9 +2000,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 250 int minherit ['void *addr', 'size_t len', 'int inherit'] case 250: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_minherit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2012,7 +2012,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 251 int rfork ['int flags'] case 251: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_rfork_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2026,9 +2026,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 254 int lchown ['const char *path', 'int uid', 'int gid'] case 254: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_lchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2038,7 +2038,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 255 int aio_read ['struct aiocb *aiocbp'] case 255: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2046,7 +2046,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 256 int aio_write ['struct aiocb *aiocbp'] case 256: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2054,10 +2054,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 257 int lio_listio ['int mode', 'struct aiocb * const *acb_list', 'int nent', 'struct sigevent *sig'] case 257: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_lio_listio_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2068,9 +2068,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 272 int getdents ['int fd', 'char *buf', 'size_t count'] case 272: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_getdents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2080,8 +2080,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 274 int lchmod ['const char *path', 'mode_t mode'] case 274: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_lchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2090,8 +2090,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 276 int lutimes ['const char *path', 'struct timeval *tptr'] case 276: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_lutimes_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2100,8 +2100,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 278 int nstat ['const char *path', 'struct nstat *ub'] case 278: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_nstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2110,8 +2110,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 279 int nfstat ['int fd', 'struct nstat *sb'] case 279: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_nfstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2120,8 +2120,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 280 int nlstat ['const char *path', 'struct nstat *ub'] case 280: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_nlstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2130,10 +2130,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 289 ssize_t preadv ['int fd', 'struct iovec *iovp', 'unsigned iovcnt', 'off_t offset'] case 289: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_preadv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2144,10 +2144,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 290 ssize_t pwritev ['int fd', 'struct iovec *iovp', 'unsigned iovcnt', 'off_t offset'] case 290: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_pwritev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2158,8 +2158,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 297 int fhstatfs ['const struct fhandle *u_fhp', 'struct ostatfs *buf'] case 297: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fhstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2168,8 +2168,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 298 int fhopen ['const struct fhandle *u_fhp', 'int flags'] case 298: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_fhopen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2178,8 +2178,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 299 int fhstat ['const struct fhandle *u_fhp', 'struct freebsd11_stat *sb'] case 299: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fhstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2188,7 +2188,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 300 int modnext ['int modid'] case 300: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_modnext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2196,8 +2196,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 301 int modstat ['int modid', 'struct module_stat *stat'] case 301: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_modstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2206,7 +2206,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 302 int modfnext ['int modid'] case 302: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_modfnext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2214,7 +2214,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 303 int modfind ['const char *name'] case 303: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_modfind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2222,7 +2222,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 304 int kldload ['const char *file'] case 304: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_kldload_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2230,7 +2230,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 305 int kldunload ['int fileid'] case 305: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_kldunload_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2238,7 +2238,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 306 int kldfind ['const char *file'] case 306: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_kldfind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2246,7 +2246,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 307 int kldnext ['int fileid'] case 307: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_kldnext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2254,8 +2254,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 308 int kldstat ['int fileid', 'struct kld_file_stat *stat'] case 308: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_kldstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2264,7 +2264,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 309 int kldfirstmod ['int fileid'] case 309: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_kldfirstmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2272,7 +2272,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 310 int getsid ['pid_t pid'] case 310: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_getsid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2280,9 +2280,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 311 int setresuid ['uid_t ruid', 'uid_t euid', 'uid_t suid'] case 311: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_setresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2292,9 +2292,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 312 int setresgid ['gid_t rgid', 'gid_t egid', 'gid_t sgid'] case 312: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_setresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2304,7 +2304,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 314 ssize_t aio_return ['struct aiocb *aiocbp'] case 314: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_return_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2312,9 +2312,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 315 int aio_suspend ['struct aiocb * const * aiocbp', 'int nent', 'const struct timespec *timeout'] case 315: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_aio_suspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2324,8 +2324,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 316 int aio_cancel ['int fd', 'struct aiocb *aiocbp'] case 316: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_aio_cancel_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2334,7 +2334,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 317 int aio_error ['struct aiocb *aiocbp'] case 317: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_error_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2342,7 +2342,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 318 int aio_read ['struct oaiocb *aiocbp'] case 318: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2350,7 +2350,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 319 int aio_write ['struct oaiocb *aiocbp'] case 319: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2358,10 +2358,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 320 int lio_listio ['int mode', 'struct oaiocb * const *acb_list', 'int nent', 'struct osigevent *sig'] case 320: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_lio_listio_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2378,7 +2378,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 324 int mlockall ['int how'] case 324: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_mlockall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2386,8 +2386,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 325 int munlockall(void); 326 int __getcwd ['char *buf', 'size_t buflen'] case 325: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on___getcwd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2396,8 +2396,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 327 int sched_setparam ['pid_t pid', 'const struct sched_param *param'] case 327: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sched_setparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2406,8 +2406,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 328 int sched_getparam ['pid_t pid', 'struct sched_param *param'] case 328: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sched_getparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2416,9 +2416,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 329 int sched_setscheduler ['pid_t pid', 'int policy', 'const struct sched_param *param'] case 329: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sched_setscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2428,7 +2428,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 330 int sched_getscheduler ['pid_t pid'] case 330: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sched_getscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2442,7 +2442,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 332 int sched_get_priority_max ['int policy'] case 332: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sched_get_priority_max_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2450,7 +2450,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 333 int sched_get_priority_min ['int policy'] case 333: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sched_get_priority_min_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2458,8 +2458,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 334 int sched_rr_get_interval ['pid_t pid', 'struct timespec *interval'] case 334: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sched_rr_get_interval_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2468,8 +2468,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 335 int utrace ['const void *addr', 'size_t len'] case 335: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_utrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2478,13 +2478,13 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 336 int sendfile ['int fd', 'int s', 'off_t offset', 'size_t nbytes', 'struct sf_hdtr *hdtr', 'off_t *sbytes', 'int flags'] case 336: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; - uint64_t arg4; - uint64_t arg5; - int32_t arg6; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; + int32_t arg6 = 0; if (PPP_CHECK_CB(on_sendfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2498,9 +2498,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 337 int kldsym ['int fileid', 'int cmd', 'void *data'] case 337: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_kldsym_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2510,7 +2510,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 338 int jail ['struct jail *jail'] case 338: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_jail_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2518,11 +2518,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 339 int nnpfs_syscall ['int operation', 'char *a_pathP', 'int a_opcode', 'void *a_paramsP', 'int a_followSymlinks'] case 339: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_nnpfs_syscall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2534,9 +2534,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 340 int sigprocmask ['int how', 'const sigset_t *set', 'sigset_t *oset'] case 340: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2546,7 +2546,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 341 int sigsuspend ['const sigset_t *sigmask'] case 341: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2554,9 +2554,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 342 int sigaction ['int sig', 'const struct sigaction *act', 'struct sigaction *oact'] case 342: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2566,7 +2566,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 343 int sigpending ['sigset_t *set'] case 343: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2574,7 +2574,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 344 int sigreturn ['const struct ucontext4 *sigcntxp'] case 344: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sigreturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2582,9 +2582,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 345 int sigtimedwait ['const sigset_t *set', 'siginfo_t *info', 'const struct timespec *timeout'] case 345: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigtimedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2594,8 +2594,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 346 int sigwaitinfo ['const sigset_t *set', 'siginfo_t *info'] case 346: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sigwaitinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2604,9 +2604,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 347 int __acl_get_file ['const char *path', 'acl_type_t type', 'struct acl *aclp'] case 347: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_get_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2616,9 +2616,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 348 int __acl_set_file ['const char *path', 'acl_type_t type', 'struct acl *aclp'] case 348: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_set_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2628,9 +2628,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 349 int __acl_get_fd ['int filedes', 'acl_type_t type', 'struct acl *aclp'] case 349: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_get_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2640,9 +2640,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 350 int __acl_set_fd ['int filedes', 'acl_type_t type', 'struct acl *aclp'] case 350: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_set_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2652,8 +2652,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 351 int __acl_delete_file ['const char *path', 'acl_type_t type'] case 351: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on___acl_delete_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2662,8 +2662,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 352 int __acl_delete_fd ['int filedes', 'acl_type_t type'] case 352: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on___acl_delete_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2672,9 +2672,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 353 int __acl_aclcheck_file ['const char *path', 'acl_type_t type', 'struct acl *aclp'] case 353: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_aclcheck_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2684,9 +2684,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 354 int __acl_aclcheck_fd ['int filedes', 'acl_type_t type', 'struct acl *aclp'] case 354: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_aclcheck_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2696,11 +2696,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 355 int extattrctl ['const char *path', 'int cmd', 'const char *filename', 'int attrnamespace', 'const char *attrname'] case 355: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - int32_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_extattrctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2712,11 +2712,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 356 ssize_t extattr_set_file ['const char *path', 'int attrnamespace', 'const char *attrname', 'void *data', 'size_t nbytes'] case 356: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_extattr_set_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2728,11 +2728,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 357 ssize_t extattr_get_file ['const char *path', 'int attrnamespace', 'const char *attrname', 'void *data', 'size_t nbytes'] case 357: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_extattr_get_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2744,9 +2744,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 358 int extattr_delete_file ['const char *path', 'int attrnamespace', 'const char *attrname'] case 358: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_extattr_delete_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2756,8 +2756,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 359 ssize_t aio_waitcomplete ['struct aiocb **aiocbp', 'struct timespec *timeout'] case 359: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_aio_waitcomplete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2766,9 +2766,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 360 int getresuid ['uid_t *ruid', 'uid_t *euid', 'uid_t *suid'] case 360: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_getresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2778,9 +2778,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 361 int getresgid ['gid_t *rgid', 'gid_t *egid', 'gid_t *sgid'] case 361: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_getresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2796,12 +2796,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 363 int kevent ['int fd', 'struct kevent_freebsd11 *changelist', 'int nchanges', 'struct kevent_freebsd11 *eventlist', 'int nevents', 'const struct timespec *timeout'] case 363: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_kevent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2814,11 +2814,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 371 ssize_t extattr_set_fd ['int fd', 'int attrnamespace', 'const char *attrname', 'void *data', 'size_t nbytes'] case 371: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_extattr_set_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2830,11 +2830,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 372 ssize_t extattr_get_fd ['int fd', 'int attrnamespace', 'const char *attrname', 'void *data', 'size_t nbytes'] case 372: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_extattr_get_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2846,9 +2846,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 373 int extattr_delete_fd ['int fd', 'int attrnamespace', 'const char *attrname'] case 373: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_extattr_delete_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2858,7 +2858,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 374 int __setugid ['int flag'] case 374: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on___setugid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2866,8 +2866,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 376 int eaccess ['const char *path', 'int amode'] case 376: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_eaccess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2876,13 +2876,13 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 377 int afs3_syscall ['long syscall', 'long parm1', 'long parm2', 'long parm3', 'long parm4', 'long parm5', 'long parm6'] case 377: { - int64_t arg0; - int64_t arg1; - int64_t arg2; - int64_t arg3; - int64_t arg4; - int64_t arg5; - int64_t arg6; + int64_t arg0 = 0; + int64_t arg1 = 0; + int64_t arg2 = 0; + int64_t arg3 = 0; + int64_t arg4 = 0; + int64_t arg5 = 0; + int64_t arg6 = 0; if (PPP_CHECK_CB(on_afs3_syscall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -2896,9 +2896,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 378 int nmount ['struct iovec *iovp', 'unsigned int iovcnt', 'int flags'] case 378: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_nmount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2908,7 +2908,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 384 int __mac_get_proc ['struct mac *mac_p'] case 384: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on___mac_get_proc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2916,7 +2916,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 385 int __mac_set_proc ['struct mac *mac_p'] case 385: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on___mac_set_proc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2924,8 +2924,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 386 int __mac_get_fd ['int fd', 'struct mac *mac_p'] case 386: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_get_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2934,8 +2934,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 387 int __mac_get_file ['const char *path_p', 'struct mac *mac_p'] case 387: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_get_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2944,8 +2944,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 388 int __mac_set_fd ['int fd', 'struct mac *mac_p'] case 388: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_set_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2954,8 +2954,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 389 int __mac_set_file ['const char *path_p', 'struct mac *mac_p'] case 389: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_set_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2964,10 +2964,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 390 int kenv ['int what', 'const char *name', 'char *value', 'int len'] case 390: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_kenv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2978,8 +2978,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 391 int lchflags ['const char *path', 'u_long flags'] case 391: { - uint64_t arg0; - int64_t arg1; + uint64_t arg0 = 0; + int64_t arg1 = 0; if (PPP_CHECK_CB(on_lchflags_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -2988,8 +2988,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 392 int uuidgen ['struct uuid *store', 'int count'] case 392: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_uuidgen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2998,13 +2998,13 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 393 int sendfile ['int fd', 'int s', 'off_t offset', 'size_t nbytes', 'struct sf_hdtr *hdtr', 'off_t *sbytes', 'int flags'] case 393: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; - uint64_t arg4; - uint64_t arg5; - int32_t arg6; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; + int32_t arg6 = 0; if (PPP_CHECK_CB(on_sendfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3018,9 +3018,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 394 int mac_syscall ['const char *policy', 'int call', 'void *arg'] case 394: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_mac_syscall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3030,9 +3030,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 395 int getfsstat ['struct freebsd11_statfs *buf', 'long bufsize', 'int mode'] case 395: { - uint64_t arg0; - int64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + int64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_getfsstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -3042,8 +3042,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 396 int statfs ['const char *path', 'struct freebsd11_statfs *buf'] case 396: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3052,8 +3052,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 397 int fstatfs ['int fd', 'struct freebsd11_statfs *buf'] case 397: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3062,8 +3062,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 398 int fhstatfs ['const struct fhandle *u_fhp', 'struct freebsd11_statfs *buf'] case 398: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fhstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3072,7 +3072,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 400 int ksem_close ['semid_t id'] case 400: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_ksem_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3080,7 +3080,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 401 int ksem_post ['semid_t id'] case 401: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_ksem_post_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3088,7 +3088,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 402 int ksem_wait ['semid_t id'] case 402: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_ksem_wait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3096,7 +3096,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 403 int ksem_trywait ['semid_t id'] case 403: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_ksem_trywait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3104,8 +3104,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 404 int ksem_init ['semid_t *idp', 'unsigned int value'] case 404: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_ksem_init_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3114,11 +3114,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 405 int ksem_open ['semid_t *idp', 'const char *name', 'int oflag', 'mode_t mode', 'unsigned int value'] case 405: { - uint64_t arg0; - uint64_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_ksem_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3130,7 +3130,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 406 int ksem_unlink ['const char *name'] case 406: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_ksem_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3138,8 +3138,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 407 int ksem_getvalue ['semid_t id', 'int *val'] case 407: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_ksem_getvalue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3148,7 +3148,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 408 int ksem_destroy ['semid_t id'] case 408: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_ksem_destroy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3156,8 +3156,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 409 int __mac_get_pid ['pid_t pid', 'struct mac *mac_p'] case 409: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_get_pid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3166,8 +3166,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 410 int __mac_get_link ['const char *path_p', 'struct mac *mac_p'] case 410: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_get_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3176,8 +3176,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 411 int __mac_set_link ['const char *path_p', 'struct mac *mac_p'] case 411: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on___mac_set_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3186,11 +3186,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 412 ssize_t extattr_set_link ['const char *path', 'int attrnamespace', 'const char *attrname', 'void *data', 'size_t nbytes'] case 412: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_extattr_set_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3202,11 +3202,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 413 ssize_t extattr_get_link ['const char *path', 'int attrnamespace', 'const char *attrname', 'void *data', 'size_t nbytes'] case 413: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_extattr_get_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3218,9 +3218,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 414 int extattr_delete_link ['const char *path', 'int attrnamespace', 'const char *attrname'] case 414: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_extattr_delete_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3230,10 +3230,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 415 int __mac_execve ['const char *fname', 'char **argv', 'char **envv', 'struct mac *mac_p'] case 415: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on___mac_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3244,9 +3244,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 416 int sigaction ['int sig', 'const struct sigaction *act', 'struct sigaction *oact'] case 416: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3256,7 +3256,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 417 int sigreturn ['const struct __ucontext *sigcntxp'] case 417: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sigreturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3264,7 +3264,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 421 int getcontext ['struct __ucontext *ucp'] case 421: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_getcontext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3272,7 +3272,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 422 int setcontext ['const struct __ucontext *ucp'] case 422: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_setcontext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3280,8 +3280,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 423 int swapcontext ['struct __ucontext *oucp', 'const struct __ucontext *ucp'] case 423: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_swapcontext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3290,7 +3290,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 424 int swapoff ['const char *name'] case 424: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_swapoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3298,9 +3298,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 425 int __acl_get_link ['const char *path', 'acl_type_t type', 'struct acl *aclp'] case 425: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_get_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3310,9 +3310,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 426 int __acl_set_link ['const char *path', 'acl_type_t type', 'struct acl *aclp'] case 426: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_set_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3322,8 +3322,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 427 int __acl_delete_link ['const char *path', 'acl_type_t type'] case 427: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on___acl_delete_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3332,9 +3332,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 428 int __acl_aclcheck_link ['const char *path', 'acl_type_t type', 'struct acl *aclp'] case 428: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___acl_aclcheck_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3344,8 +3344,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 429 int sigwait ['const sigset_t *set', 'int *sig'] case 429: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sigwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3354,9 +3354,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 430 int thr_create ['ucontext_t *ctx', 'long *id', 'int flags'] case 430: { - uint64_t arg0; - uint64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_thr_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3366,7 +3366,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 431 void thr_exit ['long *state'] case 431: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_thr_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3374,7 +3374,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 432 int thr_self ['long *id'] case 432: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_thr_self_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3382,8 +3382,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 433 int thr_kill ['long id', 'int sig'] case 433: { - int64_t arg0; - int32_t arg1; + int64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_thr_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3392,7 +3392,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 436 int jail_attach ['int jid'] case 436: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_jail_attach_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3400,10 +3400,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 437 ssize_t extattr_list_fd ['int fd', 'int attrnamespace', 'void *data', 'size_t nbytes'] case 437: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_extattr_list_fd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3414,10 +3414,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 438 ssize_t extattr_list_file ['const char *path', 'int attrnamespace', 'void *data', 'size_t nbytes'] case 438: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_extattr_list_file_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3428,10 +3428,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 439 ssize_t extattr_list_link ['const char *path', 'int attrnamespace', 'void *data', 'size_t nbytes'] case 439: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_extattr_list_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3442,8 +3442,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 441 int ksem_timedwait ['semid_t id', 'const struct timespec *abstime'] case 441: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_ksem_timedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3452,7 +3452,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 442 int thr_suspend ['const struct timespec *timeout'] case 442: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_thr_suspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3460,7 +3460,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 443 int thr_wake ['long id'] case 443: { - int64_t arg0; + int64_t arg0 = 0; if (PPP_CHECK_CB(on_thr_wake_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); } @@ -3468,8 +3468,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 444 int kldunloadf ['int fileid', 'int flags'] case 444: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_kldunloadf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3478,8 +3478,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 445 int audit ['const void *record', 'unsigned length'] case 445: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_audit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3488,9 +3488,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 446 int auditon ['int cmd', 'void *data', 'unsigned length'] case 446: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_auditon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3500,7 +3500,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 447 int getauid ['uid_t *auid'] case 447: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_getauid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3508,7 +3508,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 448 int setauid ['uid_t *auid'] case 448: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_setauid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3516,7 +3516,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 449 int getaudit ['struct auditinfo *auditinfo'] case 449: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_getaudit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3524,7 +3524,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 450 int setaudit ['struct auditinfo *auditinfo'] case 450: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_setaudit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3532,8 +3532,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 451 int getaudit_addr ['struct auditinfo_addr *auditinfo_addr', 'unsigned length'] case 451: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_getaudit_addr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3542,8 +3542,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 452 int setaudit_addr ['struct auditinfo_addr *auditinfo_addr', 'unsigned length'] case 452: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_setaudit_addr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3552,7 +3552,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 453 int auditctl ['const char *path'] case 453: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_auditctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3560,11 +3560,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 454 int _umtx_op ['void *obj', 'int op', 'u_long val', 'void *uaddr1', 'void *uaddr2'] case 454: { - uint64_t arg0; - int32_t arg1; - int64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on__umtx_op_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3576,8 +3576,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 455 int thr_new ['struct thr_param *param', 'int param_size'] case 455: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_thr_new_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3586,9 +3586,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 456 int sigqueue ['pid_t pid', 'int signum', 'void *value'] case 456: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sigqueue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3598,10 +3598,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 457 int kmq_open ['const char *path', 'int flags', 'mode_t mode', 'const struct mq_attr *attr'] case 457: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_kmq_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3612,9 +3612,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 458 int kmq_setattr ['int mqd', 'const struct mq_attr *attr', 'struct mq_attr *oattr'] case 458: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_kmq_setattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3624,11 +3624,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 459 int kmq_timedreceive ['int mqd', 'char *msg_ptr', 'size_t msg_len', 'unsigned *msg_prio', 'const struct timespec *abs_timeout'] case 459: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_kmq_timedreceive_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3640,11 +3640,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 460 int kmq_timedsend ['int mqd', 'const char *msg_ptr', 'size_t msg_len', 'unsigned msg_prio', 'const struct timespec *abs_timeout'] case 460: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_kmq_timedsend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3656,8 +3656,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 461 int kmq_notify ['int mqd', 'const struct sigevent *sigev'] case 461: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_kmq_notify_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3666,7 +3666,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 462 int kmq_unlink ['const char *path'] case 462: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_kmq_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3674,9 +3674,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 463 int abort2 ['const char *why', 'int nargs', 'void **args'] case 463: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_abort2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3686,8 +3686,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 464 int thr_set_name ['long id', 'const char *name'] case 464: { - int64_t arg0; - uint64_t arg1; + int64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_thr_set_name_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3696,8 +3696,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 465 int aio_fsync ['int op', 'struct aiocb *aiocbp'] case 465: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_aio_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3706,9 +3706,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 466 int rtprio_thread ['int function', 'lwpid_t lwpid', 'struct rtprio *rtp'] case 466: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_rtprio_thread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3718,8 +3718,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 471 int sctp_peeloff ['int sd', 'uint32_t name'] case 471: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sctp_peeloff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3728,13 +3728,13 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 472 int sctp_generic_sendmsg ['int sd', 'void *msg', 'int mlen', 'struct sockaddr *to', '__socklen_t tolen', 'struct sctp_sndrcvinfo *sinfo', 'int flags'] case 472: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint64_t arg5; - int32_t arg6; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint64_t arg5 = 0; + int32_t arg6 = 0; if (PPP_CHECK_CB(on_sctp_generic_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3748,13 +3748,13 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 473 int sctp_generic_sendmsg_iov ['int sd', 'struct iovec *iov', 'int iovlen', 'struct sockaddr *to', '__socklen_t tolen', 'struct sctp_sndrcvinfo *sinfo', 'int flags'] case 473: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint64_t arg5; - int32_t arg6; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint64_t arg5 = 0; + int32_t arg6 = 0; if (PPP_CHECK_CB(on_sctp_generic_sendmsg_iov_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3768,13 +3768,13 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 474 int sctp_generic_recvmsg ['int sd', 'struct iovec *iov', 'int iovlen', 'struct sockaddr *from', '__socklen_t *fromlenaddr', 'struct sctp_sndrcvinfo *sinfo', 'int *msg_flags'] case 474: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; - uint64_t arg6; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; + uint64_t arg6 = 0; if (PPP_CHECK_CB(on_sctp_generic_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3788,10 +3788,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 475 ssize_t pread ['int fd', 'void *buf', 'size_t nbyte', 'off_t offset'] case 475: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_pread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3802,10 +3802,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 476 ssize_t pwrite ['int fd', 'const void *buf', 'size_t nbyte', 'off_t offset'] case 476: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_pwrite_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3816,9 +3816,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 478 off_t lseek ['int fd', 'off_t offset', 'int whence'] case 478: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_lseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3828,8 +3828,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 479 int truncate ['const char *path', 'off_t length'] case 479: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_truncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3838,8 +3838,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 480 int ftruncate ['int fd', 'off_t length'] case 480: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_ftruncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3848,9 +3848,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 481 int thr_kill2 ['pid_t pid', 'long id', 'int sig'] case 481: { - int32_t arg0; - int64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_thr_kill2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -3860,9 +3860,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 482 int shm_open ['const char *path', 'int flags', 'mode_t mode'] case 482: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_shm_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3872,7 +3872,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 483 int shm_unlink ['const char *path'] case 483: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_shm_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3880,7 +3880,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 484 int cpuset ['cpusetid_t *setid'] case 484: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_cpuset_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -3888,9 +3888,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 485 int cpuset_setid ['cpuwhich_t which', 'id_t id', 'cpusetid_t setid'] case 485: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_cpuset_setid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3900,10 +3900,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 486 int cpuset_getid ['cpulevel_t level', 'cpuwhich_t which', 'id_t id', 'cpusetid_t *setid'] case 486: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_cpuset_getid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3914,11 +3914,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 487 int cpuset_getaffinity ['cpulevel_t level', 'cpuwhich_t which', 'id_t id', 'size_t cpusetsize', 'cpuset_t *mask'] case 487: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_cpuset_getaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3930,11 +3930,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 488 int cpuset_setaffinity ['cpulevel_t level', 'cpuwhich_t which', 'id_t id', 'size_t cpusetsize', 'const cpuset_t *mask'] case 488: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_cpuset_setaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3946,10 +3946,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 489 int faccessat ['int fd', 'const char *path', 'int amode', 'int flag'] case 489: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_faccessat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3960,10 +3960,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 490 int fchmodat ['int fd', 'const char *path', 'mode_t mode', 'int flag'] case 490: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_fchmodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3974,11 +3974,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 491 int fchownat ['int fd', 'const char *path', 'uid_t uid', 'gid_t gid', 'int flag'] case 491: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_fchownat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3990,9 +3990,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 492 int fexecve ['int fd', 'char **argv', 'char **envv'] case 492: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_fexecve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4002,10 +4002,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 493 int fstatat ['int fd', 'const char *path', 'struct freebsd11_stat *buf', 'int flag'] case 493: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_fstatat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4016,9 +4016,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 494 int futimesat ['int fd', 'const char *path', 'struct timeval *times'] case 494: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_futimesat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4028,11 +4028,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 495 int linkat ['int fd1', 'const char *path1', 'int fd2', 'const char *path2', 'int flag'] case 495: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_linkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4044,9 +4044,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 496 int mkdirat ['int fd', 'const char *path', 'mode_t mode'] case 496: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_mkdirat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4056,9 +4056,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 497 int mkfifoat ['int fd', 'const char *path', 'mode_t mode'] case 497: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_mkfifoat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4068,10 +4068,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 498 int mknodat ['int fd', 'const char *path', 'mode_t mode', 'uint32_t dev'] case 498: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4082,10 +4082,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 499 int openat ['int fd', 'const char *path', 'int flag', 'mode_t mode'] case 499: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_openat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4096,10 +4096,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 500 ssize_t readlinkat ['int fd', 'const char *path', 'char *buf', 'size_t bufsize'] case 500: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_readlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4110,10 +4110,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 501 int renameat ['int oldfd', 'const char *old', 'int newfd', 'const char *new'] case 501: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_renameat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4124,9 +4124,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 502 int symlinkat ['const char *path1', 'int fd', 'const char *path2'] case 502: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_symlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4136,9 +4136,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 503 int unlinkat ['int fd', 'const char *path', 'int flag'] case 503: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_unlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4148,7 +4148,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 504 int posix_openpt ['int flags'] case 504: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_posix_openpt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -4156,7 +4156,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 505 int gssd_syscall ['const char *path'] case 505: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_gssd_syscall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -4164,9 +4164,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 506 int jail_get ['struct iovec *iovp', 'unsigned int iovcnt', 'int flags'] case 506: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_jail_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4176,9 +4176,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 507 int jail_set ['struct iovec *iovp', 'unsigned int iovcnt', 'int flags'] case 507: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_jail_set_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4188,7 +4188,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 508 int jail_remove ['int jid'] case 508: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_jail_remove_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -4196,7 +4196,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 509 int closefrom ['int lowfd'] case 509: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_closefrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -4204,10 +4204,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 510 int __semctl ['int semid', 'int semnum', 'int cmd', 'union semun *arg'] case 510: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on___semctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4218,9 +4218,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 511 int msgctl ['int msqid', 'int cmd', 'struct msqid_ds *buf'] case 511: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_msgctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4230,9 +4230,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 512 int shmctl ['int shmid', 'int cmd', 'struct shmid_ds *buf'] case 512: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_shmctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4242,8 +4242,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 513 int lpathconf ['const char *path', 'int name'] case 513: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_lpathconf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4252,9 +4252,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 515 int __cap_rights_get ['int version', 'int fd', 'cap_rights_t *rightsp'] case 515: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on___cap_rights_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4270,7 +4270,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 517 int cap_getmode ['unsigned *modep'] case 517: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_cap_getmode_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -4278,8 +4278,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 518 int pdfork ['int *fdp', 'int flags'] case 518: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_pdfork_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4288,8 +4288,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 519 int pdkill ['int fd', 'int signum'] case 519: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_pdkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4298,8 +4298,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 520 int pdgetpid ['int fd', 'pid_t *pidp'] case 520: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_pdgetpid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4308,12 +4308,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 522 int pselect ['int nd', 'fd_set *in', 'fd_set *ou', 'fd_set *ex', 'const struct timespec *ts', 'const sigset_t *sm'] case 522: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_pselect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4326,8 +4326,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 523 int getloginclass ['char *namebuf', 'size_t namelen'] case 523: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_getloginclass_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4336,7 +4336,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 524 int setloginclass ['const char *namebuf'] case 524: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_setloginclass_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -4344,10 +4344,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 525 int rctl_get_racct ['const void *inbufp', 'size_t inbuflen', 'void *outbufp', 'size_t outbuflen'] case 525: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_rctl_get_racct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4358,10 +4358,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 526 int rctl_get_rules ['const void *inbufp', 'size_t inbuflen', 'void *outbufp', 'size_t outbuflen'] case 526: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_rctl_get_rules_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4372,10 +4372,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 527 int rctl_get_limits ['const void *inbufp', 'size_t inbuflen', 'void *outbufp', 'size_t outbuflen'] case 527: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_rctl_get_limits_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4386,10 +4386,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 528 int rctl_add_rule ['const void *inbufp', 'size_t inbuflen', 'void *outbufp', 'size_t outbuflen'] case 528: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_rctl_add_rule_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4400,10 +4400,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 529 int rctl_remove_rule ['const void *inbufp', 'size_t inbuflen', 'void *outbufp', 'size_t outbuflen'] case 529: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_rctl_remove_rule_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4414,9 +4414,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 530 int posix_fallocate ['int fd', 'off_t offset', 'off_t len'] case 530: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_posix_fallocate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4426,10 +4426,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 531 int posix_fadvise ['int fd', 'off_t offset', 'off_t len', 'int advice'] case 531: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_posix_fadvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4440,12 +4440,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 532 int wait6 ['idtype_t idtype', 'id_t id', 'int *status', 'int options', 'struct __wrusage *wrusage', 'siginfo_t *info'] case 532: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; - uint64_t arg4; - uint64_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_wait6_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4458,8 +4458,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 533 int cap_rights_limit ['int fd', 'cap_rights_t *rightsp'] case 533: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_cap_rights_limit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4468,9 +4468,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 534 int cap_ioctls_limit ['int fd', 'const u_long *cmds', 'size_t ncmds'] case 534: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_cap_ioctls_limit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4480,9 +4480,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 535 ssize_t cap_ioctls_get ['int fd', 'u_long *cmds', 'size_t maxcmds'] case 535: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_cap_ioctls_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4492,8 +4492,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 536 int cap_fcntls_limit ['int fd', 'uint32_t fcntlrights'] case 536: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_cap_fcntls_limit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4502,8 +4502,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 537 int cap_fcntls_get ['int fd', 'uint32_t *fcntlrightsp'] case 537: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_cap_fcntls_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4512,10 +4512,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 538 int bindat ['int fd', 'int s', 'const struct sockaddr *name', 'int namelen'] case 538: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_bindat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4526,10 +4526,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 539 int connectat ['int fd', 'int s', 'const struct sockaddr *name', 'int namelen'] case 539: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_connectat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4540,10 +4540,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 540 int chflagsat ['int fd', 'const char *path', 'u_long flags', 'int atflag'] case 540: { - int32_t arg0; - uint64_t arg1; - int64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_chflagsat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4554,10 +4554,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 541 int accept4 ['int s', 'struct sockaddr *name', '__socklen_t *anamelen', 'int flags'] case 541: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_accept4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4568,8 +4568,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 542 int pipe2 ['int *fildes', 'int flags'] case 542: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_pipe2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4578,7 +4578,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 543 int aio_mlock ['struct aiocb *aiocbp'] case 543: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_aio_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -4586,10 +4586,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 544 int procctl ['idtype_t idtype', 'id_t id', 'int com', 'void *data'] case 544: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_procctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4600,10 +4600,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 545 int ppoll ['struct pollfd *fds', 'unsigned nfds', 'const struct timespec *ts', 'const sigset_t *set'] case 545: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_ppoll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4614,8 +4614,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 546 int futimens ['int fd', 'struct timespec *times'] case 546: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_futimens_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4624,10 +4624,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 547 int utimensat ['int fd', 'const char *path', 'struct timespec *times', 'int flag'] case 547: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_utimensat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4638,7 +4638,7 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 550 int fdatasync ['int fd'] case 550: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_fdatasync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -4646,8 +4646,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 551 int fstat ['int fd', 'struct stat *sb'] case 551: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4656,10 +4656,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 552 int fstatat ['int fd', 'const char *path', 'struct stat *buf', 'int flag'] case 552: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_fstatat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4670,8 +4670,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 553 int fhstat ['const struct fhandle *u_fhp', 'struct stat *sb'] case 553: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fhstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4680,10 +4680,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 554 ssize_t getdirentries ['int fd', 'char *buf', 'size_t count', 'off_t *basep'] case 554: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_getdirentries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4694,8 +4694,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 555 int statfs ['const char *path', 'struct statfs *buf'] case 555: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4704,8 +4704,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 556 int fstatfs ['int fd', 'struct statfs *buf'] case 556: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4714,9 +4714,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 557 int getfsstat ['struct statfs *buf', 'long bufsize', 'int mode'] case 557: { - uint64_t arg0; - int64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + int64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_getfsstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -4726,8 +4726,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 558 int fhstatfs ['const struct fhandle *u_fhp', 'struct statfs *buf'] case 558: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fhstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4736,10 +4736,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 559 int mknodat ['int fd', 'const char *path', 'mode_t mode', 'dev_t dev'] case 559: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4750,12 +4750,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 560 int kevent ['int fd', 'struct kevent *changelist', 'int nchanges', 'struct kevent *eventlist', 'int nevents', 'const struct timespec *timeout'] case 560: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_kevent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4768,12 +4768,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 561 int cpuset_getdomain ['cpulevel_t level', 'cpuwhich_t which', 'id_t id', 'size_t domainsetsize', 'domainset_t *mask', 'int *policy'] case 561: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; - uint64_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_cpuset_getdomain_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4786,12 +4786,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 562 int cpuset_setdomain ['cpulevel_t level', 'cpuwhich_t which', 'id_t id', 'size_t domainsetsize', 'domainset_t *mask', 'int policy'] case 562: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; - int32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_cpuset_setdomain_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4804,9 +4804,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 563 int getrandom ['void *buf', 'size_t buflen', 'unsigned int flags'] case 563: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_getrandom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4816,10 +4816,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 564 int getfhat ['int fd', 'char *path', 'struct fhandle *fhp', 'int flags'] case 564: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_getfhat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4830,8 +4830,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 565 int fhlink ['struct fhandle *fhp', 'const char *to'] case 565: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_fhlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4840,9 +4840,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 566 int fhlinkat ['struct fhandle *fhp', 'int tofd', 'const char *to', ''] case 566: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_fhlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4852,9 +4852,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 567 int fhreadlink ['struct fhandle *fhp', 'char *buf', 'size_t bufsize'] case 567: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_fhreadlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4864,10 +4864,10 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 568 int funlinkat ['int dfd', 'const char *path', 'int fd', 'int flag'] case 568: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_funlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4878,12 +4878,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 569 ssize_t copy_file_range ['int infd', 'off_t *inoffp', 'int outfd', 'off_t *outoffp', 'size_t len', 'unsigned int flags'] case 569: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_copy_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4896,12 +4896,12 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 570 int __sysctlbyname ['const char *name', 'size_t namelen', 'void *old', 'size_t *oldlenp', 'void *new', 'size_t newlen'] case 570: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on___sysctlbyname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4914,11 +4914,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 571 int shm_open2 ['const char *path', 'int flags', 'mode_t mode', 'int shmflags', 'const char *name'] case 571: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; - int32_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_shm_open2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4930,9 +4930,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 572 int shm_rename ['const char *path_from', 'const char *path_to', 'int flags'] case 572: { - uint64_t arg0; - uint64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_shm_rename_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4942,8 +4942,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 573 int sigfastblock ['int cmd', 'uint32_t *ptr'] case 573: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sigfastblock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4952,11 +4952,11 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 574 int __realpathat ['int fd', 'const char *path', 'char *buf', 'size_t size', 'int flags'] case 574: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on___realpathat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -4968,9 +4968,9 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 575 int close_range ['unsigned lowfd', 'unsigned highfd', 'int flags'] case 575: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_close_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4980,8 +4980,8 @@ void syscall_return_switch_freebsd_x64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 576 int rpctls_syscall ['int op', 'const char *path'] case 576: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_rpctls_syscall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm.cpp index 44f9b29a628..b68cecff4e3 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm.cpp @@ -24,7 +24,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 1 long sys_exit ['int error_code'] case 1: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -38,9 +38,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 3 long sys_read ['unsigned int fd', 'char __user *buf', 'size_t count'] case 3: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -50,9 +50,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 4 long sys_write ['unsigned int fd', 'const char __user *buf', 'size_t count'] case 4: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -62,9 +62,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 5 long sys_open ['const char __user *filename', 'int flags', 'umode_t mode'] case 5: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -74,7 +74,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 6 long sys_close ['unsigned int fd'] case 6: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -82,8 +82,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 8 long sys_creat ['const char __user *pathname', 'umode_t mode'] case 8: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_creat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -92,8 +92,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 9 long sys_link ['const char __user *oldname', 'const char __user *newname'] case 9: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -102,7 +102,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 10 long sys_unlink ['const char __user *pathname'] case 10: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -110,9 +110,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 11 long sys_execve ['const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp'] case 11: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -122,7 +122,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 12 long sys_chdir ['const char __user *filename'] case 12: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -130,7 +130,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 13 long sys_time ['time_t __user *tloc'] case 13: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_time_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -138,9 +138,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 14 long sys_mknod ['const char __user *filename', 'umode_t mode', 'unsigned dev'] case 14: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mknod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -150,8 +150,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 15 long sys_chmod ['const char __user *filename', 'umode_t mode'] case 15: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_chmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -160,9 +160,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 16 long sys_lchown16 ['const char __user *filename', 'old_uid_t user', 'old_gid_t group'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lchown16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -172,9 +172,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 19 long sys_lseek ['unsigned int fd', 'off_t offset', 'unsigned int whence'] case 19: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -190,11 +190,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 21 long sys_mount ['char __user *dev_name', 'char __user *dir_name', 'char __user *type', 'unsigned long flags', 'void __user *data'] case 21: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -206,7 +206,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 23 long sys_setuid16 ['old_uid_t uid'] case 23: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -220,7 +220,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 25 long sys_stime ['time_t __user *tptr'] case 25: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_stime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -228,10 +228,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 26 long sys_ptrace ['long request', 'long pid', 'unsigned long addr', 'unsigned long data'] case 26: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_ptrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -242,7 +242,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 27 long sys_alarm ['unsigned int seconds'] case 27: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_alarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -256,8 +256,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 30 long sys_utime ['char __user *filename', 'struct utimbuf __user *times'] case 30: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -266,8 +266,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 33 long sys_access ['const char __user *filename', 'int mode'] case 33: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_access_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -276,7 +276,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 34 long sys_nice ['int increment'] case 34: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_nice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -290,8 +290,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 37 long sys_kill ['int pid', 'int sig'] case 37: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -300,8 +300,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 38 long sys_rename ['const char __user *oldname', 'const char __user *newname'] case 38: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rename_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -310,8 +310,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 39 long sys_mkdir ['const char __user *pathname', 'umode_t mode'] case 39: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mkdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -320,7 +320,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 40 long sys_rmdir ['const char __user *pathname'] case 40: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_rmdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -328,7 +328,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 41 long sys_dup ['unsigned int fildes'] case 41: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_dup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -336,7 +336,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 42 long sys_pipe ['int __user *fildes'] case 42: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pipe_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -344,7 +344,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 43 long sys_times ['struct tms __user *tbuf'] case 43: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_times_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -352,7 +352,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 45 long sys_brk ['unsigned long brk'] case 45: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_brk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -360,7 +360,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 46 long sys_setgid16 ['old_gid_t gid'] case 46: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -386,7 +386,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 51 long sys_acct ['const char __user *name'] case 51: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_acct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -394,8 +394,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 52 long sys_umount ['char __user *name', 'int flags'] case 52: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_umount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -404,9 +404,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 54 long sys_ioctl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 54: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -416,9 +416,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 55 long sys_fcntl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 55: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -428,8 +428,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 57 long sys_setpgid ['pid_t pid', 'pid_t pgid'] case 57: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -438,7 +438,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 60 long sys_umask ['int mask'] case 60: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_umask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -446,7 +446,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 61 long sys_chroot ['const char __user *filename'] case 61: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chroot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -454,8 +454,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 62 long sys_ustat ['unsigned dev', 'struct ustat __user *ubuf'] case 62: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ustat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -464,8 +464,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 63 long sys_dup2 ['unsigned int oldfd', 'unsigned int newfd'] case 63: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_dup2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -492,9 +492,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 67 long sys_sigaction ['int', 'const struct old_sigaction __user *', 'struct old_sigaction __user *'] case 67: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -504,8 +504,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 70 long sys_setreuid16 ['old_uid_t ruid', 'old_uid_t euid'] case 70: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -514,8 +514,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 71 long sys_setregid16 ['old_gid_t rgid', 'old_gid_t egid'] case 71: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -524,9 +524,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 72 long sys_sigsuspend ['int unused1', 'int unused2', 'old_sigset_t mask'] case 72: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -536,7 +536,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 73 long sys_sigpending ['old_sigset_t __user *set'] case 73: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -544,8 +544,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 74 long sys_sethostname ['char __user *name', 'int len'] case 74: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -554,8 +554,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 75 long sys_setrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 75: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -564,8 +564,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 77 long sys_getrusage ['int who', 'struct rusage __user *ru'] case 77: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrusage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -574,8 +574,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 78 long sys_gettimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 78: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_gettimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -584,8 +584,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 79 long sys_settimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 79: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_settimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -594,8 +594,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 80 long sys_getgroups16 ['int gidsetsize', 'old_gid_t __user *grouplist'] case 80: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -604,8 +604,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 81 long sys_setgroups16 ['int gidsetsize', 'old_gid_t __user *grouplist'] case 81: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -614,8 +614,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 83 long sys_symlink ['const char __user *old', 'const char __user *new'] case 83: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_symlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -624,9 +624,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 85 long sys_readlink ['const char __user *path', 'char __user *buf', 'int bufsiz'] case 85: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -636,7 +636,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 86 long sys_uselib ['const char __user *library'] case 86: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_uselib_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -644,8 +644,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 87 long sys_swapon ['const char __user *specialfile', 'int swap_flags'] case 87: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_swapon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -654,10 +654,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 88 long sys_reboot ['int magic1', 'int magic2', 'unsigned int cmd', 'void __user *arg'] case 88: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_reboot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -668,8 +668,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 91 long sys_munmap ['unsigned long addr', 'size_t len'] case 91: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -678,8 +678,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 92 long sys_truncate ['const char __user *path', 'long length'] case 92: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -688,8 +688,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 93 long sys_ftruncate ['unsigned int fd', 'unsigned long length'] case 93: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -698,8 +698,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 94 long sys_fchmod ['unsigned int fd', 'umode_t mode'] case 94: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -708,9 +708,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 95 long sys_fchown16 ['unsigned int fd', 'old_uid_t user', 'old_gid_t group'] case 95: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -720,8 +720,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 96 long sys_getpriority ['int which', 'int who'] case 96: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -730,9 +730,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 97 long sys_setpriority ['int which', 'int who', 'int niceval'] case 97: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -742,8 +742,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 99 long sys_statfs ['const char __user *path', 'struct statfs __user *buf'] case 99: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -752,8 +752,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 100 long sys_fstatfs ['unsigned int fd', 'struct statfs __user *buf'] case 100: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -762,8 +762,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 102 long sys_socketcall ['int call', 'unsigned long __user *args'] case 102: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_socketcall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -772,9 +772,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 103 long sys_syslog ['int type', 'char __user *buf', 'int len'] case 103: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_syslog_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -784,9 +784,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 104 long sys_setitimer ['int which', 'struct itimerval __user *value', 'struct itimerval __user *ovalue'] case 104: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -796,8 +796,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 105 long sys_getitimer ['int which', 'struct itimerval __user *value'] case 105: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -806,8 +806,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 106 long sys_newstat ['const char __user *filename', 'struct stat __user *statbuf'] case 106: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -816,8 +816,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 107 long sys_newlstat ['const char __user *filename', 'struct stat __user *statbuf'] case 107: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newlstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -826,8 +826,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 108 long sys_newfstat ['unsigned int fd', 'struct stat __user *statbuf'] case 108: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newfstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -842,10 +842,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 114 long sys_wait4 ['pid_t pid', 'int __user *stat_addr', 'int options', 'struct rusage __user *ru'] case 114: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_wait4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -856,7 +856,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 115 long sys_swapoff ['const char __user *specialfile'] case 115: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_swapoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -864,7 +864,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 116 long sys_sysinfo ['struct sysinfo __user *info'] case 116: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -872,12 +872,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 117 long sys_ipc ['unsigned int call', 'int first', 'unsigned long second', 'unsigned long third', 'void __user *ptr', 'long fifth'] case 117: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_ipc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -890,7 +890,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 118 long sys_fsync ['unsigned int fd'] case 118: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -898,7 +898,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 119 int sys_sigreturn ['struct pt_regs *regs'] case 119: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sigreturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -906,11 +906,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 120 long sys_clone ['unsigned long', 'unsigned long', 'int __user *', 'int __user *', 'unsigned long'] case 120: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_clone_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -922,8 +922,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 121 long sys_setdomainname ['char __user *name', 'int len'] case 121: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -932,7 +932,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 122 long sys_newuname ['struct new_utsname __user *name'] case 122: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_newuname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -940,7 +940,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 124 long sys_adjtimex ['struct timex __user *txc_p'] case 124: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_adjtimex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -948,9 +948,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 125 long sys_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot'] case 125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -960,9 +960,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 126 long sys_sigprocmask ['int how', 'old_sigset_t __user *set', 'old_sigset_t __user *oset'] case 126: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -972,9 +972,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 128 long sys_init_module ['void __user *umod', 'unsigned long len', 'const char __user *uargs'] case 128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_init_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -984,8 +984,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 129 long sys_delete_module ['const char __user *name_user', 'unsigned int flags'] case 129: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_delete_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -994,10 +994,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 131 long sys_quotactl ['unsigned int cmd', 'const char __user *special', 'qid_t id', 'void __user *addr'] case 131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_quotactl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1008,7 +1008,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 132 long sys_getpgid ['pid_t pid'] case 132: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1016,7 +1016,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 133 long sys_fchdir ['unsigned int fd'] case 133: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fchdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1024,8 +1024,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 134 long sys_bdflush ['int func', 'long data'] case 134: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_bdflush_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1034,9 +1034,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 135 long sys_sysfs ['int option', 'unsigned long arg1', 'unsigned long arg2'] case 135: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sysfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1046,7 +1046,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 136 long sys_personality ['unsigned int personality'] case 136: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_personality_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1054,7 +1054,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 138 long sys_setfsuid16 ['old_uid_t uid'] case 138: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1062,7 +1062,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 139 long sys_setfsgid16 ['old_gid_t gid'] case 139: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1070,11 +1070,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 140 long sys_llseek ['unsigned int fd', 'unsigned long offset_high', 'unsigned long offset_low', 'loff_t __user *result', 'unsigned int whence'] case 140: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_llseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1086,9 +1086,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 141 long sys_getdents ['unsigned int fd', 'struct linux_dirent __user *dirent', 'unsigned int count'] case 141: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1098,11 +1098,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 142 long sys_select ['int n', 'fd_set __user *inp', 'fd_set __user *outp', 'fd_set __user *exp', 'struct timeval __user *tvp'] case 142: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_select_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1114,8 +1114,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 143 long sys_flock ['unsigned int fd', 'unsigned int cmd'] case 143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_flock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1124,9 +1124,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 144 long sys_msync ['unsigned long start', 'size_t len', 'int flags'] case 144: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1136,9 +1136,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 145 long sys_readv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 145: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1148,9 +1148,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 146 long sys_writev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 146: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1160,7 +1160,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 147 long sys_getsid ['pid_t pid'] case 147: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getsid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1168,7 +1168,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 148 long sys_fdatasync ['unsigned int fd'] case 148: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fdatasync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1176,7 +1176,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 149 long sys_sysctl ['struct __sysctl_args __user *args'] case 149: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1184,8 +1184,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 150 long sys_mlock ['unsigned long start', 'size_t len'] case 150: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1194,8 +1194,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 151 long sys_munlock ['unsigned long start', 'size_t len'] case 151: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1204,7 +1204,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 152 long sys_mlockall ['int flags'] case 152: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mlockall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1218,8 +1218,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 154 long sys_sched_setparam ['pid_t pid', 'struct sched_param __user *param'] case 154: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_setparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1228,8 +1228,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 155 long sys_sched_getparam ['pid_t pid', 'struct sched_param __user *param'] case 155: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_getparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1238,9 +1238,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 156 long sys_sched_setscheduler ['pid_t pid', 'int policy', 'struct sched_param __user *param'] case 156: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1250,7 +1250,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 157 long sys_sched_getscheduler ['pid_t pid'] case 157: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_getscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1264,7 +1264,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 159 long sys_sched_get_priority_max ['int policy'] case 159: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_max_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1272,7 +1272,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 160 long sys_sched_get_priority_min ['int policy'] case 160: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_min_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1280,8 +1280,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 161 long sys_sched_rr_get_interval ['pid_t pid', 'struct timespec __user *interval'] case 161: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_rr_get_interval_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1290,8 +1290,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 162 long sys_nanosleep ['struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 162: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1300,11 +1300,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 163 long sys_mremap ['unsigned long addr', 'unsigned long old_len', 'unsigned long new_len', 'unsigned long flags', 'unsigned long new_addr'] case 163: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mremap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1316,9 +1316,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 164 long sys_setresuid16 ['old_uid_t ruid', 'old_uid_t euid', 'old_uid_t suid'] case 164: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1328,9 +1328,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 165 long sys_getresuid16 ['old_uid_t __user *ruid', 'old_uid_t __user *euid', 'old_uid_t __user *suid'] case 165: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1340,9 +1340,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 168 long sys_poll ['struct pollfd __user *ufds', 'unsigned int nfds', 'int timeout'] case 168: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_poll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1352,9 +1352,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 170 long sys_setresgid16 ['old_gid_t rgid', 'old_gid_t egid', 'old_gid_t sgid'] case 170: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1364,9 +1364,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 171 long sys_getresgid16 ['old_gid_t __user *rgid', 'old_gid_t __user *egid', 'old_gid_t __user *sgid'] case 171: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1376,11 +1376,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 172 long sys_prctl ['int option', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 172: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1392,7 +1392,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 173 int sys_rt_sigreturn ['struct pt_regs *regs'] case 173: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_rt_sigreturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1400,10 +1400,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 174 long sys_rt_sigaction ['int', 'const struct sigaction __user *', 'struct sigaction __user *', 'size_t'] case 174: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1414,10 +1414,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 175 long sys_rt_sigprocmask ['int how', 'sigset_t __user *set', 'sigset_t __user *oset', 'size_t sigsetsize'] case 175: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1428,8 +1428,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 176 long sys_rt_sigpending ['sigset_t __user *set', 'size_t sigsetsize'] case 176: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1438,10 +1438,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 177 long sys_rt_sigtimedwait ['const sigset_t __user *uthese', 'siginfo_t __user *uinfo', 'const struct timespec __user *uts', 'size_t sigsetsize'] case 177: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigtimedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1452,9 +1452,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 178 long sys_rt_sigqueueinfo ['int pid', 'int sig', 'siginfo_t __user *uinfo'] case 178: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_rt_sigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1464,8 +1464,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 179 long sys_rt_sigsuspend ['sigset_t __user *unewset', 'size_t sigsetsize'] case 179: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1474,10 +1474,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 180 long sys_pread64 ['unsigned int fd', 'char __user *buf', 'size_t count', 'loff_t pos'] case 180: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pread64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1488,10 +1488,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 181 long sys_pwrite64 ['unsigned int fd', 'const char __user *buf', 'size_t count', 'loff_t pos'] case 181: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pwrite64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1502,9 +1502,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 182 long sys_chown16 ['const char __user *filename', 'old_uid_t user', 'old_gid_t group'] case 182: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_chown16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1514,8 +1514,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 183 long sys_getcwd ['char __user *buf', 'unsigned long size'] case 183: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getcwd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1524,8 +1524,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 184 long sys_capget ['cap_user_header_t header', 'cap_user_data_t dataptr'] case 184: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1534,8 +1534,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 185 long sys_capset ['cap_user_header_t header', 'const cap_user_data_t data'] case 185: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capset_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1544,8 +1544,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 186 long sys_sigaltstack ['const struct sigaltstack __user *uss', 'struct sigaltstack __user *uoss'] case 186: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sigaltstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1554,10 +1554,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 187 long sys_sendfile ['int out_fd', 'int in_fd', 'off_t __user *offset', 'size_t count'] case 187: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1574,8 +1574,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 191 long sys_getrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 191: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1584,12 +1584,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 192 long do_mmap2 ['unsigned long addr', 'unsigned long len', 'unsigned long prot', 'unsigned long flags', 'unsigned long fd', 'unsigned long pgoff'] case 192: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_do_mmap2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1602,8 +1602,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 193 long sys_truncate64 ['const char __user *path', 'loff_t length'] case 193: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1612,8 +1612,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 194 long sys_ftruncate64 ['unsigned int fd', 'loff_t length'] case 194: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1622,8 +1622,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 195 long sys_stat64 ['const char __user *filename', 'struct stat64 __user *statbuf'] case 195: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_stat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1632,8 +1632,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 196 long sys_lstat64 ['const char __user *filename', 'struct stat64 __user *statbuf'] case 196: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lstat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1642,8 +1642,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 197 long sys_fstat64 ['unsigned long fd', 'struct stat64 __user *statbuf'] case 197: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1652,9 +1652,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 198 long sys_lchown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 198: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1688,8 +1688,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 203 long sys_setreuid ['uid_t ruid', 'uid_t euid'] case 203: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1698,8 +1698,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 204 long sys_setregid ['gid_t rgid', 'gid_t egid'] case 204: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1708,8 +1708,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 205 long sys_getgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 205: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1718,8 +1718,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 206 long sys_setgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 206: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1728,9 +1728,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 207 long sys_fchown ['unsigned int fd', 'uid_t user', 'gid_t group'] case 207: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1740,9 +1740,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 208 long sys_setresuid ['uid_t ruid', 'uid_t euid', 'uid_t suid'] case 208: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1752,9 +1752,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 209 long sys_getresuid ['uid_t __user *ruid', 'uid_t __user *euid', 'uid_t __user *suid'] case 209: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1764,9 +1764,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 210 long sys_setresgid ['gid_t rgid', 'gid_t egid', 'gid_t sgid'] case 210: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1776,9 +1776,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 211 long sys_getresgid ['gid_t __user *rgid', 'gid_t __user *egid', 'gid_t __user *sgid'] case 211: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1788,9 +1788,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 212 long sys_chown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 212: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_chown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1800,7 +1800,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 213 long sys_setuid ['uid_t uid'] case 213: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1808,7 +1808,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 214 long sys_setgid ['gid_t gid'] case 214: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1816,7 +1816,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 215 long sys_setfsuid ['uid_t uid'] case 215: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1824,7 +1824,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 216 long sys_setfsgid ['gid_t gid'] case 216: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1832,9 +1832,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 217 long sys_getdents64 ['unsigned int fd', 'struct linux_dirent64 __user *dirent', 'unsigned int count'] case 217: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1844,8 +1844,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 218 long sys_pivot_root ['const char __user *new_root', 'const char __user *put_old'] case 218: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pivot_root_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1854,9 +1854,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 219 long sys_mincore ['unsigned long start', 'size_t len', 'unsigned char __user *vec'] case 219: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mincore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1866,9 +1866,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 220 long sys_madvise ['unsigned long start', 'size_t len', 'int behavior'] case 220: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_madvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1878,9 +1878,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 221 long sys_fcntl64 ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 221: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1896,9 +1896,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 225 long sys_readahead ['int fd', 'loff_t offset', 'size_t count'] case 225: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readahead_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1908,11 +1908,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 226 long sys_setxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 226: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1924,11 +1924,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 227 long sys_lsetxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 227: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_lsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1940,11 +1940,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 228 long sys_fsetxattr ['int fd', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 228: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1956,10 +1956,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 229 long sys_getxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 229: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_getxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1970,10 +1970,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 230 long sys_lgetxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_lgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1984,10 +1984,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 231 long sys_fgetxattr ['int fd', 'const char __user *name', 'void __user *value', 'size_t size'] case 231: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1998,9 +1998,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 232 long sys_listxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 232: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_listxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2010,9 +2010,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 233 long sys_llistxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 233: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_llistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2022,9 +2022,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 234 long sys_flistxattr ['int fd', 'char __user *list', 'size_t size'] case 234: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_flistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2034,8 +2034,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 235 long sys_removexattr ['const char __user *path', 'const char __user *name'] case 235: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_removexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2044,8 +2044,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 236 long sys_lremovexattr ['const char __user *path', 'const char __user *name'] case 236: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2054,8 +2054,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 237 long sys_fremovexattr ['int fd', 'const char __user *name'] case 237: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2064,8 +2064,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 238 long sys_tkill ['int pid', 'int sig'] case 238: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_tkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2074,10 +2074,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 239 long sys_sendfile64 ['int out_fd', 'int in_fd', 'loff_t __user *offset', 'size_t count'] case 239: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2088,12 +2088,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 240 long sys_futex ['u32 __user *uaddr', 'int op', 'u32 val', 'struct timespec __user *utime', 'u32 __user *uaddr2', 'u32 val3'] case 240: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_futex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2106,9 +2106,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 241 long sys_sched_setaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 241: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2118,9 +2118,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 242 long sys_sched_getaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 242: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_getaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2130,8 +2130,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 243 long sys_io_setup ['unsigned nr_reqs', 'aio_context_t __user *ctx'] case 243: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_io_setup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2140,7 +2140,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 244 long sys_io_destroy ['aio_context_t ctx'] case 244: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_io_destroy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2148,11 +2148,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 245 long sys_io_getevents ['aio_context_t ctx_id', 'long min_nr', 'long nr', 'struct io_event __user *events', 'struct timespec __user *timeout'] case 245: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_io_getevents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2164,9 +2164,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 246 long sys_io_submit ['aio_context_t', 'long', 'struct iocb __user * __user *'] case 246: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_submit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2176,9 +2176,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 247 long sys_io_cancel ['aio_context_t ctx_id', 'struct iocb __user *iocb', 'struct io_event __user *result'] case 247: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_cancel_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2188,7 +2188,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 248 long sys_exit_group ['int error_code'] case 248: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_group_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2196,9 +2196,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 249 long sys_lookup_dcookie ['u64 cookie64', 'char __user *buf', 'size_t len'] case 249: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lookup_dcookie_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2208,7 +2208,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 250 long sys_epoll_create ['int size'] case 250: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2216,10 +2216,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 251 long sys_epoll_ctl ['int epfd', 'int op', 'int fd', 'struct epoll_event __user *event'] case 251: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_ctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2230,10 +2230,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 252 long sys_epoll_wait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout'] case 252: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_wait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2244,11 +2244,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 253 long sys_remap_file_pages ['unsigned long start', 'unsigned long size', 'unsigned long prot', 'unsigned long pgoff', 'unsigned long flags'] case 253: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_remap_file_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2260,7 +2260,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 256 long sys_set_tid_address ['int __user *tidptr'] case 256: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_set_tid_address_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2268,9 +2268,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 257 long sys_timer_create ['clockid_t which_clock', 'struct sigevent __user *timer_event_spec', 'timer_t __user *created_timer_id'] case 257: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_timer_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2280,10 +2280,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 258 long sys_timer_settime ['timer_t timer_id', 'int flags', 'const struct itimerspec __user *new_setting', 'struct itimerspec __user *old_setting'] case 258: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timer_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2294,8 +2294,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 259 long sys_timer_gettime ['timer_t timer_id', 'struct itimerspec __user *setting'] case 259: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timer_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2304,7 +2304,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 260 long sys_timer_getoverrun ['timer_t timer_id'] case 260: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_getoverrun_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2312,7 +2312,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 261 long sys_timer_delete ['timer_t timer_id'] case 261: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_delete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2320,8 +2320,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 262 long sys_clock_settime ['clockid_t which_clock', 'const struct timespec __user *tp'] case 262: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2330,8 +2330,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 263 long sys_clock_gettime ['clockid_t which_clock', 'struct timespec __user *tp'] case 263: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2340,8 +2340,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 264 long sys_clock_getres ['clockid_t which_clock', 'struct timespec __user *tp'] case 264: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_getres_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2350,10 +2350,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 265 long sys_clock_nanosleep ['clockid_t which_clock', 'int flags', 'const struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 265: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_clock_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2364,9 +2364,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 266 long sys_statfs64 ['const char __user *path', 'size_t sz', 'struct statfs64 __user *buf'] case 266: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_statfs64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2376,9 +2376,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 267 long sys_fstatfs64 ['unsigned int fd', 'size_t sz', 'struct statfs64 __user *buf'] case 267: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fstatfs64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2388,9 +2388,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 268 long sys_tgkill ['int tgid', 'int pid', 'int sig'] case 268: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_tgkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2400,8 +2400,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 269 long sys_utimes ['char __user *filename', 'struct timeval __user *utimes'] case 269: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utimes_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2410,10 +2410,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 270 long sys_arm_fadvise64_64 ['int fd', 'int advice', 'loff_t offset', 'loff_t len'] case 270: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_arm_fadvise64_64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2424,9 +2424,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 271 long sys_pciconfig_iobase ['long which', 'unsigned long bus', 'unsigned long devfn'] case 271: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_pciconfig_iobase_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2436,11 +2436,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 272 long sys_pciconfig_read ['unsigned long bus', 'unsigned long dfn', 'unsigned long off', 'unsigned long len', 'void __user *buf'] case 272: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pciconfig_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2452,11 +2452,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 273 long sys_pciconfig_write ['unsigned long bus', 'unsigned long dfn', 'unsigned long off', 'unsigned long len', 'void __user *buf'] case 273: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pciconfig_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2468,10 +2468,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 274 long sys_mq_open ['const char __user *name', 'int oflag', 'umode_t mode', 'struct mq_attr __user *attr'] case 274: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mq_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2482,7 +2482,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 275 long sys_mq_unlink ['const char __user *name'] case 275: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mq_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2490,11 +2490,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 276 long sys_mq_timedsend ['mqd_t mqdes', 'const char __user *msg_ptr', 'size_t msg_len', 'unsigned int msg_prio', 'const struct timespec __user *abs_timeout'] case 276: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedsend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2506,11 +2506,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 277 long sys_mq_timedreceive ['mqd_t mqdes', 'char __user *msg_ptr', 'size_t msg_len', 'unsigned int __user *msg_prio', 'const struct timespec __user *abs_timeout'] case 277: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedreceive_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2522,8 +2522,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 278 long sys_mq_notify ['mqd_t mqdes', 'const struct sigevent __user *notification'] case 278: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mq_notify_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2532,9 +2532,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 279 long sys_mq_getsetattr ['mqd_t mqdes', 'const struct mq_attr __user *mqstat', 'struct mq_attr __user *omqstat'] case 279: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mq_getsetattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2544,11 +2544,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 280 long sys_waitid ['int which', 'pid_t pid', 'struct siginfo __user *infop', 'int options', 'struct rusage __user *ru'] case 280: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - int32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_waitid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2560,9 +2560,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 281 long sys_socket ['int', 'int', 'int'] case 281: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_socket_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2572,9 +2572,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 282 long sys_bind ['int', 'struct sockaddr __user *', 'int'] case 282: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2584,9 +2584,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 283 long sys_connect ['int', 'struct sockaddr __user *', 'int'] case 283: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_connect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2596,8 +2596,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 284 long sys_listen ['int', 'int'] case 284: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_listen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2606,9 +2606,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 285 long sys_accept ['int', 'struct sockaddr __user *', 'int __user *'] case 285: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_accept_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2618,9 +2618,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 286 long sys_getsockname ['int', 'struct sockaddr __user *', 'int __user *'] case 286: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2630,9 +2630,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 287 long sys_getpeername ['int', 'struct sockaddr __user *', 'int __user *'] case 287: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2642,10 +2642,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 288 long sys_socketpair ['int', 'int', 'int', 'int __user *'] case 288: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_socketpair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2656,10 +2656,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 289 long sys_send ['int', 'void __user *', 'size_t', 'unsigned'] case 289: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_send_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2670,12 +2670,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 290 long sys_sendto ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int'] case 290: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_sendto_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2688,10 +2688,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 291 long sys_recv ['int', 'void __user *', 'size_t', 'unsigned'] case 291: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_recv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2702,12 +2702,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 292 long sys_recvfrom ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int __user *'] case 292: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2720,8 +2720,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 293 long sys_shutdown ['int', 'int'] case 293: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_shutdown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2730,11 +2730,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 294 long sys_setsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int optlen'] case 294: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2746,11 +2746,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 295 long sys_getsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int __user *optlen'] case 295: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_getsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2762,9 +2762,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 296 long sys_sendmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 296: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2774,9 +2774,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 297 long sys_recvmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 297: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2786,9 +2786,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 298 long sys_semop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops'] case 298: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2798,9 +2798,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 299 long sys_semget ['key_t key', 'int nsems', 'int semflg'] case 299: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2810,10 +2810,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 300 long sys_semctl ['int semid', 'int semnum', 'int cmd', 'unsigned long arg'] case 300: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2824,10 +2824,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 301 long sys_msgsnd ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'int msgflg'] case 301: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_msgsnd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2838,11 +2838,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 302 long sys_msgrcv ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'long msgtyp', 'int msgflg'] case 302: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_msgrcv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2854,8 +2854,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 303 long sys_msgget ['key_t key', 'int msgflg'] case 303: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_msgget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2864,9 +2864,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 304 long sys_msgctl ['int msqid', 'int cmd', 'struct msqid_ds __user *buf'] case 304: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msgctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2876,9 +2876,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 305 long sys_shmat ['int shmid', 'char __user *shmaddr', 'int shmflg'] case 305: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2888,7 +2888,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 306 long sys_shmdt ['char __user *shmaddr'] case 306: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_shmdt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2896,9 +2896,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 307 long sys_shmget ['key_t key', 'size_t size', 'int flag'] case 307: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2908,9 +2908,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 308 long sys_shmctl ['int shmid', 'int cmd', 'struct shmid_ds __user *buf'] case 308: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2920,11 +2920,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 309 long sys_add_key ['const char __user *_type', 'const char __user *_description', 'const void __user *_payload', 'size_t plen', 'key_serial_t destringid'] case 309: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_add_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2936,10 +2936,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 310 long sys_request_key ['const char __user *_type', 'const char __user *_description', 'const char __user *_callout_info', 'key_serial_t destringid'] case 310: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_request_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2950,11 +2950,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 311 long sys_keyctl ['int cmd', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 311: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_keyctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2966,10 +2966,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 312 long sys_semtimedop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops', 'const struct timespec __user *timeout'] case 312: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semtimedop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2980,9 +2980,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 314 long sys_ioprio_set ['int which', 'int who', 'int ioprio'] case 314: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioprio_set_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2992,8 +2992,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 315 long sys_ioprio_get ['int which', 'int who'] case 315: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ioprio_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3008,9 +3008,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 317 long sys_inotify_add_watch ['int fd', 'const char __user *path', 'u32 mask'] case 317: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_inotify_add_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3020,8 +3020,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 318 long sys_inotify_rm_watch ['int fd', '__s32 wd'] case 318: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_inotify_rm_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3030,12 +3030,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 319 long sys_mbind ['unsigned long start', 'unsigned long len', 'unsigned long mode', 'const unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned flags'] case 319: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mbind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3048,11 +3048,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 320 long sys_get_mempolicy ['int __user *policy', 'unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned long addr', 'unsigned long flags'] case 320: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_get_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3064,9 +3064,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 321 long sys_set_mempolicy ['int mode', 'const unsigned long __user *nmask', 'unsigned long maxnode'] case 321: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_set_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3076,10 +3076,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 322 long sys_openat ['int dfd', 'const char __user *filename', 'int flags', 'umode_t mode'] case 322: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3090,9 +3090,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 323 long sys_mkdirat ['int dfd', 'const char __user *pathname', 'umode_t mode'] case 323: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mkdirat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3102,10 +3102,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 324 long sys_mknodat ['int dfd', 'const char __user *filename', 'umode_t mode', 'unsigned dev'] case 324: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3116,11 +3116,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 325 long sys_fchownat ['int dfd', 'const char __user *filename', 'uid_t user', 'gid_t group', 'int flag'] case 325: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fchownat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3132,9 +3132,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 326 long sys_futimesat ['int dfd', 'const char __user *filename', 'struct timeval __user *utimes'] case 326: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_futimesat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3144,10 +3144,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 327 long sys_fstatat64 ['int dfd', 'const char __user *filename', 'struct stat64 __user *statbuf', 'int flag'] case 327: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fstatat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3158,9 +3158,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 328 long sys_unlinkat ['int dfd', 'const char __user *pathname', 'int flag'] case 328: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_unlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3170,10 +3170,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 329 long sys_renameat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 329: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_renameat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3184,11 +3184,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 330 long sys_linkat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'int flags'] case 330: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_linkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3200,9 +3200,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 331 long sys_symlinkat ['const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 331: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_symlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3212,10 +3212,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 332 long sys_readlinkat ['int dfd', 'const char __user *path', 'char __user *buf', 'int bufsiz'] case 332: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_readlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3226,9 +3226,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 333 long sys_fchmodat ['int dfd', 'const char __user *filename', 'umode_t mode'] case 333: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchmodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3238,9 +3238,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 334 long sys_faccessat ['int dfd', 'const char __user *filename', 'int mode'] case 334: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_faccessat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3250,12 +3250,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 335 long sys_pselect6 ['int', 'fd_set __user *', 'fd_set __user *', 'fd_set __user *', 'struct timespec __user *', 'void __user *'] case 335: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pselect6_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3268,11 +3268,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 336 long sys_ppoll ['struct pollfd __user *', 'unsigned int', 'struct timespec __user *', 'const sigset_t __user *', 'size_t'] case 336: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_ppoll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3284,7 +3284,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 337 long sys_unshare ['unsigned long unshare_flags'] case 337: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unshare_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3292,8 +3292,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 338 long sys_set_robust_list ['struct robust_list_head __user *head', 'size_t len'] case 338: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_set_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3302,9 +3302,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 339 long sys_get_robust_list ['int pid', 'struct robust_list_head __user * __user *head_ptr', 'size_t __user *len_ptr'] case 339: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_get_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3314,12 +3314,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 340 long sys_splice ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 340: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_splice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3332,10 +3332,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 341 long sys_sync_file_range2 ['int fd', 'unsigned int flags', 'loff_t offset', 'loff_t nbytes'] case 341: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sync_file_range2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3346,10 +3346,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 342 long sys_tee ['int fdin', 'int fdout', 'size_t len', 'unsigned int flags'] case 342: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_tee_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3360,10 +3360,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 343 long sys_vmsplice ['int fd', 'const struct iovec __user *iov', 'unsigned long nr_segs', 'unsigned int flags'] case 343: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_vmsplice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3374,12 +3374,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 344 long sys_move_pages ['pid_t pid', 'unsigned long nr_pages', 'const void __user * __user *pages', 'const int __user *nodes', 'int __user *status', 'int flags'] case 344: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_move_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3392,9 +3392,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 345 long sys_getcpu ['unsigned __user *cpu', 'unsigned __user *node', 'struct getcpu_cache __user *cache'] case 345: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getcpu_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3404,12 +3404,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 346 long sys_epoll_pwait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout', 'const sigset_t __user *sigmask', 'size_t sigsetsize'] case 346: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_epoll_pwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3422,10 +3422,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 347 long sys_kexec_load ['unsigned long entry', 'unsigned long nr_segments', 'struct kexec_segment __user *segments', 'unsigned long flags'] case 347: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_kexec_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3436,10 +3436,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 348 long sys_utimensat ['int dfd', 'const char __user *filename', 'struct timespec __user *utimes', 'int flags'] case 348: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_utimensat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3450,9 +3450,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 349 long sys_signalfd ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask'] case 349: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_signalfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3462,8 +3462,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 350 long sys_timerfd_create ['int clockid', 'int flags'] case 350: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3472,7 +3472,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 351 long sys_eventfd ['unsigned int count'] case 351: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_eventfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3480,10 +3480,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 352 long sys_fallocate ['int fd', 'int mode', 'loff_t offset', 'loff_t len'] case 352: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fallocate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3494,10 +3494,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 353 long sys_timerfd_settime ['int ufd', 'int flags', 'const struct itimerspec __user *utmr', 'struct itimerspec __user *otmr'] case 353: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timerfd_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3508,8 +3508,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 354 long sys_timerfd_gettime ['int ufd', 'struct itimerspec __user *otmr'] case 354: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3518,10 +3518,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 355 long sys_signalfd4 ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask', 'int flags'] case 355: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_signalfd4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3532,8 +3532,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 356 long sys_eventfd2 ['unsigned int count', 'int flags'] case 356: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_eventfd2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3542,7 +3542,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 357 long sys_epoll_create1 ['int flags'] case 357: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3550,9 +3550,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 358 long sys_dup3 ['unsigned int oldfd', 'unsigned int newfd', 'int flags'] case 358: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_dup3_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3562,8 +3562,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 359 long sys_pipe2 ['int __user *fildes', 'int flags'] case 359: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pipe2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3572,7 +3572,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 360 long sys_inotify_init1 ['int flags'] case 360: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_inotify_init1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3580,11 +3580,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 361 long sys_preadv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 361: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_preadv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3596,11 +3596,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 362 long sys_pwritev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 362: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pwritev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3612,10 +3612,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 363 long sys_rt_tgsigqueueinfo ['pid_t tgid', 'pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 363: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_tgsigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3626,11 +3626,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 364 long sys_perf_event_open ['struct perf_event_attr __user *attr_uptr', 'pid_t pid', 'int cpu', 'int group_fd', 'unsigned long flags'] case 364: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_perf_event_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3642,11 +3642,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 365 long sys_recvmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags', 'struct timespec __user *timeout'] case 365: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_recvmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3658,10 +3658,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 366 long sys_accept4 ['int', 'struct sockaddr __user *', 'int __user *', 'int'] case 366: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_accept4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3672,8 +3672,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 367 long sys_fanotify_init ['unsigned int flags', 'unsigned int event_f_flags'] case 367: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fanotify_init_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3682,11 +3682,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 368 long sys_fanotify_mark ['int fanotify_fd', 'unsigned int flags', 'u64 mask', 'int fd', 'const char __user *pathname'] case 368: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fanotify_mark_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3698,10 +3698,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 369 long sys_prlimit64 ['pid_t pid', 'unsigned int resource', 'const struct rlimit64 __user *new_rlim', 'struct rlimit64 __user *old_rlim'] case 369: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_prlimit64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3712,11 +3712,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 370 long sys_name_to_handle_at ['int dfd', 'const char __user *name', 'struct file_handle __user *handle', 'int __user *mnt_id', 'int flag'] case 370: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_name_to_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3728,9 +3728,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 371 long sys_open_by_handle_at ['int mountdirfd', 'struct file_handle __user *handle', 'int flags'] case 371: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_by_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3740,8 +3740,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 372 long sys_clock_adjtime ['clockid_t which_clock', 'struct timex __user *tx'] case 372: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3750,7 +3750,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 373 long sys_syncfs ['int fd'] case 373: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_syncfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3758,10 +3758,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 374 long sys_sendmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags'] case 374: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3772,8 +3772,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 375 long sys_setns ['int fd', 'int nstype'] case 375: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setns_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3782,12 +3782,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 376 long sys_process_vm_readv ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 376: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3800,12 +3800,12 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 377 long sys_process_vm_writev ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 377: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3818,11 +3818,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 378 long sys_kcmp ['pid_t pid1', 'pid_t pid2', 'int type', 'unsigned long idx1', 'unsigned long idx2'] case 378: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kcmp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3834,9 +3834,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 379 long sys_finit_module ['int fd', 'const char __user *uargs', 'int flags'] case 379: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_finit_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3846,9 +3846,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 380 long sys_sched_setattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int flags'] case 380: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3858,10 +3858,10 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 381 long sys_sched_getattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int size', 'unsigned int flags'] case 381: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sched_getattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3872,11 +3872,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 382 long sys_renameat2 ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'unsigned int flags'] case 382: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_renameat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3888,9 +3888,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 383 long sys_seccomp ['unsigned int op', 'unsigned int flags', 'const char __user *uargs'] case 383: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_seccomp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3900,9 +3900,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 384 long sys_getrandom ['char __user *buf', 'size_t count', 'unsigned int flags'] case 384: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getrandom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3912,8 +3912,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 385 long sys_memfd_create ['const char __user *uname_ptr', 'unsigned int flags'] case 385: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_memfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3922,9 +3922,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 386 long sys_bpf ['int cmd', 'union bpf_attr *attr', 'unsigned int size'] case 386: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bpf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3934,11 +3934,11 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 387 long sys_execveat ['int dfd', 'const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp', 'int flags'] case 387: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_execveat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3950,7 +3950,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 388 long sys_userfaultfd ['int flags'] case 388: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_userfaultfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3958,8 +3958,8 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 389 long sys_membarrier ['int cmd', 'int flags'] case 389: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_membarrier_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3968,9 +3968,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 390 long sys_mlock2 ['unsigned long start', 'size_t len', 'int flags'] case 390: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mlock2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3986,9 +3986,9 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 983042 long ARM_cacheflush ['unsigned long start', 'unsigned long end', 'unsigned long flags'] case 983042: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_ARM_cacheflush_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4010,7 +4010,7 @@ void syscall_return_switch_linux_arm(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 983045 long ARM_set_tls ['unsigned long arg'] case 983045: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_ARM_set_tls_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm64.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm64.cpp index c1119642ce5..6cb5e097d4b 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm64.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_arm64.cpp @@ -18,8 +18,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys switch (ctx->no) { // 0 long sys_io_setup ['unsigned nr_reqs', 'aio_context_t __user *ctx'] case 0: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_io_setup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -28,7 +28,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 1 long sys_io_destroy ['aio_context_t ctx'] case 1: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_io_destroy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -36,9 +36,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 2 long sys_io_submit ['aio_context_t', 'long', 'struct iocb __user * __user *'] case 2: { - uint64_t arg0; - int64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_submit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -48,9 +48,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 3 long sys_io_cancel ['aio_context_t ctx_id', 'struct iocb __user *iocb', 'struct io_event __user *result'] case 3: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_cancel_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -60,11 +60,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 4 long sys_io_getevents ['aio_context_t ctx_id', 'long min_nr', 'long nr', 'struct io_event __user *events', 'struct timespec __user *timeout'] case 4: { - uint64_t arg0; - int64_t arg1; - int64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int64_t arg1 = 0; + int64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_io_getevents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -76,11 +76,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 5 long sys_setxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 5: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -92,11 +92,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 6 long sys_lsetxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 6: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_lsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -108,11 +108,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 7 long sys_fsetxattr ['int fd', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 7: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -124,10 +124,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 8 long sys_getxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 8: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_getxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -138,10 +138,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 9 long sys_lgetxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 9: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_lgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -152,10 +152,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 10 long sys_fgetxattr ['int fd', 'const char __user *name', 'void __user *value', 'size_t size'] case 10: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -166,9 +166,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 11 long sys_listxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 11: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_listxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -178,9 +178,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 12 long sys_llistxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 12: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_llistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -190,9 +190,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 13 long sys_flistxattr ['int fd', 'char __user *list', 'size_t size'] case 13: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_flistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -202,8 +202,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 14 long sys_removexattr ['const char __user *path', 'const char __user *name'] case 14: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_removexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -212,8 +212,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 15 long sys_lremovexattr ['const char __user *path', 'const char __user *name'] case 15: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -222,8 +222,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 16 long sys_fremovexattr ['int fd', 'const char __user *name'] case 16: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -232,8 +232,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 17 long sys_getcwd ['char __user *buf', 'unsigned long size'] case 17: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getcwd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -242,9 +242,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 18 long sys_lookup_dcookie ['u64 cookie64', 'char __user *buf', 'size_t len'] case 18: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lookup_dcookie_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -254,8 +254,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 19 long sys_eventfd2 ['unsigned int count', 'int flags'] case 19: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_eventfd2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -264,7 +264,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 20 long sys_epoll_create1 ['int flags'] case 20: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -272,10 +272,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 21 long sys_epoll_ctl ['int epfd', 'int op', 'int fd', 'struct epoll_event __user *event'] case 21: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_ctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -286,12 +286,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 22 long sys_epoll_pwait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout', 'const sigset_t __user *sigmask', 'size_t sigsetsize'] case 22: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; - uint64_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_epoll_pwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -304,7 +304,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 23 long sys_dup ['unsigned int fildes'] case 23: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_dup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -312,9 +312,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 24 long sys_dup3 ['unsigned int oldfd', 'unsigned int newfd', 'int flags'] case 24: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_dup3_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -324,9 +324,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 25 long sys_fcntl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 25: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -336,7 +336,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 26 long sys_inotify_init1 ['int flags'] case 26: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_inotify_init1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -344,9 +344,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 27 long sys_inotify_add_watch ['int fd', 'const char __user *path', 'u32 mask'] case 27: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_inotify_add_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -356,8 +356,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 28 long sys_inotify_rm_watch ['int fd', '__s32 wd'] case 28: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_inotify_rm_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -366,9 +366,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 29 long sys_ioctl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 29: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -378,9 +378,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 30 long sys_ioprio_set ['int which', 'int who', 'int ioprio'] case 30: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioprio_set_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -390,8 +390,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 31 long sys_ioprio_get ['int which', 'int who'] case 31: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ioprio_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -400,8 +400,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 32 long sys_flock ['unsigned int fd', 'unsigned int cmd'] case 32: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_flock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -410,10 +410,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 33 long sys_mknodat ['int dfd', 'const char __user *filename', 'umode_t mode', 'unsigned dev'] case 33: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -424,9 +424,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 34 long sys_mkdirat ['int dfd', 'const char __user *pathname', 'umode_t mode'] case 34: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mkdirat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -436,9 +436,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 35 long sys_unlinkat ['int dfd', 'const char __user *pathname', 'int flag'] case 35: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_unlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -448,9 +448,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 36 long sys_symlinkat ['const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 36: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_symlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -460,11 +460,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 37 long sys_linkat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'int flags'] case 37: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_linkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -476,10 +476,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 38 long sys_renameat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 38: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_renameat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -490,8 +490,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 39 long sys_umount2 ['const char* target', 'int flags'] case 39: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_umount2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -500,11 +500,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 40 long sys_mount ['char __user *dev_name', 'char __user *dir_name', 'char __user *type', 'unsigned long flags', 'void __user *data'] case 40: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -516,8 +516,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 41 long sys_pivot_root ['const char __user *new_root', 'const char __user *put_old'] case 41: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pivot_root_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -526,9 +526,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 42 long sys_nfsservctl ['int cmd', 'struct nfsctl_arg *argp', 'union nfsctl_res *resp'] case 42: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_nfsservctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -538,8 +538,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 43 long sys_statfs ['const char * path', 'struct statfs *buf'] case 43: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -548,8 +548,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 44 long sys_fstatfs ['unsigned int fd', 'struct statfs *buf'] case 44: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -558,8 +558,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 45 long sys_truncate ['const char *path', 'long length'] case 45: { - uint64_t arg0; - int64_t arg1; + uint64_t arg0 = 0; + int64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -568,8 +568,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 46 long sys_ftruncate ['unsigned int fd', 'unsigned long length'] case 46: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -578,10 +578,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 47 long sys_fallocate ['int fd', 'int mode', 'loff_t offset', 'loff_t len'] case 47: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fallocate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -592,9 +592,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 48 long sys_faccessat ['int dfd', 'const char __user *filename', 'int mode'] case 48: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_faccessat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -604,7 +604,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 49 long sys_chdir ['const char __user *filename'] case 49: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -612,7 +612,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 50 long sys_fchdir ['unsigned int fd'] case 50: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fchdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -620,7 +620,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 51 long sys_chroot ['const char __user *filename'] case 51: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chroot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -628,8 +628,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 52 long sys_fchmod ['unsigned int fd', 'umode_t mode'] case 52: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -638,9 +638,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 53 long sys_fchmodat ['int dfd', 'const char __user *filename', 'umode_t mode'] case 53: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchmodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -650,11 +650,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 54 long sys_fchownat ['int dfd', 'const char __user *filename', 'uid_t user', 'gid_t group', 'int flag'] case 54: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fchownat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -666,9 +666,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 55 long sys_fchown ['unsigned int fd', 'uid_t user', 'gid_t group'] case 55: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -678,10 +678,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 56 long sys_openat ['int dfd', 'const char __user *filename', 'int flags', 'umode_t mode'] case 56: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -692,7 +692,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 57 long sys_close ['unsigned int fd'] case 57: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -706,8 +706,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 59 long sys_pipe2 ['int *fildes', 'int flags'] case 59: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pipe2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -716,10 +716,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 60 long sys_quotactl ['unsigned int cmd', 'const char __user *special', 'qid_t id', 'void __user *addr'] case 60: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_quotactl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -730,9 +730,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 61 long sys_getdents64 ['unsigned int fd', 'struct linux_dirent64 *dirent', 'unsigned int count'] case 61: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -742,9 +742,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 62 long sys_lseek ['unsigned int fd', 'off_t offset', 'unsigned int whence'] case 62: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -754,9 +754,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 63 long sys_read ['unsigned int fd', 'char __user *buf', 'size_t count'] case 63: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -766,9 +766,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 64 long sys_write ['unsigned int fd', 'const char __user *buf', 'size_t count'] case 64: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -778,9 +778,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 65 long sys_readv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 65: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -790,9 +790,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 66 long sys_writev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 66: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -802,10 +802,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 67 long sys_pread64 ['unsigned int fd', 'char *buf', 'size_t count', 'loff_t pos'] case 67: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pread64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -816,10 +816,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 68 long sys_pwrite64 ['unsigned int fd', 'const char *buf', 'size_t count', 'loff_t pos'] case 68: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pwrite64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -830,11 +830,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 69 long sys_preadv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 69: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_preadv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -846,11 +846,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 70 long sys_pwritev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 70: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pwritev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -862,10 +862,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 71 long sys_sendfile ['int out_fd', 'int in_fd', 'off_t *offset', 'size_t count'] case 71: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -876,12 +876,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 72 long sys_pselect6 ['int', 'fd_set *', 'fd_set *', 'fd_set *', 'struct __kernel_timespec *', 'void *'] case 72: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pselect6_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -894,11 +894,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 73 long sys_ppoll ['struct pollfd __user *', 'unsigned int', 'struct timespec __user *', 'const sigset_t __user *', 'size_t'] case 73: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_ppoll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -910,10 +910,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 74 long sys_signalfd4 ['int ufd', 'sigset_t *user_mask', 'size_t sizemask', 'int flags'] case 74: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_signalfd4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -924,10 +924,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 75 long sys_vmsplice ['int fd', 'const struct iovec __user *iov', 'unsigned long nr_segs', 'unsigned int flags'] case 75: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_vmsplice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -938,12 +938,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 76 long sys_splice ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 76: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_splice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -956,10 +956,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 77 long sys_tee ['int fdin', 'int fdout', 'size_t len', 'unsigned int flags'] case 77: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_tee_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -970,10 +970,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 78 long sys_readlinkat ['int dfd', 'const char __user *path', 'char __user *buf', 'int bufsiz'] case 78: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_readlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -984,10 +984,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 79 long sys_newfstatat ['int dfd', 'const char *filename', 'struct stat *statbuf', 'int flag'] case 79: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_newfstatat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -998,8 +998,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 80 long sys_fstat ['unsigned int fd', 'struct __old_kernel_stat *statbuf'] case 80: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1014,7 +1014,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 82 long sys_fsync ['unsigned int fd'] case 82: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1022,7 +1022,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 83 long sys_fdatasync ['unsigned int fd'] case 83: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fdatasync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1030,10 +1030,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 84 long sys_sync_file_range ['int fd', 'loff_t offset', 'loff_t nbytes', 'unsigned int flags'] case 84: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sync_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1044,8 +1044,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 85 long sys_timerfd_create ['int clockid', 'int flags'] case 85: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1054,10 +1054,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 86 long sys_timerfd_settime ['int ufd', 'int flags', 'const struct itimerspec __user *utmr', 'struct itimerspec __user *otmr'] case 86: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timerfd_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1068,8 +1068,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 87 long sys_timerfd_gettime ['int ufd', 'struct itimerspec __user *otmr'] case 87: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1078,10 +1078,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 88 long sys_utimensat ['int dfd', 'const char __user *filename', 'struct timespec __user *utimes', 'int flags'] case 88: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_utimensat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1092,7 +1092,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 89 long sys_acct ['const char __user *name'] case 89: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_acct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1100,8 +1100,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 90 long sys_capget ['cap_user_header_t header', 'cap_user_data_t dataptr'] case 90: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1110,8 +1110,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 91 long sys_capset ['cap_user_header_t header', 'const cap_user_data_t data'] case 91: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capset_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1120,7 +1120,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 92 long sys_personality ['unsigned int personality'] case 92: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_personality_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1128,7 +1128,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 93 long sys_exit ['int error_code'] case 93: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1136,7 +1136,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 94 long sys_exit_group ['int error_code'] case 94: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_group_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1144,11 +1144,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 95 long sys_waitid ['int which', 'pid_t pid', 'struct siginfo __user *infop', 'int options', 'struct rusage __user *ru'] case 95: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - int32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_waitid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1160,7 +1160,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 96 long sys_set_tid_address ['int __user *tidptr'] case 96: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_set_tid_address_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1168,7 +1168,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 97 long sys_unshare ['unsigned long unshare_flags'] case 97: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unshare_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1176,12 +1176,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 98 long sys_futex ['u32 __user *uaddr', 'int op', 'u32 val', 'struct timespec __user *utime', 'u32 __user *uaddr2', 'u32 val3'] case 98: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_futex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1194,8 +1194,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 99 long sys_set_robust_list ['struct robust_list_head __user *head', 'size_t len'] case 99: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_set_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1204,9 +1204,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 100 long sys_get_robust_list ['int pid', 'struct robust_list_head __user * __user *head_ptr', 'size_t __user *len_ptr'] case 100: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_get_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1216,8 +1216,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 101 long sys_nanosleep ['struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 101: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1226,8 +1226,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 102 long sys_getitimer ['int which', 'struct itimerval __user *value'] case 102: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1236,9 +1236,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 103 long sys_setitimer ['int which', 'struct itimerval __user *value', 'struct itimerval __user *ovalue'] case 103: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1248,10 +1248,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 104 long sys_kexec_load ['unsigned long entry', 'unsigned long nr_segments', 'struct kexec_segment __user *segments', 'unsigned long flags'] case 104: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_kexec_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1262,9 +1262,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 105 long sys_init_module ['void __user *umod', 'unsigned long len', 'const char __user *uargs'] case 105: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_init_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1274,8 +1274,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 106 long sys_delete_module ['const char __user *name_user', 'unsigned int flags'] case 106: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_delete_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1284,9 +1284,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 107 long sys_timer_create ['clockid_t which_clock', 'struct sigevent __user *timer_event_spec', 'timer_t __user *created_timer_id'] case 107: { - uint32_t arg0; - uint64_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_timer_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1296,8 +1296,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 108 long sys_timer_gettime ['timer_t timer_id', 'struct itimerspec __user *setting'] case 108: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timer_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1306,7 +1306,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 109 long sys_timer_getoverrun ['timer_t timer_id'] case 109: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_getoverrun_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1314,10 +1314,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 110 long sys_timer_settime ['timer_t timer_id', 'int flags', 'const struct itimerspec __user *new_setting', 'struct itimerspec __user *old_setting'] case 110: { - uint32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timer_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1328,7 +1328,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 111 long sys_timer_delete ['timer_t timer_id'] case 111: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_delete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1336,8 +1336,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 112 long sys_clock_settime ['clockid_t which_clock', 'const struct timespec __user *tp'] case 112: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1346,8 +1346,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 113 long sys_clock_gettime ['clockid_t which_clock', 'struct timespec __user *tp'] case 113: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1356,8 +1356,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 114 long sys_clock_getres ['clockid_t which_clock', 'struct timespec __user *tp'] case 114: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_getres_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1366,10 +1366,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 115 long sys_clock_nanosleep ['clockid_t which_clock', 'int flags', 'const struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 115: { - uint32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_clock_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1380,9 +1380,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 116 long sys_syslog ['int type', 'char __user *buf', 'int len'] case 116: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_syslog_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1392,10 +1392,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 117 long sys_ptrace ['long request', 'long pid', 'unsigned long addr', 'unsigned long data'] case 117: { - int64_t arg0; - int64_t arg1; - uint64_t arg2; - uint64_t arg3; + int64_t arg0 = 0; + int64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_ptrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -1406,8 +1406,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 118 long sys_sched_setparam ['pid_t pid', 'struct sched_param __user *param'] case 118: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_setparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1416,9 +1416,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 119 long sys_sched_setscheduler ['pid_t pid', 'int policy', 'struct sched_param __user *param'] case 119: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1428,7 +1428,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 120 long sys_sched_getscheduler ['pid_t pid'] case 120: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_getscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1436,8 +1436,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 121 long sys_sched_getparam ['pid_t pid', 'struct sched_param __user *param'] case 121: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_getparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1446,9 +1446,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 122 long sys_sched_setaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 122: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1458,9 +1458,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 123 long sys_sched_getaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 123: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_getaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1476,7 +1476,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 125 long sys_sched_get_priority_max ['int policy'] case 125: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_max_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1484,7 +1484,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 126 long sys_sched_get_priority_min ['int policy'] case 126: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_min_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1492,8 +1492,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 127 long sys_sched_rr_get_interval ['pid_t pid', 'struct timespec __user *interval'] case 127: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_rr_get_interval_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1508,8 +1508,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 129 long sys_kill ['pid_t pid', 'int sig'] case 129: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1518,8 +1518,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 130 long sys_tkill ['pid_t pid', 'int sig'] case 130: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_tkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1528,9 +1528,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 131 long sys_tgkill ['pid_t tgid', 'pid_t pid', 'int sig'] case 131: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_tgkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1540,8 +1540,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 132 long sys_sigaltstack ['const struct sigaltstack __user *uss', 'struct sigaltstack __user *uoss'] case 132: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sigaltstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1550,8 +1550,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 133 long sys_rt_sigsuspend ['sigset_t __user *unewset', 'size_t sigsetsize'] case 133: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1560,10 +1560,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 134 long sys_rt_sigaction ['int', 'const struct sigaction __user *', 'struct sigaction __user *', 'size_t'] case 134: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1574,10 +1574,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 135 long sys_rt_sigprocmask ['int how', 'sigset_t __user *set', 'sigset_t __user *oset', 'size_t sigsetsize'] case 135: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1588,8 +1588,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 136 long sys_rt_sigpending ['sigset_t __user *set', 'size_t sigsetsize'] case 136: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1598,10 +1598,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 137 long sys_rt_sigtimedwait ['const sigset_t __user *uthese', 'siginfo_t __user *uinfo', 'const struct timespec __user *uts', 'size_t sigsetsize'] case 137: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigtimedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1612,9 +1612,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 138 long sys_rt_sigqueueinfo ['pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 138: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_rt_sigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1624,7 +1624,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 139 long sys_rt_sigreturn ['struct pt_regs *regs'] case 139: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_rt_sigreturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1632,9 +1632,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 140 long sys_setpriority ['int which', 'int who', 'int niceval'] case 140: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1644,8 +1644,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 141 long sys_getpriority ['int which', 'int who'] case 141: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1654,10 +1654,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 142 long sys_reboot ['int magic1', 'int magic2', 'unsigned int cmd', 'void __user *arg'] case 142: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_reboot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1668,8 +1668,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 143 long sys_setregid ['gid_t rgid', 'gid_t egid'] case 143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1678,7 +1678,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 144 long sys_setgid ['gid_t gid'] case 144: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1686,8 +1686,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 145 long sys_setreuid ['uid_t ruid', 'uid_t euid'] case 145: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1696,7 +1696,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 146 long sys_setuid ['uid_t uid'] case 146: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1704,9 +1704,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 147 long sys_setresuid ['uid_t ruid', 'uid_t euid', 'uid_t suid'] case 147: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1716,9 +1716,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 148 long sys_getresuid ['uid_t __user *ruid', 'uid_t __user *euid', 'uid_t __user *suid'] case 148: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1728,9 +1728,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 149 long sys_setresgid ['gid_t rgid', 'gid_t egid', 'gid_t sgid'] case 149: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1740,9 +1740,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 150 long sys_getresgid ['gid_t __user *rgid', 'gid_t __user *egid', 'gid_t __user *sgid'] case 150: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1752,7 +1752,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 151 long sys_setfsuid ['uid_t uid'] case 151: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1760,7 +1760,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 152 long sys_setfsgid ['gid_t gid'] case 152: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1768,7 +1768,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 153 long sys_times ['struct tms __user *tbuf'] case 153: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_times_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1776,8 +1776,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 154 long sys_setpgid ['pid_t pid', 'pid_t pgid'] case 154: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1786,7 +1786,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 155 long sys_getpgid ['pid_t pid'] case 155: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1794,7 +1794,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 156 long sys_getsid ['pid_t pid'] case 156: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getsid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1808,8 +1808,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 158 long sys_getgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 158: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1818,8 +1818,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 159 long sys_setgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 159: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1828,7 +1828,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 160 long sys_uname ['struct new_utsname __user *name'] case 160: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_uname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1836,8 +1836,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 161 long sys_sethostname ['char __user *name', 'int len'] case 161: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1846,8 +1846,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 162 long sys_setdomainname ['char __user *name', 'int len'] case 162: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1856,8 +1856,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 163 long sys_getrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 163: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1866,8 +1866,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 164 long sys_setrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 164: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1876,8 +1876,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 165 long sys_getrusage ['int who', 'struct rusage __user *ru'] case 165: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrusage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1886,7 +1886,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 166 long sys_umask ['int mask'] case 166: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_umask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1894,11 +1894,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 167 long sys_prctl ['int option', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 167: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1910,9 +1910,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 168 long sys_getcpu ['unsigned __user *cpu', 'unsigned __user *node', 'struct getcpu_cache __user *cache'] case 168: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getcpu_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1922,8 +1922,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 169 long sys_gettimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 169: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_gettimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1932,8 +1932,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 170 long sys_settimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 170: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_settimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1942,7 +1942,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 171 long sys_adjtimex ['struct timex __user *txc_p'] case 171: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_adjtimex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1992,7 +1992,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 179 long sys_sysinfo ['struct sysinfo __user *info'] case 179: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2000,10 +2000,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 180 long sys_mq_open ['const char __user *name', 'int oflag', 'umode_t mode', 'struct mq_attr __user *attr'] case 180: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mq_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2014,7 +2014,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 181 long sys_mq_unlink ['const char __user *name'] case 181: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mq_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2022,11 +2022,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 182 long sys_mq_timedsend ['mqd_t mqdes', 'const char __user *msg_ptr', 'size_t msg_len', 'unsigned int msg_prio', 'const struct timespec __user *abs_timeout'] case 182: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedsend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2038,11 +2038,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 183 long sys_mq_timedreceive ['mqd_t mqdes', 'char __user *msg_ptr', 'size_t msg_len', 'unsigned int __user *msg_prio', 'const struct timespec __user *abs_timeout'] case 183: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; - uint64_t arg4; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedreceive_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2054,8 +2054,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 184 long sys_mq_notify ['mqd_t mqdes', 'const struct sigevent __user *notification'] case 184: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mq_notify_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2064,9 +2064,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 185 long sys_mq_getsetattr ['mqd_t mqdes', 'const struct mq_attr __user *mqstat', 'struct mq_attr __user *omqstat'] case 185: { - uint32_t arg0; - uint64_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mq_getsetattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2076,8 +2076,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 186 long sys_msgget ['key_t key', 'int msgflg'] case 186: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_msgget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2086,9 +2086,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 187 long sys_msgctl ['int msqid', 'int cmd', 'struct msqid_ds __user *buf'] case 187: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msgctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2098,11 +2098,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 188 long sys_msgrcv ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'long msgtyp', 'int msgflg'] case 188: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_msgrcv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2114,10 +2114,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 189 long sys_msgsnd ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'int msgflg'] case 189: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_msgsnd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2128,9 +2128,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 190 long sys_semget ['key_t key', 'int nsems', 'int semflg'] case 190: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2140,10 +2140,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 191 long sys_semctl ['int semid', 'int semnum', 'int cmd', 'unsigned long arg'] case 191: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2154,10 +2154,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 192 long sys_semtimedop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops', 'const struct timespec __user *timeout'] case 192: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semtimedop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2168,9 +2168,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 193 long sys_semop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops'] case 193: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2180,9 +2180,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 194 long sys_shmget ['key_t key', 'size_t size', 'int flag'] case 194: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2192,9 +2192,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 195 long sys_shmctl ['int shmid', 'int cmd', 'struct shmid_ds __user *buf'] case 195: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2204,9 +2204,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 196 long sys_shmat ['int shmid', 'char __user *shmaddr', 'int shmflg'] case 196: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2216,7 +2216,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 197 long sys_shmdt ['char __user *shmaddr'] case 197: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_shmdt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2224,9 +2224,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 198 long sys_socket ['int', 'int', 'int'] case 198: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_socket_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2236,10 +2236,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 199 long sys_socketpair ['int', 'int', 'int', 'int __user *'] case 199: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_socketpair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2250,9 +2250,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 200 long sys_bind ['int', 'struct sockaddr __user *', 'int'] case 200: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2262,8 +2262,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 201 long sys_listen ['int', 'int'] case 201: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_listen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2272,9 +2272,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 202 long sys_accept ['int', 'struct sockaddr __user *', 'int __user *'] case 202: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_accept_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2284,9 +2284,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 203 long sys_connect ['int', 'struct sockaddr __user *', 'int'] case 203: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_connect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2296,9 +2296,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 204 long sys_getsockname ['int', 'struct sockaddr __user *', 'int __user *'] case 204: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2308,9 +2308,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 205 long sys_getpeername ['int', 'struct sockaddr __user *', 'int __user *'] case 205: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2320,12 +2320,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 206 long sys_sendto ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int'] case 206: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_sendto_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2338,12 +2338,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 207 long sys_recvfrom ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int __user *'] case 207: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2356,11 +2356,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 208 long sys_setsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int optlen'] case 208: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2372,11 +2372,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 209 long sys_getsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int __user *optlen'] case 209: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_getsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2388,8 +2388,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 210 long sys_shutdown ['int', 'int'] case 210: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_shutdown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2398,9 +2398,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 211 long sys_sendmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 211: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2410,9 +2410,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 212 long sys_recvmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 212: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2422,9 +2422,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 213 long sys_readahead ['int fd', 'loff_t offset', 'size_t count'] case 213: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readahead_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2434,7 +2434,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 214 long sys_brk ['unsigned long brk'] case 214: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_brk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2442,8 +2442,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 215 long sys_munmap ['unsigned long addr', 'size_t len'] case 215: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2452,11 +2452,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 216 long sys_mremap ['unsigned long addr', 'unsigned long old_len', 'unsigned long new_len', 'unsigned long flags', 'unsigned long new_addr'] case 216: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mremap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2468,11 +2468,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 217 long sys_add_key ['const char __user *_type', 'const char __user *_description', 'const void __user *_payload', 'size_t plen', 'key_serial_t destringid'] case 217: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_add_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2484,10 +2484,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 218 long sys_request_key ['const char __user *_type', 'const char __user *_description', 'const char __user *_callout_info', 'key_serial_t destringid'] case 218: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_request_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2498,11 +2498,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 219 long sys_keyctl ['int cmd', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 219: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_keyctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2514,11 +2514,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 220 long sys_clone ['unsigned long', 'unsigned long', 'int __user *', 'int __user *', 'unsigned long'] case 220: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_clone_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2530,9 +2530,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 221 long sys_execve ['const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp'] case 221: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2542,12 +2542,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 222 long sys_mmap ['void *addr', 'size_t length', 'int prot', 'int flags', 'int fd', 'off_t offset'] case 222: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; - int32_t arg4; - uint64_t arg5; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2560,10 +2560,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 223 long sys_fadvise64 ['int fd', 'loff_t offset', 'size_t len', 'int advice'] case 223: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fadvise64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2574,8 +2574,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 224 long sys_swapon ['const char __user *specialfile', 'int swap_flags'] case 224: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_swapon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2584,7 +2584,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 225 long sys_swapoff ['const char __user *specialfile'] case 225: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_swapoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2592,9 +2592,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 226 long sys_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot'] case 226: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2604,9 +2604,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 227 long sys_msync ['unsigned long start', 'size_t len', 'int flags'] case 227: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2616,8 +2616,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 228 long sys_mlock ['unsigned long start', 'size_t len'] case 228: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2626,8 +2626,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 229 long sys_munlock ['unsigned long start', 'size_t len'] case 229: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2636,7 +2636,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 230 long sys_mlockall ['int flags'] case 230: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mlockall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2650,9 +2650,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 232 long sys_mincore ['unsigned long start', 'size_t len', 'unsigned char __user *vec'] case 232: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mincore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2662,9 +2662,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 233 long sys_madvise ['unsigned long start', 'size_t len', 'int behavior'] case 233: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_madvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2674,11 +2674,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 234 long sys_remap_file_pages ['unsigned long start', 'unsigned long size', 'unsigned long prot', 'unsigned long pgoff', 'unsigned long flags'] case 234: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_remap_file_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2690,12 +2690,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 235 long sys_mbind ['unsigned long start', 'unsigned long len', 'unsigned long mode', 'const unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned flags'] case 235: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mbind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2708,11 +2708,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 236 long sys_get_mempolicy ['int __user *policy', 'unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned long addr', 'unsigned long flags'] case 236: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_get_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2724,9 +2724,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 237 long sys_set_mempolicy ['int mode', 'const unsigned long __user *nmask', 'unsigned long maxnode'] case 237: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_set_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2736,10 +2736,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 238 long sys_migrate_pages ['pid_t pid', 'unsigned long maxnode', 'const unsigned long __user *from', 'const unsigned long __user *to'] case 238: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_migrate_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2750,12 +2750,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 239 long sys_move_pages ['pid_t pid', 'unsigned long nr_pages', 'const void __user * __user *pages', 'const int __user *nodes', 'int __user *status', 'int flags'] case 239: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_move_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2768,10 +2768,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 240 long sys_rt_tgsigqueueinfo ['pid_t tgid', 'pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 240: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_tgsigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2782,11 +2782,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 241 long sys_perf_event_open ['struct perf_event_attr __user *attr_uptr', 'pid_t pid', 'int cpu', 'int group_fd', 'unsigned long flags'] case 241: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_perf_event_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2798,10 +2798,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 242 long sys_accept4 ['int', 'struct sockaddr *', 'int *', 'int'] case 242: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_accept4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2812,11 +2812,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 243 long sys_recvmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags', 'struct timespec __user *timeout'] case 243: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_recvmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2828,10 +2828,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 260 long sys_wait4 ['pid_t pid', 'int *stat_addr', 'int options', 'struct rusage *ru'] case 260: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_wait4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2842,10 +2842,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 261 long sys_prlimit64 ['pid_t pid', 'unsigned int resource', 'const struct rlimit64 *new_rlim', 'struct rlimit64 *old_rlim'] case 261: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_prlimit64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2856,8 +2856,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 262 long sys_fanotify_init ['unsigned int flags', 'unsigned int event_f_flags'] case 262: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fanotify_init_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2866,11 +2866,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 263 long sys_fanotify_mark ['int fanotify_fd', 'unsigned int flags', 'u64 mask', 'int fd', 'const char __user *pathname'] case 263: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fanotify_mark_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2882,11 +2882,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 264 long sys_name_to_handle_at ['int dfd', 'const char __user *name', 'struct file_handle __user *handle', 'int __user *mnt_id', 'int flag'] case 264: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_name_to_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2898,9 +2898,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 265 long sys_open_by_handle_at ['int mountdirfd', 'struct file_handle __user *handle', 'int flags'] case 265: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_by_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2910,8 +2910,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 266 long sys_clock_adjtime ['clockid_t which_clock', 'struct timex __user *tx'] case 266: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2920,7 +2920,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 267 long sys_syncfs ['int fd'] case 267: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_syncfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2928,8 +2928,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 268 long sys_setns ['int fd', 'int nstype'] case 268: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setns_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2938,10 +2938,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 269 long sys_sendmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags'] case 269: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2952,12 +2952,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 270 long sys_process_vm_readv ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 270: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2970,12 +2970,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 271 long sys_process_vm_writev ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 271: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2988,11 +2988,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 272 long sys_kcmp ['pid_t pid1', 'pid_t pid2', 'int type', 'unsigned long idx1', 'unsigned long idx2'] case 272: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kcmp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3004,9 +3004,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 273 long sys_finit_module ['int fd', 'const char __user *uargs', 'int flags'] case 273: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_finit_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3016,9 +3016,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 274 long sys_sched_setattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int flags'] case 274: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3028,10 +3028,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 275 long sys_sched_getattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int size', 'unsigned int flags'] case 275: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sched_getattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3042,11 +3042,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 276 long sys_renameat2 ['int olddfd', 'const char *oldname', 'int newdfd', 'const char *newname', 'unsigned int flags'] case 276: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_renameat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3058,9 +3058,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 277 long sys_seccomp ['unsigned int op', 'unsigned int flags', 'const char __user *uargs'] case 277: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_seccomp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3070,9 +3070,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 278 long sys_getrandom ['char __user *buf', 'size_t count', 'unsigned int flags'] case 278: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getrandom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3082,8 +3082,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 279 long sys_memfd_create ['const char __user *uname_ptr', 'unsigned int flags'] case 279: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_memfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3092,9 +3092,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 280 long sys_bpf ['int cmd', 'union bpf_attr *attr', 'unsigned int size'] case 280: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bpf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3104,11 +3104,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 281 long sys_execveat ['int dfd', 'const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp', 'int flags'] case 281: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_execveat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3120,7 +3120,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 282 long sys_userfaultfd ['int flags'] case 282: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_userfaultfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3128,8 +3128,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 283 long sys_membarrier ['int cmd', 'int flags'] case 283: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_membarrier_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3138,9 +3138,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 284 long sys_mlock2 ['unsigned long start', 'size_t len', 'int flags'] case 284: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mlock2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3150,12 +3150,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 285 long sys_copy_file_range ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 285: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_copy_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3168,12 +3168,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 286 long sys_preadv2 ['unsigned long fd', 'const struct iovec *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 286: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_preadv2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3186,12 +3186,12 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 287 long sys_pwritev2 ['unsigned long fd', 'const struct iovec *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 287: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pwritev2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3204,10 +3204,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 288 long sys_pkey_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot', 'int pkey'] case 288: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pkey_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3218,8 +3218,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 289 long sys_pkey_alloc ['unsigned long flags', 'unsigned long init_val'] case 289: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pkey_alloc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3228,7 +3228,7 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 290 long sys_pkey_free ['int pkey'] case 290: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pkey_free_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3236,11 +3236,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 291 long sys_statx ['int dfd', 'const char *path', 'unsigned flags', 'unsigned mask', 'struct statx *buffer'] case 291: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_statx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3252,11 +3252,11 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 294 long sys_kexec_file_load ['int kernel_fd', 'int initrd_fd', 'unsigned long cmdline_len', 'const char *cmdline', 'unsigned long flags'] case 294: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kexec_file_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3268,10 +3268,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 424 long sys_pidfd_send_signal ['int pidfd', 'int sig', 'siginfo_t *info', 'unsigned int flags'] case 424: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pidfd_send_signal_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3282,8 +3282,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 434 long sys_pidfd_open ['pid_t pid', 'unsigned int flags'] case 434: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pidfd_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3292,8 +3292,8 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 435 long sys_clone3 ['struct clone_args *cl_args', 'size_t size'] case 435: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clone3_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3302,10 +3302,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 437 long sys_openat2 ['int dirfd', 'const char *pathname', 'struct open_how *how', 'size_t size'] case 437: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3316,9 +3316,9 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 438 long sys_pidfd_getfd ['int pidfd', 'int targetfd', 'unsigned int flags'] case 438: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_pidfd_getfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3328,10 +3328,10 @@ void syscall_return_switch_linux_arm64(CPUState *cpu, target_ptr_t pc, const sys }; break; // 439 long sys_faccessat2 ['int dirfd', 'const char *pathname', 'int mode', 'int flags'] case 439: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_faccessat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_mips.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_mips.cpp index a97b67325e4..1e0ab8a9770 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_mips.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_mips.cpp @@ -18,7 +18,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc switch (ctx->no) { // 4001 long sys_exit ['int error_code'] case 4001: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -32,9 +32,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4003 long sys_read ['unsigned int fd', 'char __user *buf', 'size_t count'] case 4003: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -44,9 +44,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4004 long sys_write ['unsigned int fd', 'const char __user *buf', 'size_t count'] case 4004: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -56,9 +56,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4005 long sys_open ['const char __user *filename', 'int flags', 'umode_t mode'] case 4005: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -68,7 +68,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4006 long sys_close ['unsigned int fd'] case 4006: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -76,9 +76,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4007 long sys_waitpid ['pid_t pid', 'int __user *stat_addr', 'int options'] case 4007: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_waitpid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -88,8 +88,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4008 long sys_creat ['const char __user *pathname', 'umode_t mode'] case 4008: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_creat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -98,8 +98,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4009 long sys_link ['const char __user *oldname', 'const char __user *newname'] case 4009: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -108,7 +108,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4010 long sys_unlink ['const char __user *pathname'] case 4010: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -116,9 +116,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4011 long sys_execve ['const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp'] case 4011: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -128,7 +128,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4012 long sys_chdir ['const char __user *filename'] case 4012: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -136,7 +136,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4013 long sys_time32 ['old_time32_t __user *tloc'] case 4013: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -144,9 +144,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4014 long sys_mknod ['const char __user *filename', 'umode_t mode', 'unsigned dev'] case 4014: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mknod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -156,8 +156,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4015 long sys_chmod ['const char __user *filename', 'umode_t mode'] case 4015: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_chmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -166,9 +166,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4016 long sys_lchown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 4016: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -178,8 +178,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4018 long sys_stat ['const char __user *filename', 'struct __old_kernel_stat __user *statbuf'] case 4018: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_stat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -188,9 +188,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4019 long sys_lseek ['unsigned int fd', 'off_t offset', 'unsigned int whence'] case 4019: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -206,11 +206,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4021 long sys_mount ['char __user *dev_name', 'char __user *dir_name', 'char __user *type', 'unsigned long flags', 'void __user *data'] case 4021: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -222,7 +222,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4022 long sys_oldumount ['char __user *name'] case 4022: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_oldumount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -230,7 +230,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4023 long sys_setuid ['uid_t uid'] case 4023: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -244,7 +244,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4025 long sys_stime32 ['old_time32_t __user *tptr'] case 4025: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_stime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -252,10 +252,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4026 long sys_ptrace ['long request', 'long pid', 'unsigned long addr', 'unsigned long data'] case 4026: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_ptrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -266,7 +266,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4027 long sys_alarm ['unsigned int seconds'] case 4027: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_alarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -274,8 +274,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4028 long sys_fstat ['unsigned int fd', 'struct __old_kernel_stat __user *statbuf'] case 4028: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -290,8 +290,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4030 long sys_utime32 ['const char __user *filename', 'struct old_utimbuf32 __user *t'] case 4030: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -300,8 +300,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4033 long sys_access ['const char __user *filename', 'int mode'] case 4033: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_access_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -310,7 +310,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4034 long sys_nice ['int increment'] case 4034: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_nice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -324,8 +324,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4037 long sys_kill ['pid_t pid', 'int sig'] case 4037: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -334,8 +334,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4038 long sys_rename ['const char __user *oldname', 'const char __user *newname'] case 4038: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rename_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -344,8 +344,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4039 long sys_mkdir ['const char __user *pathname', 'umode_t mode'] case 4039: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mkdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -354,7 +354,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4040 long sys_rmdir ['const char __user *pathname'] case 4040: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_rmdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -362,7 +362,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4041 long sys_dup ['unsigned int fildes'] case 4041: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_dup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -370,7 +370,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4042 long sys_pipe ['int __user *fildes'] case 4042: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pipe_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -378,7 +378,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4043 long sys_times ['struct tms __user *tbuf'] case 4043: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_times_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -386,7 +386,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4045 long sys_brk ['unsigned long brk'] case 4045: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_brk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -394,7 +394,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4046 long sys_setgid ['gid_t gid'] case 4046: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -408,8 +408,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4048 long sys_signal ['int sig', '__sighandler_t handler'] case 4048: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_signal_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -430,7 +430,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4051 long sys_acct ['const char __user *name'] case 4051: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_acct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -438,8 +438,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4052 long sys_umount ['char __user *name', 'int flags'] case 4052: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_umount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -448,9 +448,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4054 long sys_ioctl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 4054: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -460,9 +460,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4055 long sys_fcntl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 4055: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -472,8 +472,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4057 long sys_setpgid ['pid_t pid', 'pid_t pgid'] case 4057: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -482,7 +482,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4059 long sys_olduname ['struct oldold_utsname __user *'] case 4059: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_olduname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -490,7 +490,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4060 long sys_umask ['int mask'] case 4060: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_umask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -498,7 +498,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4061 long sys_chroot ['const char __user *filename'] case 4061: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chroot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -506,8 +506,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4062 long sys_ustat ['unsigned dev', 'struct ustat __user *ubuf'] case 4062: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ustat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -516,8 +516,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4063 long sys_dup2 ['unsigned int oldfd', 'unsigned int newfd'] case 4063: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_dup2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -544,9 +544,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4067 long sys_sigaction ['int', 'const struct old_sigaction __user *', 'struct old_sigaction __user *'] case 4067: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -562,7 +562,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4069 long sys_ssetmask ['int newmask'] case 4069: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_ssetmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -570,8 +570,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4070 long sys_setreuid ['uid_t ruid', 'uid_t euid'] case 4070: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -580,8 +580,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4071 long sys_setregid ['gid_t rgid', 'gid_t egid'] case 4071: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -590,9 +590,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4072 long sys_sigsuspend ['int unused1', 'int unused2', 'old_sigset_t mask'] case 4072: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -602,7 +602,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4073 long sys_sigpending ['old_sigset_t __user *uset'] case 4073: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -610,8 +610,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4074 long sys_sethostname ['char __user *name', 'int len'] case 4074: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -620,8 +620,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4075 long sys_setrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 4075: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -630,8 +630,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4076 long sys_getrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 4076: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -640,8 +640,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4077 long sys_getrusage ['int who', 'struct rusage __user *ru'] case 4077: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrusage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -650,8 +650,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4078 long sys_gettimeofday ['struct __kernel_old_timeval __user *tv', 'struct timezone __user *tz'] case 4078: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_gettimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -660,8 +660,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4079 long sys_settimeofday ['struct __kernel_old_timeval __user *tv', 'struct timezone __user *tz'] case 4079: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_settimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -670,8 +670,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4080 long sys_getgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 4080: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -680,8 +680,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4081 long sys_setgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 4081: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -690,8 +690,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4083 long sys_symlink ['const char __user *old', 'const char __user *new'] case 4083: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_symlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -700,8 +700,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4084 long sys_lstat ['const char __user *filename', 'struct __old_kernel_stat __user *statbuf'] case 4084: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -710,9 +710,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4085 long sys_readlink ['const char __user *path', 'char __user *buf', 'int bufsiz'] case 4085: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -722,7 +722,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4086 long sys_uselib ['const char __user *library'] case 4086: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_uselib_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -730,8 +730,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4087 long sys_swapon ['const char __user *specialfile', 'int swap_flags'] case 4087: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_swapon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -740,10 +740,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4088 long sys_reboot ['int magic1', 'int magic2', 'unsigned int cmd', 'void __user *arg'] case 4088: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_reboot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -754,9 +754,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4089 long sys_old_readdir ['unsigned int', 'struct old_linux_dirent __user *', 'unsigned int'] case 4089: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_old_readdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -766,12 +766,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4090 long sys_mmap ['unsigned long addr', 'unsigned long len', 'unsigned long prot', 'unsigned long flags', 'unsigned long fd', 'unsigned long pgoff'] case 4090: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -784,8 +784,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4091 long sys_munmap ['unsigned long addr', 'size_t len'] case 4091: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -794,8 +794,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4092 long sys_truncate ['const char __user *path', 'long length'] case 4092: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -804,8 +804,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4093 long sys_ftruncate ['unsigned int fd', 'unsigned long length'] case 4093: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -814,8 +814,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4094 long sys_fchmod ['unsigned int fd', 'umode_t mode'] case 4094: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -824,9 +824,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4095 long sys_fchown ['unsigned int fd', 'uid_t user', 'gid_t group'] case 4095: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -836,8 +836,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4096 long sys_getpriority ['int which', 'int who'] case 4096: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -846,9 +846,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4097 long sys_setpriority ['int which', 'int who', 'int niceval'] case 4097: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -858,8 +858,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4099 long sys_statfs ['const char __user *path', 'struct statfs __user *buf'] case 4099: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -868,8 +868,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4100 long sys_fstatfs ['unsigned int fd', 'struct statfs __user *buf'] case 4100: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -878,9 +878,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4101 long sys_ioperm ['unsigned long from', 'unsigned long num', 'int on'] case 4101: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioperm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -890,8 +890,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4102 long sys_socketcall ['int call', 'unsigned long __user *args'] case 4102: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_socketcall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -900,9 +900,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4103 long sys_syslog ['int type', 'char __user *buf', 'int len'] case 4103: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_syslog_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -912,9 +912,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4104 long sys_setitimer ['int which', 'struct __kernel_old_itimerval __user *value', 'struct __kernel_old_itimerval __user *ovalue'] case 4104: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -924,8 +924,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4105 long sys_getitimer ['int which', 'struct __kernel_old_itimerval __user *value'] case 4105: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -934,8 +934,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4106 long sys_newstat ['const char __user *filename', 'struct stat __user *statbuf'] case 4106: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -944,8 +944,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4107 long sys_newlstat ['const char __user *filename', 'struct stat __user *statbuf'] case 4107: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newlstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -954,8 +954,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4108 long sys_newfstat ['unsigned int fd', 'struct stat __user *statbuf'] case 4108: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newfstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -964,7 +964,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4109 long sys_uname ['struct old_utsname __user *'] case 4109: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_uname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -972,7 +972,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4110 long sys_iopl ['int level'] case 4110: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_iopl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -992,10 +992,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4114 long sys_wait4 ['pid_t pid', 'int __user *stat_addr', 'int options', 'struct rusage __user *ru'] case 4114: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_wait4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1006,7 +1006,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4115 long sys_swapoff ['const char __user *specialfile'] case 4115: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_swapoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1014,7 +1014,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4116 long sys_sysinfo ['struct sysinfo __user *info'] case 4116: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1022,12 +1022,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4117 long sys_ipc ['unsigned int call', 'int first', 'unsigned long second', 'unsigned long third', 'void __user *ptr', 'long fifth'] case 4117: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_ipc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1040,7 +1040,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4118 long sys_fsync ['unsigned int fd'] case 4118: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1054,11 +1054,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4120 long sys_clone ['unsigned long', 'unsigned long', 'int __user *', 'unsigned long', 'int __user *'] case 4120: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_clone_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1070,8 +1070,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4121 long sys_setdomainname ['char __user *name', 'int len'] case 4121: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1080,7 +1080,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4122 long sys_newuname ['struct new_utsname __user *name'] case 4122: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_newuname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1088,9 +1088,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4123 long modify_ldt ['int func', 'void *ptr', 'unsigned long bytecount'] case 4123: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_modify_ldt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1100,7 +1100,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4124 long sys_adjtimex_time32 ['struct old_timex32 __user *txc_p'] case 4124: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_adjtimex_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1108,9 +1108,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4125 long sys_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot'] case 4125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1120,9 +1120,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4126 long sys_sigprocmask ['int how', 'old_sigset_t __user *set', 'old_sigset_t __user *oset'] case 4126: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1132,8 +1132,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4127 caddr_t create_module ['const char *name', 'size_t size'] case 4127: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_create_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1142,9 +1142,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4128 long sys_init_module ['void __user *umod', 'unsigned long len', 'const char __user *uargs'] case 4128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_init_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1154,8 +1154,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4129 long sys_delete_module ['const char __user *name_user', 'unsigned int flags'] case 4129: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_delete_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1164,7 +1164,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4130 long get_kernel_syms ['struct kernel_sym *table'] case 4130: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_get_kernel_syms_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1172,10 +1172,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4131 long sys_quotactl ['unsigned int cmd', 'const char __user *special', 'qid_t id', 'void __user *addr'] case 4131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_quotactl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1186,7 +1186,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4132 long sys_getpgid ['pid_t pid'] case 4132: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1194,7 +1194,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4133 long sys_fchdir ['unsigned int fd'] case 4133: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fchdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1202,8 +1202,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4134 long sys_bdflush ['int func', 'long data'] case 4134: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_bdflush_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1212,9 +1212,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4135 long sys_sysfs ['int option', 'unsigned long arg1', 'unsigned long arg2'] case 4135: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sysfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1224,7 +1224,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4136 long sys_personality ['unsigned int personality'] case 4136: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_personality_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1232,7 +1232,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4138 long sys_setfsuid ['uid_t uid'] case 4138: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1240,7 +1240,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4139 long sys_setfsgid ['gid_t gid'] case 4139: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1248,11 +1248,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4140 long sys_llseek ['unsigned int fd', 'unsigned long offset_high', 'unsigned long offset_low', 'loff_t __user *result', 'unsigned int whence'] case 4140: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_llseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1264,9 +1264,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4141 long sys_getdents ['unsigned int fd', 'struct linux_dirent __user *dirent', 'unsigned int count'] case 4141: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1276,11 +1276,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4142 long sys_select ['int n', 'fd_set __user *inp', 'fd_set __user *outp', 'fd_set __user *exp', 'struct __kernel_old_timeval __user *tvp'] case 4142: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_select_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1292,8 +1292,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4143 long sys_flock ['unsigned int fd', 'unsigned int cmd'] case 4143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_flock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1302,9 +1302,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4144 long sys_msync ['unsigned long start', 'size_t len', 'int flags'] case 4144: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1314,9 +1314,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4145 long sys_readv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 4145: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1326,9 +1326,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4146 long sys_writev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 4146: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1338,9 +1338,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4147 long sys_cacheflush ['char *addr', 'int nbytes', 'int cache'] case 4147: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_cacheflush_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1356,7 +1356,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4151 long sys_getsid ['pid_t pid'] case 4151: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getsid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1364,7 +1364,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4152 long sys_fdatasync ['unsigned int fd'] case 4152: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fdatasync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1372,7 +1372,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4153 long sys_sysctl ['struct __sysctl_args __user *args'] case 4153: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1380,8 +1380,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4154 long sys_mlock ['unsigned long start', 'size_t len'] case 4154: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1390,8 +1390,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4155 long sys_munlock ['unsigned long start', 'size_t len'] case 4155: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1400,7 +1400,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4156 long sys_mlockall ['int flags'] case 4156: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mlockall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1414,8 +1414,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4158 long sys_sched_setparam ['pid_t pid', 'struct sched_param __user *param'] case 4158: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_setparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1424,8 +1424,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4159 long sys_sched_getparam ['pid_t pid', 'struct sched_param __user *param'] case 4159: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_getparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1434,9 +1434,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4160 long sys_sched_setscheduler ['pid_t pid', 'int policy', 'struct sched_param __user *param'] case 4160: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1446,7 +1446,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4161 long sys_sched_getscheduler ['pid_t pid'] case 4161: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_getscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1460,7 +1460,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4163 long sys_sched_get_priority_max ['int policy'] case 4163: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_max_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1468,7 +1468,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4164 long sys_sched_get_priority_min ['int policy'] case 4164: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_min_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1476,8 +1476,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4165 long sys_sched_rr_get_interval_time32 ['pid_t pid', 'struct old_timespec32 __user *interval'] case 4165: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_rr_get_interval_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1486,8 +1486,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4166 long sys_nanosleep_time32 ['struct old_timespec32 __user *rqtp', 'struct old_timespec32 __user *rmtp'] case 4166: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_nanosleep_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1496,11 +1496,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4167 long sys_mremap ['unsigned long addr', 'unsigned long old_len', 'unsigned long new_len', 'unsigned long flags', 'unsigned long new_addr'] case 4167: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mremap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1512,9 +1512,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4168 long sys_accept ['int', 'struct sockaddr __user *', 'int __user *'] case 4168: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_accept_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1524,9 +1524,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4169 long sys_bind ['int', 'struct sockaddr __user *', 'int'] case 4169: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1536,9 +1536,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4170 long sys_connect ['int', 'struct sockaddr __user *', 'int'] case 4170: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_connect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1548,9 +1548,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4171 long sys_getpeername ['int', 'struct sockaddr __user *', 'int __user *'] case 4171: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1560,9 +1560,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4172 long sys_getsockname ['int', 'struct sockaddr __user *', 'int __user *'] case 4172: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1572,11 +1572,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4173 long sys_getsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int __user *optlen'] case 4173: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_getsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1588,8 +1588,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4174 long sys_listen ['int', 'int'] case 4174: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_listen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1598,10 +1598,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4175 long sys_recv ['int', 'void __user *', 'size_t', 'unsigned'] case 4175: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_recv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1612,12 +1612,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4176 long sys_recvfrom ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int __user *'] case 4176: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1630,9 +1630,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4177 long sys_recvmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 4177: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1642,10 +1642,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4178 long sys_send ['int', 'void __user *', 'size_t', 'unsigned'] case 4178: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_send_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1656,9 +1656,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4179 long sys_sendmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 4179: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1668,12 +1668,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4180 long sys_sendto ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int'] case 4180: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_sendto_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1686,11 +1686,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4181 long sys_setsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int optlen'] case 4181: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1702,8 +1702,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4182 long sys_shutdown ['int', 'int'] case 4182: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_shutdown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1712,9 +1712,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4183 long sys_socket ['int', 'int', 'int'] case 4183: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_socket_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1724,10 +1724,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4184 long sys_socketpair ['int', 'int', 'int', 'int __user *'] case 4184: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_socketpair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1738,9 +1738,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4185 long sys_setresuid ['uid_t ruid', 'uid_t euid', 'uid_t suid'] case 4185: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1750,9 +1750,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4186 long sys_getresuid ['uid_t __user *ruid', 'uid_t __user *euid', 'uid_t __user *suid'] case 4186: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1762,11 +1762,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4187 long sys_query_module ['const char *name', 'int which', 'void *buf', 'size_t bufsize', 'size_t *ret'] case 4187: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_query_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1778,9 +1778,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4188 long sys_poll ['struct pollfd __user *ufds', 'unsigned int nfds', 'int timeout'] case 4188: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_poll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1790,9 +1790,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4189 long sys_nfsservctl ['int cmd', 'struct nfsctl_arg *argp', 'union nfsctl_res *resp'] case 4189: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_nfsservctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1802,9 +1802,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4190 long sys_setresgid ['gid_t rgid', 'gid_t egid', 'gid_t sgid'] case 4190: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1814,9 +1814,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4191 long sys_getresgid ['gid_t __user *rgid', 'gid_t __user *egid', 'gid_t __user *sgid'] case 4191: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1826,11 +1826,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4192 long sys_prctl ['int option', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 4192: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1848,10 +1848,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4194 long sys_rt_sigaction ['int', 'const struct sigaction __user *', 'struct sigaction __user *', 'size_t'] case 4194: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1862,10 +1862,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4195 long sys_rt_sigprocmask ['int how', 'sigset_t __user *set', 'sigset_t __user *oset', 'size_t sigsetsize'] case 4195: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1876,8 +1876,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4196 long sys_rt_sigpending ['sigset_t __user *set', 'size_t sigsetsize'] case 4196: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1886,10 +1886,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4197 long sys_rt_sigtimedwait_time32 ['const sigset_t __user *uthese', 'siginfo_t __user *uinfo', 'const struct old_timespec32 __user *uts', 'size_t sigsetsize'] case 4197: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigtimedwait_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1900,9 +1900,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4198 long sys_rt_sigqueueinfo ['pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 4198: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_rt_sigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1912,8 +1912,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4199 long sys_rt_sigsuspend ['sigset_t __user *unewset', 'size_t sigsetsize'] case 4199: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1922,10 +1922,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4200 long sys_pread64 ['unsigned int fd', 'char __user *buf', 'size_t count', 'loff_t pos'] case 4200: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pread64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1936,10 +1936,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4201 long sys_pwrite64 ['unsigned int fd', 'const char __user *buf', 'size_t count', 'loff_t pos'] case 4201: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pwrite64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1950,9 +1950,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4202 long sys_chown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 4202: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_chown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1962,8 +1962,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4203 long sys_getcwd ['char __user *buf', 'unsigned long size'] case 4203: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getcwd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1972,8 +1972,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4204 long sys_capget ['cap_user_header_t header', 'cap_user_data_t dataptr'] case 4204: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1982,8 +1982,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4205 long sys_capset ['cap_user_header_t header', 'const cap_user_data_t data'] case 4205: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capset_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1992,8 +1992,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4206 long sys_sigaltstack ['const struct sigaltstack __user *uss', 'struct sigaltstack __user *uoss'] case 4206: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sigaltstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2002,10 +2002,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4207 long sys_sendfile ['int out_fd', 'int in_fd', 'off_t __user *offset', 'size_t count'] case 4207: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2016,12 +2016,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4210 void* mmap2 ['void *addr', 'size_t length', 'int prot', 'int flags', 'int fd', 'off_t pgoffset'] case 4210: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; - int32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_mmap2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2034,8 +2034,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4211 long sys_truncate64 ['const char __user *path', 'loff_t length'] case 4211: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2044,8 +2044,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4212 long sys_ftruncate64 ['unsigned int fd', 'loff_t length'] case 4212: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2054,8 +2054,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4213 long sys_stat64 ['const char __user *filename', 'struct stat64 __user *statbuf'] case 4213: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_stat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2064,8 +2064,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4214 long sys_lstat64 ['const char __user *filename', 'struct stat64 __user *statbuf'] case 4214: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lstat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2074,8 +2074,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4215 long sys_fstat64 ['unsigned long fd', 'struct stat64 __user *statbuf'] case 4215: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2084,8 +2084,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4216 long sys_pivot_root ['const char __user *new_root', 'const char __user *put_old'] case 4216: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pivot_root_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2094,9 +2094,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4217 long sys_mincore ['unsigned long start', 'size_t len', 'unsigned char __user *vec'] case 4217: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mincore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2106,9 +2106,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4218 long sys_madvise ['unsigned long start', 'size_t len', 'int behavior'] case 4218: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_madvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2118,9 +2118,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4219 long sys_getdents64 ['unsigned int fd', 'struct linux_dirent64 __user *dirent', 'unsigned int count'] case 4219: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2130,9 +2130,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4220 long sys_fcntl64 ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 4220: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2148,9 +2148,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4223 long sys_readahead ['int fd', 'loff_t offset', 'size_t count'] case 4223: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readahead_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2160,11 +2160,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4224 long sys_setxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 4224: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2176,11 +2176,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4225 long sys_lsetxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 4225: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_lsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2192,11 +2192,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4226 long sys_fsetxattr ['int fd', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 4226: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2208,10 +2208,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4227 long sys_getxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 4227: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_getxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2222,10 +2222,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4228 long sys_lgetxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 4228: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_lgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2236,10 +2236,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4229 long sys_fgetxattr ['int fd', 'const char __user *name', 'void __user *value', 'size_t size'] case 4229: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2250,9 +2250,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4230 long sys_listxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 4230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_listxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2262,9 +2262,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4231 long sys_llistxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 4231: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_llistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2274,9 +2274,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4232 long sys_flistxattr ['int fd', 'char __user *list', 'size_t size'] case 4232: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_flistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2286,8 +2286,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4233 long sys_removexattr ['const char __user *path', 'const char __user *name'] case 4233: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_removexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2296,8 +2296,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4234 long sys_lremovexattr ['const char __user *path', 'const char __user *name'] case 4234: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2306,8 +2306,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4235 long sys_fremovexattr ['int fd', 'const char __user *name'] case 4235: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2316,8 +2316,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4236 long sys_tkill ['pid_t pid', 'int sig'] case 4236: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_tkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2326,10 +2326,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4237 long sys_sendfile64 ['int out_fd', 'int in_fd', 'loff_t __user *offset', 'size_t count'] case 4237: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2340,12 +2340,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4238 long sys_futex_time32 ['u32 __user *uaddr', 'int op', 'u32 val', 'struct old_timespec32 __user *utime', 'u32 __user *uaddr2', 'u32 val3'] case 4238: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_futex_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2358,9 +2358,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4239 long sys_sched_setaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 4239: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2370,9 +2370,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4240 long sys_sched_getaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 4240: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_getaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2382,8 +2382,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4241 long sys_io_setup ['unsigned nr_reqs', 'aio_context_t __user *ctx'] case 4241: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_io_setup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2392,7 +2392,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4242 long sys_io_destroy ['aio_context_t ctx'] case 4242: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_io_destroy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2400,11 +2400,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4243 long sys_io_getevents_time32 ['__u32 ctx_id', '__s32 min_nr', '__s32 nr', 'struct io_event __user *events', 'struct old_timespec32 __user *timeout'] case 4243: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_io_getevents_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2416,9 +2416,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4244 long sys_io_submit ['aio_context_t', 'long', 'struct iocb __user * __user *'] case 4244: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_submit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2428,9 +2428,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4245 long sys_io_cancel ['aio_context_t ctx_id', 'struct iocb __user *iocb', 'struct io_event __user *result'] case 4245: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_cancel_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2440,7 +2440,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4246 long sys_exit_group ['int error_code'] case 4246: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_group_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2448,9 +2448,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4247 long sys_lookup_dcookie ['u64 cookie64', 'char __user *buf', 'size_t len'] case 4247: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lookup_dcookie_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2460,7 +2460,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4248 long sys_epoll_create ['int size'] case 4248: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2468,10 +2468,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4249 long sys_epoll_ctl ['int epfd', 'int op', 'int fd', 'struct epoll_event __user *event'] case 4249: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_ctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2482,10 +2482,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4250 long sys_epoll_wait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout'] case 4250: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_wait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2496,11 +2496,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4251 long sys_remap_file_pages ['unsigned long start', 'unsigned long size', 'unsigned long prot', 'unsigned long pgoff', 'unsigned long flags'] case 4251: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_remap_file_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2512,7 +2512,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4252 long sys_set_tid_address ['int __user *tidptr'] case 4252: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_set_tid_address_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2526,10 +2526,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4254 long sys_fadvise64_64 ['int fd', 'loff_t offset', 'loff_t len', 'int advice'] case 4254: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fadvise64_64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2540,9 +2540,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4255 long sys_statfs64 ['const char __user *path', 'size_t sz', 'struct statfs64 __user *buf'] case 4255: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_statfs64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2552,9 +2552,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4256 long sys_fstatfs64 ['unsigned int fd', 'size_t sz', 'struct statfs64 __user *buf'] case 4256: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fstatfs64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2564,9 +2564,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4257 long sys_timer_create ['clockid_t which_clock', 'struct sigevent __user *timer_event_spec', 'timer_t __user *created_timer_id'] case 4257: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_timer_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2576,10 +2576,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4258 long sys_timer_settime32 ['timer_t timer_id', 'int flags', 'struct old_itimerspec32 __user *new', 'struct old_itimerspec32 __user *old'] case 4258: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timer_settime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2590,8 +2590,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4259 long sys_timer_gettime32 ['timer_t timer_id', 'struct old_itimerspec32 __user *setting'] case 4259: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timer_gettime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2600,7 +2600,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4260 long sys_timer_getoverrun ['timer_t timer_id'] case 4260: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_getoverrun_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2608,7 +2608,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4261 long sys_timer_delete ['timer_t timer_id'] case 4261: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_delete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2616,8 +2616,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4262 long sys_clock_settime32 ['clockid_t which_clock', 'struct old_timespec32 __user *tp'] case 4262: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_settime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2626,8 +2626,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4263 long sys_clock_gettime32 ['clockid_t which_clock', 'struct old_timespec32 __user *tp'] case 4263: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_gettime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2636,8 +2636,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4264 long sys_clock_getres_time32 ['clockid_t which_clock', 'struct old_timespec32 __user *tp'] case 4264: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_getres_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2646,10 +2646,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4265 long sys_clock_nanosleep_time32 ['clockid_t which_clock', 'int flags', 'struct old_timespec32 __user *rqtp', 'struct old_timespec32 __user *rmtp'] case 4265: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_clock_nanosleep_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2660,9 +2660,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4266 long sys_tgkill ['pid_t tgid', 'pid_t pid', 'int sig'] case 4266: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_tgkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2672,8 +2672,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4267 long sys_utimes_time32 ['const char __user *filename', 'struct old_timeval32 __user *t'] case 4267: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utimes_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2682,12 +2682,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4268 long sys_mbind ['unsigned long start', 'unsigned long len', 'unsigned long mode', 'const unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned flags'] case 4268: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mbind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2700,11 +2700,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4269 long sys_get_mempolicy ['int __user *policy', 'unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned long addr', 'unsigned long flags'] case 4269: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_get_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2716,9 +2716,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4270 long sys_set_mempolicy ['int mode', 'const unsigned long __user *nmask', 'unsigned long maxnode'] case 4270: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_set_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2728,10 +2728,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4271 long sys_mq_open ['const char __user *name', 'int oflag', 'umode_t mode', 'struct mq_attr __user *attr'] case 4271: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mq_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2742,7 +2742,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4272 long sys_mq_unlink ['const char __user *name'] case 4272: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mq_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2750,11 +2750,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4273 long sys_mq_timedsend_time32 ['mqd_t mqdes', 'const char __user *u_msg_ptr', 'unsigned int msg_len', 'unsigned int msg_prio', 'const struct old_timespec32 __user *u_abs_timeout'] case 4273: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedsend_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2766,11 +2766,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4274 long sys_mq_timedreceive_time32 ['mqd_t mqdes', 'char __user *u_msg_ptr', 'unsigned int msg_len', 'unsigned int __user *u_msg_prio', 'const struct old_timespec32 __user *u_abs_timeout'] case 4274: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedreceive_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2782,8 +2782,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4275 long sys_mq_notify ['mqd_t mqdes', 'const struct sigevent __user *notification'] case 4275: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mq_notify_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2792,9 +2792,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4276 long sys_mq_getsetattr ['mqd_t mqdes', 'const struct mq_attr __user *mqstat', 'struct mq_attr __user *omqstat'] case 4276: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mq_getsetattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2804,11 +2804,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4278 long sys_waitid ['int which', 'pid_t pid', 'struct siginfo __user *infop', 'int options', 'struct rusage __user *ru'] case 4278: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - int32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_waitid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2820,11 +2820,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4280 long sys_add_key ['const char __user *_type', 'const char __user *_description', 'const void __user *_payload', 'size_t plen', 'key_serial_t destringid'] case 4280: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_add_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2836,10 +2836,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4281 long sys_request_key ['const char __user *_type', 'const char __user *_description', 'const char __user *_callout_info', 'key_serial_t destringid'] case 4281: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_request_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2850,11 +2850,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4282 long sys_keyctl ['int cmd', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 4282: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_keyctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2866,7 +2866,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4283 long set_thread_area ['unsigned long tp'] case 4283: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_set_thread_area_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2880,9 +2880,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4285 long sys_inotify_add_watch ['int fd', 'const char __user *path', 'u32 mask'] case 4285: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_inotify_add_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2892,8 +2892,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4286 long sys_inotify_rm_watch ['int fd', '__s32 wd'] case 4286: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_inotify_rm_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2902,10 +2902,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4287 long sys_migrate_pages ['pid_t pid', 'unsigned long maxnode', 'const unsigned long __user *from', 'const unsigned long __user *to'] case 4287: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_migrate_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2916,10 +2916,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4288 long sys_openat ['int dfd', 'const char __user *filename', 'int flags', 'umode_t mode'] case 4288: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2930,9 +2930,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4289 long sys_mkdirat ['int dfd', 'const char __user *pathname', 'umode_t mode'] case 4289: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mkdirat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2942,10 +2942,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4290 long sys_mknodat ['int dfd', 'const char __user *filename', 'umode_t mode', 'unsigned dev'] case 4290: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2956,11 +2956,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4291 long sys_fchownat ['int dfd', 'const char __user *filename', 'uid_t user', 'gid_t group', 'int flag'] case 4291: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fchownat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2972,9 +2972,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4292 long sys_futimesat_time32 ['unsigned int dfd', 'const char __user *filename', 'struct old_timeval32 __user *t'] case 4292: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_futimesat_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2984,10 +2984,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4293 long sys_fstatat64 ['int dfd', 'const char __user *filename', 'struct stat64 __user *statbuf', 'int flag'] case 4293: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fstatat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2998,9 +2998,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4294 long sys_unlinkat ['int dfd', 'const char __user *pathname', 'int flag'] case 4294: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_unlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3010,10 +3010,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4295 long sys_renameat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 4295: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_renameat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3024,11 +3024,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4296 long sys_linkat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'int flags'] case 4296: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_linkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3040,9 +3040,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4297 long sys_symlinkat ['const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 4297: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_symlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3052,10 +3052,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4298 long sys_readlinkat ['int dfd', 'const char __user *path', 'char __user *buf', 'int bufsiz'] case 4298: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_readlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3066,9 +3066,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4299 long sys_fchmodat ['int dfd', 'const char __user *filename', 'umode_t mode'] case 4299: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchmodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3078,9 +3078,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4300 long sys_faccessat ['int dfd', 'const char __user *filename', 'int mode'] case 4300: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_faccessat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3090,12 +3090,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4301 long sys_pselect6_time32 ['int', 'fd_set __user *', 'fd_set __user *', 'fd_set __user *', 'struct old_timespec32 __user *', 'void __user *'] case 4301: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pselect6_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3108,11 +3108,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4302 long sys_ppoll_time32 ['struct pollfd __user *', 'unsigned int', 'struct old_timespec32 __user *', 'const sigset_t __user *', 'size_t'] case 4302: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_ppoll_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3124,7 +3124,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4303 long sys_unshare ['unsigned long unshare_flags'] case 4303: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unshare_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3132,12 +3132,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4304 long sys_splice ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 4304: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_splice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3150,10 +3150,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4305 long sys_sync_file_range ['int fd', 'loff_t offset', 'loff_t nbytes', 'unsigned int flags'] case 4305: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sync_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3164,10 +3164,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4306 long sys_tee ['int fdin', 'int fdout', 'size_t len', 'unsigned int flags'] case 4306: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_tee_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3178,10 +3178,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4307 long sys_vmsplice ['int fd', 'const struct iovec __user *iov', 'unsigned long nr_segs', 'unsigned int flags'] case 4307: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_vmsplice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3192,12 +3192,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4308 long sys_move_pages ['pid_t pid', 'unsigned long nr_pages', 'const void __user * __user *pages', 'const int __user *nodes', 'int __user *status', 'int flags'] case 4308: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_move_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3210,8 +3210,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4309 long sys_set_robust_list ['struct robust_list_head __user *head', 'size_t len'] case 4309: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_set_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3220,9 +3220,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4310 long sys_get_robust_list ['int pid', 'struct robust_list_head __user * __user *head_ptr', 'size_t __user *len_ptr'] case 4310: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_get_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3232,10 +3232,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4311 long sys_kexec_load ['unsigned long entry', 'unsigned long nr_segments', 'struct kexec_segment __user *segments', 'unsigned long flags'] case 4311: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_kexec_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3246,9 +3246,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4312 long sys_getcpu ['unsigned __user *cpu', 'unsigned __user *node', 'struct getcpu_cache __user *cache'] case 4312: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getcpu_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3258,12 +3258,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4313 long sys_epoll_pwait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout', 'const sigset_t __user *sigmask', 'size_t sigsetsize'] case 4313: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_epoll_pwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3276,9 +3276,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4314 long sys_ioprio_set ['int which', 'int who', 'int ioprio'] case 4314: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioprio_set_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3288,8 +3288,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4315 long sys_ioprio_get ['int which', 'int who'] case 4315: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ioprio_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3298,10 +3298,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4316 long sys_utimensat_time32 ['unsigned int dfd', 'const char __user *filename', 'struct old_timespec32 __user *t', 'int flags'] case 4316: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_utimensat_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3312,9 +3312,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4317 long sys_signalfd ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask'] case 4317: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_signalfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3330,7 +3330,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4319 long sys_eventfd ['unsigned int count'] case 4319: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_eventfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3338,10 +3338,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4320 long sys_fallocate ['int fd', 'int mode', 'loff_t offset', 'loff_t len'] case 4320: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fallocate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3352,8 +3352,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4321 long sys_timerfd_create ['int clockid', 'int flags'] case 4321: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3362,8 +3362,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4322 long sys_timerfd_gettime32 ['int ufd', 'struct old_itimerspec32 __user *otmr'] case 4322: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_gettime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3372,10 +3372,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4323 long sys_timerfd_settime32 ['int ufd', 'int flags', 'const struct old_itimerspec32 __user *utmr', 'struct old_itimerspec32 __user *otmr'] case 4323: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timerfd_settime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3386,10 +3386,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4324 long sys_signalfd4 ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask', 'int flags'] case 4324: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_signalfd4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3400,8 +3400,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4325 long sys_eventfd2 ['unsigned int count', 'int flags'] case 4325: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_eventfd2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3410,7 +3410,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4326 long sys_epoll_create1 ['int flags'] case 4326: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3418,9 +3418,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4327 long sys_dup3 ['unsigned int oldfd', 'unsigned int newfd', 'int flags'] case 4327: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_dup3_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3430,8 +3430,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4328 long sys_pipe2 ['int __user *fildes', 'int flags'] case 4328: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pipe2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3440,7 +3440,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4329 long sys_inotify_init1 ['int flags'] case 4329: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_inotify_init1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3448,11 +3448,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4330 long sys_preadv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 4330: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_preadv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3464,11 +3464,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4331 long sys_pwritev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 4331: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pwritev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3480,10 +3480,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4332 long sys_rt_tgsigqueueinfo ['pid_t tgid', 'pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 4332: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_tgsigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3494,11 +3494,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4333 long sys_perf_event_open ['struct perf_event_attr __user *attr_uptr', 'pid_t pid', 'int cpu', 'int group_fd', 'unsigned long flags'] case 4333: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_perf_event_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3510,10 +3510,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4334 long sys_accept4 ['int', 'struct sockaddr __user *', 'int __user *', 'int'] case 4334: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_accept4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3524,11 +3524,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4335 long sys_recvmmsg_time32 ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags', 'struct old_timespec32 __user *timeout'] case 4335: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_recvmmsg_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3540,8 +3540,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4336 long sys_fanotify_init ['unsigned int flags', 'unsigned int event_f_flags'] case 4336: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fanotify_init_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3550,11 +3550,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4337 long sys_fanotify_mark ['int fanotify_fd', 'unsigned int flags', 'u64 mask', 'int fd', 'const char __user *pathname'] case 4337: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fanotify_mark_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3566,10 +3566,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4338 long sys_prlimit64 ['pid_t pid', 'unsigned int resource', 'const struct rlimit64 __user *new_rlim', 'struct rlimit64 __user *old_rlim'] case 4338: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_prlimit64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3580,11 +3580,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4339 long sys_name_to_handle_at ['int dfd', 'const char __user *name', 'struct file_handle __user *handle', 'int __user *mnt_id', 'int flag'] case 4339: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_name_to_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3596,9 +3596,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4340 long sys_open_by_handle_at ['int mountdirfd', 'struct file_handle __user *handle', 'int flags'] case 4340: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_by_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3608,8 +3608,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4341 long sys_clock_adjtime32 ['clockid_t which_clock', 'struct old_timex32 __user *tx'] case 4341: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_adjtime32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3618,7 +3618,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4342 long sys_syncfs ['int fd'] case 4342: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_syncfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3626,10 +3626,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4343 long sys_sendmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags'] case 4343: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3640,8 +3640,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4344 long sys_setns ['int fd', 'int nstype'] case 4344: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setns_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3650,12 +3650,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4345 long sys_process_vm_readv ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 4345: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3668,12 +3668,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4346 long sys_process_vm_writev ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 4346: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3686,11 +3686,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4347 long sys_kcmp ['pid_t pid1', 'pid_t pid2', 'int type', 'unsigned long idx1', 'unsigned long idx2'] case 4347: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kcmp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3702,9 +3702,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4348 long sys_finit_module ['int fd', 'const char __user *uargs', 'int flags'] case 4348: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_finit_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3714,9 +3714,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4349 long sys_sched_setattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int flags'] case 4349: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3726,10 +3726,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4350 long sys_sched_getattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int size', 'unsigned int flags'] case 4350: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sched_getattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3740,11 +3740,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4351 long sys_renameat2 ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'unsigned int flags'] case 4351: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_renameat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3756,9 +3756,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4352 long sys_seccomp ['unsigned int op', 'unsigned int flags', 'void __user *uargs'] case 4352: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_seccomp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3768,9 +3768,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4353 long sys_getrandom ['char __user *buf', 'size_t count', 'unsigned int flags'] case 4353: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getrandom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3780,8 +3780,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4354 long sys_memfd_create ['const char __user *uname_ptr', 'unsigned int flags'] case 4354: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_memfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3790,9 +3790,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4355 long sys_bpf ['int cmd', 'union bpf_attr *attr', 'unsigned int size'] case 4355: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bpf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3802,11 +3802,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4356 long sys_execveat ['int dfd', 'const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp', 'int flags'] case 4356: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_execveat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3818,7 +3818,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4357 long sys_userfaultfd ['int flags'] case 4357: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_userfaultfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3826,8 +3826,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4358 long sys_membarrier ['int cmd', 'int flags'] case 4358: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_membarrier_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3836,9 +3836,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4359 long sys_mlock2 ['unsigned long start', 'size_t len', 'int flags'] case 4359: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mlock2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3848,12 +3848,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4360 long sys_copy_file_range ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 4360: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_copy_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3866,12 +3866,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4361 long sys_preadv2 ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 4361: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_preadv2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3884,12 +3884,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4362 long sys_pwritev2 ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 4362: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pwritev2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3902,10 +3902,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4363 long sys_pkey_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot', 'int pkey'] case 4363: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pkey_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3916,8 +3916,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4364 long sys_pkey_alloc ['unsigned long flags', 'unsigned long init_val'] case 4364: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pkey_alloc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3926,7 +3926,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4365 long sys_pkey_free ['int pkey'] case 4365: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pkey_free_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3934,11 +3934,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4366 long sys_statx ['int dfd', 'const char __user *path', 'unsigned flags', 'unsigned mask', 'struct statx __user *buffer'] case 4366: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_statx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3950,10 +3950,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4367 long sys_rseq ['struct rseq __user *rseq', 'uint32_t rseq_len', 'int flags', 'uint32_t sig'] case 4367: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rseq_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3964,12 +3964,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4368 long sys_io_pgetevents_time32 ['aio_context_t ctx_id', 'long min_nr', 'long nr', 'struct io_event __user *events', 'struct old_timespec32 __user *timeout', 'const struct __aio_sigset *sig'] case 4368: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_io_pgetevents_time32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3982,9 +3982,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4393 long sys_semget ['key_t key', 'int nsems', 'int semflg'] case 4393: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3994,10 +3994,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4394 long sys_semctl ['int semid', 'int semnum', 'int cmd', 'unsigned long arg'] case 4394: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4008,9 +4008,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4395 long sys_shmget ['key_t key', 'size_t size', 'int flag'] case 4395: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4020,9 +4020,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4396 long sys_shmctl ['int shmid', 'int cmd', 'struct shmid_ds __user *buf'] case 4396: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4032,9 +4032,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4397 long sys_shmat ['int shmid', 'char __user *shmaddr', 'int shmflg'] case 4397: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4044,7 +4044,7 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4398 long sys_shmdt ['char __user *shmaddr'] case 4398: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_shmdt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4052,8 +4052,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4399 long sys_msgget ['key_t key', 'int msgflg'] case 4399: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_msgget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4062,10 +4062,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4400 long sys_msgsnd ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'int msgflg'] case 4400: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_msgsnd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4076,11 +4076,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4401 long sys_msgrcv ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'long msgtyp', 'int msgflg'] case 4401: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_msgrcv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4092,9 +4092,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4402 long sys_msgctl ['int msqid', 'int cmd', 'struct msqid_ds __user *buf'] case 4402: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msgctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4104,8 +4104,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4403 long sys_clock_gettime ['clockid_t which_clock', 'struct __kernel_timespec __user *tp'] case 4403: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4114,8 +4114,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4404 long sys_clock_settime ['clockid_t which_clock', 'const struct __kernel_timespec __user *tp'] case 4404: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4124,8 +4124,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4405 long sys_clock_adjtime ['clockid_t which_clock', 'struct __kernel_timex __user *tx'] case 4405: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4134,8 +4134,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4406 long sys_clock_getres ['clockid_t which_clock', 'struct __kernel_timespec __user *tp'] case 4406: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_getres_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4144,10 +4144,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4407 long sys_clock_nanosleep ['clockid_t which_clock', 'int flags', 'const struct __kernel_timespec __user *rqtp', 'struct __kernel_timespec __user *rmtp'] case 4407: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_clock_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4158,8 +4158,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4408 long sys_timer_gettime ['timer_t timer_id', 'struct __kernel_itimerspec __user *setting'] case 4408: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timer_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4168,10 +4168,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4409 long sys_timer_settime ['timer_t timer_id', 'int flags', 'const struct __kernel_itimerspec __user *new_setting', 'struct __kernel_itimerspec __user *old_setting'] case 4409: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timer_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4182,8 +4182,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4410 long sys_timerfd_gettime ['int ufd', 'struct __kernel_itimerspec __user *otmr'] case 4410: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4192,10 +4192,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4411 long sys_timerfd_settime ['int ufd', 'int flags', 'const struct __kernel_itimerspec __user *utmr', 'struct __kernel_itimerspec __user *otmr'] case 4411: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timerfd_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4206,10 +4206,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4412 long sys_utimensat ['int dfd', 'const char __user *filename', 'struct __kernel_timespec __user *utimes', 'int flags'] case 4412: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_utimensat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4220,12 +4220,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4413 long sys_pselect6 ['int', 'fd_set __user *', 'fd_set __user *', 'fd_set __user *', 'struct __kernel_timespec __user *', 'void __user *'] case 4413: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pselect6_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4238,11 +4238,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4414 long sys_ppoll ['struct pollfd __user *', 'unsigned int', 'struct __kernel_timespec __user *', 'const sigset_t __user *', 'size_t'] case 4414: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_ppoll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4254,12 +4254,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4416 long sys_io_pgetevents ['aio_context_t ctx_id', 'long min_nr', 'long nr', 'struct io_event __user *events', 'struct __kernel_timespec __user *timeout', 'const struct __aio_sigset *sig'] case 4416: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_io_pgetevents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4272,11 +4272,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4417 long sys_recvmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags', 'struct __kernel_timespec __user *timeout'] case 4417: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_recvmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4288,11 +4288,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4418 long sys_mq_timedsend ['mqd_t mqdes', 'const char __user *msg_ptr', 'size_t msg_len', 'unsigned int msg_prio', 'const struct __kernel_timespec __user *abs_timeout'] case 4418: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedsend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4304,11 +4304,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4419 long sys_mq_timedreceive ['mqd_t mqdes', 'char __user *msg_ptr', 'size_t msg_len', 'unsigned int __user *msg_prio', 'const struct __kernel_timespec __user *abs_timeout'] case 4419: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedreceive_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4320,10 +4320,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4420 long sys_semtimedop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops', 'const struct __kernel_timespec __user *timeout'] case 4420: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semtimedop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4334,10 +4334,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4421 long sys_rt_sigtimedwait ['const sigset_t __user *uthese', 'siginfo_t __user *uinfo', 'const struct __kernel_timespec __user *uts', 'size_t sigsetsize'] case 4421: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigtimedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4348,12 +4348,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4422 long sys_futex ['u32 __user *uaddr', 'int op', 'u32 val', 'struct __kernel_timespec __user *utime', 'u32 __user *uaddr2', 'u32 val3'] case 4422: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_futex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4366,8 +4366,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4423 long sys_sched_rr_get_interval ['pid_t pid', 'struct __kernel_timespec __user *interval'] case 4423: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_rr_get_interval_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4376,10 +4376,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4424 long sys_pidfd_send_signal ['int pidfd', 'int sig', 'siginfo_t __user *info', 'unsigned int flags'] case 4424: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pidfd_send_signal_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4390,8 +4390,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4425 long sys_io_uring_setup ['u32 entries', 'struct io_uring_params __user *p'] case 4425: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_io_uring_setup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4400,12 +4400,12 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4426 long sys_io_uring_enter ['unsigned int fd', 'u32 to_submit', 'u32 min_complete', 'u32 flags', 'const sigset_t __user *sig', 'size_t sigsz'] case 4426: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_io_uring_enter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4418,10 +4418,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4427 long sys_io_uring_register ['unsigned int fd', 'unsigned int op', 'void __user *arg', 'unsigned int nr_args'] case 4427: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_io_uring_register_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4432,9 +4432,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4428 long sys_open_tree ['int dfd', 'const char __user *path', 'unsigned flags'] case 4428: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_tree_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4444,11 +4444,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4429 long sys_move_mount ['int from_dfd', 'const char __user *from_path', 'int to_dfd', 'const char __user *to_path', 'unsigned int ms_flags'] case 4429: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_move_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4460,8 +4460,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4430 long sys_fsopen ['const char __user *fs_name', 'unsigned int flags'] case 4430: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fsopen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4470,11 +4470,11 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4431 long sys_fsconfig ['int fs_fd', 'unsigned int cmd', 'const char __user *key', 'const void __user *value', 'int aux'] case 4431: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fsconfig_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4486,9 +4486,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4432 long sys_fsmount ['int fs_fd', 'unsigned int flags', 'unsigned int ms_flags'] case 4432: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fsmount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4498,9 +4498,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4433 long sys_fspick ['int dfd', 'const char __user *path', 'unsigned int flags'] case 4433: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fspick_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4510,8 +4510,8 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4434 long sys_pidfd_open ['pid_t pid', 'unsigned int flags'] case 4434: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pidfd_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4520,10 +4520,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4437 long sys_openat2 ['int dfd', 'const char __user *filename', 'struct open_how *how', 'size_t size'] case 4437: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4534,9 +4534,9 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4438 long sys_pidfd_getfd ['int pidfd', 'int fd', 'unsigned int flags'] case 4438: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_pidfd_getfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4546,10 +4546,10 @@ void syscall_return_switch_linux_mips(CPUState *cpu, target_ptr_t pc, const sysc }; break; // 4439 long sys_faccessat2 ['int dfd', 'const char __user *filename', 'int mode', 'int flags'] case 4439: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_faccessat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x64.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x64.cpp index 23dcc5ef726..7013467e013 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x64.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x64.cpp @@ -18,9 +18,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca switch (ctx->no) { // 0 long sys_read ['unsigned int fd', 'char __user *buf', 'size_t count'] case 0: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -30,9 +30,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 1 long sys_write ['unsigned int fd', 'const char __user *buf', 'size_t count'] case 1: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -42,9 +42,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 2 long sys_open ['const char __user *filename', 'int flags', 'umode_t mode'] case 2: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -54,7 +54,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 3 long sys_close ['unsigned int fd'] case 3: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -62,8 +62,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 4 long sys_newstat ['const char __user *filename', 'struct stat __user *statbuf'] case 4: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -72,8 +72,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 5 long sys_newfstat ['unsigned int fd', 'struct stat __user *statbuf'] case 5: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newfstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -82,8 +82,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 6 long sys_newlstat ['const char __user *filename', 'struct stat __user *statbuf'] case 6: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newlstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -92,9 +92,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 7 long sys_poll ['struct pollfd __user *ufds', 'unsigned int nfds', 'int timeout'] case 7: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_poll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -104,9 +104,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 8 long sys_lseek ['unsigned int fd', 'off_t offset', 'unsigned int whence'] case 8: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -116,12 +116,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 9 long sys_mmap ['unsigned long', 'unsigned long', 'unsigned long', 'unsigned long', 'unsigned long', 'unsigned long'] case 9: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -134,9 +134,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 10 long sys_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot'] case 10: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -146,8 +146,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 11 long sys_munmap ['unsigned long addr', 'size_t len'] case 11: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -156,7 +156,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 12 long sys_brk ['unsigned long brk'] case 12: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_brk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -164,10 +164,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 13 long sys_rt_sigaction ['int', 'const struct sigaction __user *', 'struct sigaction __user *', 'size_t'] case 13: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -178,10 +178,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 14 long sys_rt_sigprocmask ['int how', 'sigset_t __user *set', 'sigset_t __user *oset', 'size_t sigsetsize'] case 14: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -198,9 +198,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 16 long sys_ioctl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -210,10 +210,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 17 long sys_pread64 ['unsigned int fd', 'char __user *buf', 'size_t count', 'loff_t pos'] case 17: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pread64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -224,10 +224,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 18 long sys_pwrite64 ['unsigned int fd', 'const char __user *buf', 'size_t count', 'loff_t pos'] case 18: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pwrite64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -238,9 +238,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 19 long sys_readv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 19: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -250,9 +250,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 20 long sys_writev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 20: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -262,8 +262,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 21 long sys_access ['const char __user *filename', 'int mode'] case 21: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_access_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -272,7 +272,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 22 long sys_pipe ['int __user *fildes'] case 22: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pipe_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -280,11 +280,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 23 long sys_select ['int n', 'fd_set __user *inp', 'fd_set __user *outp', 'fd_set __user *exp', 'struct timeval __user *tvp'] case 23: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_select_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -302,11 +302,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 25 long sys_mremap ['unsigned long addr', 'unsigned long old_len', 'unsigned long new_len', 'unsigned long flags', 'unsigned long new_addr'] case 25: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mremap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -318,9 +318,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 26 long sys_msync ['unsigned long start', 'size_t len', 'int flags'] case 26: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -330,9 +330,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 27 long sys_mincore ['unsigned long start', 'size_t len', 'unsigned char __user *vec'] case 27: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mincore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -342,9 +342,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 28 long sys_madvise ['unsigned long start', 'size_t len', 'int behavior'] case 28: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_madvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -354,9 +354,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 29 long sys_shmget ['key_t key', 'size_t size', 'int flag'] case 29: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -366,9 +366,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 30 long sys_shmat ['int shmid', 'char __user *shmaddr', 'int shmflg'] case 30: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -378,9 +378,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 31 long sys_shmctl ['int shmid', 'int cmd', 'struct shmid_ds __user *buf'] case 31: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_shmctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -390,7 +390,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 32 long sys_dup ['unsigned int fildes'] case 32: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_dup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -398,8 +398,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 33 long sys_dup2 ['unsigned int oldfd', 'unsigned int newfd'] case 33: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_dup2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -414,8 +414,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 35 long sys_nanosleep ['struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 35: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -424,8 +424,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 36 long sys_getitimer ['int which', 'struct itimerval __user *value'] case 36: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -434,7 +434,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 37 long sys_alarm ['unsigned int seconds'] case 37: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_alarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -442,9 +442,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 38 long sys_setitimer ['int which', 'struct itimerval __user *value', 'struct itimerval __user *ovalue'] case 38: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -460,10 +460,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 40 long sys_sendfile64 ['int out_fd', 'int in_fd', 'loff_t __user *offset', 'size_t count'] case 40: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -474,9 +474,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 41 long sys_socket ['int', 'int', 'int'] case 41: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_socket_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -486,9 +486,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 42 long sys_connect ['int', 'struct sockaddr __user *', 'int'] case 42: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_connect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -498,9 +498,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 43 long sys_accept ['int', 'struct sockaddr __user *', 'int __user *'] case 43: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_accept_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -510,12 +510,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 44 long sys_sendto ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int'] case 44: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_sendto_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -528,12 +528,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 45 long sys_recvfrom ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int __user *'] case 45: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -546,9 +546,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 46 long sys_sendmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 46: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -558,9 +558,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 47 long sys_recvmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 47: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -570,8 +570,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 48 long sys_shutdown ['int', 'int'] case 48: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_shutdown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -580,9 +580,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 49 long sys_bind ['int', 'struct sockaddr __user *', 'int'] case 49: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -592,8 +592,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 50 long sys_listen ['int', 'int'] case 50: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_listen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -602,9 +602,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 51 long sys_getsockname ['int', 'struct sockaddr __user *', 'int __user *'] case 51: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -614,9 +614,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 52 long sys_getpeername ['int', 'struct sockaddr __user *', 'int __user *'] case 52: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -626,10 +626,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 53 long sys_socketpair ['int', 'int', 'int', 'int __user *'] case 53: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_socketpair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -640,11 +640,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 54 long sys_setsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int optlen'] case 54: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -656,11 +656,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 55 long sys_getsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int __user *optlen'] case 55: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_getsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -672,11 +672,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 56 long sys_clone ['unsigned long', 'unsigned long', 'int __user *', 'int __user *', 'unsigned long'] case 56: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_clone_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -700,9 +700,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 59 long sys_execve ['const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp'] case 59: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -712,7 +712,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 60 long sys_exit ['int error_code'] case 60: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -720,10 +720,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 61 long sys_wait4 ['pid_t pid', 'int __user *stat_addr', 'int options', 'struct rusage __user *ru'] case 61: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_wait4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -734,8 +734,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 62 long sys_kill ['pid_t pid', 'int sig'] case 62: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -744,7 +744,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 63 long sys_newuname ['struct new_utsname __user *name'] case 63: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_newuname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -752,9 +752,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 64 long sys_semget ['key_t key', 'int nsems', 'int semflg'] case 64: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -764,9 +764,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 65 long sys_semop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops'] case 65: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_semop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -776,10 +776,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 66 long sys_semctl ['int semid', 'int semnum', 'int cmd', 'unsigned long arg'] case 66: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -790,7 +790,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 67 long sys_shmdt ['char __user *shmaddr'] case 67: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_shmdt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -798,8 +798,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 68 long sys_msgget ['key_t key', 'int msgflg'] case 68: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_msgget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -808,10 +808,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 69 long sys_msgsnd ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'int msgflg'] case 69: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_msgsnd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -822,11 +822,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 70 long sys_msgrcv ['int msqid', 'struct msgbuf __user *msgp', 'size_t msgsz', 'long msgtyp', 'int msgflg'] case 70: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_msgrcv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -838,9 +838,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 71 long sys_msgctl ['int msqid', 'int cmd', 'struct msqid_ds __user *buf'] case 71: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msgctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -850,9 +850,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 72 long sys_fcntl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 72: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -862,8 +862,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 73 long sys_flock ['unsigned int fd', 'unsigned int cmd'] case 73: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_flock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -872,7 +872,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 74 long sys_fsync ['unsigned int fd'] case 74: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -880,7 +880,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 75 long sys_fdatasync ['unsigned int fd'] case 75: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fdatasync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -888,8 +888,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 76 long sys_truncate ['const char __user *path', 'long length'] case 76: { - uint64_t arg0; - int64_t arg1; + uint64_t arg0 = 0; + int64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -898,8 +898,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 77 long sys_ftruncate ['unsigned int fd', 'unsigned long length'] case 77: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -908,9 +908,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 78 long sys_getdents ['unsigned int fd', 'struct linux_dirent __user *dirent', 'unsigned int count'] case 78: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -920,8 +920,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 79 long sys_getcwd ['char __user *buf', 'unsigned long size'] case 79: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getcwd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -930,7 +930,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 80 long sys_chdir ['const char __user *filename'] case 80: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -938,7 +938,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 81 long sys_fchdir ['unsigned int fd'] case 81: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fchdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -946,8 +946,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 82 long sys_rename ['const char __user *oldname', 'const char __user *newname'] case 82: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rename_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -956,8 +956,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 83 long sys_mkdir ['const char __user *pathname', 'umode_t mode'] case 83: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mkdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -966,7 +966,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 84 long sys_rmdir ['const char __user *pathname'] case 84: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_rmdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -974,8 +974,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 85 long sys_creat ['const char __user *pathname', 'umode_t mode'] case 85: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_creat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -984,8 +984,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 86 long sys_link ['const char __user *oldname', 'const char __user *newname'] case 86: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -994,7 +994,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 87 long sys_unlink ['const char __user *pathname'] case 87: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1002,8 +1002,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 88 long sys_symlink ['const char __user *old', 'const char __user *new'] case 88: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_symlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1012,9 +1012,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 89 long sys_readlink ['const char __user *path', 'char __user *buf', 'int bufsiz'] case 89: { - uint64_t arg0; - uint64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1024,8 +1024,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 90 long sys_chmod ['const char __user *filename', 'umode_t mode'] case 90: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_chmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1034,8 +1034,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 91 long sys_fchmod ['unsigned int fd', 'umode_t mode'] case 91: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1044,9 +1044,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 92 long sys_chown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 92: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_chown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1056,9 +1056,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 93 long sys_fchown ['unsigned int fd', 'uid_t user', 'gid_t group'] case 93: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1068,9 +1068,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 94 long sys_lchown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 94: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1080,7 +1080,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 95 long sys_umask ['int mask'] case 95: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_umask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1088,8 +1088,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 96 long sys_gettimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 96: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_gettimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1098,8 +1098,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 97 long sys_getrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 97: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1108,8 +1108,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 98 long sys_getrusage ['int who', 'struct rusage __user *ru'] case 98: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrusage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1118,7 +1118,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 99 long sys_sysinfo ['struct sysinfo __user *info'] case 99: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1126,7 +1126,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 100 long sys_times ['struct tms __user *tbuf'] case 100: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_times_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1134,10 +1134,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 101 long sys_ptrace ['long request', 'long pid', 'unsigned long addr', 'unsigned long data'] case 101: { - int64_t arg0; - int64_t arg1; - uint64_t arg2; - uint64_t arg3; + int64_t arg0 = 0; + int64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_ptrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -1154,9 +1154,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 103 long sys_syslog ['int type', 'char __user *buf', 'int len'] case 103: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_syslog_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1172,7 +1172,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 105 long sys_setuid ['uid_t uid'] case 105: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1180,7 +1180,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 106 long sys_setgid ['gid_t gid'] case 106: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1200,8 +1200,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 109 long sys_setpgid ['pid_t pid', 'pid_t pgid'] case 109: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1228,8 +1228,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 113 long sys_setreuid ['uid_t ruid', 'uid_t euid'] case 113: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1238,8 +1238,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 114 long sys_setregid ['gid_t rgid', 'gid_t egid'] case 114: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1248,8 +1248,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 115 long sys_getgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 115: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1258,8 +1258,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 116 long sys_setgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 116: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1268,9 +1268,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 117 long sys_setresuid ['uid_t ruid', 'uid_t euid', 'uid_t suid'] case 117: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1280,9 +1280,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 118 long sys_getresuid ['uid_t __user *ruid', 'uid_t __user *euid', 'uid_t __user *suid'] case 118: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1292,9 +1292,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 119 long sys_setresgid ['gid_t rgid', 'gid_t egid', 'gid_t sgid'] case 119: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1304,9 +1304,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 120 long sys_getresgid ['gid_t __user *rgid', 'gid_t __user *egid', 'gid_t __user *sgid'] case 120: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1316,7 +1316,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 121 long sys_getpgid ['pid_t pid'] case 121: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1324,7 +1324,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 122 long sys_setfsuid ['uid_t uid'] case 122: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1332,7 +1332,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 123 long sys_setfsgid ['gid_t gid'] case 123: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1340,7 +1340,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 124 long sys_getsid ['pid_t pid'] case 124: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getsid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1348,8 +1348,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 125 long sys_capget ['cap_user_header_t header', 'cap_user_data_t dataptr'] case 125: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1358,8 +1358,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 126 long sys_capset ['cap_user_header_t header', 'const cap_user_data_t data'] case 126: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capset_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1368,8 +1368,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 127 long sys_rt_sigpending ['sigset_t __user *set', 'size_t sigsetsize'] case 127: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1378,10 +1378,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 128 long sys_rt_sigtimedwait ['const sigset_t __user *uthese', 'siginfo_t __user *uinfo', 'const struct timespec __user *uts', 'size_t sigsetsize'] case 128: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigtimedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1392,9 +1392,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 129 long sys_rt_sigqueueinfo ['pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 129: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_rt_sigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1404,8 +1404,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 130 long sys_rt_sigsuspend ['sigset_t __user *unewset', 'size_t sigsetsize'] case 130: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1414,8 +1414,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 131 long sys_sigaltstack ['const struct sigaltstack __user *uss', 'struct sigaltstack __user *uoss'] case 131: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sigaltstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1424,8 +1424,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 132 long sys_utime ['char __user *filename', 'struct utimbuf __user *times'] case 132: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1434,9 +1434,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 133 long sys_mknod ['const char __user *filename', 'umode_t mode', 'unsigned dev'] case 133: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mknod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1446,7 +1446,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 135 long sys_personality ['unsigned int personality'] case 135: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_personality_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1454,8 +1454,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 136 long sys_ustat ['unsigned dev', 'struct ustat __user *ubuf'] case 136: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ustat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1464,8 +1464,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 137 long sys_statfs ['const char __user *path', 'struct statfs __user *buf'] case 137: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1474,8 +1474,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 138 long sys_fstatfs ['unsigned int fd', 'struct statfs __user *buf'] case 138: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1484,9 +1484,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 139 long sys_sysfs ['int option', 'unsigned long arg1', 'unsigned long arg2'] case 139: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sysfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1496,8 +1496,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 140 long sys_getpriority ['int which', 'int who'] case 140: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1506,9 +1506,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 141 long sys_setpriority ['int which', 'int who', 'int niceval'] case 141: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1518,8 +1518,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 142 long sys_sched_setparam ['pid_t pid', 'struct sched_param __user *param'] case 142: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_setparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1528,8 +1528,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 143 long sys_sched_getparam ['pid_t pid', 'struct sched_param __user *param'] case 143: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_getparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1538,9 +1538,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 144 long sys_sched_setscheduler ['pid_t pid', 'int policy', 'struct sched_param __user *param'] case 144: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1550,7 +1550,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 145 long sys_sched_getscheduler ['pid_t pid'] case 145: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_getscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1558,7 +1558,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 146 long sys_sched_get_priority_max ['int policy'] case 146: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_max_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1566,7 +1566,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 147 long sys_sched_get_priority_min ['int policy'] case 147: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_min_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1574,8 +1574,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 148 long sys_sched_rr_get_interval ['pid_t pid', 'struct timespec __user *interval'] case 148: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_rr_get_interval_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1584,8 +1584,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 149 long sys_mlock ['unsigned long start', 'size_t len'] case 149: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1594,8 +1594,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 150 long sys_munlock ['unsigned long start', 'size_t len'] case 150: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1604,7 +1604,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 151 long sys_mlockall ['int flags'] case 151: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mlockall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1624,9 +1624,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 154 long sys_modify_ldt ['int', 'void __user *', 'unsigned long'] case 154: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_modify_ldt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1636,8 +1636,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 155 long sys_pivot_root ['const char __user *new_root', 'const char __user *put_old'] case 155: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pivot_root_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1646,7 +1646,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 156 long sys_sysctl ['struct __sysctl_args __user *args'] case 156: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1654,11 +1654,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 157 long sys_prctl ['int option', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 157: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1670,8 +1670,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 158 long sys_arch_prctl ['int', 'unsigned long'] case 158: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_arch_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1680,7 +1680,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 159 long sys_adjtimex ['struct timex __user *txc_p'] case 159: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_adjtimex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1688,8 +1688,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 160 long sys_setrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 160: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1698,7 +1698,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 161 long sys_chroot ['const char __user *filename'] case 161: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chroot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1712,7 +1712,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 163 long sys_acct ['const char __user *name'] case 163: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_acct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1720,8 +1720,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 164 long sys_settimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 164: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_settimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1730,11 +1730,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 165 long sys_mount ['char __user *dev_name', 'char __user *dir_name', 'char __user *type', 'unsigned long flags', 'void __user *data'] case 165: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1746,8 +1746,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 166 long sys_umount ['char __user *name', 'int flags'] case 166: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_umount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1756,8 +1756,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 167 long sys_swapon ['const char __user *specialfile', 'int swap_flags'] case 167: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_swapon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1766,7 +1766,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 168 long sys_swapoff ['const char __user *specialfile'] case 168: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_swapoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -1774,10 +1774,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 169 long sys_reboot ['int magic1', 'int magic2', 'unsigned int cmd', 'void __user *arg'] case 169: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_reboot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1788,8 +1788,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 170 long sys_sethostname ['char __user *name', 'int len'] case 170: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1798,8 +1798,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 171 long sys_setdomainname ['char __user *name', 'int len'] case 171: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1808,7 +1808,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 172 long sys_iopl ['unsigned int'] case 172: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_iopl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1816,9 +1816,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 173 long sys_ioperm ['unsigned long', 'unsigned long', 'int'] case 173: { - uint64_t arg0; - uint64_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioperm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1828,9 +1828,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 175 long sys_init_module ['void __user *umod', 'unsigned long len', 'const char __user *uargs'] case 175: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_init_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1840,8 +1840,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 176 long sys_delete_module ['const char __user *name_user', 'unsigned int flags'] case 176: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_delete_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1850,10 +1850,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 179 long sys_quotactl ['unsigned int cmd', 'const char __user *special', 'qid_t id', 'void __user *addr'] case 179: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_quotactl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1870,9 +1870,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 187 long sys_readahead ['int fd', 'loff_t offset', 'size_t count'] case 187: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readahead_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1882,11 +1882,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 188 long sys_setxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 188: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1898,11 +1898,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 189 long sys_lsetxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 189: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_lsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1914,11 +1914,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 190 long sys_fsetxattr ['int fd', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 190: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1930,10 +1930,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 191 long sys_getxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 191: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_getxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1944,10 +1944,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 192 long sys_lgetxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 192: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_lgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1958,10 +1958,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 193 long sys_fgetxattr ['int fd', 'const char __user *name', 'void __user *value', 'size_t size'] case 193: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1972,9 +1972,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 194 long sys_listxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 194: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_listxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1984,9 +1984,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 195 long sys_llistxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 195: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_llistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1996,9 +1996,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 196 long sys_flistxattr ['int fd', 'char __user *list', 'size_t size'] case 196: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_flistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2008,8 +2008,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 197 long sys_removexattr ['const char __user *path', 'const char __user *name'] case 197: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_removexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2018,8 +2018,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 198 long sys_lremovexattr ['const char __user *path', 'const char __user *name'] case 198: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2028,8 +2028,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 199 long sys_fremovexattr ['int fd', 'const char __user *name'] case 199: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2038,8 +2038,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 200 long sys_tkill ['pid_t pid', 'int sig'] case 200: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_tkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2048,7 +2048,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 201 long sys_time ['time_t __user *tloc'] case 201: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_time_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2056,12 +2056,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 202 long sys_futex ['u32 __user *uaddr', 'int op', 'u32 val', 'struct timespec __user *utime', 'u32 __user *uaddr2', 'u32 val3'] case 202: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_futex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2074,9 +2074,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 203 long sys_sched_setaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 203: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2086,9 +2086,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 204 long sys_sched_getaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 204: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_getaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2098,8 +2098,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 206 long sys_io_setup ['unsigned nr_reqs', 'aio_context_t __user *ctx'] case 206: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_io_setup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2108,7 +2108,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 207 long sys_io_destroy ['aio_context_t ctx'] case 207: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_io_destroy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2116,11 +2116,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 208 long sys_io_getevents ['aio_context_t ctx_id', 'long min_nr', 'long nr', 'struct io_event __user *events', 'struct timespec __user *timeout'] case 208: { - uint64_t arg0; - int64_t arg1; - int64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int64_t arg1 = 0; + int64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_io_getevents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -2132,9 +2132,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 209 long sys_io_submit ['aio_context_t', 'long', 'struct iocb __user * __user *'] case 209: { - uint64_t arg0; - int64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_submit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int64_t)); @@ -2144,9 +2144,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 210 long sys_io_cancel ['aio_context_t ctx_id', 'struct iocb __user *iocb', 'struct io_event __user *result'] case 210: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_cancel_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2156,9 +2156,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 212 long sys_lookup_dcookie ['u64 cookie64', 'char __user *buf', 'size_t len'] case 212: { - uint64_t arg0; - uint64_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lookup_dcookie_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2168,7 +2168,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 213 long sys_epoll_create ['int size'] case 213: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2176,11 +2176,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 216 long sys_remap_file_pages ['unsigned long start', 'unsigned long size', 'unsigned long prot', 'unsigned long pgoff', 'unsigned long flags'] case 216: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_remap_file_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2192,9 +2192,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 217 long sys_getdents64 ['unsigned int fd', 'struct linux_dirent64 __user *dirent', 'unsigned int count'] case 217: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2204,7 +2204,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 218 long sys_set_tid_address ['int __user *tidptr'] case 218: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_set_tid_address_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2218,10 +2218,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 220 long sys_semtimedop ['int semid', 'struct sembuf __user *sops', 'unsigned nsops', 'const struct timespec __user *timeout'] case 220: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_semtimedop_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2232,10 +2232,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 221 long sys_fadvise64 ['int fd', 'loff_t offset', 'size_t len', 'int advice'] case 221: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fadvise64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2246,9 +2246,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 222 long sys_timer_create ['clockid_t which_clock', 'struct sigevent __user *timer_event_spec', 'timer_t __user *created_timer_id'] case 222: { - uint32_t arg0; - uint64_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_timer_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2258,10 +2258,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 223 long sys_timer_settime ['timer_t timer_id', 'int flags', 'const struct itimerspec __user *new_setting', 'struct itimerspec __user *old_setting'] case 223: { - uint32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timer_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2272,8 +2272,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 224 long sys_timer_gettime ['timer_t timer_id', 'struct itimerspec __user *setting'] case 224: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timer_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2282,7 +2282,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 225 long sys_timer_getoverrun ['timer_t timer_id'] case 225: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_getoverrun_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2290,7 +2290,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 226 long sys_timer_delete ['timer_t timer_id'] case 226: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_delete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2298,8 +2298,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 227 long sys_clock_settime ['clockid_t which_clock', 'const struct timespec __user *tp'] case 227: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2308,8 +2308,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 228 long sys_clock_gettime ['clockid_t which_clock', 'struct timespec __user *tp'] case 228: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2318,8 +2318,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 229 long sys_clock_getres ['clockid_t which_clock', 'struct timespec __user *tp'] case 229: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_getres_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2328,10 +2328,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 230 long sys_clock_nanosleep ['clockid_t which_clock', 'int flags', 'const struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 230: { - uint32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_clock_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2342,7 +2342,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 231 long sys_exit_group ['int error_code'] case 231: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_group_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2350,10 +2350,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 232 long sys_epoll_wait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout'] case 232: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_wait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2364,10 +2364,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 233 long sys_epoll_ctl ['int epfd', 'int op', 'int fd', 'struct epoll_event __user *event'] case 233: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_ctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2378,9 +2378,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 234 long sys_tgkill ['pid_t tgid', 'pid_t pid', 'int sig'] case 234: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_tgkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2390,8 +2390,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 235 long sys_utimes ['char __user *filename', 'struct timeval __user *utimes'] case 235: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utimes_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2400,12 +2400,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 237 long sys_mbind ['unsigned long start', 'unsigned long len', 'unsigned long mode', 'const unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned flags'] case 237: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mbind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2418,9 +2418,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 238 long sys_set_mempolicy ['int mode', 'const unsigned long __user *nmask', 'unsigned long maxnode'] case 238: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_set_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2430,11 +2430,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 239 long sys_get_mempolicy ['int __user *policy', 'unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned long addr', 'unsigned long flags'] case 239: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_get_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2446,10 +2446,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 240 long sys_mq_open ['const char __user *name', 'int oflag', 'umode_t mode', 'struct mq_attr __user *attr'] case 240: { - uint64_t arg0; - int32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mq_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2460,7 +2460,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 241 long sys_mq_unlink ['const char __user *name'] case 241: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mq_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2468,11 +2468,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 242 long sys_mq_timedsend ['mqd_t mqdes', 'const char __user *msg_ptr', 'size_t msg_len', 'unsigned int msg_prio', 'const struct timespec __user *abs_timeout'] case 242: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedsend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2484,11 +2484,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 243 long sys_mq_timedreceive ['mqd_t mqdes', 'char __user *msg_ptr', 'size_t msg_len', 'unsigned int __user *msg_prio', 'const struct timespec __user *abs_timeout'] case 243: { - uint32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint64_t arg3; - uint64_t arg4; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedreceive_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2500,8 +2500,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 244 long sys_mq_notify ['mqd_t mqdes', 'const struct sigevent __user *notification'] case 244: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mq_notify_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2510,9 +2510,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 245 long sys_mq_getsetattr ['mqd_t mqdes', 'const struct mq_attr __user *mqstat', 'struct mq_attr __user *omqstat'] case 245: { - uint32_t arg0; - uint64_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mq_getsetattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2522,10 +2522,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 246 long sys_kexec_load ['unsigned long entry', 'unsigned long nr_segments', 'struct kexec_segment __user *segments', 'unsigned long flags'] case 246: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_kexec_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2536,11 +2536,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 247 long sys_waitid ['int which', 'pid_t pid', 'struct siginfo __user *infop', 'int options', 'struct rusage __user *ru'] case 247: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - int32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_waitid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2552,11 +2552,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 248 long sys_add_key ['const char __user *_type', 'const char __user *_description', 'const void __user *_payload', 'size_t plen', 'key_serial_t destringid'] case 248: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_add_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2568,10 +2568,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 249 long sys_request_key ['const char __user *_type', 'const char __user *_description', 'const char __user *_callout_info', 'key_serial_t destringid'] case 249: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_request_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2582,11 +2582,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 250 long sys_keyctl ['int cmd', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 250: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_keyctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2598,9 +2598,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 251 long sys_ioprio_set ['int which', 'int who', 'int ioprio'] case 251: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioprio_set_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2610,8 +2610,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 252 long sys_ioprio_get ['int which', 'int who'] case 252: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ioprio_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2626,9 +2626,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 254 long sys_inotify_add_watch ['int fd', 'const char __user *path', 'u32 mask'] case 254: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_inotify_add_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2638,8 +2638,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 255 long sys_inotify_rm_watch ['int fd', '__s32 wd'] case 255: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_inotify_rm_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2648,10 +2648,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 256 long sys_migrate_pages ['pid_t pid', 'unsigned long maxnode', 'const unsigned long __user *from', 'const unsigned long __user *to'] case 256: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_migrate_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2662,10 +2662,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 257 long sys_openat ['int dfd', 'const char __user *filename', 'int flags', 'umode_t mode'] case 257: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2676,9 +2676,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 258 long sys_mkdirat ['int dfd', 'const char __user *pathname', 'umode_t mode'] case 258: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mkdirat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2688,10 +2688,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 259 long sys_mknodat ['int dfd', 'const char __user *filename', 'umode_t mode', 'unsigned dev'] case 259: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2702,11 +2702,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 260 long sys_fchownat ['int dfd', 'const char __user *filename', 'uid_t user', 'gid_t group', 'int flag'] case 260: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fchownat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2718,9 +2718,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 261 long sys_futimesat ['int dfd', 'const char __user *filename', 'struct timeval __user *utimes'] case 261: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_futimesat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2730,10 +2730,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 262 long sys_newfstatat ['int dfd', 'const char __user *filename', 'struct stat __user *statbuf', 'int flag'] case 262: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_newfstatat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2744,9 +2744,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 263 long sys_unlinkat ['int dfd', 'const char __user *pathname', 'int flag'] case 263: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_unlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2756,10 +2756,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 264 long sys_renameat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 264: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_renameat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2770,11 +2770,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 265 long sys_linkat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'int flags'] case 265: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_linkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2786,9 +2786,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 266 long sys_symlinkat ['const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 266: { - uint64_t arg0; - int32_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_symlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2798,10 +2798,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 267 long sys_readlinkat ['int dfd', 'const char __user *path', 'char __user *buf', 'int bufsiz'] case 267: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_readlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2812,9 +2812,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 268 long sys_fchmodat ['int dfd', 'const char __user *filename', 'umode_t mode'] case 268: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchmodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2824,9 +2824,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 269 long sys_faccessat ['int dfd', 'const char __user *filename', 'int mode'] case 269: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_faccessat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2836,12 +2836,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 270 long sys_pselect6 ['int', 'fd_set __user *', 'fd_set __user *', 'fd_set __user *', 'struct timespec __user *', 'void __user *'] case 270: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pselect6_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2854,11 +2854,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 271 long sys_ppoll ['struct pollfd __user *', 'unsigned int', 'struct timespec __user *', 'const sigset_t __user *', 'size_t'] case 271: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint32_t arg4; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_ppoll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2870,7 +2870,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 272 long sys_unshare ['unsigned long unshare_flags'] case 272: { - uint64_t arg0; + uint64_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unshare_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); } @@ -2878,8 +2878,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 273 long sys_set_robust_list ['struct robust_list_head __user *head', 'size_t len'] case 273: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_set_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2888,9 +2888,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 274 long sys_get_robust_list ['int pid', 'struct robust_list_head __user * __user *head_ptr', 'size_t __user *len_ptr'] case 274: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_get_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2900,12 +2900,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 275 long sys_splice ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 275: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_splice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2918,10 +2918,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 276 long sys_tee ['int fdin', 'int fdout', 'size_t len', 'unsigned int flags'] case 276: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_tee_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2932,10 +2932,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 277 long sys_sync_file_range ['int fd', 'loff_t offset', 'loff_t nbytes', 'unsigned int flags'] case 277: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sync_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2946,10 +2946,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 278 long sys_vmsplice ['int fd', 'const struct iovec __user *iov', 'unsigned long nr_segs', 'unsigned int flags'] case 278: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_vmsplice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2960,12 +2960,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 279 long sys_move_pages ['pid_t pid', 'unsigned long nr_pages', 'const void __user * __user *pages', 'const int __user *nodes', 'int __user *status', 'int flags'] case 279: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_move_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2978,10 +2978,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 280 long sys_utimensat ['int dfd', 'const char __user *filename', 'struct timespec __user *utimes', 'int flags'] case 280: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_utimensat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2992,12 +2992,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 281 long sys_epoll_pwait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout', 'const sigset_t __user *sigmask', 'size_t sigsetsize'] case 281: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - int32_t arg3; - uint64_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_epoll_pwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3010,9 +3010,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 282 long sys_signalfd ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask'] case 282: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_signalfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3022,8 +3022,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 283 long sys_timerfd_create ['int clockid', 'int flags'] case 283: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3032,7 +3032,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 284 long sys_eventfd ['unsigned int count'] case 284: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_eventfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3040,10 +3040,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 285 long sys_fallocate ['int fd', 'int mode', 'loff_t offset', 'loff_t len'] case 285: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fallocate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3054,10 +3054,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 286 long sys_timerfd_settime ['int ufd', 'int flags', 'const struct itimerspec __user *utmr', 'struct itimerspec __user *otmr'] case 286: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timerfd_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3068,8 +3068,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 287 long sys_timerfd_gettime ['int ufd', 'struct itimerspec __user *otmr'] case 287: { - int32_t arg0; - uint64_t arg1; + int32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3078,10 +3078,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 288 long sys_accept4 ['int', 'struct sockaddr __user *', 'int __user *', 'int'] case 288: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_accept4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3092,10 +3092,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 289 long sys_signalfd4 ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask', 'int flags'] case 289: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_signalfd4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3106,8 +3106,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 290 long sys_eventfd2 ['unsigned int count', 'int flags'] case 290: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_eventfd2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3116,7 +3116,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 291 long sys_epoll_create1 ['int flags'] case 291: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3124,9 +3124,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 292 long sys_dup3 ['unsigned int oldfd', 'unsigned int newfd', 'int flags'] case 292: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_dup3_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3136,8 +3136,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 293 long sys_pipe2 ['int __user *fildes', 'int flags'] case 293: { - uint64_t arg0; - int32_t arg1; + uint64_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pipe2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3146,7 +3146,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 294 long sys_inotify_init1 ['int flags'] case 294: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_inotify_init1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3154,11 +3154,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 295 long sys_preadv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 295: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_preadv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3170,11 +3170,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 296 long sys_pwritev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 296: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pwritev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3186,10 +3186,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 297 long sys_rt_tgsigqueueinfo ['pid_t tgid', 'pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 297: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_tgsigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3200,11 +3200,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 298 long sys_perf_event_open ['struct perf_event_attr __user *attr_uptr', 'pid_t pid', 'int cpu', 'int group_fd', 'unsigned long flags'] case 298: { - uint64_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; - uint64_t arg4; + uint64_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_perf_event_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3216,11 +3216,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 299 long sys_recvmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags', 'struct timespec __user *timeout'] case 299: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_recvmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3232,8 +3232,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 300 long sys_fanotify_init ['unsigned int flags', 'unsigned int event_f_flags'] case 300: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fanotify_init_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3242,11 +3242,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 301 long sys_fanotify_mark ['int fanotify_fd', 'unsigned int flags', 'u64 mask', 'int fd', 'const char __user *pathname'] case 301: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fanotify_mark_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3258,10 +3258,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 302 long sys_prlimit64 ['pid_t pid', 'unsigned int resource', 'const struct rlimit64 __user *new_rlim', 'struct rlimit64 __user *old_rlim'] case 302: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_prlimit64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3272,11 +3272,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 303 long sys_name_to_handle_at ['int dfd', 'const char __user *name', 'struct file_handle __user *handle', 'int __user *mnt_id', 'int flag'] case 303: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_name_to_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3288,9 +3288,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 304 long sys_open_by_handle_at ['int mountdirfd', 'struct file_handle __user *handle', 'int flags'] case 304: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_by_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3300,8 +3300,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 305 long sys_clock_adjtime ['clockid_t which_clock', 'struct timex __user *tx'] case 305: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3310,7 +3310,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 306 long sys_syncfs ['int fd'] case 306: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_syncfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3318,10 +3318,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 307 long sys_sendmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags'] case 307: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3332,8 +3332,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 308 long sys_setns ['int fd', 'int nstype'] case 308: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setns_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3342,9 +3342,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 309 long sys_getcpu ['unsigned __user *cpu', 'unsigned __user *node', 'struct getcpu_cache __user *cache'] case 309: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getcpu_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3354,12 +3354,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 310 long sys_process_vm_readv ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 310: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3372,12 +3372,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 311 long sys_process_vm_writev ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 311: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint64_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint64_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3390,11 +3390,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 312 long sys_kcmp ['pid_t pid1', 'pid_t pid2', 'int type', 'unsigned long idx1', 'unsigned long idx2'] case 312: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kcmp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3406,9 +3406,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 313 long sys_finit_module ['int fd', 'const char __user *uargs', 'int flags'] case 313: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_finit_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3418,9 +3418,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 314 long sys_sched_setattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int flags'] case 314: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3430,10 +3430,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 315 long sys_sched_getattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int size', 'unsigned int flags'] case 315: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sched_getattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3444,11 +3444,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 316 long sys_renameat2 ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'unsigned int flags'] case 316: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_renameat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3460,9 +3460,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 317 long sys_seccomp ['unsigned int op', 'unsigned int flags', 'const char __user *uargs'] case 317: { - uint32_t arg0; - uint32_t arg1; - uint64_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; if (PPP_CHECK_CB(on_sys_seccomp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3472,9 +3472,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 318 long sys_getrandom ['char __user *buf', 'size_t count', 'unsigned int flags'] case 318: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getrandom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3484,8 +3484,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 319 long sys_memfd_create ['const char __user *uname_ptr', 'unsigned int flags'] case 319: { - uint64_t arg0; - uint32_t arg1; + uint64_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_memfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3494,11 +3494,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 320 long sys_kexec_file_load ['int kernel_fd', 'int initrd_fd', 'unsigned long cmdline_len', 'const char __user *cmdline_ptr', 'unsigned long flags'] case 320: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kexec_file_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3510,9 +3510,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 321 long sys_bpf ['int cmd', 'union bpf_attr *attr', 'unsigned int size'] case 321: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bpf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3522,11 +3522,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 322 long sys_execveat ['int dfd', 'const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp', 'int flags'] case 322: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_execveat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3538,7 +3538,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 323 long sys_userfaultfd ['int flags'] case 323: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_userfaultfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3546,8 +3546,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 324 long sys_membarrier ['int cmd', 'int flags'] case 324: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_membarrier_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3556,9 +3556,9 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 325 long sys_mlock2 ['unsigned long start', 'size_t len', 'int flags'] case 325: { - uint64_t arg0; - uint32_t arg1; - int32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mlock2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3568,12 +3568,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 326 long sys_copy_file_range ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 326: { - int32_t arg0; - uint64_t arg1; - int32_t arg2; - uint64_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint64_t arg1 = 0; + int32_t arg2 = 0; + uint64_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_copy_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3586,12 +3586,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 327 long sys_preadv2 ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 327: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_preadv2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3604,12 +3604,12 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 328 long sys_pwritev2 ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 328: { - uint64_t arg0; - uint64_t arg1; - uint64_t arg2; - uint64_t arg3; - uint64_t arg4; - uint32_t arg5; + uint64_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; + uint64_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pwritev2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3622,10 +3622,10 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 329 long sys_pkey_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot', 'int pkey'] case 329: { - uint64_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pkey_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3636,8 +3636,8 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 330 long sys_pkey_alloc ['unsigned long flags', 'unsigned long init_val'] case 330: { - uint64_t arg0; - uint64_t arg1; + uint64_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pkey_alloc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3646,7 +3646,7 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 331 long sys_pkey_free ['int pkey'] case 331: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pkey_free_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3654,11 +3654,11 @@ void syscall_return_switch_linux_x64(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 332 long sys_statx ['int dfd', 'const char __user *path', 'unsigned flags', 'unsigned mask', 'struct statx __user *buffer'] case 332: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - uint32_t arg3; - uint64_t arg4; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint64_t arg4 = 0; if (PPP_CHECK_CB(on_sys_statx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x86.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x86.cpp index edfd5ddcc83..d80d1bfcd57 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x86.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_linux_x86.cpp @@ -24,7 +24,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 1 long sys_exit ['int error_code'] case 1: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -38,9 +38,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 3 long sys_read ['unsigned int fd', 'char __user *buf', 'size_t count'] case 3: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_read_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -50,9 +50,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 4 long sys_write ['unsigned int fd', 'const char __user *buf', 'size_t count'] case 4: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_write_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -62,9 +62,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 5 long sys_open ['const char __user *filename', 'int flags', 'umode_t mode'] case 5: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -74,7 +74,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 6 long sys_close ['unsigned int fd'] case 6: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_close_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -82,9 +82,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 7 long sys_waitpid ['pid_t pid', 'int __user *stat_addr', 'int options'] case 7: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_waitpid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -94,8 +94,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 8 long sys_creat ['const char __user *pathname', 'umode_t mode'] case 8: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_creat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -104,8 +104,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 9 long sys_link ['const char __user *oldname', 'const char __user *newname'] case 9: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_link_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -114,7 +114,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 10 long sys_unlink ['const char __user *pathname'] case 10: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -122,9 +122,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 11 long sys_execve ['const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp'] case 11: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_execve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -134,7 +134,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 12 long sys_chdir ['const char __user *filename'] case 12: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -142,7 +142,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 13 long sys_time ['time_t __user *tloc'] case 13: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_time_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -150,9 +150,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 14 long sys_mknod ['const char __user *filename', 'umode_t mode', 'unsigned dev'] case 14: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mknod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -162,8 +162,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 15 long sys_chmod ['const char __user *filename', 'umode_t mode'] case 15: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_chmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -172,9 +172,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 16 long sys_lchown16 ['const char __user *filename', 'old_uid_t user', 'old_gid_t group'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lchown16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -184,8 +184,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 18 long sys_stat ['const char __user *filename', 'struct __old_kernel_stat __user *statbuf'] case 18: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_stat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -194,9 +194,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 19 long sys_lseek ['unsigned int fd', 'off_t offset', 'unsigned int whence'] case 19: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -212,11 +212,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 21 long sys_mount ['char __user *dev_name', 'char __user *dir_name', 'char __user *type', 'unsigned long flags', 'void __user *data'] case 21: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -228,7 +228,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 22 long sys_oldumount ['char __user *name'] case 22: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_oldumount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -236,7 +236,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 23 long sys_setuid16 ['old_uid_t uid'] case 23: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -250,7 +250,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 25 long sys_stime ['time_t __user *tptr'] case 25: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_stime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -258,10 +258,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 26 long sys_ptrace ['long request', 'long pid', 'unsigned long addr', 'unsigned long data'] case 26: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_ptrace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -272,7 +272,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 27 long sys_alarm ['unsigned int seconds'] case 27: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_alarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -280,8 +280,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 28 long sys_fstat ['unsigned int fd', 'struct __old_kernel_stat __user *statbuf'] case 28: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -296,8 +296,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 30 long sys_utime ['char __user *filename', 'struct utimbuf __user *times'] case 30: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -306,8 +306,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 33 long sys_access ['const char __user *filename', 'int mode'] case 33: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_access_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -316,7 +316,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 34 long sys_nice ['int increment'] case 34: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_nice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -330,8 +330,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 37 long sys_kill ['pid_t pid', 'int sig'] case 37: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_kill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -340,8 +340,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 38 long sys_rename ['const char __user *oldname', 'const char __user *newname'] case 38: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rename_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -350,8 +350,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 39 long sys_mkdir ['const char __user *pathname', 'umode_t mode'] case 39: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mkdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -360,7 +360,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 40 long sys_rmdir ['const char __user *pathname'] case 40: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_rmdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -368,7 +368,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 41 long sys_dup ['unsigned int fildes'] case 41: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_dup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -376,7 +376,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 42 long sys_pipe ['int __user *fildes'] case 42: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pipe_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -384,7 +384,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 43 long sys_times ['struct tms __user *tbuf'] case 43: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_times_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -392,7 +392,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 45 long sys_brk ['unsigned long brk'] case 45: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_brk_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -400,7 +400,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 46 long sys_setgid16 ['old_gid_t gid'] case 46: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -414,8 +414,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 48 long sys_signal ['int sig', '__sighandler_t handler'] case 48: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_signal_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -436,7 +436,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 51 long sys_acct ['const char __user *name'] case 51: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_acct_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -444,8 +444,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 52 long sys_umount ['char __user *name', 'int flags'] case 52: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_umount_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -454,9 +454,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 54 long sys_ioctl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 54: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -466,9 +466,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 55 long sys_fcntl ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 55: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -478,8 +478,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 57 long sys_setpgid ['pid_t pid', 'pid_t pgid'] case 57: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -488,7 +488,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 59 long sys_olduname ['struct oldold_utsname __user *'] case 59: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_olduname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -496,7 +496,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 60 long sys_umask ['int mask'] case 60: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_umask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -504,7 +504,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 61 long sys_chroot ['const char __user *filename'] case 61: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_chroot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -512,8 +512,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 62 long sys_ustat ['unsigned dev', 'struct ustat __user *ubuf'] case 62: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ustat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -522,8 +522,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 63 long sys_dup2 ['unsigned int oldfd', 'unsigned int newfd'] case 63: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_dup2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -550,9 +550,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 67 long sys_sigaction ['int', 'const struct old_sigaction __user *', 'struct old_sigaction __user *'] case 67: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -568,7 +568,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 69 long sys_ssetmask ['int newmask'] case 69: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_ssetmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -576,8 +576,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 70 long sys_setreuid16 ['old_uid_t ruid', 'old_uid_t euid'] case 70: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -586,8 +586,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 71 long sys_setregid16 ['old_gid_t rgid', 'old_gid_t egid'] case 71: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -596,9 +596,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 72 long sys_sigsuspend ['int unused1', 'int unused2', 'old_sigset_t mask'] case 72: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -608,7 +608,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 73 long sys_sigpending ['old_sigset_t __user *set'] case 73: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -616,8 +616,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 74 long sys_sethostname ['char __user *name', 'int len'] case 74: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sethostname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -626,8 +626,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 75 long sys_setrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 75: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -636,8 +636,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 76 long sys_old_getrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 76: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_old_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -646,8 +646,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 77 long sys_getrusage ['int who', 'struct rusage __user *ru'] case 77: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrusage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -656,8 +656,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 78 long sys_gettimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 78: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_gettimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -666,8 +666,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 79 long sys_settimeofday ['struct timeval __user *tv', 'struct timezone __user *tz'] case 79: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_settimeofday_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -676,8 +676,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 80 long sys_getgroups16 ['int gidsetsize', 'old_gid_t __user *grouplist'] case 80: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -686,8 +686,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 81 long sys_setgroups16 ['int gidsetsize', 'old_gid_t __user *grouplist'] case 81: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -696,7 +696,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 82 long sys_old_select ['struct sel_arg_struct __user *arg'] case 82: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_old_select_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -704,8 +704,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 83 long sys_symlink ['const char __user *old', 'const char __user *new'] case 83: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_symlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -714,8 +714,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 84 long sys_lstat ['const char __user *filename', 'struct __old_kernel_stat __user *statbuf'] case 84: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -724,9 +724,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 85 long sys_readlink ['const char __user *path', 'char __user *buf', 'int bufsiz'] case 85: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -736,7 +736,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 86 long sys_uselib ['const char __user *library'] case 86: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_uselib_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -744,8 +744,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 87 long sys_swapon ['const char __user *specialfile', 'int swap_flags'] case 87: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_swapon_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -754,10 +754,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 88 long sys_reboot ['int magic1', 'int magic2', 'unsigned int cmd', 'void __user *arg'] case 88: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_reboot_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -768,9 +768,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 89 long sys_old_readdir ['unsigned int', 'struct old_linux_dirent __user *', 'unsigned int'] case 89: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_old_readdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -780,7 +780,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 90 long sys_old_mmap ['struct mmap_arg_struct __user *arg'] case 90: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_old_mmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -788,8 +788,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 91 long sys_munmap ['unsigned long addr', 'size_t len'] case 91: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munmap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -798,8 +798,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 92 long sys_truncate ['const char __user *path', 'long length'] case 92: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -808,8 +808,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 93 long sys_ftruncate ['unsigned int fd', 'unsigned long length'] case 93: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -818,8 +818,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 94 long sys_fchmod ['unsigned int fd', 'umode_t mode'] case 94: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fchmod_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -828,9 +828,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 95 long sys_fchown16 ['unsigned int fd', 'old_uid_t user', 'old_gid_t group'] case 95: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -840,8 +840,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 96 long sys_getpriority ['int which', 'int who'] case 96: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -850,9 +850,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 97 long sys_setpriority ['int which', 'int who', 'int niceval'] case 97: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setpriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -862,8 +862,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 99 long sys_statfs ['const char __user *path', 'struct statfs __user *buf'] case 99: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_statfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -872,8 +872,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 100 long sys_fstatfs ['unsigned int fd', 'struct statfs __user *buf'] case 100: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstatfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -882,9 +882,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 101 long sys_ioperm ['unsigned long', 'unsigned long', 'int'] case 101: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioperm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -894,8 +894,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 102 long sys_socketcall ['int call', 'unsigned long __user *args'] case 102: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_socketcall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -904,9 +904,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 103 long sys_syslog ['int type', 'char __user *buf', 'int len'] case 103: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_syslog_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -916,9 +916,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 104 long sys_setitimer ['int which', 'struct itimerval __user *value', 'struct itimerval __user *ovalue'] case 104: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -928,8 +928,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 105 long sys_getitimer ['int which', 'struct itimerval __user *value'] case 105: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getitimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -938,8 +938,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 106 long sys_newstat ['const char __user *filename', 'struct stat __user *statbuf'] case 106: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -948,8 +948,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 107 long sys_newlstat ['const char __user *filename', 'struct stat __user *statbuf'] case 107: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newlstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -958,8 +958,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 108 long sys_newfstat ['unsigned int fd', 'struct stat __user *statbuf'] case 108: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_newfstat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -968,7 +968,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 109 long sys_uname ['struct old_utsname __user *'] case 109: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_uname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -976,7 +976,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 110 long sys_iopl ['unsigned int'] case 110: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_iopl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -990,7 +990,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 113 long sys_vm86old ['struct vm86_struct __user *'] case 113: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_vm86old_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -998,10 +998,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 114 long sys_wait4 ['pid_t pid', 'int __user *stat_addr', 'int options', 'struct rusage __user *ru'] case 114: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_wait4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1012,7 +1012,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 115 long sys_swapoff ['const char __user *specialfile'] case 115: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_swapoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1020,7 +1020,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 116 long sys_sysinfo ['struct sysinfo __user *info'] case 116: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1028,12 +1028,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 117 long sys_ipc ['unsigned int call', 'int first', 'unsigned long second', 'unsigned long third', 'void __user *ptr', 'long fifth'] case 117: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_ipc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1046,7 +1046,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 118 long sys_fsync ['unsigned int fd'] case 118: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fsync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1060,11 +1060,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 120 long sys_clone ['unsigned long', 'unsigned long', 'int __user *', 'int __user *', 'unsigned long'] case 120: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_clone_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1076,8 +1076,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 121 long sys_setdomainname ['char __user *name', 'int len'] case 121: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setdomainname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1086,7 +1086,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 122 long sys_newuname ['struct new_utsname __user *name'] case 122: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_newuname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1094,9 +1094,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 123 long sys_modify_ldt ['int', 'void __user *', 'unsigned long'] case 123: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_modify_ldt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1106,7 +1106,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 124 long sys_adjtimex ['struct timex __user *txc_p'] case 124: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_adjtimex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1114,9 +1114,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 125 long sys_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot'] case 125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1126,9 +1126,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 126 long sys_sigprocmask ['int how', 'old_sigset_t __user *set', 'old_sigset_t __user *oset'] case 126: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1138,9 +1138,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 128 long sys_init_module ['void __user *umod', 'unsigned long len', 'const char __user *uargs'] case 128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_init_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1150,8 +1150,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 129 long sys_delete_module ['const char __user *name_user', 'unsigned int flags'] case 129: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_delete_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1160,10 +1160,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 131 long sys_quotactl ['unsigned int cmd', 'const char __user *special', 'qid_t id', 'void __user *addr'] case 131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_quotactl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1174,7 +1174,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 132 long sys_getpgid ['pid_t pid'] case 132: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getpgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1182,7 +1182,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 133 long sys_fchdir ['unsigned int fd'] case 133: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fchdir_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1190,8 +1190,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 134 long sys_bdflush ['int func', 'long data'] case 134: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_bdflush_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1200,9 +1200,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 135 long sys_sysfs ['int option', 'unsigned long arg1', 'unsigned long arg2'] case 135: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sysfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1212,7 +1212,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 136 long sys_personality ['unsigned int personality'] case 136: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_personality_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1220,7 +1220,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 138 long sys_setfsuid16 ['old_uid_t uid'] case 138: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1228,7 +1228,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 139 long sys_setfsgid16 ['old_gid_t gid'] case 139: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1236,11 +1236,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 140 long sys_llseek ['unsigned int fd', 'unsigned long offset_high', 'unsigned long offset_low', 'loff_t __user *result', 'unsigned int whence'] case 140: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_llseek_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1252,9 +1252,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 141 long sys_getdents ['unsigned int fd', 'struct linux_dirent __user *dirent', 'unsigned int count'] case 141: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1264,11 +1264,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 142 long sys_select ['int n', 'fd_set __user *inp', 'fd_set __user *outp', 'fd_set __user *exp', 'struct timeval __user *tvp'] case 142: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_select_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1280,8 +1280,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 143 long sys_flock ['unsigned int fd', 'unsigned int cmd'] case 143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_flock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1290,9 +1290,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 144 long sys_msync ['unsigned long start', 'size_t len', 'int flags'] case 144: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_msync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1302,9 +1302,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 145 long sys_readv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 145: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1314,9 +1314,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 146 long sys_writev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen'] case 146: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1326,7 +1326,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 147 long sys_getsid ['pid_t pid'] case 147: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_getsid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1334,7 +1334,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 148 long sys_fdatasync ['unsigned int fd'] case 148: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_fdatasync_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1342,7 +1342,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 149 long sys_sysctl ['struct __sysctl_args __user *args'] case 149: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sysctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1350,8 +1350,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 150 long sys_mlock ['unsigned long start', 'size_t len'] case 150: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1360,8 +1360,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 151 long sys_munlock ['unsigned long start', 'size_t len'] case 151: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_munlock_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1370,7 +1370,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 152 long sys_mlockall ['int flags'] case 152: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mlockall_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1384,8 +1384,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 154 long sys_sched_setparam ['pid_t pid', 'struct sched_param __user *param'] case 154: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_setparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1394,8 +1394,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 155 long sys_sched_getparam ['pid_t pid', 'struct sched_param __user *param'] case 155: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_getparam_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1404,9 +1404,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 156 long sys_sched_setscheduler ['pid_t pid', 'int policy', 'struct sched_param __user *param'] case 156: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1416,7 +1416,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 157 long sys_sched_getscheduler ['pid_t pid'] case 157: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_getscheduler_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1430,7 +1430,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 159 long sys_sched_get_priority_max ['int policy'] case 159: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_max_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1438,7 +1438,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 160 long sys_sched_get_priority_min ['int policy'] case 160: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_sched_get_priority_min_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -1446,8 +1446,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 161 long sys_sched_rr_get_interval ['pid_t pid', 'struct timespec __user *interval'] case 161: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sched_rr_get_interval_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1456,8 +1456,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 162 long sys_nanosleep ['struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 162: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1466,11 +1466,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 163 long sys_mremap ['unsigned long addr', 'unsigned long old_len', 'unsigned long new_len', 'unsigned long flags', 'unsigned long new_addr'] case 163: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mremap_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1482,9 +1482,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 164 long sys_setresuid16 ['old_uid_t ruid', 'old_uid_t euid', 'old_uid_t suid'] case 164: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1494,9 +1494,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 165 long sys_getresuid16 ['old_uid_t __user *ruid', 'old_uid_t __user *euid', 'old_uid_t __user *suid'] case 165: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1506,8 +1506,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 166 long sys_vm86 ['unsigned long', 'unsigned long'] case 166: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_vm86_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1516,9 +1516,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 168 long sys_poll ['struct pollfd __user *ufds', 'unsigned int nfds', 'int timeout'] case 168: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_poll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1528,9 +1528,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 170 long sys_setresgid16 ['old_gid_t rgid', 'old_gid_t egid', 'old_gid_t sgid'] case 170: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1540,9 +1540,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 171 long sys_getresgid16 ['old_gid_t __user *rgid', 'old_gid_t __user *egid', 'old_gid_t __user *sgid'] case 171: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1552,11 +1552,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 172 long sys_prctl ['int option', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 172: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1574,10 +1574,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 174 long sys_rt_sigaction ['int', 'const struct sigaction __user *', 'struct sigaction __user *', 'size_t'] case 174: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1588,10 +1588,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 175 long sys_rt_sigprocmask ['int how', 'sigset_t __user *set', 'sigset_t __user *oset', 'size_t sigsetsize'] case 175: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigprocmask_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1602,8 +1602,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 176 long sys_rt_sigpending ['sigset_t __user *set', 'size_t sigsetsize'] case 176: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigpending_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1612,10 +1612,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 177 long sys_rt_sigtimedwait ['const sigset_t __user *uthese', 'siginfo_t __user *uinfo', 'const struct timespec __user *uts', 'size_t sigsetsize'] case 177: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_sigtimedwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1626,9 +1626,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 178 long sys_rt_sigqueueinfo ['pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 178: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_rt_sigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1638,8 +1638,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 179 long sys_rt_sigsuspend ['sigset_t __user *unewset', 'size_t sigsetsize'] case 179: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_rt_sigsuspend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1648,10 +1648,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 180 long sys_pread64 ['unsigned int fd', 'char __user *buf', 'size_t count', 'loff_t pos'] case 180: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pread64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1662,10 +1662,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 181 long sys_pwrite64 ['unsigned int fd', 'const char __user *buf', 'size_t count', 'loff_t pos'] case 181: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint64_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pwrite64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1676,9 +1676,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 182 long sys_chown16 ['const char __user *filename', 'old_uid_t user', 'old_gid_t group'] case 182: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_chown16_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1688,8 +1688,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 183 long sys_getcwd ['char __user *buf', 'unsigned long size'] case 183: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getcwd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1698,8 +1698,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 184 long sys_capget ['cap_user_header_t header', 'cap_user_data_t dataptr'] case 184: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capget_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1708,8 +1708,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 185 long sys_capset ['cap_user_header_t header', 'const cap_user_data_t data'] case 185: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_capset_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1718,8 +1718,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 186 long sys_sigaltstack ['const struct sigaltstack __user *uss', 'struct sigaltstack __user *uoss'] case 186: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_sigaltstack_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1728,10 +1728,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 187 long sys_sendfile ['int out_fd', 'int in_fd', 'off_t __user *offset', 'size_t count'] case 187: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -1748,8 +1748,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 191 long sys_getrlimit ['unsigned int resource', 'struct rlimit __user *rlim'] case 191: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getrlimit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1758,12 +1758,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 192 long sys_mmap_pgoff ['unsigned long addr', 'unsigned long len', 'unsigned long prot', 'unsigned long flags', 'unsigned long fd', 'unsigned long pgoff'] case 192: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mmap_pgoff_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1776,8 +1776,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 193 long sys_truncate64 ['const char __user *path', 'loff_t length'] case 193: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_truncate64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1786,8 +1786,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 194 long sys_ftruncate64 ['unsigned int fd', 'loff_t length'] case 194: { - uint32_t arg0; - uint64_t arg1; + uint32_t arg0 = 0; + uint64_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ftruncate64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -1796,8 +1796,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 195 long sys_stat64 ['const char __user *filename', 'struct stat64 __user *statbuf'] case 195: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_stat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1806,8 +1806,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 196 long sys_lstat64 ['const char __user *filename', 'struct stat64 __user *statbuf'] case 196: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lstat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1816,8 +1816,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 197 long sys_fstat64 ['unsigned long fd', 'struct stat64 __user *statbuf'] case 197: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fstat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1826,9 +1826,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 198 long sys_lchown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 198: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1862,8 +1862,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 203 long sys_setreuid ['uid_t ruid', 'uid_t euid'] case 203: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setreuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1872,8 +1872,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 204 long sys_setregid ['gid_t rgid', 'gid_t egid'] case 204: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setregid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1882,8 +1882,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 205 long sys_getgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 205: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_getgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1892,8 +1892,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 206 long sys_setgroups ['int gidsetsize', 'gid_t __user *grouplist'] case 206: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setgroups_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1902,9 +1902,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 207 long sys_fchown ['unsigned int fd', 'uid_t user', 'gid_t group'] case 207: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1914,9 +1914,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 208 long sys_setresuid ['uid_t ruid', 'uid_t euid', 'uid_t suid'] case 208: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1926,9 +1926,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 209 long sys_getresuid ['uid_t __user *ruid', 'uid_t __user *euid', 'uid_t __user *suid'] case 209: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1938,9 +1938,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 210 long sys_setresgid ['gid_t rgid', 'gid_t egid', 'gid_t sgid'] case 210: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_setresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1950,9 +1950,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 211 long sys_getresgid ['gid_t __user *rgid', 'gid_t __user *egid', 'gid_t __user *sgid'] case 211: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getresgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1962,9 +1962,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 212 long sys_chown ['const char __user *filename', 'uid_t user', 'gid_t group'] case 212: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_chown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1974,7 +1974,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 213 long sys_setuid ['uid_t uid'] case 213: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1982,7 +1982,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 214 long sys_setgid ['gid_t gid'] case 214: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1990,7 +1990,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 215 long sys_setfsuid ['uid_t uid'] case 215: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsuid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1998,7 +1998,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 216 long sys_setfsgid ['gid_t gid'] case 216: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_setfsgid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2006,8 +2006,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 217 long sys_pivot_root ['const char __user *new_root', 'const char __user *put_old'] case 217: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pivot_root_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2016,9 +2016,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 218 long sys_mincore ['unsigned long start', 'size_t len', 'unsigned char __user *vec'] case 218: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mincore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2028,9 +2028,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 219 long sys_madvise ['unsigned long start', 'size_t len', 'int behavior'] case 219: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_madvise_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2040,9 +2040,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 220 long sys_getdents64 ['unsigned int fd', 'struct linux_dirent64 __user *dirent', 'unsigned int count'] case 220: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getdents64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2052,9 +2052,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 221 long sys_fcntl64 ['unsigned int fd', 'unsigned int cmd', 'unsigned long arg'] case 221: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fcntl64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2070,9 +2070,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 225 long sys_readahead ['int fd', 'loff_t offset', 'size_t count'] case 225: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_readahead_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2082,11 +2082,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 226 long sys_setxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 226: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2098,11 +2098,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 227 long sys_lsetxattr ['const char __user *path', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 227: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_lsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2114,11 +2114,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 228 long sys_fsetxattr ['int fd', 'const char __user *name', 'const void __user *value', 'size_t size', 'int flags'] case 228: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fsetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2130,10 +2130,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 229 long sys_getxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 229: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_getxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2144,10 +2144,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 230 long sys_lgetxattr ['const char __user *path', 'const char __user *name', 'void __user *value', 'size_t size'] case 230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_lgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2158,10 +2158,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 231 long sys_fgetxattr ['int fd', 'const char __user *name', 'void __user *value', 'size_t size'] case 231: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fgetxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2172,9 +2172,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 232 long sys_listxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 232: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_listxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2184,9 +2184,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 233 long sys_llistxattr ['const char __user *path', 'char __user *list', 'size_t size'] case 233: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_llistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2196,9 +2196,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 234 long sys_flistxattr ['int fd', 'char __user *list', 'size_t size'] case 234: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_flistxattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2208,8 +2208,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 235 long sys_removexattr ['const char __user *path', 'const char __user *name'] case 235: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_removexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2218,8 +2218,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 236 long sys_lremovexattr ['const char __user *path', 'const char __user *name'] case 236: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_lremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2228,8 +2228,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 237 long sys_fremovexattr ['int fd', 'const char __user *name'] case 237: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fremovexattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2238,8 +2238,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 238 long sys_tkill ['pid_t pid', 'int sig'] case 238: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_tkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2248,10 +2248,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 239 long sys_sendfile64 ['int out_fd', 'int in_fd', 'loff_t __user *offset', 'size_t count'] case 239: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendfile64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2262,12 +2262,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 240 long sys_futex ['u32 __user *uaddr', 'int op', 'u32 val', 'struct timespec __user *utime', 'u32 __user *uaddr2', 'u32 val3'] case 240: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_futex_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2280,9 +2280,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 241 long sys_sched_setaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 241: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2292,9 +2292,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 242 long sys_sched_getaffinity ['pid_t pid', 'unsigned int len', 'unsigned long __user *user_mask_ptr'] case 242: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_getaffinity_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2304,7 +2304,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 243 long sys_set_thread_area ['struct user_desc __user *'] case 243: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_set_thread_area_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2312,7 +2312,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 244 long sys_get_thread_area ['struct user_desc __user *'] case 244: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_get_thread_area_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2320,8 +2320,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 245 long sys_io_setup ['unsigned nr_reqs', 'aio_context_t __user *ctx'] case 245: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_io_setup_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2330,7 +2330,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 246 long sys_io_destroy ['aio_context_t ctx'] case 246: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_io_destroy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2338,11 +2338,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 247 long sys_io_getevents ['aio_context_t ctx_id', 'long min_nr', 'long nr', 'struct io_event __user *events', 'struct timespec __user *timeout'] case 247: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_io_getevents_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2354,9 +2354,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 248 long sys_io_submit ['aio_context_t', 'long', 'struct iocb __user * __user *'] case 248: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_submit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2366,9 +2366,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 249 long sys_io_cancel ['aio_context_t ctx_id', 'struct iocb __user *iocb', 'struct io_event __user *result'] case 249: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_io_cancel_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2378,10 +2378,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 250 long sys_fadvise64 ['int fd', 'loff_t offset', 'size_t len', 'int advice'] case 250: { - int32_t arg0; - uint64_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fadvise64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2392,7 +2392,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 252 long sys_exit_group ['int error_code'] case 252: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_exit_group_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2400,9 +2400,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 253 long sys_lookup_dcookie ['u64 cookie64', 'char __user *buf', 'size_t len'] case 253: { - uint64_t arg0; - uint32_t arg1; - uint32_t arg2; + uint64_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_lookup_dcookie_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint64_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2412,7 +2412,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 254 long sys_epoll_create ['int size'] case 254: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -2420,10 +2420,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 255 long sys_epoll_ctl ['int epfd', 'int op', 'int fd', 'struct epoll_event __user *event'] case 255: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_ctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2434,10 +2434,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 256 long sys_epoll_wait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout'] case 256: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_epoll_wait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2448,11 +2448,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 257 long sys_remap_file_pages ['unsigned long start', 'unsigned long size', 'unsigned long prot', 'unsigned long pgoff', 'unsigned long flags'] case 257: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_remap_file_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2464,7 +2464,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 258 long sys_set_tid_address ['int __user *tidptr'] case 258: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_set_tid_address_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2472,9 +2472,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 259 long sys_timer_create ['clockid_t which_clock', 'struct sigevent __user *timer_event_spec', 'timer_t __user *created_timer_id'] case 259: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_timer_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2484,10 +2484,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 260 long sys_timer_settime ['timer_t timer_id', 'int flags', 'const struct itimerspec __user *new_setting', 'struct itimerspec __user *old_setting'] case 260: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timer_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2498,8 +2498,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 261 long sys_timer_gettime ['timer_t timer_id', 'struct itimerspec __user *setting'] case 261: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timer_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2508,7 +2508,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 262 long sys_timer_getoverrun ['timer_t timer_id'] case 262: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_getoverrun_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2516,7 +2516,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 263 long sys_timer_delete ['timer_t timer_id'] case 263: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_timer_delete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2524,8 +2524,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 264 long sys_clock_settime ['clockid_t which_clock', 'const struct timespec __user *tp'] case 264: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2534,8 +2534,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 265 long sys_clock_gettime ['clockid_t which_clock', 'struct timespec __user *tp'] case 265: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2544,8 +2544,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 266 long sys_clock_getres ['clockid_t which_clock', 'struct timespec __user *tp'] case 266: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_getres_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2554,10 +2554,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 267 long sys_clock_nanosleep ['clockid_t which_clock', 'int flags', 'const struct timespec __user *rqtp', 'struct timespec __user *rmtp'] case 267: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_clock_nanosleep_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2568,9 +2568,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 268 long sys_statfs64 ['const char __user *path', 'size_t sz', 'struct statfs64 __user *buf'] case 268: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_statfs64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2580,9 +2580,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 269 long sys_fstatfs64 ['unsigned int fd', 'size_t sz', 'struct statfs64 __user *buf'] case 269: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fstatfs64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2592,9 +2592,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 270 long sys_tgkill ['pid_t tgid', 'pid_t pid', 'int sig'] case 270: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_tgkill_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2604,8 +2604,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 271 long sys_utimes ['char __user *filename', 'struct timeval __user *utimes'] case 271: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_utimes_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2614,10 +2614,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 272 long sys_fadvise64_64 ['int fd', 'loff_t offset', 'loff_t len', 'int advice'] case 272: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fadvise64_64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -2628,12 +2628,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 274 long sys_mbind ['unsigned long start', 'unsigned long len', 'unsigned long mode', 'const unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned flags'] case 274: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_mbind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2646,11 +2646,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 275 long sys_get_mempolicy ['int __user *policy', 'unsigned long __user *nmask', 'unsigned long maxnode', 'unsigned long addr', 'unsigned long flags'] case 275: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_get_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2662,9 +2662,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 276 long sys_set_mempolicy ['int mode', 'const unsigned long __user *nmask', 'unsigned long maxnode'] case 276: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_set_mempolicy_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2674,10 +2674,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 277 long sys_mq_open ['const char __user *name', 'int oflag', 'umode_t mode', 'struct mq_attr __user *attr'] case 277: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mq_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2688,7 +2688,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 278 long sys_mq_unlink ['const char __user *name'] case 278: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_mq_unlink_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2696,11 +2696,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 279 long sys_mq_timedsend ['mqd_t mqdes', 'const char __user *msg_ptr', 'size_t msg_len', 'unsigned int msg_prio', 'const struct timespec __user *abs_timeout'] case 279: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedsend_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2712,11 +2712,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 280 long sys_mq_timedreceive ['mqd_t mqdes', 'char __user *msg_ptr', 'size_t msg_len', 'unsigned int __user *msg_prio', 'const struct timespec __user *abs_timeout'] case 280: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_mq_timedreceive_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2728,8 +2728,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 281 long sys_mq_notify ['mqd_t mqdes', 'const struct sigevent __user *notification'] case 281: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_mq_notify_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2738,9 +2738,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 282 long sys_mq_getsetattr ['mqd_t mqdes', 'const struct mq_attr __user *mqstat', 'struct mq_attr __user *omqstat'] case 282: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mq_getsetattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2750,10 +2750,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 283 long sys_kexec_load ['unsigned long entry', 'unsigned long nr_segments', 'struct kexec_segment __user *segments', 'unsigned long flags'] case 283: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_kexec_load_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2764,11 +2764,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 284 long sys_waitid ['int which', 'pid_t pid', 'struct siginfo __user *infop', 'int options', 'struct rusage __user *ru'] case 284: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - int32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_waitid_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2780,11 +2780,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 286 long sys_add_key ['const char __user *_type', 'const char __user *_description', 'const void __user *_payload', 'size_t plen', 'key_serial_t destringid'] case 286: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_add_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2796,10 +2796,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 287 long sys_request_key ['const char __user *_type', 'const char __user *_description', 'const char __user *_callout_info', 'key_serial_t destringid'] case 287: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_request_key_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2810,11 +2810,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 288 long sys_keyctl ['int cmd', 'unsigned long arg2', 'unsigned long arg3', 'unsigned long arg4', 'unsigned long arg5'] case 288: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_keyctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2826,9 +2826,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 289 long sys_ioprio_set ['int which', 'int who', 'int ioprio'] case 289: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_ioprio_set_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2838,8 +2838,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 290 long sys_ioprio_get ['int which', 'int who'] case 290: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_ioprio_get_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2854,9 +2854,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 292 long sys_inotify_add_watch ['int fd', 'const char __user *path', 'u32 mask'] case 292: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_inotify_add_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2866,8 +2866,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 293 long sys_inotify_rm_watch ['int fd', '__s32 wd'] case 293: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_inotify_rm_watch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2876,10 +2876,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 294 long sys_migrate_pages ['pid_t pid', 'unsigned long maxnode', 'const unsigned long __user *from', 'const unsigned long __user *to'] case 294: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_migrate_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2890,10 +2890,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 295 long sys_openat ['int dfd', 'const char __user *filename', 'int flags', 'umode_t mode'] case 295: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_openat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2904,9 +2904,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 296 long sys_mkdirat ['int dfd', 'const char __user *pathname', 'umode_t mode'] case 296: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mkdirat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2916,10 +2916,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 297 long sys_mknodat ['int dfd', 'const char __user *filename', 'umode_t mode', 'unsigned dev'] case 297: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_mknodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2930,11 +2930,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 298 long sys_fchownat ['int dfd', 'const char __user *filename', 'uid_t user', 'gid_t group', 'int flag'] case 298: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fchownat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2946,9 +2946,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 299 long sys_futimesat ['int dfd', 'const char __user *filename', 'struct timeval __user *utimes'] case 299: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_futimesat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2958,10 +2958,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 300 long sys_fstatat64 ['int dfd', 'const char __user *filename', 'struct stat64 __user *statbuf', 'int flag'] case 300: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fstatat64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2972,9 +2972,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 301 long sys_unlinkat ['int dfd', 'const char __user *pathname', 'int flag'] case 301: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_unlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2984,10 +2984,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 302 long sys_renameat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 302: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_renameat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2998,11 +2998,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 303 long sys_linkat ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'int flags'] case 303: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_linkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3014,9 +3014,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 304 long sys_symlinkat ['const char __user *oldname', 'int newdfd', 'const char __user *newname'] case 304: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_symlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3026,10 +3026,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 305 long sys_readlinkat ['int dfd', 'const char __user *path', 'char __user *buf', 'int bufsiz'] case 305: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_readlinkat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3040,9 +3040,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 306 long sys_fchmodat ['int dfd', 'const char __user *filename', 'umode_t mode'] case 306: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_fchmodat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3052,9 +3052,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 307 long sys_faccessat ['int dfd', 'const char __user *filename', 'int mode'] case 307: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_faccessat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3064,12 +3064,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 308 long sys_pselect6 ['int', 'fd_set __user *', 'fd_set __user *', 'fd_set __user *', 'struct timespec __user *', 'void __user *'] case 308: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pselect6_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3082,11 +3082,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 309 long sys_ppoll ['struct pollfd __user *', 'unsigned int', 'struct timespec __user *', 'const sigset_t __user *', 'size_t'] case 309: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_ppoll_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3098,7 +3098,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 310 long sys_unshare ['unsigned long unshare_flags'] case 310: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_unshare_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3106,8 +3106,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 311 long sys_set_robust_list ['struct robust_list_head __user *head', 'size_t len'] case 311: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_set_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3116,9 +3116,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 312 long sys_get_robust_list ['int pid', 'struct robust_list_head __user * __user *head_ptr', 'size_t __user *len_ptr'] case 312: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_get_robust_list_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3128,12 +3128,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 313 long sys_splice ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 313: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_splice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3146,10 +3146,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 314 long sys_sync_file_range ['int fd', 'loff_t offset', 'loff_t nbytes', 'unsigned int flags'] case 314: { - int32_t arg0; - uint64_t arg1; - uint64_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint64_t arg1 = 0; + uint64_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sync_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint64_t)); @@ -3160,10 +3160,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 315 long sys_tee ['int fdin', 'int fdout', 'size_t len', 'unsigned int flags'] case 315: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_tee_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3174,10 +3174,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 316 long sys_vmsplice ['int fd', 'const struct iovec __user *iov', 'unsigned long nr_segs', 'unsigned int flags'] case 316: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_vmsplice_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3188,12 +3188,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 317 long sys_move_pages ['pid_t pid', 'unsigned long nr_pages', 'const void __user * __user *pages', 'const int __user *nodes', 'int __user *status', 'int flags'] case 317: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_move_pages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3206,9 +3206,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 318 long sys_getcpu ['unsigned __user *cpu', 'unsigned __user *node', 'struct getcpu_cache __user *cache'] case 318: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getcpu_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3218,12 +3218,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 319 long sys_epoll_pwait ['int epfd', 'struct epoll_event __user *events', 'int maxevents', 'int timeout', 'const sigset_t __user *sigmask', 'size_t sigsetsize'] case 319: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - int32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_epoll_pwait_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3236,10 +3236,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 320 long sys_utimensat ['int dfd', 'const char __user *filename', 'struct timespec __user *utimes', 'int flags'] case 320: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_utimensat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3250,9 +3250,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 321 long sys_signalfd ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask'] case 321: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_signalfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3262,8 +3262,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 322 long sys_timerfd_create ['int clockid', 'int flags'] case 322: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3272,7 +3272,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 323 long sys_eventfd ['unsigned int count'] case 323: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_eventfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3280,10 +3280,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 324 long sys_fallocate ['int fd', 'int mode', 'loff_t offset', 'loff_t len'] case 324: { - int32_t arg0; - int32_t arg1; - uint64_t arg2; - uint64_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint64_t arg2 = 0; + uint64_t arg3 = 0; if (PPP_CHECK_CB(on_sys_fallocate_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3294,10 +3294,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 325 long sys_timerfd_settime ['int ufd', 'int flags', 'const struct itimerspec __user *utmr', 'struct itimerspec __user *otmr'] case 325: { - int32_t arg0; - int32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_timerfd_settime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3308,8 +3308,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 326 long sys_timerfd_gettime ['int ufd', 'struct itimerspec __user *otmr'] case 326: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_timerfd_gettime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3318,10 +3318,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 327 long sys_signalfd4 ['int ufd', 'sigset_t __user *user_mask', 'size_t sizemask', 'int flags'] case 327: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_signalfd4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3332,8 +3332,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 328 long sys_eventfd2 ['unsigned int count', 'int flags'] case 328: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_eventfd2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3342,7 +3342,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 329 long sys_epoll_create1 ['int flags'] case 329: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_epoll_create1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3350,9 +3350,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 330 long sys_dup3 ['unsigned int oldfd', 'unsigned int newfd', 'int flags'] case 330: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_dup3_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3362,8 +3362,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 331 long sys_pipe2 ['int __user *fildes', 'int flags'] case 331: { - uint32_t arg0; - int32_t arg1; + uint32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pipe2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3372,7 +3372,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 332 long sys_inotify_init1 ['int flags'] case 332: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_inotify_init1_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3380,11 +3380,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 333 long sys_preadv ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 333: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_preadv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3396,11 +3396,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 334 long sys_pwritev ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h'] case 334: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_pwritev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3412,10 +3412,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 335 long sys_rt_tgsigqueueinfo ['pid_t tgid', 'pid_t pid', 'int sig', 'siginfo_t __user *uinfo'] case 335: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_rt_tgsigqueueinfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3426,11 +3426,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 336 long sys_perf_event_open ['struct perf_event_attr __user *attr_uptr', 'pid_t pid', 'int cpu', 'int group_fd', 'unsigned long flags'] case 336: { - uint32_t arg0; - int32_t arg1; - int32_t arg2; - int32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_perf_event_open_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3442,11 +3442,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 337 long sys_recvmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags', 'struct timespec __user *timeout'] case 337: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_recvmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3458,8 +3458,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 338 long sys_fanotify_init ['unsigned int flags', 'unsigned int event_f_flags'] case 338: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_fanotify_init_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3468,11 +3468,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 339 long sys_fanotify_mark ['int fanotify_fd', 'unsigned int flags', 'u64 mask', 'int fd', 'const char __user *pathname'] case 339: { - int32_t arg0; - uint32_t arg1; - uint64_t arg2; - int32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint64_t arg2 = 0; + int32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_fanotify_mark_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3484,10 +3484,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 340 long sys_prlimit64 ['pid_t pid', 'unsigned int resource', 'const struct rlimit64 __user *new_rlim', 'struct rlimit64 __user *old_rlim'] case 340: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_prlimit64_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3498,11 +3498,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 341 long sys_name_to_handle_at ['int dfd', 'const char __user *name', 'struct file_handle __user *handle', 'int __user *mnt_id', 'int flag'] case 341: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_name_to_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3514,9 +3514,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 342 long sys_open_by_handle_at ['int mountdirfd', 'struct file_handle __user *handle', 'int flags'] case 342: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_open_by_handle_at_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3526,8 +3526,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 343 long sys_clock_adjtime ['clockid_t which_clock', 'struct timex __user *tx'] case 343: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_clock_adjtime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3536,7 +3536,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 344 long sys_syncfs ['int fd'] case 344: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_syncfs_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3544,10 +3544,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 345 long sys_sendmmsg ['int fd', 'struct mmsghdr __user *msg', 'unsigned int vlen', 'unsigned flags'] case 345: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sendmmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3558,8 +3558,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 346 long sys_setns ['int fd', 'int nstype'] case 346: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_setns_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3568,12 +3568,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 347 long sys_process_vm_readv ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 347: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_readv_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3586,12 +3586,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 348 long sys_process_vm_writev ['pid_t pid', 'const struct iovec __user *lvec', 'unsigned long liovcnt', 'const struct iovec __user *rvec', 'unsigned long riovcnt', 'unsigned long flags'] case 348: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_process_vm_writev_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3604,11 +3604,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 349 long sys_kcmp ['pid_t pid1', 'pid_t pid2', 'int type', 'unsigned long idx1', 'unsigned long idx2'] case 349: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_kcmp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3620,9 +3620,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 350 long sys_finit_module ['int fd', 'const char __user *uargs', 'int flags'] case 350: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_finit_module_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3632,9 +3632,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 351 long sys_sched_setattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int flags'] case 351: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sched_setattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3644,10 +3644,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 352 long sys_sched_getattr ['pid_t pid', 'struct sched_attr __user *attr', 'unsigned int size', 'unsigned int flags'] case 352: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_sched_getattr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3658,11 +3658,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 353 long sys_renameat2 ['int olddfd', 'const char __user *oldname', 'int newdfd', 'const char __user *newname', 'unsigned int flags'] case 353: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_renameat2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3674,9 +3674,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 354 long sys_seccomp ['unsigned int op', 'unsigned int flags', 'const char __user *uargs'] case 354: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_seccomp_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3686,9 +3686,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 355 long sys_getrandom ['char __user *buf', 'size_t count', 'unsigned int flags'] case 355: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getrandom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3698,8 +3698,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 356 long sys_memfd_create ['const char __user *uname_ptr', 'unsigned int flags'] case 356: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_memfd_create_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3708,9 +3708,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 357 long sys_bpf ['int cmd', 'union bpf_attr *attr', 'unsigned int size'] case 357: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bpf_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3720,11 +3720,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 358 long sys_execveat ['int dfd', 'const char __user *filename', 'const char __user *const __user *argv', 'const char __user *const __user *envp', 'int flags'] case 358: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_execveat_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3736,9 +3736,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 359 long sys_socket ['int', 'int', 'int'] case 359: { - int32_t arg0; - int32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_socket_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3748,10 +3748,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 360 long sys_socketpair ['int', 'int', 'int', 'int __user *'] case 360: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_socketpair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3762,9 +3762,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 361 long sys_bind ['int', 'struct sockaddr __user *', 'int'] case 361: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_bind_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3774,9 +3774,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 362 long sys_connect ['int', 'struct sockaddr __user *', 'int'] case 362: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_connect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3786,8 +3786,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 363 long sys_listen ['int', 'int'] case 363: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_listen_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3796,10 +3796,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 364 long sys_accept4 ['int', 'struct sockaddr __user *', 'int __user *', 'int'] case 364: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_accept4_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3810,11 +3810,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 365 long sys_getsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int __user *optlen'] case 365: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_getsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3826,11 +3826,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 366 long sys_setsockopt ['int fd', 'int level', 'int optname', 'char __user *optval', 'int optlen'] case 366: { - int32_t arg0; - int32_t arg1; - int32_t arg2; - uint32_t arg3; - int32_t arg4; + int32_t arg0 = 0; + int32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_setsockopt_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3842,9 +3842,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 367 long sys_getsockname ['int', 'struct sockaddr __user *', 'int __user *'] case 367: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getsockname_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3854,9 +3854,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 368 long sys_getpeername ['int', 'struct sockaddr __user *', 'int __user *'] case 368: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_getpeername_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3866,12 +3866,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 369 long sys_sendto ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int'] case 369: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_sendto_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3884,9 +3884,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 370 long sys_sendmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 370: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_sendmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3896,12 +3896,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 371 long sys_recvfrom ['int', 'void __user *', 'size_t', 'unsigned', 'struct sockaddr __user *', 'int __user *'] case 371: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_recvfrom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3914,9 +3914,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 372 long sys_recvmsg ['int fd', 'struct user_msghdr __user *msg', 'unsigned flags'] case 372: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_recvmsg_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3926,8 +3926,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 373 long sys_shutdown ['int', 'int'] case 373: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_shutdown_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3936,7 +3936,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 374 long sys_userfaultfd ['int flags'] case 374: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_userfaultfd_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -3944,8 +3944,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 375 long sys_membarrier ['int cmd', 'int flags'] case 375: { - int32_t arg0; - int32_t arg1; + int32_t arg0 = 0; + int32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_membarrier_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -3954,9 +3954,9 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 376 long sys_mlock2 ['unsigned long start', 'size_t len', 'int flags'] case 376: { - uint32_t arg0; - uint32_t arg1; - int32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; if (PPP_CHECK_CB(on_sys_mlock2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3966,12 +3966,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 377 long sys_copy_file_range ['int fd_in', 'loff_t __user *off_in', 'int fd_out', 'loff_t __user *off_out', 'size_t len', 'unsigned int flags'] case 377: { - int32_t arg0; - uint32_t arg1; - int32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + int32_t arg0 = 0; + uint32_t arg1 = 0; + int32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_copy_file_range_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3984,12 +3984,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 378 long sys_preadv2 ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 378: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_preadv2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4002,12 +4002,12 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 379 long sys_pwritev2 ['unsigned long fd', 'const struct iovec __user *vec', 'unsigned long vlen', 'unsigned long pos_l', 'unsigned long pos_h', 'rwf_t flags'] case 379: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_sys_pwritev2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4020,10 +4020,10 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 380 long sys_pkey_mprotect ['unsigned long start', 'size_t len', 'unsigned long prot', 'int pkey'] case 380: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; if (PPP_CHECK_CB(on_sys_pkey_mprotect_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4034,8 +4034,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 381 long sys_pkey_alloc ['unsigned long flags', 'unsigned long init_val'] case 381: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_pkey_alloc_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4044,7 +4044,7 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 382 long sys_pkey_free ['int pkey'] case 382: { - int32_t arg0; + int32_t arg0 = 0; if (PPP_CHECK_CB(on_sys_pkey_free_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); } @@ -4052,11 +4052,11 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 383 long sys_statx ['int dfd', 'const char __user *path', 'unsigned flags', 'unsigned mask', 'struct statx __user *buffer'] case 383: { - int32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + int32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_sys_statx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4068,8 +4068,8 @@ void syscall_return_switch_linux_x86(CPUState *cpu, target_ptr_t pc, const sysca }; break; // 384 long sys_arch_prctl ['int', 'unsigned long'] case 384: { - int32_t arg0; - uint32_t arg1; + int32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_sys_arch_prctl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(int32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_2000_x86.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_2000_x86.cpp index 35530160051..c4c2c2f7ebf 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_2000_x86.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_2000_x86.cpp @@ -18,12 +18,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons switch (ctx->no) { // 0 NTSTATUS NtAcceptConnectPort ['PHANDLE PortHandle', 'PVOID PortContext', 'PPORT_MESSAGE ConnectionRequest', 'BOOLEAN AcceptConnection', 'PPORT_VIEW ServerView', 'PREMOTE_PORT_VIEW ClientView'] case 0: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAcceptConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -36,14 +36,14 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 1 NTSTATUS NtAccessCheck ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 1: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtAccessCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -58,17 +58,17 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 2 NTSTATUS NtAccessCheckAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 2: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -86,17 +86,17 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 3 NTSTATUS NtAccessCheckByType ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 3: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByType_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -114,22 +114,22 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 4 NTSTATUS NtAccessCheckByTypeAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 4: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -152,17 +152,17 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 5 NTSTATUS NtAccessCheckByTypeResultList ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 5: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultList_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -180,22 +180,22 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 6 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 6: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -218,23 +218,23 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 7 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarmByHandle ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 7: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; - uint32_t arg16; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; + uint32_t arg16 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -258,9 +258,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 8 NTSTATUS NtAddAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 8: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAddAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -270,12 +270,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 9 NTSTATUS NtAdjustGroupsToken ['HANDLE TokenHandle', 'BOOLEAN ResetToDefault', 'PTOKEN_GROUPS NewState', 'ULONG BufferLength', 'PTOKEN_GROUPS PreviousState', 'PULONG ReturnLength'] case 9: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustGroupsToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -288,12 +288,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 10 NTSTATUS NtAdjustPrivilegesToken ['HANDLE TokenHandle', 'BOOLEAN DisableAllPrivileges', 'PTOKEN_PRIVILEGES NewState', 'ULONG BufferLength', 'PTOKEN_PRIVILEGES PreviousState', 'PULONG ReturnLength'] case 10: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustPrivilegesToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -306,8 +306,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 11 NTSTATUS NtAlertResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 11: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAlertResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -316,7 +316,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 12 NTSTATUS NtAlertThread ['HANDLE ThreadHandle'] case 12: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAlertThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -324,7 +324,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 13 NTSTATUS NtAllocateLocallyUniqueId ['PLUID Luid'] case 13: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAllocateLocallyUniqueId_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -332,9 +332,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 14 NTSTATUS NtAllocateUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 14: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAllocateUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -344,10 +344,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 15 NTSTATUS NtAllocateUuids ['PULARGE_INTEGER Time', 'PULONG Range', 'PULONG Sequence', 'PCHAR Seed'] case 15: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtAllocateUuids_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -358,12 +358,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 16 NTSTATUS NtAllocateVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'PSIZE_T RegionSize', 'ULONG AllocationType', 'ULONG Protect'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAllocateVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -376,8 +376,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 17 NTSTATUS NtAreMappedFilesTheSame ['PVOID File1MappedAsAnImage', 'PVOID File2MappedAsFile'] case 17: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAreMappedFilesTheSame_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -386,8 +386,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 18 NTSTATUS NtAssignProcessToJobObject ['HANDLE JobHandle', 'HANDLE ProcessHandle'] case 18: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAssignProcessToJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -396,9 +396,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 19 NTSTATUS NtCallbackReturn ['PVOID OutputBuffer', 'ULONG OutputLength', 'NTSTATUS Status'] case 19: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCallbackReturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -408,8 +408,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 20 NTSTATUS NtCancelIoFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 20: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelIoFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -418,8 +418,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 21 NTSTATUS NtCancelTimer ['HANDLE TimerHandle', 'PBOOLEAN CurrentState'] case 21: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -428,7 +428,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 23 NTSTATUS NtClearEvent ['HANDLE EventHandle'] case 23: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClearEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -436,7 +436,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 24 NTSTATUS NtClose ['HANDLE Handle'] case 24: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClose_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -444,9 +444,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 25 NTSTATUS NtCloseObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 25: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCloseObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -456,7 +456,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 26 NTSTATUS NtCompleteConnectPort ['HANDLE PortHandle'] case 26: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompleteConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -464,14 +464,14 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 27 NTSTATUS NtConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 27: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -486,8 +486,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 28 NTSTATUS NtContinue ['PCONTEXT ContextRecord', 'BOOLEAN TestAlert'] case 28: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -496,9 +496,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 29 NTSTATUS NtCreateDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 29: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -508,11 +508,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 30 NTSTATUS NtCreateEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'EVENT_TYPE EventType', 'BOOLEAN InitialState'] case 30: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -524,9 +524,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 31 NTSTATUS NtCreateEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 31: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -536,17 +536,17 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 32 NTSTATUS NtCreateFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER AllocationSize', 'ULONG FileAttributes', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'PVOID EaBuffer', 'ULONG EaLength'] case 32: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtCreateFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -564,10 +564,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 33 NTSTATUS NtCreateIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Count'] case 33: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -578,9 +578,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 34 NTSTATUS NtCreateJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 34: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -590,13 +590,13 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 35 NTSTATUS NtCreateKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG TitleIndex', 'PUNICODE_STRING Class', 'ULONG CreateOptions', 'PULONG Disposition'] case 35: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -610,14 +610,14 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 36 NTSTATUS NtCreateMailslotFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CreateOptions', 'ULONG MailslotQuota', 'ULONG MaximumMessageSize', 'PLARGE_INTEGER ReadTimeout'] case 36: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateMailslotFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -632,10 +632,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 37 NTSTATUS NtCreateMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN InitialOwner'] case 37: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -646,20 +646,20 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 38 NTSTATUS NtCreateNamedPipeFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'ULONG NamedPipeType', 'ULONG ReadMode', 'ULONG CompletionMode', 'ULONG MaximumInstances', 'ULONG InboundQuota', 'ULONG OutboundQuota', 'PLARGE_INTEGER DefaultTimeout'] case 38: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; if (PPP_CHECK_CB(on_NtCreateNamedPipeFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -680,10 +680,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 39 NTSTATUS NtCreatePagingFile ['PUNICODE_STRING PageFileName', 'PLARGE_INTEGER MinimumSize', 'PLARGE_INTEGER MaximumSize', 'ULONG Priority'] case 39: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreatePagingFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -694,11 +694,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 40 NTSTATUS NtCreatePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 40: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -710,14 +710,14 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 41 NTSTATUS NtCreateProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'BOOLEAN InheritObjectTable', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort'] case 41: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -732,15 +732,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 42 NTSTATUS NtCreateProfile ['PHANDLE ProfileHandle', 'HANDLE Process', 'PVOID RangeBase', 'SIZE_T RangeSize', 'ULONG BucketSize', 'PULONG Buffer', 'ULONG BufferSize', 'KPROFILE_SOURCE ProfileSource', 'KAFFINITY Affinity'] case 42: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -756,13 +756,13 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 43 NTSTATUS NtCreateSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PLARGE_INTEGER MaximumSize', 'ULONG SectionPageProtection', 'ULONG AllocationAttributes', 'HANDLE FileHandle'] case 43: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -776,11 +776,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 44 NTSTATUS NtCreateSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'LONG InitialCount', 'LONG MaximumCount'] case 44: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -792,10 +792,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 45 NTSTATUS NtCreateSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PUNICODE_STRING LinkTarget'] case 45: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -806,14 +806,14 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 46 NTSTATUS NtCreateThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ProcessHandle', 'PCLIENT_ID ClientId', 'PCONTEXT ThreadContext', 'PINITIAL_TEB InitialTeb', 'BOOLEAN CreateSuspended'] case 46: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -828,10 +828,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 47 NTSTATUS NtCreateTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TIMER_TYPE TimerType'] case 47: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -842,19 +842,19 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 48 NTSTATUS NtCreateToken ['PHANDLE TokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TOKEN_TYPE TokenType', 'PLUID AuthenticationId', 'PLARGE_INTEGER ExpirationTime', 'PTOKEN_USER User', 'PTOKEN_GROUPS Groups', 'PTOKEN_PRIVILEGES Privileges', 'PTOKEN_OWNER Owner', 'PTOKEN_PRIMARY_GROUP PrimaryGroup', 'PTOKEN_DEFAULT_DACL DefaultDacl', 'PTOKEN_SOURCE TokenSource'] case 48: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; if (PPP_CHECK_CB(on_NtCreateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -874,11 +874,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 49 NTSTATUS NtCreateWaitablePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 49: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateWaitablePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -890,8 +890,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 50 NTSTATUS NtDelayExecution ['BOOLEAN Alertable', 'PLARGE_INTEGER DelayInterval'] case 50: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDelayExecution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -900,7 +900,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 51 NTSTATUS NtDeleteAtom ['RTL_ATOM Atom'] case 51: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -908,7 +908,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 52 NTSTATUS NtDeleteFile ['POBJECT_ATTRIBUTES ObjectAttributes'] case 52: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -916,7 +916,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 53 NTSTATUS NtDeleteKey ['HANDLE KeyHandle'] case 53: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -924,9 +924,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 54 NTSTATUS NtDeleteObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 54: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDeleteObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -936,8 +936,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 55 NTSTATUS NtDeleteValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName'] case 55: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDeleteValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -946,16 +946,16 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 56 NTSTATUS NtDeviceIoControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 56: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtDeviceIoControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -972,7 +972,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 57 NTSTATUS NtDisplayString ['PUNICODE_STRING String'] case 57: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDisplayString_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -980,13 +980,13 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 58 NTSTATUS NtDuplicateObject ['HANDLE SourceProcessHandle', 'HANDLE SourceHandle', 'HANDLE TargetProcessHandle', 'PHANDLE TargetHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'ULONG Options'] case 58: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtDuplicateObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1000,12 +1000,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 59 NTSTATUS NtDuplicateToken ['HANDLE ExistingTokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN EffectiveOnly', 'TOKEN_TYPE TokenType', 'PHANDLE NewTokenHandle'] case 59: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtDuplicateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1018,12 +1018,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 60 NTSTATUS NtEnumerateKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 60: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1036,12 +1036,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 61 NTSTATUS NtEnumerateValueKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 61: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1054,8 +1054,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 62 NTSTATUS NtExtendSection ['HANDLE SectionHandle', 'PLARGE_INTEGER NewSectionSize'] case 62: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtExtendSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1064,12 +1064,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 63 NTSTATUS NtFilterToken ['HANDLE ExistingTokenHandle', 'ULONG Flags', 'PTOKEN_GROUPS SidsToDisable', 'PTOKEN_PRIVILEGES PrivilegesToDelete', 'PTOKEN_GROUPS RestrictedSids', 'PHANDLE NewTokenHandle'] case 63: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtFilterToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1082,9 +1082,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 64 NTSTATUS NtFindAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 64: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFindAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1094,8 +1094,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 65 NTSTATUS NtFlushBuffersFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 65: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtFlushBuffersFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1104,9 +1104,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 66 NTSTATUS NtFlushInstructionCache ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T Length'] case 66: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFlushInstructionCache_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1116,7 +1116,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 67 NTSTATUS NtFlushKey ['HANDLE KeyHandle'] case 67: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtFlushKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1124,10 +1124,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 68 NTSTATUS NtFlushVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'PIO_STATUS_BLOCK IoStatus'] case 68: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFlushVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1144,9 +1144,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 70 NTSTATUS NtFreeUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 70: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFreeUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1156,10 +1156,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 71 NTSTATUS NtFreeVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG FreeType'] case 71: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFreeVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1170,16 +1170,16 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 72 NTSTATUS NtFsControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 72: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtFsControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1196,8 +1196,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 73 NTSTATUS NtGetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 73: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1206,8 +1206,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 74 NTSTATUS NtGetDevicePowerState ['HANDLE Device', 'DEVICE_POWER_STATE *State'] case 74: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetDevicePowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1216,10 +1216,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 75 NTSTATUS NtGetPlugPlayEvent ['HANDLE EventHandle', 'PVOID Context', 'PPLUGPLAY_EVENT_BLOCK EventBlock', 'ULONG EventBufferSize'] case 75: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtGetPlugPlayEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1230,13 +1230,13 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 77 NTSTATUS NtGetWriteWatch ['HANDLE ProcessHandle', 'ULONG Flags', 'PVOID BaseAddress', 'SIZE_T RegionSize', 'PVOID *UserAddressArray', 'PULONG_PTR EntriesInUserAddressArray', 'PULONG Granularity'] case 77: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtGetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1250,7 +1250,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 78 NTSTATUS NtImpersonateAnonymousToken ['HANDLE ThreadHandle'] case 78: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtImpersonateAnonymousToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1258,8 +1258,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 79 NTSTATUS NtImpersonateClientOfPort ['HANDLE PortHandle', 'PPORT_MESSAGE Message'] case 79: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtImpersonateClientOfPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1268,9 +1268,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 80 NTSTATUS NtImpersonateThread ['HANDLE ServerThreadHandle', 'HANDLE ClientThreadHandle', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos'] case 80: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtImpersonateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1280,7 +1280,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 81 NTSTATUS NtInitializeRegistry ['USHORT BootCondition'] case 81: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtInitializeRegistry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1288,10 +1288,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 82 NTSTATUS NtInitiatePowerAction ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags', 'BOOLEAN Asynchronous'] case 82: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtInitiatePowerAction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1308,8 +1308,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 84 NTSTATUS NtListenPort ['HANDLE PortHandle', 'PPORT_MESSAGE ConnectionRequest'] case 84: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtListenPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1318,7 +1318,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 85 NTSTATUS NtLoadDriver ['PUNICODE_STRING DriverServiceName'] case 85: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLoadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1326,8 +1326,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 86 NTSTATUS NtLoadKey ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile'] case 86: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLoadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1336,9 +1336,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 87 NTSTATUS NtLoadKey2 ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile', 'ULONG Flags'] case 87: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtLoadKey2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1348,16 +1348,16 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 88 NTSTATUS NtLockFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key', 'BOOLEAN FailImmediately', 'BOOLEAN ExclusiveLock'] case 88: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtLockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1374,10 +1374,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 89 NTSTATUS NtLockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 89: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtLockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1388,7 +1388,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 90 NTSTATUS NtMakeTemporaryObject ['HANDLE Handle'] case 90: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakeTemporaryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1396,9 +1396,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 91 NTSTATUS NtMapUserPhysicalPages ['PVOID VirtualAddress', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 91: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1408,9 +1408,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 92 NTSTATUS NtMapUserPhysicalPagesScatter ['PVOID *VirtualAddresses', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 92: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPagesScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1420,16 +1420,16 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 93 NTSTATUS NtMapViewOfSection ['HANDLE SectionHandle', 'HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'SIZE_T CommitSize', 'PLARGE_INTEGER SectionOffset', 'PSIZE_T ViewSize', 'SECTION_INHERIT InheritDisposition', 'ULONG AllocationType', 'WIN32_PROTECTION_MASK Win32Protect'] case 93: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtMapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1446,15 +1446,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 94 NTSTATUS NtNotifyChangeDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'ULONG CompletionFilter', 'BOOLEAN WatchTree'] case 94: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1470,16 +1470,16 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 95 NTSTATUS NtNotifyChangeKey ['HANDLE KeyHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 95: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1496,18 +1496,18 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 96 NTSTATUS NtNotifyChangeMultipleKeys ['HANDLE MasterKeyHandle', 'ULONG Count', 'OBJECT_ATTRIBUTES SlaveObjects[]', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 96: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeMultipleKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1526,9 +1526,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 97 NTSTATUS NtOpenDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 97: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1538,9 +1538,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 98 NTSTATUS NtOpenEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 98: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1550,9 +1550,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 99 NTSTATUS NtOpenEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 99: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1562,12 +1562,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 100 NTSTATUS NtOpenFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG OpenOptions'] case 100: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtOpenFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1580,9 +1580,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 101 NTSTATUS NtOpenIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 101: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1592,9 +1592,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 102 NTSTATUS NtOpenJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 102: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1604,9 +1604,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 103 NTSTATUS NtOpenKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 103: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1616,9 +1616,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 104 NTSTATUS NtOpenMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 104: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1628,18 +1628,18 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 105 NTSTATUS NtOpenObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'ACCESS_MASK GrantedAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN ObjectCreation', 'BOOLEAN AccessGranted', 'PBOOLEAN GenerateOnClose'] case 105: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtOpenObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1658,10 +1658,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 106 NTSTATUS NtOpenProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 106: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1672,9 +1672,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 107 NTSTATUS NtOpenProcessToken ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'PHANDLE TokenHandle'] case 107: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenProcessToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1684,9 +1684,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 108 NTSTATUS NtOpenSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 108: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1696,9 +1696,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 109 NTSTATUS NtOpenSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 109: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1708,9 +1708,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 110 NTSTATUS NtOpenSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 110: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1720,10 +1720,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 111 NTSTATUS NtOpenThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 111: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1734,10 +1734,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 112 NTSTATUS NtOpenThreadToken ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'PHANDLE TokenHandle'] case 112: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThreadToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1748,9 +1748,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 113 NTSTATUS NtOpenTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 113: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1760,9 +1760,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 114 NTSTATUS NtPlugPlayControl ['PLUGPLAY_CONTROL_CLASS PnPControlClass', 'PVOID PnPControlData', 'ULONG PnPControlDataLength'] case 114: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPlugPlayControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1772,11 +1772,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 115 NTSTATUS NtPowerInformation ['POWER_INFORMATION_LEVEL InformationLevel', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 115: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPowerInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1788,9 +1788,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 116 NTSTATUS NtPrivilegeCheck ['HANDLE ClientToken', 'PPRIVILEGE_SET RequiredPrivileges', 'PBOOLEAN Result'] case 116: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPrivilegeCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1800,11 +1800,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 117 NTSTATUS NtPrivilegedServiceAuditAlarm ['PUNICODE_STRING SubsystemName', 'PUNICODE_STRING ServiceName', 'HANDLE ClientToken', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 117: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPrivilegedServiceAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1816,12 +1816,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 118 NTSTATUS NtPrivilegeObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 118: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtPrivilegeObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1834,11 +1834,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 119 NTSTATUS NtProtectVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'WIN32_PROTECTION_MASK NewProtectWin32', 'PULONG OldProtect'] case 119: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtProtectVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1850,8 +1850,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 120 NTSTATUS NtPulseEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 120: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPulseEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1860,11 +1860,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 121 NTSTATUS NtQueryInformationAtom ['RTL_ATOM Atom', 'ATOM_INFORMATION_CLASS InformationClass', 'PVOID AtomInformation', 'ULONG AtomInformationLength', 'PULONG ReturnLength'] case 121: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1876,8 +1876,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 122 NTSTATUS NtQueryAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_BASIC_INFORMATION FileInformation'] case 122: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1886,8 +1886,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 123 NTSTATUS NtQueryDefaultLocale ['BOOLEAN UserProfile', 'PLCID DefaultLocaleId'] case 123: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1896,7 +1896,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 124 NTSTATUS NtQueryDefaultUILanguage ['LANGID *DefaultUILanguageId'] case 124: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1904,17 +1904,17 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 125 NTSTATUS NtQueryDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass', 'BOOLEAN ReturnSingleEntry', 'PUNICODE_STRING FileName', 'BOOLEAN RestartScan'] case 125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1932,13 +1932,13 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 126 NTSTATUS NtQueryDirectoryObject ['HANDLE DirectoryHandle', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'BOOLEAN RestartScan', 'PULONG Context', 'PULONG ReturnLength'] case 126: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1952,15 +1952,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 127 NTSTATUS NtQueryEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID EaList', 'ULONG EaListLength', 'PULONG EaIndex', 'BOOLEAN RestartScan'] case 127: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1976,11 +1976,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 128 NTSTATUS NtQueryEvent ['HANDLE EventHandle', 'EVENT_INFORMATION_CLASS EventInformationClass', 'PVOID EventInformation', 'ULONG EventInformationLength', 'PULONG ReturnLength'] case 128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1992,8 +1992,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 129 NTSTATUS NtQueryFullAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_NETWORK_OPEN_INFORMATION FileInformation'] case 129: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryFullAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2002,11 +2002,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 130 NTSTATUS NtQueryInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 130: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2018,11 +2018,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 131 NTSTATUS NtQueryInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength', 'PULONG ReturnLength'] case 131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2034,11 +2034,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 132 NTSTATUS NtQueryIoCompletion ['HANDLE IoCompletionHandle', 'IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass', 'PVOID IoCompletionInformation', 'ULONG IoCompletionInformationLength', 'PULONG ReturnLength'] case 132: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2050,11 +2050,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 133 NTSTATUS NtQueryInformationPort ['HANDLE PortHandle', 'PORT_INFORMATION_CLASS PortInformationClass', 'PVOID PortInformation', 'ULONG Length', 'PULONG ReturnLength'] case 133: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2066,11 +2066,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 134 NTSTATUS NtQueryInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength', 'PULONG ReturnLength'] case 134: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2082,11 +2082,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 135 NTSTATUS NtQueryInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength', 'PULONG ReturnLength'] case 135: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2098,11 +2098,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 136 NTSTATUS NtQueryInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength', 'PULONG ReturnLength'] case 136: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2114,7 +2114,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 137 NTSTATUS NtQueryInstallUILanguage ['LANGID *InstallUILanguageId'] case 137: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryInstallUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2122,8 +2122,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 138 NTSTATUS NtQueryIntervalProfile ['KPROFILE_SOURCE ProfileSource', 'PULONG Interval'] case 138: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2132,11 +2132,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 139 NTSTATUS NtQueryKey ['HANDLE KeyHandle', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 139: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2148,12 +2148,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 140 NTSTATUS NtQueryMultipleValueKey ['HANDLE KeyHandle', 'PKEY_VALUE_ENTRY ValueEntries', 'ULONG EntryCount', 'PVOID ValueBuffer', 'PULONG BufferLength', 'PULONG RequiredBufferLength'] case 140: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryMultipleValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2166,11 +2166,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 141 NTSTATUS NtQueryMutant ['HANDLE MutantHandle', 'MUTANT_INFORMATION_CLASS MutantInformationClass', 'PVOID MutantInformation', 'ULONG MutantInformationLength', 'PULONG ReturnLength'] case 141: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2182,11 +2182,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 142 NTSTATUS NtQueryObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength', 'PULONG ReturnLength'] case 142: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2198,8 +2198,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 143 NTSTATUS NtQueryOpenSubKeys ['POBJECT_ATTRIBUTES TargetKey', 'PULONG HandleCount'] case 143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryOpenSubKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2208,8 +2208,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 144 NTSTATUS NtQueryPerformanceCounter ['PLARGE_INTEGER PerformanceCounter', 'PLARGE_INTEGER PerformanceFrequency'] case 144: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryPerformanceCounter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2218,15 +2218,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 145 NTSTATUS NtQueryQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID SidList', 'ULONG SidListLength', 'PULONG StartSid', 'BOOLEAN RestartScan'] case 145: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2242,11 +2242,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 146 NTSTATUS NtQuerySection ['HANDLE SectionHandle', 'SECTION_INFORMATION_CLASS SectionInformationClass', 'PVOID SectionInformation', 'SIZE_T SectionInformationLength', 'PSIZE_T ReturnLength'] case 146: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2258,11 +2258,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 147 NTSTATUS NtQuerySecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ULONG Length', 'PULONG LengthNeeded'] case 147: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2274,11 +2274,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 148 NTSTATUS NtQuerySemaphore ['HANDLE SemaphoreHandle', 'SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass', 'PVOID SemaphoreInformation', 'ULONG SemaphoreInformationLength', 'PULONG ReturnLength'] case 148: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2290,9 +2290,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 149 NTSTATUS NtQuerySymbolicLinkObject ['HANDLE LinkHandle', 'PUNICODE_STRING LinkTarget', 'PULONG ReturnedLength'] case 149: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQuerySymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2302,10 +2302,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 150 NTSTATUS NtQuerySystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PWSTR VariableValue', 'USHORT ValueLength', 'PUSHORT ReturnLength'] case 150: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2316,10 +2316,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 151 NTSTATUS NtQuerySystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength', 'PULONG ReturnLength'] case 151: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2330,7 +2330,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 152 NTSTATUS NtQuerySystemTime ['PLARGE_INTEGER SystemTime'] case 152: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQuerySystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2338,11 +2338,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 153 NTSTATUS NtQueryTimer ['HANDLE TimerHandle', 'TIMER_INFORMATION_CLASS TimerInformationClass', 'PVOID TimerInformation', 'ULONG TimerInformationLength', 'PULONG ReturnLength'] case 153: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2354,9 +2354,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 154 NTSTATUS NtQueryTimerResolution ['PULONG MaximumTime', 'PULONG MinimumTime', 'PULONG CurrentTime'] case 154: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQueryTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2366,12 +2366,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 155 NTSTATUS NtQueryValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 155: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2384,12 +2384,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 156 NTSTATUS NtQueryVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'MEMORY_INFORMATION_CLASS MemoryInformationClass', 'PVOID MemoryInformation', 'SIZE_T MemoryInformationLength', 'PSIZE_T ReturnLength'] case 156: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2402,11 +2402,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 157 NTSTATUS NtQueryVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 157: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2418,11 +2418,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 158 NTSTATUS NtQueueApcThread ['HANDLE ThreadHandle', 'PPS_APC_ROUTINE ApcRoutine', 'PVOID ApcArgument1', 'PVOID ApcArgument2', 'PVOID ApcArgument3'] case 158: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueueApcThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2434,9 +2434,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 159 NTSTATUS NtRaiseException ['PEXCEPTION_RECORD ExceptionRecord', 'PCONTEXT ContextRecord', 'BOOLEAN FirstChance'] case 159: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRaiseException_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2446,12 +2446,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 160 NTSTATUS NtRaiseHardError ['NTSTATUS ErrorStatus', 'ULONG NumberOfParameters', 'ULONG UnicodeStringParameterMask', 'PULONG_PTR Parameters', 'ULONG ValidResponseOptions', 'PULONG Response'] case 160: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtRaiseHardError_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2464,15 +2464,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 161 NTSTATUS NtReadFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 161: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2488,15 +2488,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 162 NTSTATUS NtReadFileScatter ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 162: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFileScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2512,12 +2512,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 163 NTSTATUS NtReadRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 163: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtReadRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2530,11 +2530,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 164 NTSTATUS NtReadVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 164: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReadVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2546,7 +2546,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 165 NTSTATUS NtRegisterThreadTerminatePort ['HANDLE PortHandle'] case 165: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtRegisterThreadTerminatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2554,8 +2554,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 166 NTSTATUS NtReleaseMutant ['HANDLE MutantHandle', 'PLONG PreviousCount'] case 166: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReleaseMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2564,9 +2564,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 167 NTSTATUS NtReleaseSemaphore ['HANDLE SemaphoreHandle', 'LONG ReleaseCount', 'PLONG PreviousCount'] case 167: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReleaseSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2576,11 +2576,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 168 NTSTATUS NtRemoveIoCompletion ['HANDLE IoCompletionHandle', 'PVOID *KeyContext', 'PVOID *ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER Timeout'] case 168: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtRemoveIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2592,9 +2592,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 169 NTSTATUS NtReplaceKey ['POBJECT_ATTRIBUTES NewFile', 'HANDLE TargetHandle', 'POBJECT_ATTRIBUTES OldFile'] case 169: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReplaceKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2604,8 +2604,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 170 NTSTATUS NtReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 170: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2614,10 +2614,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 171 NTSTATUS NtReplyWaitReceivePort ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage'] case 171: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2628,11 +2628,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 172 NTSTATUS NtReplyWaitReceivePortEx ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage', 'PLARGE_INTEGER Timeout'] case 172: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePortEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2644,8 +2644,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 173 NTSTATUS NtReplyWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 173: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2654,8 +2654,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 175 NTSTATUS NtRequestPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage'] case 175: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRequestPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2664,9 +2664,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 176 NTSTATUS NtRequestWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage', 'PPORT_MESSAGE ReplyMessage'] case 176: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRequestWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2676,8 +2676,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 178 NTSTATUS NtResetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 178: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2686,9 +2686,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 179 NTSTATUS NtResetWriteWatch ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T RegionSize'] case 179: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtResetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2698,9 +2698,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 180 NTSTATUS NtRestoreKey ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Flags'] case 180: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRestoreKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2710,8 +2710,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 181 NTSTATUS NtResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 181: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2720,8 +2720,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 182 NTSTATUS NtSaveKey ['HANDLE KeyHandle', 'HANDLE FileHandle'] case 182: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSaveKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2730,9 +2730,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 183 NTSTATUS NtSaveMergedKeys ['HANDLE HighPrecedenceKeyHandle', 'HANDLE LowPrecedenceKeyHandle', 'HANDLE FileHandle'] case 183: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveMergedKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2742,15 +2742,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 184 NTSTATUS NtSecureConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PSID RequiredServerSid', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 184: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtSecureConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2766,11 +2766,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 185 NTSTATUS NtSetIoCompletion ['HANDLE IoCompletionHandle', 'PVOID KeyContext', 'PVOID ApcContext', 'NTSTATUS IoStatus', 'ULONG_PTR IoStatusInformation'] case 185: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2782,8 +2782,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 186 NTSTATUS NtSetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 186: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2792,7 +2792,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 187 NTSTATUS NtSetDefaultHardErrorPort ['HANDLE DefaultHardErrorPort'] case 187: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultHardErrorPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2800,8 +2800,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 188 NTSTATUS NtSetDefaultLocale ['BOOLEAN UserProfile', 'LCID DefaultLocaleId'] case 188: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2810,7 +2810,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 189 NTSTATUS NtSetDefaultUILanguage ['LANGID DefaultUILanguageId'] case 189: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2818,10 +2818,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 190 NTSTATUS NtSetEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 190: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2832,8 +2832,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 191 NTSTATUS NtSetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 191: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2842,7 +2842,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 192 NTSTATUS NtSetHighEventPair ['HANDLE EventPairHandle'] case 192: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2850,7 +2850,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 193 NTSTATUS NtSetHighWaitLowEventPair ['HANDLE EventPairHandle'] case 193: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2858,11 +2858,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 194 NTSTATUS NtSetInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 194: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2874,10 +2874,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 195 NTSTATUS NtSetInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength'] case 195: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2888,10 +2888,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 196 NTSTATUS NtSetInformationKey ['HANDLE KeyHandle', 'KEY_SET_INFORMATION_CLASS KeySetInformationClass', 'PVOID KeySetInformation', 'ULONG KeySetInformationLength'] case 196: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2902,10 +2902,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 197 NTSTATUS NtSetInformationObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength'] case 197: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2916,10 +2916,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 198 NTSTATUS NtSetInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength'] case 198: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2930,10 +2930,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 199 NTSTATUS NtSetInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength'] case 199: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2944,10 +2944,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 200 NTSTATUS NtSetInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength'] case 200: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2958,8 +2958,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 201 NTSTATUS NtSetIntervalProfile ['ULONG Interval', 'KPROFILE_SOURCE Source'] case 201: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2968,12 +2968,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 202 NTSTATUS NtSetLdtEntries ['ULONG Selector0', 'ULONG Entry0Low', 'ULONG Entry0Hi', 'ULONG Selector1', 'ULONG Entry1Low', 'ULONG Entry1Hi'] case 202: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetLdtEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2986,7 +2986,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 203 NTSTATUS NtSetLowEventPair ['HANDLE EventPairHandle'] case 203: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2994,7 +2994,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 204 NTSTATUS NtSetLowWaitHighEventPair ['HANDLE EventPairHandle'] case 204: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3002,10 +3002,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 205 NTSTATUS NtSetQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 205: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3016,9 +3016,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 206 NTSTATUS NtSetSecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor'] case 206: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3028,8 +3028,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 207 NTSTATUS NtSetSystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PUNICODE_STRING VariableValue'] case 207: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3038,9 +3038,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 208 NTSTATUS NtSetSystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength'] case 208: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3050,9 +3050,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 209 NTSTATUS NtSetSystemPowerState ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags'] case 209: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemPowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3062,8 +3062,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 210 NTSTATUS NtSetSystemTime ['PLARGE_INTEGER SystemTime', 'PLARGE_INTEGER PreviousTime'] case 210: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3072,8 +3072,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 211 NTSTATUS NtSetThreadExecutionState ['EXECUTION_STATE esFlags', 'PEXECUTION_STATE PreviousFlags'] case 211: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetThreadExecutionState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3082,13 +3082,13 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 212 NTSTATUS NtSetTimer ['HANDLE TimerHandle', 'PLARGE_INTEGER DueTime', 'PTIMER_APC_ROUTINE TimerApcRoutine', 'PVOID TimerContext', 'BOOLEAN WakeTimer', 'LONG Period', 'PBOOLEAN PreviousState'] case 212: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtSetTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3102,9 +3102,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 213 NTSTATUS NtSetTimerResolution ['ULONG DesiredTime', 'BOOLEAN SetResolution', 'PULONG ActualTime'] case 213: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3114,7 +3114,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 214 NTSTATUS NtSetUuidSeed ['PCHAR Seed'] case 214: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetUuidSeed_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3122,12 +3122,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 215 NTSTATUS NtSetValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'ULONG TitleIndex', 'ULONG Type', 'PVOID Data', 'ULONG DataSize'] case 215: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3140,11 +3140,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 216 NTSTATUS NtSetVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 216: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3156,7 +3156,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 217 NTSTATUS NtShutdownSystem ['SHUTDOWN_ACTION Action'] case 217: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtShutdownSystem_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3164,10 +3164,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 218 NTSTATUS NtSignalAndWaitForSingleObject ['HANDLE SignalHandle', 'HANDLE WaitHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 218: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSignalAndWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3178,7 +3178,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 219 NTSTATUS NtStartProfile ['HANDLE ProfileHandle'] case 219: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStartProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3186,7 +3186,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 220 NTSTATUS NtStopProfile ['HANDLE ProfileHandle'] case 220: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStopProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3194,8 +3194,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 221 NTSTATUS NtSuspendThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 221: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSuspendThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3204,12 +3204,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 222 NTSTATUS NtSystemDebugControl ['SYSDBG_COMMAND Command', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength', 'PULONG ReturnLength'] case 222: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSystemDebugControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3222,8 +3222,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 223 NTSTATUS NtTerminateJobObject ['HANDLE JobHandle', 'NTSTATUS ExitStatus'] case 223: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3232,8 +3232,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 224 NTSTATUS NtTerminateProcess ['HANDLE ProcessHandle', 'NTSTATUS ExitStatus'] case 224: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3242,8 +3242,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 225 NTSTATUS NtTerminateThread ['HANDLE ThreadHandle', 'NTSTATUS ExitStatus'] case 225: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3258,7 +3258,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 227 NTSTATUS NtUnloadDriver ['PUNICODE_STRING DriverServiceName'] case 227: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3266,7 +3266,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 228 NTSTATUS NtUnloadKey ['POBJECT_ATTRIBUTES TargetKey'] case 228: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3274,11 +3274,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 229 NTSTATUS NtUnlockFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key'] case 229: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtUnlockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3290,10 +3290,10 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 230 NTSTATUS NtUnlockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtUnlockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3304,8 +3304,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 231 NTSTATUS NtUnmapViewOfSection ['HANDLE ProcessHandle', 'PVOID BaseAddress'] case 231: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnmapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3314,8 +3314,8 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 232 NTSTATUS NtVdmControl ['VDMSERVICECLASS Service', 'PVOID ServiceData'] case 232: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtVdmControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3324,11 +3324,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 233 NTSTATUS NtWaitForMultipleObjects ['ULONG Count', 'HANDLE Handles[]', 'WAIT_TYPE WaitType', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 233: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWaitForMultipleObjects_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3340,9 +3340,9 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 234 NTSTATUS NtWaitForSingleObject ['HANDLE Handle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 234: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3352,7 +3352,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 235 NTSTATUS NtWaitHighEventPair ['HANDLE EventPairHandle'] case 235: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3360,7 +3360,7 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 236 NTSTATUS NtWaitLowEventPair ['HANDLE EventPairHandle'] case 236: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3368,15 +3368,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 237 NTSTATUS NtWriteFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 237: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3392,15 +3392,15 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 238 NTSTATUS NtWriteFileGather ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 238: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFileGather_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3416,12 +3416,12 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 239 NTSTATUS NtWriteRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 239: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtWriteRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3434,11 +3434,11 @@ void syscall_return_switch_windows_2000_x86(CPUState *cpu, target_ptr_t pc, cons }; break; // 240 NTSTATUS NtWriteVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 240: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWriteVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_7_x86.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_7_x86.cpp index a084cef47ab..67a66976cdf 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_7_x86.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_7_x86.cpp @@ -18,12 +18,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s switch (ctx->no) { // 0 NTSTATUS NtAcceptConnectPort ['PHANDLE PortHandle', 'PVOID PortContext', 'PPORT_MESSAGE ConnectionRequest', 'BOOLEAN AcceptConnection', 'PPORT_VIEW ServerView', 'PREMOTE_PORT_VIEW ClientView'] case 0: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAcceptConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -36,14 +36,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 1 NTSTATUS NtAccessCheck ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 1: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtAccessCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -58,17 +58,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 2 NTSTATUS NtAccessCheckAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 2: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -86,17 +86,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 3 NTSTATUS NtAccessCheckByType ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 3: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByType_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -114,22 +114,22 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 4 NTSTATUS NtAccessCheckByTypeAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 4: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -152,17 +152,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 5 NTSTATUS NtAccessCheckByTypeResultList ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 5: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultList_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -180,22 +180,22 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 6 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 6: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -218,23 +218,23 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 7 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarmByHandle ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 7: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; - uint32_t arg16; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; + uint32_t arg16 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -258,9 +258,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 8 NTSTATUS NtAddAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 8: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAddAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -270,8 +270,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 9 NTSTATUS NtAddBootEntry ['PBOOT_ENTRY BootEntry', 'PULONG Id'] case 9: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAddBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -280,8 +280,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 10 NTSTATUS NtAddDriverEntry ['PEFI_DRIVER_ENTRY DriverEntry', 'PULONG Id'] case 10: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAddDriverEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -290,12 +290,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 11 NTSTATUS NtAdjustGroupsToken ['HANDLE TokenHandle', 'BOOLEAN ResetToDefault', 'PTOKEN_GROUPS NewState', 'ULONG BufferLength', 'PTOKEN_GROUPS PreviousState', 'PULONG ReturnLength'] case 11: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustGroupsToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -308,12 +308,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 12 NTSTATUS NtAdjustPrivilegesToken ['HANDLE TokenHandle', 'BOOLEAN DisableAllPrivileges', 'PTOKEN_PRIVILEGES NewState', 'ULONG BufferLength', 'PTOKEN_PRIVILEGES PreviousState', 'PULONG ReturnLength'] case 12: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustPrivilegesToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -326,8 +326,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 13 NTSTATUS NtAlertResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 13: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAlertResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -336,7 +336,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 14 NTSTATUS NtAlertThread ['HANDLE ThreadHandle'] case 14: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAlertThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -344,7 +344,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 15 NTSTATUS NtAllocateLocallyUniqueId ['PLUID Luid'] case 15: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAllocateLocallyUniqueId_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -352,9 +352,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 16 NTSTATUS NtAllocateReserveObject ['PHANDLE MemoryReserveHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'MEMORY_RESERVE_TYPE Type'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAllocateReserveObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -364,9 +364,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 17 NTSTATUS NtAllocateUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 17: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAllocateUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -376,10 +376,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 18 NTSTATUS NtAllocateUuids ['PULARGE_INTEGER Time', 'PULONG Range', 'PULONG Sequence', 'PCHAR Seed'] case 18: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtAllocateUuids_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -390,12 +390,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 19 NTSTATUS NtAllocateVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'PSIZE_T RegionSize', 'ULONG AllocationType', 'ULONG Protect'] case 19: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAllocateVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -408,15 +408,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 20 NTSTATUS NtAlpcAcceptConnectPort ['PHANDLE PortHandle', 'HANDLE ConnectionPortHandle', 'ULONG Flags', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PALPC_PORT_ATTRIBUTES PortAttributes', 'PVOID PortContext', 'PPORT_MESSAGE ConnectionRequest', 'PALPC_MESSAGE_ATTRIBUTES ConnectionMessageAttributes', 'BOOLEAN AcceptConnection'] case 20: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtAlpcAcceptConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -432,9 +432,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 21 NTSTATUS NtAlpcCancelMessage ['HANDLE PortHandle', 'ULONG Flags', 'PALPC_CONTEXT_ATTR MessageContext'] case 21: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcCancelMessage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -444,17 +444,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 22 NTSTATUS NtAlpcConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PALPC_PORT_ATTRIBUTES PortAttributes', 'ULONG Flags', 'PSID RequiredServerSid', 'PPORT_MESSAGE ConnectionMessage', 'PULONG BufferLength', 'PALPC_MESSAGE_ATTRIBUTES OutMessageAttributes', 'PALPC_MESSAGE_ATTRIBUTES InMessageAttributes', 'PLARGE_INTEGER Timeout'] case 22: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAlpcConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -472,9 +472,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 23 NTSTATUS NtAlpcCreatePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PALPC_PORT_ATTRIBUTES PortAttributes'] case 23: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcCreatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -484,12 +484,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 24 NTSTATUS NtAlpcCreatePortSection ['HANDLE PortHandle', 'ULONG Flags', 'HANDLE SectionHandle', 'SIZE_T SectionSize', 'PALPC_HANDLE AlpcSectionHandle', 'PSIZE_T ActualSectionSize'] case 24: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAlpcCreatePortSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -502,10 +502,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 25 NTSTATUS NtAlpcCreateResourceReserve ['HANDLE PortHandle', 'ULONG Flags', 'SIZE_T MessageSize', 'PALPC_HANDLE ResourceId'] case 25: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtAlpcCreateResourceReserve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -516,9 +516,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 26 NTSTATUS NtAlpcCreateSectionView ['HANDLE PortHandle', 'ULONG Flags', 'PALPC_DATA_VIEW_ATTR ViewAttributes'] case 26: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcCreateSectionView_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -528,9 +528,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 27 NTSTATUS NtAlpcCreateSecurityContext ['HANDLE PortHandle', 'ULONG Flags', 'PALPC_SECURITY_ATTR SecurityAttribute'] case 27: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcCreateSecurityContext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -540,9 +540,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 28 NTSTATUS NtAlpcDeletePortSection ['HANDLE PortHandle', 'ULONG Flags', 'ALPC_HANDLE SectionHandle'] case 28: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcDeletePortSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -552,9 +552,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 29 NTSTATUS NtAlpcDeleteResourceReserve ['HANDLE PortHandle', 'ULONG Flags', 'ALPC_HANDLE ResourceId'] case 29: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcDeleteResourceReserve_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -564,9 +564,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 30 NTSTATUS NtAlpcDeleteSectionView ['HANDLE PortHandle', 'ULONG Flags', 'PVOID ViewBase'] case 30: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcDeleteSectionView_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -576,9 +576,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 31 NTSTATUS NtAlpcDeleteSecurityContext ['HANDLE PortHandle', 'ULONG Flags', 'ALPC_HANDLE ContextHandle'] case 31: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcDeleteSecurityContext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -588,8 +588,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 32 NTSTATUS NtAlpcDisconnectPort ['HANDLE PortHandle', 'ULONG Flags'] case 32: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAlpcDisconnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -598,9 +598,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 33 NTSTATUS NtAlpcImpersonateClientOfPort ['HANDLE PortHandle', 'PPORT_MESSAGE PortMessage', 'PVOID Reserved'] case 33: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcImpersonateClientOfPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -610,12 +610,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 34 NTSTATUS NtAlpcOpenSenderProcess ['PHANDLE ProcessHandle', 'HANDLE PortHandle', 'PPORT_MESSAGE PortMessage', 'ULONG Flags', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 34: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAlpcOpenSenderProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -628,12 +628,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 35 NTSTATUS NtAlpcOpenSenderThread ['PHANDLE ThreadHandle', 'HANDLE PortHandle', 'PPORT_MESSAGE PortMessage', 'ULONG Flags', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 35: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAlpcOpenSenderThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -646,11 +646,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 36 NTSTATUS NtAlpcQueryInformation ['HANDLE PortHandle', 'ALPC_PORT_INFORMATION_CLASS PortInformationClass', 'PVOID PortInformation', 'ULONG Length', 'PULONG ReturnLength'] case 36: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtAlpcQueryInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -662,12 +662,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 37 NTSTATUS NtAlpcQueryInformationMessage ['HANDLE PortHandle', 'PPORT_MESSAGE PortMessage', 'ALPC_MESSAGE_INFORMATION_CLASS MessageInformationClass', 'PVOID MessageInformation', 'ULONG Length', 'PULONG ReturnLength'] case 37: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAlpcQueryInformationMessage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -680,9 +680,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 38 NTSTATUS NtAlpcRevokeSecurityContext ['HANDLE PortHandle', 'ULONG Flags', 'ALPC_HANDLE ContextHandle'] case 38: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAlpcRevokeSecurityContext_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -692,14 +692,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 39 NTSTATUS NtAlpcSendWaitReceivePort ['HANDLE PortHandle', 'ULONG Flags', 'PPORT_MESSAGE SendMessage', 'PALPC_MESSAGE_ATTRIBUTES SendMessageAttributes', 'PPORT_MESSAGE ReceiveMessage', 'PULONG BufferLength', 'PALPC_MESSAGE_ATTRIBUTES ReceiveMessageAttributes', 'PLARGE_INTEGER Timeout'] case 39: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtAlpcSendWaitReceivePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -714,10 +714,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 40 NTSTATUS NtAlpcSetInformation ['HANDLE PortHandle', 'ALPC_PORT_INFORMATION_CLASS PortInformationClass', 'PVOID PortInformation', 'ULONG Length'] case 40: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtAlpcSetInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -728,8 +728,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 41 NTSTATUS NtApphelpCacheControl ['APPHELPCOMMAND type', 'PVOID buf'] case 41: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtApphelpCacheControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -738,8 +738,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 42 NTSTATUS NtAreMappedFilesTheSame ['PVOID File1MappedAsAnImage', 'PVOID File2MappedAsFile'] case 42: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAreMappedFilesTheSame_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -748,8 +748,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 43 NTSTATUS NtAssignProcessToJobObject ['HANDLE JobHandle', 'HANDLE ProcessHandle'] case 43: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAssignProcessToJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -758,9 +758,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 44 NTSTATUS NtCallbackReturn ['PVOID OutputBuffer', 'ULONG OutputLength', 'NTSTATUS Status'] case 44: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCallbackReturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -770,8 +770,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 45 NTSTATUS NtCancelIoFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 45: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelIoFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -780,9 +780,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 46 NTSTATUS NtCancelIoFileEx ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoRequestToCancel', 'PIO_STATUS_BLOCK IoStatusBlock'] case 46: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCancelIoFileEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -792,9 +792,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 47 NTSTATUS NtCancelSynchronousIoFile ['HANDLE ThreadHandle', 'PIO_STATUS_BLOCK IoRequestToCancel', 'PIO_STATUS_BLOCK IoStatusBlock'] case 47: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCancelSynchronousIoFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -804,8 +804,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 48 NTSTATUS NtCancelTimer ['HANDLE TimerHandle', 'PBOOLEAN CurrentState'] case 48: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -814,7 +814,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 49 NTSTATUS NtClearEvent ['HANDLE EventHandle'] case 49: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClearEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -822,7 +822,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 50 NTSTATUS NtClose ['HANDLE Handle'] case 50: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClose_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -830,9 +830,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 51 NTSTATUS NtCloseObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 51: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCloseObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -842,8 +842,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 52 NTSTATUS NtCommitComplete ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 52: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCommitComplete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -852,8 +852,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 53 NTSTATUS NtCommitEnlistment ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 53: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCommitEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -862,8 +862,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 54 NTSTATUS NtCommitTransaction ['HANDLE TransactionHandle', 'BOOLEAN Wait'] case 54: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCommitTransaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -872,8 +872,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 55 NTSTATUS NtCompactKeys ['ULONG Count', 'HANDLE KeyArray[]'] case 55: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCompactKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -882,9 +882,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 56 NTSTATUS NtCompareTokens ['HANDLE FirstTokenHandle', 'HANDLE SecondTokenHandle', 'PBOOLEAN Equal'] case 56: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCompareTokens_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -894,7 +894,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 57 NTSTATUS NtCompleteConnectPort ['HANDLE PortHandle'] case 57: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompleteConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -902,7 +902,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 58 NTSTATUS NtCompressKey ['HANDLE Key'] case 58: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompressKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -910,14 +910,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 59 NTSTATUS NtConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 59: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -932,8 +932,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 60 NTSTATUS NtContinue ['PCONTEXT ContextRecord', 'BOOLEAN TestAlert'] case 60: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -942,10 +942,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 61 NTSTATUS NtCreateDebugObject ['PHANDLE DebugObjectHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Flags'] case 61: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateDebugObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -956,9 +956,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 62 NTSTATUS NtCreateDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 62: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -968,14 +968,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 63 NTSTATUS NtCreateEnlistment ['PHANDLE EnlistmentHandle', 'ACCESS_MASK DesiredAccess', 'HANDLE ResourceManagerHandle', 'HANDLE TransactionHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG CreateOptions', 'NOTIFICATION_MASK NotificationMask', 'PVOID EnlistmentKey'] case 63: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -990,11 +990,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 64 NTSTATUS NtCreateEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'EVENT_TYPE EventType', 'BOOLEAN InitialState'] case 64: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1006,9 +1006,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 65 NTSTATUS NtCreateEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 65: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1018,17 +1018,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 66 NTSTATUS NtCreateFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER AllocationSize', 'ULONG FileAttributes', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'PVOID EaBuffer', 'ULONG EaLength'] case 66: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtCreateFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1046,10 +1046,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 67 NTSTATUS NtCreateIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Count'] case 67: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1060,9 +1060,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 68 NTSTATUS NtCreateJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 68: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1072,9 +1072,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 69 NTSTATUS NtCreateJobSet ['ULONG NumJob', 'PJOB_SET_ARRAY UserJobSet', 'ULONG Flags'] case 69: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobSet_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1084,13 +1084,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 70 NTSTATUS NtCreateKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG TitleIndex', 'PUNICODE_STRING Class', 'ULONG CreateOptions', 'PULONG Disposition'] case 70: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1104,10 +1104,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 71 NTSTATUS NtCreateKeyedEvent ['PHANDLE KeyedEventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Flags'] case 71: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1118,14 +1118,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 72 NTSTATUS NtCreateKeyTransacted ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG TitleIndex', 'PUNICODE_STRING Class', 'ULONG CreateOptions', 'HANDLE TransactionHandle', 'PULONG Disposition'] case 72: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateKeyTransacted_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1140,14 +1140,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 73 NTSTATUS NtCreateMailslotFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CreateOptions', 'ULONG MailslotQuota', 'ULONG MaximumMessageSize', 'PLARGE_INTEGER ReadTimeout'] case 73: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateMailslotFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1162,10 +1162,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 74 NTSTATUS NtCreateMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN InitialOwner'] case 74: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1176,20 +1176,20 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 75 NTSTATUS NtCreateNamedPipeFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'ULONG NamedPipeType', 'ULONG ReadMode', 'ULONG CompletionMode', 'ULONG MaximumInstances', 'ULONG InboundQuota', 'ULONG OutboundQuota', 'PLARGE_INTEGER DefaultTimeout'] case 75: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; if (PPP_CHECK_CB(on_NtCreateNamedPipeFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1210,10 +1210,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 76 NTSTATUS NtCreatePagingFile ['PUNICODE_STRING PageFileName', 'PLARGE_INTEGER MinimumSize', 'PLARGE_INTEGER MaximumSize', 'ULONG Priority'] case 76: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreatePagingFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1224,11 +1224,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 77 NTSTATUS NtCreatePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 77: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1240,10 +1240,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 78 NTSTATUS NtCreatePrivateNamespace ['PHANDLE NamespaceHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PVOID BoundaryDescriptor'] case 78: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreatePrivateNamespace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1254,14 +1254,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 79 NTSTATUS NtCreateProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'BOOLEAN InheritObjectTable', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort'] case 79: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1276,15 +1276,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 80 NTSTATUS NtCreateProcessEx ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'ULONG Flags', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort', 'ULONG JobMemberLevel'] case 80: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProcessEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1300,15 +1300,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 81 NTSTATUS NtCreateProfile ['PHANDLE ProfileHandle', 'HANDLE Process', 'PVOID RangeBase', 'SIZE_T RangeSize', 'ULONG BucketSize', 'PULONG Buffer', 'ULONG BufferSize', 'KPROFILE_SOURCE ProfileSource', 'KAFFINITY Affinity'] case 81: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1324,16 +1324,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 82 NTSTATUS NtCreateProfileEx ['PHANDLE ProfileHandle', 'HANDLE Process', 'PVOID ProfileBase', 'SIZE_T ProfileSize', 'ULONG BucketSize', 'PULONG Buffer', 'ULONG BufferSize', 'KPROFILE_SOURCE ProfileSource', 'ULONG GroupAffinityCount', 'PGROUP_AFFINITY GroupAffinity'] case 82: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtCreateProfileEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1350,13 +1350,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 83 NTSTATUS NtCreateResourceManager ['PHANDLE ResourceManagerHandle', 'ACCESS_MASK DesiredAccess', 'HANDLE TmHandle', 'LPGUID RmGuid', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG CreateOptions', 'PUNICODE_STRING Description'] case 83: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateResourceManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1370,13 +1370,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 84 NTSTATUS NtCreateSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PLARGE_INTEGER MaximumSize', 'ULONG SectionPageProtection', 'ULONG AllocationAttributes', 'HANDLE FileHandle'] case 84: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1390,11 +1390,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 85 NTSTATUS NtCreateSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'LONG InitialCount', 'LONG MaximumCount'] case 85: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1406,10 +1406,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 86 NTSTATUS NtCreateSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PUNICODE_STRING LinkTarget'] case 86: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1420,14 +1420,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 87 NTSTATUS NtCreateThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ProcessHandle', 'PCLIENT_ID ClientId', 'PCONTEXT ThreadContext', 'PINITIAL_TEB InitialTeb', 'BOOLEAN CreateSuspended'] case 87: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1442,17 +1442,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 88 NTSTATUS NtCreateThreadEx ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ProcessHandle', 'PVOID StartRoutine', 'PVOID Argument', 'ULONG CreateFlags', 'ULONG_PTR ZeroBits', 'SIZE_T StackSize', 'SIZE_T MaximumStackSize', 'PPS_ATTRIBUTE_LIST AttributeList'] case 88: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtCreateThreadEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1470,10 +1470,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 89 NTSTATUS NtCreateTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TIMER_TYPE TimerType'] case 89: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1484,19 +1484,19 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 90 NTSTATUS NtCreateToken ['PHANDLE TokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TOKEN_TYPE TokenType', 'PLUID AuthenticationId', 'PLARGE_INTEGER ExpirationTime', 'PTOKEN_USER User', 'PTOKEN_GROUPS Groups', 'PTOKEN_PRIVILEGES Privileges', 'PTOKEN_OWNER Owner', 'PTOKEN_PRIMARY_GROUP PrimaryGroup', 'PTOKEN_DEFAULT_DACL DefaultDacl', 'PTOKEN_SOURCE TokenSource'] case 90: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; if (PPP_CHECK_CB(on_NtCreateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1516,16 +1516,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 91 NTSTATUS NtCreateTransaction ['PHANDLE TransactionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'LPGUID Uow', 'HANDLE TmHandle', 'ULONG CreateOptions', 'ULONG IsolationLevel', 'ULONG IsolationFlags', 'PLARGE_INTEGER Timeout', 'PUNICODE_STRING Description'] case 91: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtCreateTransaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1542,12 +1542,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 92 NTSTATUS NtCreateTransactionManager ['PHANDLE TmHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PUNICODE_STRING LogFileName', 'ULONG CreateOptions', 'ULONG CommitStrength'] case 92: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtCreateTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1560,17 +1560,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 93 NTSTATUS NtCreateUserProcess ['PHANDLE ProcessHandle', 'PHANDLE ThreadHandle', 'ACCESS_MASK ProcessDesiredAccess', 'ACCESS_MASK ThreadDesiredAccess', 'POBJECT_ATTRIBUTES ProcessObjectAttributes', 'POBJECT_ATTRIBUTES ThreadObjectAttributes', 'ULONG ProcessFlags', 'ULONG ThreadFlags', 'PRTL_USER_PROCESS_PARAMETERS ProcessParameters', 'PPROCESS_CREATE_INFO CreateInfo', 'PPROCESS_ATTRIBUTE_LIST AttributeList'] case 93: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtCreateUserProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1588,11 +1588,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 94 NTSTATUS NtCreateWaitablePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 94: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateWaitablePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1604,16 +1604,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 95 NTSTATUS NtCreateWorkerFactory ['PHANDLE WorkerFactoryHandleReturn', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE CompletionPortHandle', 'HANDLE WorkerProcessHandle', 'PVOID StartRoutine', 'PVOID StartParameter', 'ULONG MaxThreadCount', 'SIZE_T StackReserve', 'SIZE_T StackCommit'] case 95: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtCreateWorkerFactory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1630,8 +1630,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 96 NTSTATUS NtDebugActiveProcess ['HANDLE ProcessHandle', 'HANDLE DebugObjectHandle'] case 96: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDebugActiveProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1640,9 +1640,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 97 NTSTATUS NtDebugContinue ['HANDLE DebugObjectHandle', 'PCLIENT_ID ClientId', 'NTSTATUS ContinueStatus'] case 97: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDebugContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1652,8 +1652,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 98 NTSTATUS NtDelayExecution ['BOOLEAN Alertable', 'PLARGE_INTEGER DelayInterval'] case 98: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDelayExecution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1662,7 +1662,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 99 NTSTATUS NtDeleteAtom ['RTL_ATOM Atom'] case 99: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1670,7 +1670,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 100 NTSTATUS NtDeleteBootEntry ['ULONG Id'] case 100: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1678,7 +1678,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 101 NTSTATUS NtDeleteDriverEntry ['ULONG Id'] case 101: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteDriverEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1686,7 +1686,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 102 NTSTATUS NtDeleteFile ['POBJECT_ATTRIBUTES ObjectAttributes'] case 102: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1694,7 +1694,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 103 NTSTATUS NtDeleteKey ['HANDLE KeyHandle'] case 103: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1702,9 +1702,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 104 NTSTATUS NtDeleteObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 104: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDeleteObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1714,7 +1714,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 105 NTSTATUS NtDeletePrivateNamespace ['HANDLE NamespaceHandle'] case 105: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeletePrivateNamespace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1722,8 +1722,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 106 NTSTATUS NtDeleteValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName'] case 106: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDeleteValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1732,16 +1732,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 107 NTSTATUS NtDeviceIoControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 107: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtDeviceIoControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1764,7 +1764,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 109 NTSTATUS NtDisplayString ['PUNICODE_STRING String'] case 109: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDisplayString_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1772,7 +1772,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 110 NTSTATUS NtDrawText ['PUNICODE_STRING Text'] case 110: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDrawText_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1780,13 +1780,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 111 NTSTATUS NtDuplicateObject ['HANDLE SourceProcessHandle', 'HANDLE SourceHandle', 'HANDLE TargetProcessHandle', 'PHANDLE TargetHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'ULONG Options'] case 111: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtDuplicateObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1800,12 +1800,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 112 NTSTATUS NtDuplicateToken ['HANDLE ExistingTokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN EffectiveOnly', 'TOKEN_TYPE TokenType', 'PHANDLE NewTokenHandle'] case 112: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtDuplicateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1824,8 +1824,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 114 NTSTATUS NtEnumerateBootEntries ['PVOID Buffer', 'PULONG BufferLength'] case 114: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtEnumerateBootEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1834,8 +1834,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 115 NTSTATUS NtEnumerateDriverEntries ['PVOID Buffer', 'PULONG BufferLength'] case 115: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtEnumerateDriverEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1844,12 +1844,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 116 NTSTATUS NtEnumerateKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 116: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1862,9 +1862,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 117 NTSTATUS NtEnumerateSystemEnvironmentValuesEx ['ULONG InformationClass', 'PVOID Buffer', 'PULONG BufferLength'] case 117: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtEnumerateSystemEnvironmentValuesEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1874,11 +1874,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 118 NTSTATUS NtEnumerateTransactionObject ['HANDLE RootObjectHandle', 'KTMOBJECT_TYPE QueryType', 'PKTMOBJECT_CURSOR ObjectCursor', 'ULONG ObjectCursorLength', 'PULONG ReturnLength'] case 118: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtEnumerateTransactionObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1890,12 +1890,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 119 NTSTATUS NtEnumerateValueKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 119: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1908,8 +1908,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 120 NTSTATUS NtExtendSection ['HANDLE SectionHandle', 'PLARGE_INTEGER NewSectionSize'] case 120: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtExtendSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1918,12 +1918,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 121 NTSTATUS NtFilterToken ['HANDLE ExistingTokenHandle', 'ULONG Flags', 'PTOKEN_GROUPS SidsToDisable', 'PTOKEN_PRIVILEGES PrivilegesToDelete', 'PTOKEN_GROUPS RestrictedSids', 'PHANDLE NewTokenHandle'] case 121: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtFilterToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1936,9 +1936,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 122 NTSTATUS NtFindAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 122: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFindAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1948,8 +1948,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 123 NTSTATUS NtFlushBuffersFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 123: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtFlushBuffersFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1958,8 +1958,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 124 NTSTATUS NtFlushInstallUILanguage ['LANGID InstallUILanguage', 'ULONG SetComittedFlag'] case 124: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtFlushInstallUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1968,9 +1968,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 125 NTSTATUS NtFlushInstructionCache ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T Length'] case 125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFlushInstructionCache_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1980,7 +1980,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 126 NTSTATUS NtFlushKey ['HANDLE KeyHandle'] case 126: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtFlushKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1994,10 +1994,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 128 NTSTATUS NtFlushVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'PIO_STATUS_BLOCK IoStatus'] case 128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFlushVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2014,9 +2014,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 130 NTSTATUS NtFreeUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 130: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFreeUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2026,10 +2026,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 131 NTSTATUS NtFreeVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG FreeType'] case 131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFreeVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2040,7 +2040,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 132 NTSTATUS NtFreezeRegistry ['ULONG TimeOutInSeconds'] case 132: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtFreezeRegistry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2048,8 +2048,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 133 NTSTATUS NtFreezeTransactions ['PLARGE_INTEGER FreezeTimeout', 'PLARGE_INTEGER ThawTimeout'] case 133: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtFreezeTransactions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2058,16 +2058,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 134 NTSTATUS NtFsControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 134: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtFsControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2084,8 +2084,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 135 NTSTATUS NtGetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 135: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2100,8 +2100,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 137 NTSTATUS NtGetDevicePowerState ['HANDLE Device', 'DEVICE_POWER_STATE *State'] case 137: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetDevicePowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2110,9 +2110,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 138 NTSTATUS NtGetMUIRegistryInfo ['ULONG Flags', 'PULONG DataSize', 'PVOID Data'] case 138: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtGetMUIRegistryInfo_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2122,11 +2122,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 139 NTSTATUS NtGetNextProcess ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'ULONG Flags', 'PHANDLE NewProcessHandle'] case 139: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtGetNextProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2138,12 +2138,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 140 NTSTATUS NtGetNextThread ['HANDLE ProcessHandle', 'HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'ULONG Flags', 'PHANDLE NewThreadHandle'] case 140: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtGetNextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2156,11 +2156,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 141 NTSTATUS NtGetNlsSectionPtr ['ULONG SectionType', 'ULONG SectionData', 'PVOID ContextData', 'PVOID *SectionPointer', 'PULONG SectionSize'] case 141: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtGetNlsSectionPtr_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2172,13 +2172,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 142 NTSTATUS NtGetNotificationResourceManager ['HANDLE ResourceManagerHandle', 'PTRANSACTION_NOTIFICATION TransactionNotification', 'ULONG NotificationLength', 'PLARGE_INTEGER Timeout', 'PULONG ReturnLength', 'ULONG Asynchronous', 'ULONG_PTR AsynchronousContext'] case 142: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtGetNotificationResourceManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2192,10 +2192,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 143 NTSTATUS NtGetPlugPlayEvent ['HANDLE EventHandle', 'PVOID Context', 'PPLUGPLAY_EVENT_BLOCK EventBlock', 'ULONG EventBufferSize'] case 143: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtGetPlugPlayEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2206,13 +2206,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 144 NTSTATUS NtGetWriteWatch ['HANDLE ProcessHandle', 'ULONG Flags', 'PVOID BaseAddress', 'SIZE_T RegionSize', 'PVOID *UserAddressArray', 'PULONG_PTR EntriesInUserAddressArray', 'PULONG Granularity'] case 144: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtGetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2226,7 +2226,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 145 NTSTATUS NtImpersonateAnonymousToken ['HANDLE ThreadHandle'] case 145: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtImpersonateAnonymousToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2234,8 +2234,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 146 NTSTATUS NtImpersonateClientOfPort ['HANDLE PortHandle', 'PPORT_MESSAGE Message'] case 146: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtImpersonateClientOfPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2244,9 +2244,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 147 NTSTATUS NtImpersonateThread ['HANDLE ServerThreadHandle', 'HANDLE ClientThreadHandle', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos'] case 147: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtImpersonateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2256,9 +2256,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 148 NTSTATUS NtInitializeNlsFiles ['PVOID *BaseAddress', 'PLCID DefaultLocaleId', 'PLARGE_INTEGER DefaultCasingTableSize'] case 148: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtInitializeNlsFiles_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2268,7 +2268,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 149 NTSTATUS NtInitializeRegistry ['USHORT BootCondition'] case 149: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtInitializeRegistry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2276,10 +2276,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 150 NTSTATUS NtInitiatePowerAction ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags', 'BOOLEAN Asynchronous'] case 150: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtInitiatePowerAction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2290,8 +2290,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 151 NTSTATUS NtIsProcessInJob ['HANDLE ProcessHandle', 'HANDLE JobHandle'] case 151: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtIsProcessInJob_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2312,8 +2312,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 154 NTSTATUS NtListenPort ['HANDLE PortHandle', 'PPORT_MESSAGE ConnectionRequest'] case 154: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtListenPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2322,7 +2322,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 155 NTSTATUS NtLoadDriver ['PUNICODE_STRING DriverServiceName'] case 155: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLoadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2330,8 +2330,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 156 NTSTATUS NtLoadKey ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile'] case 156: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLoadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2340,9 +2340,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 157 NTSTATUS NtLoadKey2 ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile', 'ULONG Flags'] case 157: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtLoadKey2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2352,10 +2352,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 158 NTSTATUS NtLoadKeyEx ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile', 'ULONG Flags', 'HANDLE TrustClassKey'] case 158: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtLoadKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2366,16 +2366,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 159 NTSTATUS NtLockFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key', 'BOOLEAN FailImmediately', 'BOOLEAN ExclusiveLock'] case 159: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtLockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2392,8 +2392,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 160 NTSTATUS NtLockProductActivationKeys ['ULONG *pPrivateVer', 'ULONG *pSafeMode'] case 160: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLockProductActivationKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2402,7 +2402,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 161 NTSTATUS NtLockRegistryKey ['HANDLE KeyHandle'] case 161: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLockRegistryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2410,10 +2410,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 162 NTSTATUS NtLockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 162: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtLockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2424,7 +2424,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 163 NTSTATUS NtMakePermanentObject ['HANDLE Handle'] case 163: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakePermanentObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2432,7 +2432,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 164 NTSTATUS NtMakeTemporaryObject ['HANDLE Handle'] case 164: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakeTemporaryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2440,12 +2440,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 165 NTSTATUS NtMapCMFModule ['ULONG What', 'ULONG Index', 'PULONG CacheIndexOut', 'PULONG CacheFlagsOut', 'PULONG ViewSizeOut', 'PVOID *BaseAddress'] case 165: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtMapCMFModule_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2458,9 +2458,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 166 NTSTATUS NtMapUserPhysicalPages ['PVOID VirtualAddress', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 166: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2470,9 +2470,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 167 NTSTATUS NtMapUserPhysicalPagesScatter ['PVOID *VirtualAddresses', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 167: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPagesScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2482,16 +2482,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 168 NTSTATUS NtMapViewOfSection ['HANDLE SectionHandle', 'HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'SIZE_T CommitSize', 'PLARGE_INTEGER SectionOffset', 'PSIZE_T ViewSize', 'SECTION_INHERIT InheritDisposition', 'ULONG AllocationType', 'WIN32_PROTECTION_MASK Win32Protect'] case 168: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtMapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2508,7 +2508,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 169 NTSTATUS NtModifyBootEntry ['PBOOT_ENTRY BootEntry'] case 169: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtModifyBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2516,7 +2516,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 170 NTSTATUS NtModifyDriverEntry ['PEFI_DRIVER_ENTRY DriverEntry'] case 170: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtModifyDriverEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2524,15 +2524,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 171 NTSTATUS NtNotifyChangeDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'ULONG CompletionFilter', 'BOOLEAN WatchTree'] case 171: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2548,16 +2548,16 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 172 NTSTATUS NtNotifyChangeKey ['HANDLE KeyHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 172: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2574,18 +2574,18 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 173 NTSTATUS NtNotifyChangeMultipleKeys ['HANDLE MasterKeyHandle', 'ULONG Count', 'OBJECT_ATTRIBUTES SlaveObjects[]', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 173: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeMultipleKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2604,14 +2604,14 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 174 NTSTATUS NtNotifyChangeSession ['HANDLE Session', 'ULONG IoStateSequence', 'PVOID Reserved', 'ULONG Action', 'IO_SESSION_STATE IoState', 'IO_SESSION_STATE IoState2', 'PVOID Buffer', 'ULONG BufferSize'] case 174: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeSession_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2626,9 +2626,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 175 NTSTATUS NtOpenDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 175: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2638,11 +2638,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 176 NTSTATUS NtOpenEnlistment ['PHANDLE EnlistmentHandle', 'ACCESS_MASK DesiredAccess', 'HANDLE ResourceManagerHandle', 'LPGUID EnlistmentGuid', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 176: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2654,9 +2654,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 177 NTSTATUS NtOpenEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 177: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2666,9 +2666,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 178 NTSTATUS NtOpenEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 178: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2678,12 +2678,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 179 NTSTATUS NtOpenFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG OpenOptions'] case 179: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtOpenFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2696,9 +2696,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 180 NTSTATUS NtOpenIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 180: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2708,9 +2708,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 181 NTSTATUS NtOpenJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 181: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2720,9 +2720,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 182 NTSTATUS NtOpenKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 182: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2732,10 +2732,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 183 NTSTATUS NtOpenKeyEx ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG OpenOptions'] case 183: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2746,9 +2746,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 184 NTSTATUS NtOpenKeyedEvent ['PHANDLE KeyedEventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 184: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2758,10 +2758,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 185 NTSTATUS NtOpenKeyTransacted ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE TransactionHandle'] case 185: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenKeyTransacted_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2772,11 +2772,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 186 NTSTATUS NtOpenKeyTransactedEx ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG OpenOptions', 'HANDLE TransactionHandle'] case 186: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenKeyTransactedEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2788,9 +2788,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 187 NTSTATUS NtOpenMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 187: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2800,18 +2800,18 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 188 NTSTATUS NtOpenObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'ACCESS_MASK GrantedAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN ObjectCreation', 'BOOLEAN AccessGranted', 'PBOOLEAN GenerateOnClose'] case 188: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtOpenObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2830,10 +2830,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 189 NTSTATUS NtOpenPrivateNamespace ['PHANDLE NamespaceHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PVOID BoundaryDescriptor'] case 189: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenPrivateNamespace_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2844,10 +2844,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 190 NTSTATUS NtOpenProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 190: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2858,9 +2858,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 191 NTSTATUS NtOpenProcessToken ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'PHANDLE TokenHandle'] case 191: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenProcessToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2870,10 +2870,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 192 NTSTATUS NtOpenProcessTokenEx ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'PHANDLE TokenHandle'] case 192: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcessTokenEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2884,11 +2884,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 193 NTSTATUS NtOpenResourceManager ['PHANDLE ResourceManagerHandle', 'ACCESS_MASK DesiredAccess', 'HANDLE TmHandle', 'LPGUID ResourceManagerGuid', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 193: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenResourceManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2900,9 +2900,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 194 NTSTATUS NtOpenSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 194: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2912,9 +2912,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 195 NTSTATUS NtOpenSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 195: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2924,9 +2924,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 196 NTSTATUS NtOpenSession ['PHANDLE SessionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 196: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSession_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2936,9 +2936,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 197 NTSTATUS NtOpenSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 197: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2948,10 +2948,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 198 NTSTATUS NtOpenThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 198: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2962,10 +2962,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 199 NTSTATUS NtOpenThreadToken ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'PHANDLE TokenHandle'] case 199: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThreadToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2976,11 +2976,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 200 NTSTATUS NtOpenThreadTokenEx ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'ULONG HandleAttributes', 'PHANDLE TokenHandle'] case 200: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenThreadTokenEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2992,9 +2992,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 201 NTSTATUS NtOpenTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 201: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3004,11 +3004,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 202 NTSTATUS NtOpenTransaction ['PHANDLE TransactionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'LPGUID Uow', 'HANDLE TmHandle'] case 202: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenTransaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3020,12 +3020,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 203 NTSTATUS NtOpenTransactionManager ['PHANDLE TmHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PUNICODE_STRING LogFileName', 'LPGUID TmIdentity', 'ULONG OpenOptions'] case 203: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtOpenTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3038,9 +3038,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 204 NTSTATUS NtPlugPlayControl ['PLUGPLAY_CONTROL_CLASS PnPControlClass', 'PVOID PnPControlData', 'ULONG PnPControlDataLength'] case 204: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPlugPlayControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3050,11 +3050,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 205 NTSTATUS NtPowerInformation ['POWER_INFORMATION_LEVEL InformationLevel', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 205: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPowerInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3066,8 +3066,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 206 NTSTATUS NtPrepareComplete ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 206: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPrepareComplete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3076,8 +3076,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 207 NTSTATUS NtPrepareEnlistment ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 207: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPrepareEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3086,8 +3086,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 208 NTSTATUS NtPrePrepareComplete ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 208: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPrePrepareComplete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3096,8 +3096,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 209 NTSTATUS NtPrePrepareEnlistment ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 209: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPrePrepareEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3106,9 +3106,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 210 NTSTATUS NtPrivilegeCheck ['HANDLE ClientToken', 'PPRIVILEGE_SET RequiredPrivileges', 'PBOOLEAN Result'] case 210: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPrivilegeCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3118,11 +3118,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 211 NTSTATUS NtPrivilegedServiceAuditAlarm ['PUNICODE_STRING SubsystemName', 'PUNICODE_STRING ServiceName', 'HANDLE ClientToken', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 211: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPrivilegedServiceAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3134,12 +3134,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 212 NTSTATUS NtPrivilegeObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 212: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtPrivilegeObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3152,10 +3152,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 213 NTSTATUS NtPropagationComplete ['HANDLE ResourceManagerHandle', 'ULONG RequestCookie', 'ULONG BufferLength', 'PVOID Buffer'] case 213: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtPropagationComplete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3166,9 +3166,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 214 NTSTATUS NtPropagationFailed ['HANDLE ResourceManagerHandle', 'ULONG RequestCookie', 'NTSTATUS PropStatus'] case 214: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPropagationFailed_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3178,11 +3178,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 215 NTSTATUS NtProtectVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'WIN32_PROTECTION_MASK NewProtectWin32', 'PULONG OldProtect'] case 215: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtProtectVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3194,8 +3194,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 216 NTSTATUS NtPulseEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 216: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPulseEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3204,8 +3204,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 217 NTSTATUS NtQueryAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_BASIC_INFORMATION FileInformation'] case 217: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3214,8 +3214,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 218 NTSTATUS NtQueryBootEntryOrder ['PULONG Ids', 'PULONG Count'] case 218: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryBootEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3224,8 +3224,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 219 NTSTATUS NtQueryBootOptions ['PBOOT_OPTIONS BootOptions', 'PULONG BootOptionsLength'] case 219: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryBootOptions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3234,8 +3234,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 220 NTSTATUS NtQueryDebugFilterState ['ULONG ComponentId', 'ULONG Level'] case 220: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDebugFilterState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3244,8 +3244,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 221 NTSTATUS NtQueryDefaultLocale ['BOOLEAN UserProfile', 'PLCID DefaultLocaleId'] case 221: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3254,7 +3254,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 222 NTSTATUS NtQueryDefaultUILanguage ['LANGID *DefaultUILanguageId'] case 222: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3262,17 +3262,17 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 223 NTSTATUS NtQueryDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass', 'BOOLEAN ReturnSingleEntry', 'PUNICODE_STRING FileName', 'BOOLEAN RestartScan'] case 223: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3290,13 +3290,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 224 NTSTATUS NtQueryDirectoryObject ['HANDLE DirectoryHandle', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'BOOLEAN RestartScan', 'PULONG Context', 'PULONG ReturnLength'] case 224: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3310,8 +3310,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 225 NTSTATUS NtQueryDriverEntryOrder ['PULONG Ids', 'PULONG Count'] case 225: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDriverEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3320,15 +3320,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 226 NTSTATUS NtQueryEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID EaList', 'ULONG EaListLength', 'PULONG EaIndex', 'BOOLEAN RestartScan'] case 226: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3344,11 +3344,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 227 NTSTATUS NtQueryEvent ['HANDLE EventHandle', 'EVENT_INFORMATION_CLASS EventInformationClass', 'PVOID EventInformation', 'ULONG EventInformationLength', 'PULONG ReturnLength'] case 227: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3360,8 +3360,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 228 NTSTATUS NtQueryFullAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_NETWORK_OPEN_INFORMATION FileInformation'] case 228: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryFullAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3370,11 +3370,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 229 NTSTATUS NtQueryInformationAtom ['RTL_ATOM Atom', 'ATOM_INFORMATION_CLASS InformationClass', 'PVOID AtomInformation', 'ULONG AtomInformationLength', 'PULONG ReturnLength'] case 229: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3386,11 +3386,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 230 NTSTATUS NtQueryInformationEnlistment ['HANDLE EnlistmentHandle', 'ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass', 'PVOID EnlistmentInformation', 'ULONG EnlistmentInformationLength', 'PULONG ReturnLength'] case 230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3402,11 +3402,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 231 NTSTATUS NtQueryInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 231: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3418,11 +3418,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 232 NTSTATUS NtQueryInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength', 'PULONG ReturnLength'] case 232: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3434,11 +3434,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 233 NTSTATUS NtQueryInformationPort ['HANDLE PortHandle', 'PORT_INFORMATION_CLASS PortInformationClass', 'PVOID PortInformation', 'ULONG Length', 'PULONG ReturnLength'] case 233: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3450,11 +3450,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 234 NTSTATUS NtQueryInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength', 'PULONG ReturnLength'] case 234: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3466,11 +3466,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 235 NTSTATUS NtQueryInformationResourceManager ['HANDLE ResourceManagerHandle', 'RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass', 'PVOID ResourceManagerInformation', 'ULONG ResourceManagerInformationLength', 'PULONG ReturnLength'] case 235: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationResourceManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3482,11 +3482,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 236 NTSTATUS NtQueryInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength', 'PULONG ReturnLength'] case 236: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3498,11 +3498,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 237 NTSTATUS NtQueryInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength', 'PULONG ReturnLength'] case 237: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3514,11 +3514,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 238 NTSTATUS NtQueryInformationTransaction ['HANDLE TransactionHandle', 'TRANSACTION_INFORMATION_CLASS TransactionInformationClass', 'PVOID TransactionInformation', 'ULONG TransactionInformationLength', 'PULONG ReturnLength'] case 238: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationTransaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3530,11 +3530,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 239 NTSTATUS NtQueryInformationTransactionManager ['HANDLE TransactionManagerHandle', 'TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass', 'PVOID TransactionManagerInformation', 'ULONG TransactionManagerInformationLength', 'PULONG ReturnLength'] case 239: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3546,11 +3546,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 240 NTSTATUS NtQueryInformationWorkerFactory ['HANDLE WorkerFactoryHandle', 'WORKERFACTORYINFOCLASS WorkerFactoryInformationClass', 'PVOID WorkerFactoryInformation', 'ULONG WorkerFactoryInformationLength', 'PULONG ReturnLength'] case 240: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationWorkerFactory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3562,7 +3562,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 241 NTSTATUS NtQueryInstallUILanguage ['LANGID *InstallUILanguageId'] case 241: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryInstallUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3570,8 +3570,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 242 NTSTATUS NtQueryIntervalProfile ['KPROFILE_SOURCE ProfileSource', 'PULONG Interval'] case 242: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3580,11 +3580,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 243 NTSTATUS NtQueryIoCompletion ['HANDLE IoCompletionHandle', 'IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass', 'PVOID IoCompletionInformation', 'ULONG IoCompletionInformationLength', 'PULONG ReturnLength'] case 243: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3596,11 +3596,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 244 NTSTATUS NtQueryKey ['HANDLE KeyHandle', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 244: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3612,11 +3612,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 245 NTSTATUS NtQueryLicenseValue ['PUNICODE_STRING Name', 'PULONG Type', 'PVOID Buffer', 'ULONG Length', 'PULONG ReturnedLength'] case 245: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryLicenseValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3628,12 +3628,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 246 NTSTATUS NtQueryMultipleValueKey ['HANDLE KeyHandle', 'PKEY_VALUE_ENTRY ValueEntries', 'ULONG EntryCount', 'PVOID ValueBuffer', 'PULONG BufferLength', 'PULONG RequiredBufferLength'] case 246: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryMultipleValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3646,11 +3646,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 247 NTSTATUS NtQueryMutant ['HANDLE MutantHandle', 'MUTANT_INFORMATION_CLASS MutantInformationClass', 'PVOID MutantInformation', 'ULONG MutantInformationLength', 'PULONG ReturnLength'] case 247: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3662,11 +3662,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 248 NTSTATUS NtQueryObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength', 'PULONG ReturnLength'] case 248: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3678,8 +3678,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 249 NTSTATUS NtQueryOpenSubKeys ['POBJECT_ATTRIBUTES TargetKey', 'PULONG HandleCount'] case 249: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryOpenSubKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3688,10 +3688,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 250 NTSTATUS NtQueryOpenSubKeysEx ['POBJECT_ATTRIBUTES TargetKey', 'ULONG BufferLength', 'PVOID Buffer', 'PULONG RequiredSize'] case 250: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQueryOpenSubKeysEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3702,8 +3702,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 251 NTSTATUS NtQueryPerformanceCounter ['PLARGE_INTEGER PerformanceCounter', 'PLARGE_INTEGER PerformanceFrequency'] case 251: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryPerformanceCounter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3718,15 +3718,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 253 NTSTATUS NtQueryQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID SidList', 'ULONG SidListLength', 'PULONG StartSid', 'BOOLEAN RestartScan'] case 253: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3742,11 +3742,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 254 NTSTATUS NtQuerySection ['HANDLE SectionHandle', 'SECTION_INFORMATION_CLASS SectionInformationClass', 'PVOID SectionInformation', 'SIZE_T SectionInformationLength', 'PSIZE_T ReturnLength'] case 254: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3758,12 +3758,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 255 NTSTATUS NtQuerySecurityAttributesToken ['HANDLE TokenHandle', 'PUNICODE_STRING Attributes', 'ULONG NumberOfAttributes', 'PVOID Buffer', 'ULONG Length', 'PULONG ReturnLength'] case 255: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQuerySecurityAttributesToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3776,11 +3776,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 256 NTSTATUS NtQuerySecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ULONG Length', 'PULONG LengthNeeded'] case 256: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3792,11 +3792,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 257 NTSTATUS NtQuerySemaphore ['HANDLE SemaphoreHandle', 'SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass', 'PVOID SemaphoreInformation', 'ULONG SemaphoreInformationLength', 'PULONG ReturnLength'] case 257: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3808,9 +3808,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 258 NTSTATUS NtQuerySymbolicLinkObject ['HANDLE LinkHandle', 'PUNICODE_STRING LinkTarget', 'PULONG ReturnedLength'] case 258: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQuerySymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3820,10 +3820,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 259 NTSTATUS NtQuerySystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PWSTR VariableValue', 'USHORT ValueLength', 'PUSHORT ReturnLength'] case 259: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3834,11 +3834,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 260 NTSTATUS NtQuerySystemEnvironmentValueEx ['PUNICODE_STRING VariableName', 'LPGUID VendorGuid', 'PVOID Value', 'PULONG ValueLength', 'PULONG Attributes'] case 260: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValueEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3850,10 +3850,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 261 NTSTATUS NtQuerySystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength', 'PULONG ReturnLength'] case 261: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3864,12 +3864,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 262 NTSTATUS NtQuerySystemInformationEx ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID QueryInformation', 'ULONG QueryInformationLength', 'PVOID SystemInformation', 'ULONG SystemInformationLength', 'PULONG ReturnLength'] case 262: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQuerySystemInformationEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3882,7 +3882,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 263 NTSTATUS NtQuerySystemTime ['PLARGE_INTEGER SystemTime'] case 263: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQuerySystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3890,11 +3890,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 264 NTSTATUS NtQueryTimer ['HANDLE TimerHandle', 'TIMER_INFORMATION_CLASS TimerInformationClass', 'PVOID TimerInformation', 'ULONG TimerInformationLength', 'PULONG ReturnLength'] case 264: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3906,9 +3906,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 265 NTSTATUS NtQueryTimerResolution ['PULONG MaximumTime', 'PULONG MinimumTime', 'PULONG CurrentTime'] case 265: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQueryTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3918,12 +3918,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 266 NTSTATUS NtQueryValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 266: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3936,12 +3936,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 267 NTSTATUS NtQueryVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'MEMORY_INFORMATION_CLASS MemoryInformationClass', 'PVOID MemoryInformation', 'SIZE_T MemoryInformationLength', 'PSIZE_T ReturnLength'] case 267: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3954,11 +3954,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 268 NTSTATUS NtQueryVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 268: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3970,11 +3970,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 269 NTSTATUS NtQueueApcThread ['HANDLE ThreadHandle', 'PPS_APC_ROUTINE ApcRoutine', 'PVOID ApcArgument1', 'PVOID ApcArgument2', 'PVOID ApcArgument3'] case 269: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueueApcThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3986,12 +3986,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 270 NTSTATUS NtQueueApcThreadEx ['HANDLE ThreadHandle', 'HANDLE UserApcReserveHandle', 'PPS_APC_ROUTINE ApcRoutine', 'PVOID ApcArgument1', 'PVOID ApcArgument2', 'PVOID ApcArgument3'] case 270: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueueApcThreadEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4004,9 +4004,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 271 NTSTATUS NtRaiseException ['PEXCEPTION_RECORD ExceptionRecord', 'PCONTEXT ContextRecord', 'BOOLEAN FirstChance'] case 271: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRaiseException_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4016,12 +4016,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 272 NTSTATUS NtRaiseHardError ['NTSTATUS ErrorStatus', 'ULONG NumberOfParameters', 'ULONG UnicodeStringParameterMask', 'PULONG_PTR Parameters', 'ULONG ValidResponseOptions', 'PULONG Response'] case 272: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtRaiseHardError_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4034,15 +4034,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 273 NTSTATUS NtReadFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 273: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4058,15 +4058,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 274 NTSTATUS NtReadFileScatter ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 274: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFileScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4082,8 +4082,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 275 NTSTATUS NtReadOnlyEnlistment ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 275: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReadOnlyEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4092,12 +4092,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 276 NTSTATUS NtReadRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 276: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtReadRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4110,11 +4110,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 277 NTSTATUS NtReadVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 277: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReadVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4126,8 +4126,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 278 NTSTATUS NtRecoverEnlistment ['HANDLE EnlistmentHandle', 'PVOID EnlistmentKey'] case 278: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRecoverEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4136,7 +4136,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 279 NTSTATUS NtRecoverResourceManager ['HANDLE ResourceManagerHandle'] case 279: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtRecoverResourceManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4144,7 +4144,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 280 NTSTATUS NtRecoverTransactionManager ['HANDLE TransactionManagerHandle'] case 280: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtRecoverTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4152,11 +4152,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 281 NTSTATUS NtRegisterProtocolAddressInformation ['HANDLE ResourceManager', 'PCRM_PROTOCOL_ID ProtocolId', 'ULONG ProtocolInformationSize', 'PVOID ProtocolInformation', 'ULONG CreateOptions'] case 281: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtRegisterProtocolAddressInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4168,7 +4168,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 282 NTSTATUS NtRegisterThreadTerminatePort ['HANDLE PortHandle'] case 282: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtRegisterThreadTerminatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4176,10 +4176,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 283 NTSTATUS NtReleaseKeyedEvent ['HANDLE KeyedEventHandle', 'PVOID KeyValue', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 283: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReleaseKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4190,8 +4190,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 284 NTSTATUS NtReleaseMutant ['HANDLE MutantHandle', 'PLONG PreviousCount'] case 284: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReleaseMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4200,9 +4200,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 285 NTSTATUS NtReleaseSemaphore ['HANDLE SemaphoreHandle', 'LONG ReleaseCount', 'PLONG PreviousCount'] case 285: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReleaseSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -4212,7 +4212,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 286 NTSTATUS NtReleaseWorkerFactoryWorker ['HANDLE WorkerFactoryHandle'] case 286: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtReleaseWorkerFactoryWorker_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4220,11 +4220,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 287 NTSTATUS NtRemoveIoCompletion ['HANDLE IoCompletionHandle', 'PVOID *KeyContext', 'PVOID *ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER Timeout'] case 287: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtRemoveIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4236,12 +4236,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 288 NTSTATUS NtRemoveIoCompletionEx ['HANDLE IoCompletionHandle', 'PFILE_IO_COMPLETION_INFORMATION IoCompletionInformation', 'ULONG Count', 'PULONG NumEntriesRemoved', 'PLARGE_INTEGER Timeout', 'BOOLEAN Alertable'] case 288: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtRemoveIoCompletionEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4254,8 +4254,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 289 NTSTATUS NtRemoveProcessDebug ['HANDLE ProcessHandle', 'HANDLE DebugObjectHandle'] case 289: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRemoveProcessDebug_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4264,8 +4264,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 290 NTSTATUS NtRenameKey ['HANDLE KeyHandle', 'PUNICODE_STRING NewName'] case 290: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRenameKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4274,8 +4274,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 291 NTSTATUS NtRenameTransactionManager ['PUNICODE_STRING LogFileName', 'LPGUID ExistingTransactionManagerGuid'] case 291: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRenameTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4284,9 +4284,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 292 NTSTATUS NtReplaceKey ['POBJECT_ATTRIBUTES NewFile', 'HANDLE TargetHandle', 'POBJECT_ATTRIBUTES OldFile'] case 292: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReplaceKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4296,9 +4296,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 293 NTSTATUS NtReplacePartitionUnit ['PUNICODE_STRING TargetInstancePath', 'PUNICODE_STRING SpareInstancePath', 'ULONG Flags'] case 293: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReplacePartitionUnit_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4308,8 +4308,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 294 NTSTATUS NtReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 294: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4318,10 +4318,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 295 NTSTATUS NtReplyWaitReceivePort ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage'] case 295: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4332,11 +4332,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 296 NTSTATUS NtReplyWaitReceivePortEx ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage', 'PLARGE_INTEGER Timeout'] case 296: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePortEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4348,8 +4348,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 297 NTSTATUS NtReplyWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 297: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4358,8 +4358,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 298 NTSTATUS NtRequestPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage'] case 298: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRequestPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4368,9 +4368,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 299 NTSTATUS NtRequestWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage', 'PPORT_MESSAGE ReplyMessage'] case 299: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRequestWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4380,8 +4380,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 300 NTSTATUS NtResetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 300: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4390,9 +4390,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 301 NTSTATUS NtResetWriteWatch ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T RegionSize'] case 301: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtResetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4402,9 +4402,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 302 NTSTATUS NtRestoreKey ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Flags'] case 302: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRestoreKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4414,7 +4414,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 303 NTSTATUS NtResumeProcess ['HANDLE ProcessHandle'] case 303: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtResumeProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4422,8 +4422,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 304 NTSTATUS NtResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 304: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4432,8 +4432,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 305 NTSTATUS NtRollbackComplete ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 305: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRollbackComplete_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4442,8 +4442,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 306 NTSTATUS NtRollbackEnlistment ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 306: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRollbackEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4452,8 +4452,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 307 NTSTATUS NtRollbackTransaction ['HANDLE TransactionHandle', 'BOOLEAN Wait'] case 307: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRollbackTransaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4462,8 +4462,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 308 NTSTATUS NtRollforwardTransactionManager ['HANDLE TransactionManagerHandle', 'PLARGE_INTEGER TmVirtualClock'] case 308: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRollforwardTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4472,8 +4472,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 309 NTSTATUS NtSaveKey ['HANDLE KeyHandle', 'HANDLE FileHandle'] case 309: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSaveKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4482,9 +4482,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 310 NTSTATUS NtSaveKeyEx ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Format'] case 310: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4494,9 +4494,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 311 NTSTATUS NtSaveMergedKeys ['HANDLE HighPrecedenceKeyHandle', 'HANDLE LowPrecedenceKeyHandle', 'HANDLE FileHandle'] case 311: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveMergedKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4506,15 +4506,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 312 NTSTATUS NtSecureConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PSID RequiredServerSid', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 312: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtSecureConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4536,8 +4536,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 314 NTSTATUS NtSetBootEntryOrder ['PULONG Ids', 'ULONG Count'] case 314: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetBootEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4546,8 +4546,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 315 NTSTATUS NtSetBootOptions ['PBOOT_OPTIONS BootOptions', 'ULONG FieldsToChange'] case 315: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetBootOptions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4556,8 +4556,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 316 NTSTATUS NtSetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 316: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4566,9 +4566,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 317 NTSTATUS NtSetDebugFilterState ['ULONG ComponentId', 'ULONG Level', 'BOOLEAN State'] case 317: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetDebugFilterState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4578,7 +4578,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 318 NTSTATUS NtSetDefaultHardErrorPort ['HANDLE DefaultHardErrorPort'] case 318: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultHardErrorPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4586,8 +4586,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 319 NTSTATUS NtSetDefaultLocale ['BOOLEAN UserProfile', 'LCID DefaultLocaleId'] case 319: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4596,7 +4596,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 320 NTSTATUS NtSetDefaultUILanguage ['LANGID DefaultUILanguageId'] case 320: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4604,8 +4604,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 321 NTSTATUS NtSetDriverEntryOrder ['PULONG Ids', 'ULONG Count'] case 321: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetDriverEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4614,10 +4614,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 322 NTSTATUS NtSetEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 322: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4628,8 +4628,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 323 NTSTATUS NtSetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 323: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4638,7 +4638,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 324 NTSTATUS NtSetEventBoostPriority ['HANDLE EventHandle'] case 324: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetEventBoostPriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4646,7 +4646,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 325 NTSTATUS NtSetHighEventPair ['HANDLE EventPairHandle'] case 325: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4654,7 +4654,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 326 NTSTATUS NtSetHighWaitLowEventPair ['HANDLE EventPairHandle'] case 326: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4662,11 +4662,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 327 NTSTATUS NtSetInformationDebugObject ['HANDLE DebugObjectHandle', 'DEBUGOBJECTINFOCLASS DebugObjectInformationClass', 'PVOID DebugInformation', 'ULONG DebugInformationLength', 'PULONG ReturnLength'] case 327: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationDebugObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4678,10 +4678,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 328 NTSTATUS NtSetInformationEnlistment ['HANDLE EnlistmentHandle', 'ENLISTMENT_INFORMATION_CLASS EnlistmentInformationClass', 'PVOID EnlistmentInformation', 'ULONG EnlistmentInformationLength'] case 328: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationEnlistment_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4692,11 +4692,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 329 NTSTATUS NtSetInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 329: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4708,10 +4708,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 330 NTSTATUS NtSetInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength'] case 330: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4722,10 +4722,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 331 NTSTATUS NtSetInformationKey ['HANDLE KeyHandle', 'KEY_SET_INFORMATION_CLASS KeySetInformationClass', 'PVOID KeySetInformation', 'ULONG KeySetInformationLength'] case 331: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4736,10 +4736,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 332 NTSTATUS NtSetInformationObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength'] case 332: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4750,10 +4750,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 333 NTSTATUS NtSetInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength'] case 333: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4764,10 +4764,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 334 NTSTATUS NtSetInformationResourceManager ['HANDLE ResourceManagerHandle', 'RESOURCEMANAGER_INFORMATION_CLASS ResourceManagerInformationClass', 'PVOID ResourceManagerInformation', 'ULONG ResourceManagerInformationLength'] case 334: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationResourceManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4778,10 +4778,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 335 NTSTATUS NtSetInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength'] case 335: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4792,10 +4792,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 336 NTSTATUS NtSetInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength'] case 336: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4806,10 +4806,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 337 NTSTATUS NtSetInformationTransaction ['HANDLE TransactionHandle', 'TRANSACTION_INFORMATION_CLASS TransactionInformationClass', 'PVOID TransactionInformation', 'ULONG TransactionInformationLength'] case 337: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationTransaction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4820,10 +4820,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 338 NTSTATUS NtSetInformationTransactionManager ['HANDLE TmHandle', 'TRANSACTIONMANAGER_INFORMATION_CLASS TransactionManagerInformationClass', 'PVOID TransactionManagerInformation', 'ULONG TransactionManagerInformationLength'] case 338: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationTransactionManager_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4834,10 +4834,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 339 NTSTATUS NtSetInformationWorkerFactory ['HANDLE WorkerFactoryHandle', 'WORKERFACTORYINFOCLASS WorkerFactoryInformationClass', 'PVOID WorkerFactoryInformation', 'ULONG WorkerFactoryInformationLength'] case 339: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationWorkerFactory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4848,8 +4848,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 340 NTSTATUS NtSetIntervalProfile ['ULONG Interval', 'KPROFILE_SOURCE Source'] case 340: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4858,11 +4858,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 341 NTSTATUS NtSetIoCompletion ['HANDLE IoCompletionHandle', 'PVOID KeyContext', 'PVOID ApcContext', 'NTSTATUS IoStatus', 'ULONG_PTR IoStatusInformation'] case 341: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4874,12 +4874,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 342 NTSTATUS NtSetIoCompletionEx ['HANDLE IoCompletionHandle', 'HANDLE IoCompletionReserveHandle', 'PVOID KeyContext', 'PVOID ApcContext', 'NTSTATUS IoStatus', 'ULONG_PTR IoStatusInformation'] case 342: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetIoCompletionEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4892,12 +4892,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 343 NTSTATUS NtSetLdtEntries ['ULONG Selector0', 'ULONG Entry0Low', 'ULONG Entry0Hi', 'ULONG Selector1', 'ULONG Entry1Low', 'ULONG Entry1Hi'] case 343: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetLdtEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4910,7 +4910,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 344 NTSTATUS NtSetLowEventPair ['HANDLE EventPairHandle'] case 344: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4918,7 +4918,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 345 NTSTATUS NtSetLowWaitHighEventPair ['HANDLE EventPairHandle'] case 345: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -4926,10 +4926,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 346 NTSTATUS NtSetQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 346: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4940,9 +4940,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 347 NTSTATUS NtSetSecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor'] case 347: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4952,8 +4952,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 348 NTSTATUS NtSetSystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PUNICODE_STRING VariableValue'] case 348: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4962,11 +4962,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 349 NTSTATUS NtSetSystemEnvironmentValueEx ['PUNICODE_STRING VariableName', 'LPGUID VendorGuid', 'PVOID Value', 'ULONG ValueLength', 'ULONG Attributes'] case 349: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValueEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4978,9 +4978,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 350 NTSTATUS NtSetSystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength'] case 350: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -4990,9 +4990,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 351 NTSTATUS NtSetSystemPowerState ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags'] case 351: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemPowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5002,8 +5002,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 352 NTSTATUS NtSetSystemTime ['PLARGE_INTEGER SystemTime', 'PLARGE_INTEGER PreviousTime'] case 352: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5012,8 +5012,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 353 NTSTATUS NtSetThreadExecutionState ['EXECUTION_STATE esFlags', 'PEXECUTION_STATE PreviousFlags'] case 353: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetThreadExecutionState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5022,13 +5022,13 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 354 NTSTATUS NtSetTimer ['HANDLE TimerHandle', 'PLARGE_INTEGER DueTime', 'PTIMER_APC_ROUTINE TimerApcRoutine', 'PVOID TimerContext', 'BOOLEAN WakeTimer', 'LONG Period', 'PBOOLEAN PreviousState'] case 354: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtSetTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5042,10 +5042,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 355 NTSTATUS NtSetTimerEx ['HANDLE TimerHandle', 'TIMER_SET_INFORMATION_CLASS TimerSetInformationClass', 'PVOID TimerSetInformation', 'ULONG TimerSetInformationLength'] case 355: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetTimerEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5056,9 +5056,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 356 NTSTATUS NtSetTimerResolution ['ULONG DesiredTime', 'BOOLEAN SetResolution', 'PULONG ActualTime'] case 356: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5068,7 +5068,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 357 NTSTATUS NtSetUuidSeed ['PCHAR Seed'] case 357: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetUuidSeed_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5076,12 +5076,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 358 NTSTATUS NtSetValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'ULONG TitleIndex', 'ULONG Type', 'PVOID Data', 'ULONG DataSize'] case 358: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5094,11 +5094,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 359 NTSTATUS NtSetVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 359: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5110,7 +5110,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 360 NTSTATUS NtShutdownSystem ['SHUTDOWN_ACTION Action'] case 360: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtShutdownSystem_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5118,8 +5118,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 361 NTSTATUS NtShutdownWorkerFactory ['HANDLE WorkerFactoryHandle', 'LONG *PendingWorkerCount'] case 361: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtShutdownWorkerFactory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5128,10 +5128,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 362 NTSTATUS NtSignalAndWaitForSingleObject ['HANDLE SignalHandle', 'HANDLE WaitHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 362: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSignalAndWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5142,8 +5142,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 363 NTSTATUS NtSinglePhaseReject ['HANDLE EnlistmentHandle', 'PLARGE_INTEGER TmVirtualClock'] case 363: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSinglePhaseReject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5152,7 +5152,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 364 NTSTATUS NtStartProfile ['HANDLE ProfileHandle'] case 364: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStartProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5160,7 +5160,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 365 NTSTATUS NtStopProfile ['HANDLE ProfileHandle'] case 365: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStopProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5168,7 +5168,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 366 NTSTATUS NtSuspendProcess ['HANDLE ProcessHandle'] case 366: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSuspendProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5176,8 +5176,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 367 NTSTATUS NtSuspendThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 367: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSuspendThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5186,12 +5186,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 368 NTSTATUS NtSystemDebugControl ['SYSDBG_COMMAND Command', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength', 'PULONG ReturnLength'] case 368: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSystemDebugControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5204,8 +5204,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 369 NTSTATUS NtTerminateJobObject ['HANDLE JobHandle', 'NTSTATUS ExitStatus'] case 369: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5214,8 +5214,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 370 NTSTATUS NtTerminateProcess ['HANDLE ProcessHandle', 'NTSTATUS ExitStatus'] case 370: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5224,8 +5224,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 371 NTSTATUS NtTerminateThread ['HANDLE ThreadHandle', 'NTSTATUS ExitStatus'] case 371: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5252,12 +5252,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 375 NTSTATUS NtTraceControl ['ULONG FunctionCode', 'PVOID InBuffer', 'ULONG InBufferLen', 'PVOID OutBuffer', 'ULONG OutBufferLen', 'PULONG ReturnLength'] case 375: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtTraceControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5270,10 +5270,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 376 NTSTATUS NtTraceEvent ['HANDLE TraceHandle', 'ULONG Flags', 'ULONG FieldSize', 'PVOID Fields'] case 376: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtTraceEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5284,10 +5284,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 377 NTSTATUS NtTranslateFilePath ['PFILE_PATH InputFilePath', 'ULONG OutputType', 'PFILE_PATH OutputFilePath', 'PULONG OutputFilePathLength'] case 377: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtTranslateFilePath_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5298,7 +5298,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 378 NTSTATUS NtUmsThreadYield ['PVOID SchedulerParam'] case 378: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUmsThreadYield_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5306,7 +5306,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 379 NTSTATUS NtUnloadDriver ['PUNICODE_STRING DriverServiceName'] case 379: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5314,7 +5314,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 380 NTSTATUS NtUnloadKey ['POBJECT_ATTRIBUTES TargetKey'] case 380: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5322,8 +5322,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 381 NTSTATUS NtUnloadKey2 ['POBJECT_ATTRIBUTES TargetKey', 'ULONG Flags'] case 381: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnloadKey2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5332,8 +5332,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 382 NTSTATUS NtUnloadKeyEx ['POBJECT_ATTRIBUTES TargetKey', 'HANDLE Event'] case 382: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnloadKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5342,11 +5342,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 383 NTSTATUS NtUnlockFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key'] case 383: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtUnlockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5358,10 +5358,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 384 NTSTATUS NtUnlockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 384: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtUnlockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5372,8 +5372,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 385 NTSTATUS NtUnmapViewOfSection ['HANDLE ProcessHandle', 'PVOID BaseAddress'] case 385: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnmapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5382,8 +5382,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 386 NTSTATUS NtVdmControl ['VDMSERVICECLASS Service', 'PVOID ServiceData'] case 386: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtVdmControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5392,10 +5392,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 387 NTSTATUS NtWaitForDebugEvent ['HANDLE DebugObjectHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout', 'PDBGUI_WAIT_STATE_CHANGE WaitStateChange'] case 387: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtWaitForDebugEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5406,10 +5406,10 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 388 NTSTATUS NtWaitForKeyedEvent ['HANDLE KeyedEventHandle', 'PVOID KeyValue', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 388: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtWaitForKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5420,11 +5420,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 389 NTSTATUS NtWaitForMultipleObjects ['ULONG Count', 'HANDLE Handles[]', 'WAIT_TYPE WaitType', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 389: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWaitForMultipleObjects_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5436,11 +5436,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 390 NTSTATUS NtWaitForMultipleObjects32 ['ULONG Count', 'LONG Handles[]', 'WAIT_TYPE WaitType', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 390: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWaitForMultipleObjects32_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5452,9 +5452,9 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 391 NTSTATUS NtWaitForSingleObject ['HANDLE Handle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 391: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5464,8 +5464,8 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 392 NTSTATUS NtWaitForWorkViaWorkerFactory ['HANDLE WorkerFactoryHandle', 'PFILE_IO_COMPLETION_INFORMATION MiniPacket'] case 392: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtWaitForWorkViaWorkerFactory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5474,7 +5474,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 393 NTSTATUS NtWaitHighEventPair ['HANDLE EventPairHandle'] case 393: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5482,7 +5482,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 394 NTSTATUS NtWaitLowEventPair ['HANDLE EventPairHandle'] case 394: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5490,7 +5490,7 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 395 NTSTATUS NtWorkerFactoryWorkerReady ['HANDLE WorkerFactoryHandle'] case 395: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWorkerFactoryWorkerReady_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -5498,15 +5498,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 396 NTSTATUS NtWriteFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 396: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5522,15 +5522,15 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 397 NTSTATUS NtWriteFileGather ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 397: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFileGather_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5546,12 +5546,12 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 398 NTSTATUS NtWriteRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 398: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtWriteRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -5564,11 +5564,11 @@ void syscall_return_switch_windows_7_x86(CPUState *cpu, target_ptr_t pc, const s }; break; // 399 NTSTATUS NtWriteVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 399: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWriteVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp2_x86.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp2_x86.cpp index ed1881e37e9..b668d6b71d1 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp2_x86.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp2_x86.cpp @@ -18,12 +18,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con switch (ctx->no) { // 0 NTSTATUS NtAcceptConnectPort ['PHANDLE PortHandle', 'PVOID PortContext', 'PPORT_MESSAGE ConnectionRequest', 'BOOLEAN AcceptConnection', 'PPORT_VIEW ServerView', 'PREMOTE_PORT_VIEW ClientView'] case 0: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAcceptConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -36,14 +36,14 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 1 NTSTATUS NtAccessCheck ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 1: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtAccessCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -58,17 +58,17 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 2 NTSTATUS NtAccessCheckAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 2: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -86,17 +86,17 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 3 NTSTATUS NtAccessCheckByType ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 3: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByType_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -114,22 +114,22 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 4 NTSTATUS NtAccessCheckByTypeAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 4: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -152,17 +152,17 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 5 NTSTATUS NtAccessCheckByTypeResultList ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 5: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultList_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -180,22 +180,22 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 6 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 6: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -218,23 +218,23 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 7 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarmByHandle ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 7: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; - uint32_t arg16; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; + uint32_t arg16 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -258,9 +258,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 8 NTSTATUS NtAddAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 8: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAddAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -270,8 +270,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 9 NTSTATUS NtAddBootEntry ['PBOOT_ENTRY BootEntry', 'PULONG Id'] case 9: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAddBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -280,12 +280,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 10 NTSTATUS NtAdjustGroupsToken ['HANDLE TokenHandle', 'BOOLEAN ResetToDefault', 'PTOKEN_GROUPS NewState', 'ULONG BufferLength', 'PTOKEN_GROUPS PreviousState', 'PULONG ReturnLength'] case 10: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustGroupsToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -298,12 +298,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 11 NTSTATUS NtAdjustPrivilegesToken ['HANDLE TokenHandle', 'BOOLEAN DisableAllPrivileges', 'PTOKEN_PRIVILEGES NewState', 'ULONG BufferLength', 'PTOKEN_PRIVILEGES PreviousState', 'PULONG ReturnLength'] case 11: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustPrivilegesToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -316,8 +316,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 12 NTSTATUS NtAlertResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 12: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAlertResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -326,7 +326,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 13 NTSTATUS NtAlertThread ['HANDLE ThreadHandle'] case 13: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAlertThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -334,7 +334,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 14 NTSTATUS NtAllocateLocallyUniqueId ['PLUID Luid'] case 14: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAllocateLocallyUniqueId_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -342,9 +342,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 15 NTSTATUS NtAllocateUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 15: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAllocateUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -354,10 +354,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 16 NTSTATUS NtAllocateUuids ['PULARGE_INTEGER Time', 'PULONG Range', 'PULONG Sequence', 'PCHAR Seed'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtAllocateUuids_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -368,12 +368,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 17 NTSTATUS NtAllocateVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'PSIZE_T RegionSize', 'ULONG AllocationType', 'ULONG Protect'] case 17: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAllocateVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -386,8 +386,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 18 NTSTATUS NtAreMappedFilesTheSame ['PVOID File1MappedAsAnImage', 'PVOID File2MappedAsFile'] case 18: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAreMappedFilesTheSame_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -396,8 +396,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 19 NTSTATUS NtAssignProcessToJobObject ['HANDLE JobHandle', 'HANDLE ProcessHandle'] case 19: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAssignProcessToJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -406,9 +406,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 20 NTSTATUS NtCallbackReturn ['PVOID OutputBuffer', 'ULONG OutputLength', 'NTSTATUS Status'] case 20: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCallbackReturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -418,8 +418,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 22 NTSTATUS NtCancelIoFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 22: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelIoFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -428,8 +428,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 23 NTSTATUS NtCancelTimer ['HANDLE TimerHandle', 'PBOOLEAN CurrentState'] case 23: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -438,7 +438,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 24 NTSTATUS NtClearEvent ['HANDLE EventHandle'] case 24: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClearEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -446,7 +446,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 25 NTSTATUS NtClose ['HANDLE Handle'] case 25: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClose_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -454,9 +454,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 26 NTSTATUS NtCloseObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 26: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCloseObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -466,8 +466,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 27 NTSTATUS NtCompactKeys ['ULONG Count', 'HANDLE KeyArray[]'] case 27: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCompactKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -476,9 +476,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 28 NTSTATUS NtCompareTokens ['HANDLE FirstTokenHandle', 'HANDLE SecondTokenHandle', 'PBOOLEAN Equal'] case 28: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCompareTokens_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -488,7 +488,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 29 NTSTATUS NtCompleteConnectPort ['HANDLE PortHandle'] case 29: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompleteConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -496,7 +496,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 30 NTSTATUS NtCompressKey ['HANDLE Key'] case 30: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompressKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -504,14 +504,14 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 31 NTSTATUS NtConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 31: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -526,8 +526,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 32 NTSTATUS NtContinue ['PCONTEXT ContextRecord', 'BOOLEAN TestAlert'] case 32: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -536,10 +536,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 33 NTSTATUS NtCreateDebugObject ['PHANDLE DebugObjectHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Flags'] case 33: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateDebugObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -550,9 +550,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 34 NTSTATUS NtCreateDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 34: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -562,11 +562,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 35 NTSTATUS NtCreateEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'EVENT_TYPE EventType', 'BOOLEAN InitialState'] case 35: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -578,9 +578,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 36 NTSTATUS NtCreateEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 36: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -590,17 +590,17 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 37 NTSTATUS NtCreateFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER AllocationSize', 'ULONG FileAttributes', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'PVOID EaBuffer', 'ULONG EaLength'] case 37: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtCreateFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -618,10 +618,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 38 NTSTATUS NtCreateIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Count'] case 38: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -632,9 +632,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 39 NTSTATUS NtCreateJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 39: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -644,9 +644,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 40 NTSTATUS NtCreateJobSet ['ULONG NumJob', 'PJOB_SET_ARRAY UserJobSet', 'ULONG Flags'] case 40: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobSet_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -656,13 +656,13 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 41 NTSTATUS NtCreateKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG TitleIndex', 'PUNICODE_STRING Class', 'ULONG CreateOptions', 'PULONG Disposition'] case 41: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -676,14 +676,14 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 42 NTSTATUS NtCreateMailslotFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CreateOptions', 'ULONG MailslotQuota', 'ULONG MaximumMessageSize', 'PLARGE_INTEGER ReadTimeout'] case 42: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateMailslotFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -698,10 +698,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 43 NTSTATUS NtCreateMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN InitialOwner'] case 43: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -712,20 +712,20 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 44 NTSTATUS NtCreateNamedPipeFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'ULONG NamedPipeType', 'ULONG ReadMode', 'ULONG CompletionMode', 'ULONG MaximumInstances', 'ULONG InboundQuota', 'ULONG OutboundQuota', 'PLARGE_INTEGER DefaultTimeout'] case 44: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; if (PPP_CHECK_CB(on_NtCreateNamedPipeFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -746,10 +746,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 45 NTSTATUS NtCreatePagingFile ['PUNICODE_STRING PageFileName', 'PLARGE_INTEGER MinimumSize', 'PLARGE_INTEGER MaximumSize', 'ULONG Priority'] case 45: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreatePagingFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -760,11 +760,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 46 NTSTATUS NtCreatePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 46: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -776,14 +776,14 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 47 NTSTATUS NtCreateProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'BOOLEAN InheritObjectTable', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort'] case 47: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -798,15 +798,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 48 NTSTATUS NtCreateProcessEx ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'ULONG Flags', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort', 'ULONG JobMemberLevel'] case 48: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProcessEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -822,15 +822,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 49 NTSTATUS NtCreateProfile ['PHANDLE ProfileHandle', 'HANDLE Process', 'PVOID RangeBase', 'SIZE_T RangeSize', 'ULONG BucketSize', 'PULONG Buffer', 'ULONG BufferSize', 'KPROFILE_SOURCE ProfileSource', 'KAFFINITY Affinity'] case 49: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -846,13 +846,13 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 50 NTSTATUS NtCreateSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PLARGE_INTEGER MaximumSize', 'ULONG SectionPageProtection', 'ULONG AllocationAttributes', 'HANDLE FileHandle'] case 50: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -866,11 +866,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 51 NTSTATUS NtCreateSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'LONG InitialCount', 'LONG MaximumCount'] case 51: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -882,10 +882,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 52 NTSTATUS NtCreateSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PUNICODE_STRING LinkTarget'] case 52: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -896,14 +896,14 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 53 NTSTATUS NtCreateThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ProcessHandle', 'PCLIENT_ID ClientId', 'PCONTEXT ThreadContext', 'PINITIAL_TEB InitialTeb', 'BOOLEAN CreateSuspended'] case 53: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -918,10 +918,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 54 NTSTATUS NtCreateTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TIMER_TYPE TimerType'] case 54: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -932,19 +932,19 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 55 NTSTATUS NtCreateToken ['PHANDLE TokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TOKEN_TYPE TokenType', 'PLUID AuthenticationId', 'PLARGE_INTEGER ExpirationTime', 'PTOKEN_USER User', 'PTOKEN_GROUPS Groups', 'PTOKEN_PRIVILEGES Privileges', 'PTOKEN_OWNER Owner', 'PTOKEN_PRIMARY_GROUP PrimaryGroup', 'PTOKEN_DEFAULT_DACL DefaultDacl', 'PTOKEN_SOURCE TokenSource'] case 55: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; if (PPP_CHECK_CB(on_NtCreateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -964,11 +964,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 56 NTSTATUS NtCreateWaitablePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 56: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateWaitablePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -980,8 +980,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 57 NTSTATUS NtDebugActiveProcess ['HANDLE ProcessHandle', 'HANDLE DebugObjectHandle'] case 57: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDebugActiveProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -990,9 +990,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 58 NTSTATUS NtDebugContinue ['HANDLE DebugObjectHandle', 'PCLIENT_ID ClientId', 'NTSTATUS ContinueStatus'] case 58: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDebugContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1002,8 +1002,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 59 NTSTATUS NtDelayExecution ['BOOLEAN Alertable', 'PLARGE_INTEGER DelayInterval'] case 59: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDelayExecution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1012,7 +1012,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 60 NTSTATUS NtDeleteAtom ['RTL_ATOM Atom'] case 60: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1020,7 +1020,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 61 NTSTATUS NtDeleteBootEntry ['ULONG Id'] case 61: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1028,7 +1028,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 62 NTSTATUS NtDeleteFile ['POBJECT_ATTRIBUTES ObjectAttributes'] case 62: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1036,7 +1036,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 63 NTSTATUS NtDeleteKey ['HANDLE KeyHandle'] case 63: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1044,9 +1044,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 64 NTSTATUS NtDeleteObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 64: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDeleteObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1056,8 +1056,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 65 NTSTATUS NtDeleteValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName'] case 65: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDeleteValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1066,16 +1066,16 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 66 NTSTATUS NtDeviceIoControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 66: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtDeviceIoControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1092,7 +1092,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 67 NTSTATUS NtDisplayString ['PUNICODE_STRING String'] case 67: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDisplayString_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1100,13 +1100,13 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 68 NTSTATUS NtDuplicateObject ['HANDLE SourceProcessHandle', 'HANDLE SourceHandle', 'HANDLE TargetProcessHandle', 'PHANDLE TargetHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'ULONG Options'] case 68: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtDuplicateObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1120,12 +1120,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 69 NTSTATUS NtDuplicateToken ['HANDLE ExistingTokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN EffectiveOnly', 'TOKEN_TYPE TokenType', 'PHANDLE NewTokenHandle'] case 69: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtDuplicateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1138,8 +1138,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 70 NTSTATUS NtEnumerateBootEntries ['PVOID Buffer', 'PULONG BufferLength'] case 70: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtEnumerateBootEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1148,12 +1148,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 71 NTSTATUS NtEnumerateKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 71: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1166,9 +1166,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 72 NTSTATUS NtEnumerateSystemEnvironmentValuesEx ['ULONG InformationClass', 'PVOID Buffer', 'PULONG BufferLength'] case 72: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtEnumerateSystemEnvironmentValuesEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1178,12 +1178,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 73 NTSTATUS NtEnumerateValueKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 73: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1196,8 +1196,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 74 NTSTATUS NtExtendSection ['HANDLE SectionHandle', 'PLARGE_INTEGER NewSectionSize'] case 74: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtExtendSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1206,12 +1206,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 75 NTSTATUS NtFilterToken ['HANDLE ExistingTokenHandle', 'ULONG Flags', 'PTOKEN_GROUPS SidsToDisable', 'PTOKEN_PRIVILEGES PrivilegesToDelete', 'PTOKEN_GROUPS RestrictedSids', 'PHANDLE NewTokenHandle'] case 75: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtFilterToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1224,9 +1224,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 76 NTSTATUS NtFindAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 76: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFindAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1236,8 +1236,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 77 NTSTATUS NtFlushBuffersFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 77: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtFlushBuffersFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1246,9 +1246,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 78 NTSTATUS NtFlushInstructionCache ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T Length'] case 78: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFlushInstructionCache_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1258,7 +1258,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 79 NTSTATUS NtFlushKey ['HANDLE KeyHandle'] case 79: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtFlushKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1266,10 +1266,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 80 NTSTATUS NtFlushVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'PIO_STATUS_BLOCK IoStatus'] case 80: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFlushVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1286,9 +1286,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 82 NTSTATUS NtFreeUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 82: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFreeUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1298,10 +1298,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 83 NTSTATUS NtFreeVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG FreeType'] case 83: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFreeVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1312,16 +1312,16 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 84 NTSTATUS NtFsControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 84: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtFsControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1338,8 +1338,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 85 NTSTATUS NtGetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 85: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1348,8 +1348,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 86 NTSTATUS NtGetDevicePowerState ['HANDLE Device', 'DEVICE_POWER_STATE *State'] case 86: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetDevicePowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1358,10 +1358,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 87 NTSTATUS NtGetPlugPlayEvent ['HANDLE EventHandle', 'PVOID Context', 'PPLUGPLAY_EVENT_BLOCK EventBlock', 'ULONG EventBufferSize'] case 87: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtGetPlugPlayEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1372,13 +1372,13 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 88 NTSTATUS NtGetWriteWatch ['HANDLE ProcessHandle', 'ULONG Flags', 'PVOID BaseAddress', 'SIZE_T RegionSize', 'PVOID *UserAddressArray', 'PULONG_PTR EntriesInUserAddressArray', 'PULONG Granularity'] case 88: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtGetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1392,7 +1392,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 89 NTSTATUS NtImpersonateAnonymousToken ['HANDLE ThreadHandle'] case 89: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtImpersonateAnonymousToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1400,8 +1400,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 90 NTSTATUS NtImpersonateClientOfPort ['HANDLE PortHandle', 'PPORT_MESSAGE Message'] case 90: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtImpersonateClientOfPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1410,9 +1410,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 91 NTSTATUS NtImpersonateThread ['HANDLE ServerThreadHandle', 'HANDLE ClientThreadHandle', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos'] case 91: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtImpersonateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1422,7 +1422,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 92 NTSTATUS NtInitializeRegistry ['USHORT BootCondition'] case 92: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtInitializeRegistry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1430,10 +1430,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 93 NTSTATUS NtInitiatePowerAction ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags', 'BOOLEAN Asynchronous'] case 93: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtInitiatePowerAction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1444,8 +1444,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 94 NTSTATUS NtIsProcessInJob ['HANDLE ProcessHandle', 'HANDLE JobHandle'] case 94: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtIsProcessInJob_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1460,8 +1460,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 96 NTSTATUS NtListenPort ['HANDLE PortHandle', 'PPORT_MESSAGE ConnectionRequest'] case 96: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtListenPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1470,7 +1470,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 97 NTSTATUS NtLoadDriver ['PUNICODE_STRING DriverServiceName'] case 97: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLoadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1478,8 +1478,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 98 NTSTATUS NtLoadKey ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile'] case 98: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLoadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1488,9 +1488,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 99 NTSTATUS NtLoadKey2 ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile', 'ULONG Flags'] case 99: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtLoadKey2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1500,16 +1500,16 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 100 NTSTATUS NtLockFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key', 'BOOLEAN FailImmediately', 'BOOLEAN ExclusiveLock'] case 100: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtLockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1526,8 +1526,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 101 NTSTATUS NtLockProductActivationKeys ['ULONG *pPrivateVer', 'ULONG *pSafeMode'] case 101: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLockProductActivationKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1536,7 +1536,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 102 NTSTATUS NtLockRegistryKey ['HANDLE KeyHandle'] case 102: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLockRegistryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1544,10 +1544,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 103 NTSTATUS NtLockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 103: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtLockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1558,7 +1558,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 104 NTSTATUS NtMakePermanentObject ['HANDLE Handle'] case 104: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakePermanentObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1566,7 +1566,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 105 NTSTATUS NtMakeTemporaryObject ['HANDLE Handle'] case 105: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakeTemporaryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1574,9 +1574,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 106 NTSTATUS NtMapUserPhysicalPages ['PVOID VirtualAddress', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 106: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1586,9 +1586,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 107 NTSTATUS NtMapUserPhysicalPagesScatter ['PVOID *VirtualAddresses', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 107: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPagesScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1598,16 +1598,16 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 108 NTSTATUS NtMapViewOfSection ['HANDLE SectionHandle', 'HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'SIZE_T CommitSize', 'PLARGE_INTEGER SectionOffset', 'PSIZE_T ViewSize', 'SECTION_INHERIT InheritDisposition', 'ULONG AllocationType', 'WIN32_PROTECTION_MASK Win32Protect'] case 108: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtMapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1624,7 +1624,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 109 NTSTATUS NtModifyBootEntry ['PBOOT_ENTRY BootEntry'] case 109: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtModifyBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1632,15 +1632,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 110 NTSTATUS NtNotifyChangeDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'ULONG CompletionFilter', 'BOOLEAN WatchTree'] case 110: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1656,16 +1656,16 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 111 NTSTATUS NtNotifyChangeKey ['HANDLE KeyHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 111: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1682,18 +1682,18 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 112 NTSTATUS NtNotifyChangeMultipleKeys ['HANDLE MasterKeyHandle', 'ULONG Count', 'OBJECT_ATTRIBUTES SlaveObjects[]', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 112: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeMultipleKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1712,9 +1712,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 113 NTSTATUS NtOpenDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 113: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1724,9 +1724,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 114 NTSTATUS NtOpenEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 114: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1736,9 +1736,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 115 NTSTATUS NtOpenEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 115: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1748,12 +1748,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 116 NTSTATUS NtOpenFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG OpenOptions'] case 116: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtOpenFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1766,9 +1766,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 117 NTSTATUS NtOpenIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 117: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1778,9 +1778,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 118 NTSTATUS NtOpenJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 118: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1790,9 +1790,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 119 NTSTATUS NtOpenKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 119: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1802,9 +1802,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 120 NTSTATUS NtOpenMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 120: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1814,18 +1814,18 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 121 NTSTATUS NtOpenObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'ACCESS_MASK GrantedAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN ObjectCreation', 'BOOLEAN AccessGranted', 'PBOOLEAN GenerateOnClose'] case 121: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtOpenObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1844,10 +1844,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 122 NTSTATUS NtOpenProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 122: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1858,9 +1858,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 123 NTSTATUS NtOpenProcessToken ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'PHANDLE TokenHandle'] case 123: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenProcessToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1870,10 +1870,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 124 NTSTATUS NtOpenProcessTokenEx ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'PHANDLE TokenHandle'] case 124: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcessTokenEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1884,9 +1884,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 125 NTSTATUS NtOpenSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1896,9 +1896,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 126 NTSTATUS NtOpenSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 126: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1908,9 +1908,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 127 NTSTATUS NtOpenSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 127: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1920,10 +1920,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 128 NTSTATUS NtOpenThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1934,10 +1934,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 129 NTSTATUS NtOpenThreadToken ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'PHANDLE TokenHandle'] case 129: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThreadToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1948,11 +1948,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 130 NTSTATUS NtOpenThreadTokenEx ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'ULONG HandleAttributes', 'PHANDLE TokenHandle'] case 130: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenThreadTokenEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1964,9 +1964,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 131 NTSTATUS NtOpenTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1976,9 +1976,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 132 NTSTATUS NtPlugPlayControl ['PLUGPLAY_CONTROL_CLASS PnPControlClass', 'PVOID PnPControlData', 'ULONG PnPControlDataLength'] case 132: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPlugPlayControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1988,11 +1988,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 133 NTSTATUS NtPowerInformation ['POWER_INFORMATION_LEVEL InformationLevel', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 133: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPowerInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2004,9 +2004,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 134 NTSTATUS NtPrivilegeCheck ['HANDLE ClientToken', 'PPRIVILEGE_SET RequiredPrivileges', 'PBOOLEAN Result'] case 134: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPrivilegeCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2016,12 +2016,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 135 NTSTATUS NtPrivilegeObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 135: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtPrivilegeObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2034,11 +2034,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 136 NTSTATUS NtPrivilegedServiceAuditAlarm ['PUNICODE_STRING SubsystemName', 'PUNICODE_STRING ServiceName', 'HANDLE ClientToken', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 136: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPrivilegedServiceAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2050,11 +2050,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 137 NTSTATUS NtProtectVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'WIN32_PROTECTION_MASK NewProtectWin32', 'PULONG OldProtect'] case 137: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtProtectVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2066,8 +2066,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 138 NTSTATUS NtPulseEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 138: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPulseEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2076,8 +2076,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 139 NTSTATUS NtQueryAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_BASIC_INFORMATION FileInformation'] case 139: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2086,8 +2086,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 140 NTSTATUS NtQueryBootEntryOrder ['PULONG Ids', 'PULONG Count'] case 140: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryBootEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2096,8 +2096,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 141 NTSTATUS NtQueryBootOptions ['PBOOT_OPTIONS BootOptions', 'PULONG BootOptionsLength'] case 141: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryBootOptions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2106,8 +2106,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 142 NTSTATUS NtQueryDebugFilterState ['ULONG ComponentId', 'ULONG Level'] case 142: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDebugFilterState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2116,8 +2116,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 143 NTSTATUS NtQueryDefaultLocale ['BOOLEAN UserProfile', 'PLCID DefaultLocaleId'] case 143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2126,7 +2126,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 144 NTSTATUS NtQueryDefaultUILanguage ['LANGID *DefaultUILanguageId'] case 144: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2134,17 +2134,17 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 145 NTSTATUS NtQueryDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass', 'BOOLEAN ReturnSingleEntry', 'PUNICODE_STRING FileName', 'BOOLEAN RestartScan'] case 145: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2162,13 +2162,13 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 146 NTSTATUS NtQueryDirectoryObject ['HANDLE DirectoryHandle', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'BOOLEAN RestartScan', 'PULONG Context', 'PULONG ReturnLength'] case 146: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2182,15 +2182,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 147 NTSTATUS NtQueryEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID EaList', 'ULONG EaListLength', 'PULONG EaIndex', 'BOOLEAN RestartScan'] case 147: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2206,11 +2206,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 148 NTSTATUS NtQueryEvent ['HANDLE EventHandle', 'EVENT_INFORMATION_CLASS EventInformationClass', 'PVOID EventInformation', 'ULONG EventInformationLength', 'PULONG ReturnLength'] case 148: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2222,8 +2222,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 149 NTSTATUS NtQueryFullAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_NETWORK_OPEN_INFORMATION FileInformation'] case 149: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryFullAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2232,11 +2232,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 150 NTSTATUS NtQueryInformationAtom ['RTL_ATOM Atom', 'ATOM_INFORMATION_CLASS InformationClass', 'PVOID AtomInformation', 'ULONG AtomInformationLength', 'PULONG ReturnLength'] case 150: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2248,11 +2248,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 151 NTSTATUS NtQueryInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 151: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2264,11 +2264,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 152 NTSTATUS NtQueryInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength', 'PULONG ReturnLength'] case 152: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2280,11 +2280,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 153 NTSTATUS NtQueryInformationPort ['HANDLE PortHandle', 'PORT_INFORMATION_CLASS PortInformationClass', 'PVOID PortInformation', 'ULONG Length', 'PULONG ReturnLength'] case 153: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2296,11 +2296,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 154 NTSTATUS NtQueryInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength', 'PULONG ReturnLength'] case 154: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2312,11 +2312,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 155 NTSTATUS NtQueryInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength', 'PULONG ReturnLength'] case 155: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2328,11 +2328,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 156 NTSTATUS NtQueryInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength', 'PULONG ReturnLength'] case 156: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2344,7 +2344,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 157 NTSTATUS NtQueryInstallUILanguage ['LANGID *InstallUILanguageId'] case 157: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryInstallUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2352,8 +2352,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 158 NTSTATUS NtQueryIntervalProfile ['KPROFILE_SOURCE ProfileSource', 'PULONG Interval'] case 158: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2362,11 +2362,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 159 NTSTATUS NtQueryIoCompletion ['HANDLE IoCompletionHandle', 'IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass', 'PVOID IoCompletionInformation', 'ULONG IoCompletionInformationLength', 'PULONG ReturnLength'] case 159: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2378,11 +2378,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 160 NTSTATUS NtQueryKey ['HANDLE KeyHandle', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 160: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2394,12 +2394,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 161 NTSTATUS NtQueryMultipleValueKey ['HANDLE KeyHandle', 'PKEY_VALUE_ENTRY ValueEntries', 'ULONG EntryCount', 'PVOID ValueBuffer', 'PULONG BufferLength', 'PULONG RequiredBufferLength'] case 161: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryMultipleValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2412,11 +2412,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 162 NTSTATUS NtQueryMutant ['HANDLE MutantHandle', 'MUTANT_INFORMATION_CLASS MutantInformationClass', 'PVOID MutantInformation', 'ULONG MutantInformationLength', 'PULONG ReturnLength'] case 162: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2428,11 +2428,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 163 NTSTATUS NtQueryObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength', 'PULONG ReturnLength'] case 163: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2444,8 +2444,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 164 NTSTATUS NtQueryOpenSubKeys ['POBJECT_ATTRIBUTES TargetKey', 'PULONG HandleCount'] case 164: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryOpenSubKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2454,8 +2454,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 165 NTSTATUS NtQueryPerformanceCounter ['PLARGE_INTEGER PerformanceCounter', 'PLARGE_INTEGER PerformanceFrequency'] case 165: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryPerformanceCounter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2464,15 +2464,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 166 NTSTATUS NtQueryQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID SidList', 'ULONG SidListLength', 'PULONG StartSid', 'BOOLEAN RestartScan'] case 166: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2488,11 +2488,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 167 NTSTATUS NtQuerySection ['HANDLE SectionHandle', 'SECTION_INFORMATION_CLASS SectionInformationClass', 'PVOID SectionInformation', 'SIZE_T SectionInformationLength', 'PSIZE_T ReturnLength'] case 167: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2504,11 +2504,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 168 NTSTATUS NtQuerySecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ULONG Length', 'PULONG LengthNeeded'] case 168: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2520,11 +2520,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 169 NTSTATUS NtQuerySemaphore ['HANDLE SemaphoreHandle', 'SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass', 'PVOID SemaphoreInformation', 'ULONG SemaphoreInformationLength', 'PULONG ReturnLength'] case 169: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2536,9 +2536,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 170 NTSTATUS NtQuerySymbolicLinkObject ['HANDLE LinkHandle', 'PUNICODE_STRING LinkTarget', 'PULONG ReturnedLength'] case 170: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQuerySymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2548,10 +2548,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 171 NTSTATUS NtQuerySystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PWSTR VariableValue', 'USHORT ValueLength', 'PUSHORT ReturnLength'] case 171: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2562,11 +2562,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 172 NTSTATUS NtQuerySystemEnvironmentValueEx ['PUNICODE_STRING VariableName', 'LPGUID VendorGuid', 'PVOID Value', 'PULONG ValueLength', 'PULONG Attributes'] case 172: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValueEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2578,10 +2578,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 173 NTSTATUS NtQuerySystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength', 'PULONG ReturnLength'] case 173: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2592,7 +2592,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 174 NTSTATUS NtQuerySystemTime ['PLARGE_INTEGER SystemTime'] case 174: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQuerySystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2600,11 +2600,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 175 NTSTATUS NtQueryTimer ['HANDLE TimerHandle', 'TIMER_INFORMATION_CLASS TimerInformationClass', 'PVOID TimerInformation', 'ULONG TimerInformationLength', 'PULONG ReturnLength'] case 175: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2616,9 +2616,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 176 NTSTATUS NtQueryTimerResolution ['PULONG MaximumTime', 'PULONG MinimumTime', 'PULONG CurrentTime'] case 176: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQueryTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2628,12 +2628,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 177 NTSTATUS NtQueryValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 177: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2646,12 +2646,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 178 NTSTATUS NtQueryVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'MEMORY_INFORMATION_CLASS MemoryInformationClass', 'PVOID MemoryInformation', 'SIZE_T MemoryInformationLength', 'PSIZE_T ReturnLength'] case 178: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2664,11 +2664,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 179 NTSTATUS NtQueryVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 179: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2680,11 +2680,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 180 NTSTATUS NtQueueApcThread ['HANDLE ThreadHandle', 'PPS_APC_ROUTINE ApcRoutine', 'PVOID ApcArgument1', 'PVOID ApcArgument2', 'PVOID ApcArgument3'] case 180: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueueApcThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2696,9 +2696,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 181 NTSTATUS NtRaiseException ['PEXCEPTION_RECORD ExceptionRecord', 'PCONTEXT ContextRecord', 'BOOLEAN FirstChance'] case 181: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRaiseException_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2708,12 +2708,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 182 NTSTATUS NtRaiseHardError ['NTSTATUS ErrorStatus', 'ULONG NumberOfParameters', 'ULONG UnicodeStringParameterMask', 'PULONG_PTR Parameters', 'ULONG ValidResponseOptions', 'PULONG Response'] case 182: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtRaiseHardError_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2726,15 +2726,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 183 NTSTATUS NtReadFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 183: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2750,15 +2750,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 184 NTSTATUS NtReadFileScatter ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 184: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFileScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2774,12 +2774,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 185 NTSTATUS NtReadRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 185: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtReadRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2792,11 +2792,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 186 NTSTATUS NtReadVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 186: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReadVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2808,7 +2808,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 187 NTSTATUS NtRegisterThreadTerminatePort ['HANDLE PortHandle'] case 187: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtRegisterThreadTerminatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2816,8 +2816,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 188 NTSTATUS NtReleaseMutant ['HANDLE MutantHandle', 'PLONG PreviousCount'] case 188: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReleaseMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2826,9 +2826,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 189 NTSTATUS NtReleaseSemaphore ['HANDLE SemaphoreHandle', 'LONG ReleaseCount', 'PLONG PreviousCount'] case 189: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReleaseSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2838,11 +2838,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 190 NTSTATUS NtRemoveIoCompletion ['HANDLE IoCompletionHandle', 'PVOID *KeyContext', 'PVOID *ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER Timeout'] case 190: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtRemoveIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2854,8 +2854,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 191 NTSTATUS NtRemoveProcessDebug ['HANDLE ProcessHandle', 'HANDLE DebugObjectHandle'] case 191: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRemoveProcessDebug_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2864,8 +2864,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 192 NTSTATUS NtRenameKey ['HANDLE KeyHandle', 'PUNICODE_STRING NewName'] case 192: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRenameKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2874,9 +2874,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 193 NTSTATUS NtReplaceKey ['POBJECT_ATTRIBUTES NewFile', 'HANDLE TargetHandle', 'POBJECT_ATTRIBUTES OldFile'] case 193: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReplaceKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2886,8 +2886,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 194 NTSTATUS NtReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 194: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2896,10 +2896,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 195 NTSTATUS NtReplyWaitReceivePort ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage'] case 195: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2910,11 +2910,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 196 NTSTATUS NtReplyWaitReceivePortEx ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage', 'PLARGE_INTEGER Timeout'] case 196: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePortEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2926,8 +2926,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 197 NTSTATUS NtReplyWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 197: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2936,8 +2936,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 199 NTSTATUS NtRequestPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage'] case 199: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRequestPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2946,9 +2946,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 200 NTSTATUS NtRequestWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage', 'PPORT_MESSAGE ReplyMessage'] case 200: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRequestWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2958,8 +2958,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 202 NTSTATUS NtResetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 202: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2968,9 +2968,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 203 NTSTATUS NtResetWriteWatch ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T RegionSize'] case 203: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtResetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2980,9 +2980,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 204 NTSTATUS NtRestoreKey ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Flags'] case 204: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRestoreKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2992,7 +2992,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 205 NTSTATUS NtResumeProcess ['HANDLE ProcessHandle'] case 205: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtResumeProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3000,8 +3000,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 206 NTSTATUS NtResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 206: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3010,8 +3010,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 207 NTSTATUS NtSaveKey ['HANDLE KeyHandle', 'HANDLE FileHandle'] case 207: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSaveKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3020,9 +3020,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 208 NTSTATUS NtSaveKeyEx ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Format'] case 208: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3032,9 +3032,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 209 NTSTATUS NtSaveMergedKeys ['HANDLE HighPrecedenceKeyHandle', 'HANDLE LowPrecedenceKeyHandle', 'HANDLE FileHandle'] case 209: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveMergedKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3044,15 +3044,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 210 NTSTATUS NtSecureConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PSID RequiredServerSid', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 210: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtSecureConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3068,8 +3068,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 211 NTSTATUS NtSetBootEntryOrder ['PULONG Ids', 'ULONG Count'] case 211: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetBootEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3078,8 +3078,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 212 NTSTATUS NtSetBootOptions ['PBOOT_OPTIONS BootOptions', 'ULONG FieldsToChange'] case 212: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetBootOptions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3088,8 +3088,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 213 NTSTATUS NtSetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 213: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3098,9 +3098,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 214 NTSTATUS NtSetDebugFilterState ['ULONG ComponentId', 'ULONG Level', 'BOOLEAN State'] case 214: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetDebugFilterState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3110,7 +3110,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 215 NTSTATUS NtSetDefaultHardErrorPort ['HANDLE DefaultHardErrorPort'] case 215: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultHardErrorPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3118,8 +3118,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 216 NTSTATUS NtSetDefaultLocale ['BOOLEAN UserProfile', 'LCID DefaultLocaleId'] case 216: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3128,7 +3128,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 217 NTSTATUS NtSetDefaultUILanguage ['LANGID DefaultUILanguageId'] case 217: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3136,10 +3136,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 218 NTSTATUS NtSetEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 218: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3150,8 +3150,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 219 NTSTATUS NtSetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 219: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3160,7 +3160,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 220 NTSTATUS NtSetEventBoostPriority ['HANDLE EventHandle'] case 220: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetEventBoostPriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3168,7 +3168,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 221 NTSTATUS NtSetHighEventPair ['HANDLE EventPairHandle'] case 221: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3176,7 +3176,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 222 NTSTATUS NtSetHighWaitLowEventPair ['HANDLE EventPairHandle'] case 222: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3184,11 +3184,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 223 NTSTATUS NtSetInformationDebugObject ['HANDLE DebugObjectHandle', 'DEBUGOBJECTINFOCLASS DebugObjectInformationClass', 'PVOID DebugInformation', 'ULONG DebugInformationLength', 'PULONG ReturnLength'] case 223: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationDebugObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3200,11 +3200,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 224 NTSTATUS NtSetInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 224: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3216,10 +3216,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 225 NTSTATUS NtSetInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength'] case 225: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3230,10 +3230,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 226 NTSTATUS NtSetInformationKey ['HANDLE KeyHandle', 'KEY_SET_INFORMATION_CLASS KeySetInformationClass', 'PVOID KeySetInformation', 'ULONG KeySetInformationLength'] case 226: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3244,10 +3244,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 227 NTSTATUS NtSetInformationObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength'] case 227: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3258,10 +3258,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 228 NTSTATUS NtSetInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength'] case 228: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3272,10 +3272,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 229 NTSTATUS NtSetInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength'] case 229: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3286,10 +3286,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 230 NTSTATUS NtSetInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength'] case 230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3300,8 +3300,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 231 NTSTATUS NtSetIntervalProfile ['ULONG Interval', 'KPROFILE_SOURCE Source'] case 231: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3310,11 +3310,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 232 NTSTATUS NtSetIoCompletion ['HANDLE IoCompletionHandle', 'PVOID KeyContext', 'PVOID ApcContext', 'NTSTATUS IoStatus', 'ULONG_PTR IoStatusInformation'] case 232: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3326,12 +3326,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 233 NTSTATUS NtSetLdtEntries ['ULONG Selector0', 'ULONG Entry0Low', 'ULONG Entry0Hi', 'ULONG Selector1', 'ULONG Entry1Low', 'ULONG Entry1Hi'] case 233: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetLdtEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3344,7 +3344,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 234 NTSTATUS NtSetLowEventPair ['HANDLE EventPairHandle'] case 234: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3352,7 +3352,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 235 NTSTATUS NtSetLowWaitHighEventPair ['HANDLE EventPairHandle'] case 235: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3360,10 +3360,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 236 NTSTATUS NtSetQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 236: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3374,9 +3374,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 237 NTSTATUS NtSetSecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor'] case 237: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3386,8 +3386,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 238 NTSTATUS NtSetSystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PUNICODE_STRING VariableValue'] case 238: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3396,11 +3396,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 239 NTSTATUS NtSetSystemEnvironmentValueEx ['PUNICODE_STRING VariableName', 'LPGUID VendorGuid', 'PVOID Value', 'ULONG ValueLength', 'ULONG Attributes'] case 239: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValueEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3412,9 +3412,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 240 NTSTATUS NtSetSystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength'] case 240: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3424,9 +3424,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 241 NTSTATUS NtSetSystemPowerState ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags'] case 241: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemPowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3436,8 +3436,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 242 NTSTATUS NtSetSystemTime ['PLARGE_INTEGER SystemTime', 'PLARGE_INTEGER PreviousTime'] case 242: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3446,8 +3446,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 243 NTSTATUS NtSetThreadExecutionState ['EXECUTION_STATE esFlags', 'PEXECUTION_STATE PreviousFlags'] case 243: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetThreadExecutionState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3456,13 +3456,13 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 244 NTSTATUS NtSetTimer ['HANDLE TimerHandle', 'PLARGE_INTEGER DueTime', 'PTIMER_APC_ROUTINE TimerApcRoutine', 'PVOID TimerContext', 'BOOLEAN WakeTimer', 'LONG Period', 'PBOOLEAN PreviousState'] case 244: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtSetTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3476,9 +3476,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 245 NTSTATUS NtSetTimerResolution ['ULONG DesiredTime', 'BOOLEAN SetResolution', 'PULONG ActualTime'] case 245: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3488,7 +3488,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 246 NTSTATUS NtSetUuidSeed ['PCHAR Seed'] case 246: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetUuidSeed_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3496,12 +3496,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 247 NTSTATUS NtSetValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'ULONG TitleIndex', 'ULONG Type', 'PVOID Data', 'ULONG DataSize'] case 247: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3514,11 +3514,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 248 NTSTATUS NtSetVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 248: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3530,7 +3530,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 249 NTSTATUS NtShutdownSystem ['SHUTDOWN_ACTION Action'] case 249: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtShutdownSystem_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3538,10 +3538,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 250 NTSTATUS NtSignalAndWaitForSingleObject ['HANDLE SignalHandle', 'HANDLE WaitHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 250: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSignalAndWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3552,7 +3552,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 251 NTSTATUS NtStartProfile ['HANDLE ProfileHandle'] case 251: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStartProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3560,7 +3560,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 252 NTSTATUS NtStopProfile ['HANDLE ProfileHandle'] case 252: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStopProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3568,7 +3568,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 253 NTSTATUS NtSuspendProcess ['HANDLE ProcessHandle'] case 253: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSuspendProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3576,8 +3576,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 254 NTSTATUS NtSuspendThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 254: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSuspendThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3586,12 +3586,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 255 NTSTATUS NtSystemDebugControl ['SYSDBG_COMMAND Command', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength', 'PULONG ReturnLength'] case 255: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSystemDebugControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3604,8 +3604,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 256 NTSTATUS NtTerminateJobObject ['HANDLE JobHandle', 'NTSTATUS ExitStatus'] case 256: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3614,8 +3614,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 257 NTSTATUS NtTerminateProcess ['HANDLE ProcessHandle', 'NTSTATUS ExitStatus'] case 257: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3624,8 +3624,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 258 NTSTATUS NtTerminateThread ['HANDLE ThreadHandle', 'NTSTATUS ExitStatus'] case 258: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3640,10 +3640,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 260 NTSTATUS NtTraceEvent ['HANDLE TraceHandle', 'ULONG Flags', 'ULONG FieldSize', 'PVOID Fields'] case 260: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtTraceEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3654,10 +3654,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 261 NTSTATUS NtTranslateFilePath ['PFILE_PATH InputFilePath', 'ULONG OutputType', 'PFILE_PATH OutputFilePath', 'PULONG OutputFilePathLength'] case 261: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtTranslateFilePath_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3668,7 +3668,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 262 NTSTATUS NtUnloadDriver ['PUNICODE_STRING DriverServiceName'] case 262: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3676,7 +3676,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 263 NTSTATUS NtUnloadKey ['POBJECT_ATTRIBUTES TargetKey'] case 263: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3684,8 +3684,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 264 NTSTATUS NtUnloadKeyEx ['POBJECT_ATTRIBUTES TargetKey', 'HANDLE Event'] case 264: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnloadKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3694,11 +3694,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 265 NTSTATUS NtUnlockFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key'] case 265: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtUnlockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3710,10 +3710,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 266 NTSTATUS NtUnlockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 266: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtUnlockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3724,8 +3724,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 267 NTSTATUS NtUnmapViewOfSection ['HANDLE ProcessHandle', 'PVOID BaseAddress'] case 267: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnmapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3734,8 +3734,8 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 268 NTSTATUS NtVdmControl ['VDMSERVICECLASS Service', 'PVOID ServiceData'] case 268: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtVdmControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3744,10 +3744,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 269 NTSTATUS NtWaitForDebugEvent ['HANDLE DebugObjectHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout', 'PDBGUI_WAIT_STATE_CHANGE WaitStateChange'] case 269: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtWaitForDebugEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3758,11 +3758,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 270 NTSTATUS NtWaitForMultipleObjects ['ULONG Count', 'HANDLE Handles[]', 'WAIT_TYPE WaitType', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 270: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWaitForMultipleObjects_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3774,9 +3774,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 271 NTSTATUS NtWaitForSingleObject ['HANDLE Handle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 271: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3786,7 +3786,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 272 NTSTATUS NtWaitHighEventPair ['HANDLE EventPairHandle'] case 272: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3794,7 +3794,7 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 273 NTSTATUS NtWaitLowEventPair ['HANDLE EventPairHandle'] case 273: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3802,15 +3802,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 274 NTSTATUS NtWriteFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 274: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3826,15 +3826,15 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 275 NTSTATUS NtWriteFileGather ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 275: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFileGather_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3850,12 +3850,12 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 276 NTSTATUS NtWriteRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 276: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtWriteRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3868,11 +3868,11 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 277 NTSTATUS NtWriteVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 277: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWriteVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3890,10 +3890,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 279 NTSTATUS NtCreateKeyedEvent ['PHANDLE KeyedEventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Flags'] case 279: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3904,9 +3904,9 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 280 NTSTATUS NtOpenKeyedEvent ['PHANDLE KeyedEventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 280: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3916,10 +3916,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 281 NTSTATUS NtReleaseKeyedEvent ['HANDLE KeyedEventHandle', 'PVOID KeyValue', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 281: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReleaseKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3930,10 +3930,10 @@ void syscall_return_switch_windows_xpsp2_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 282 NTSTATUS NtWaitForKeyedEvent ['HANDLE KeyedEventHandle', 'PVOID KeyValue', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 282: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtWaitForKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); diff --git a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp3_x86.cpp b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp3_x86.cpp index 2e4850cc0a0..9ad16e55a53 100644 --- a/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp3_x86.cpp +++ b/panda/plugins/syscalls2/generated/syscall_switch_return_windows_xpsp3_x86.cpp @@ -18,12 +18,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con switch (ctx->no) { // 0 NTSTATUS NtAcceptConnectPort ['PHANDLE PortHandle', 'PVOID PortContext', 'PPORT_MESSAGE ConnectionRequest', 'BOOLEAN AcceptConnection', 'PPORT_VIEW ServerView', 'PREMOTE_PORT_VIEW ClientView'] case 0: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAcceptConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -36,14 +36,14 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 1 NTSTATUS NtAccessCheck ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 1: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtAccessCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -58,17 +58,17 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 2 NTSTATUS NtAccessCheckAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ACCESS_MASK DesiredAccess', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 2: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -86,17 +86,17 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 3 NTSTATUS NtAccessCheckByType ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 3: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByType_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -114,22 +114,22 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 4 NTSTATUS NtAccessCheckByTypeAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 4: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -152,17 +152,17 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 5 NTSTATUS NtAccessCheckByTypeResultList ['PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'PPRIVILEGE_SET PrivilegeSet', 'PULONG PrivilegeSetLength', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus'] case 5: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultList_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -180,22 +180,22 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 6 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 6: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -218,23 +218,23 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 7 NTSTATUS NtAccessCheckByTypeResultListAndAuditAlarmByHandle ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'PSID PrincipalSelfSid', 'ACCESS_MASK DesiredAccess', 'AUDIT_EVENT_TYPE AuditType', 'ULONG Flags', 'POBJECT_TYPE_LIST ObjectTypeList', 'ULONG ObjectTypeListLength', 'PGENERIC_MAPPING GenericMapping', 'BOOLEAN ObjectCreation', 'PACCESS_MASK GrantedAccess', 'PNTSTATUS AccessStatus', 'PBOOLEAN GenerateOnClose'] case 7: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; - uint32_t arg14; - uint32_t arg15; - uint32_t arg16; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; + uint32_t arg14 = 0; + uint32_t arg15 = 0; + uint32_t arg16 = 0; if (PPP_CHECK_CB(on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -258,9 +258,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 8 NTSTATUS NtAddAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 8: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAddAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -270,8 +270,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 9 NTSTATUS NtAddBootEntry ['PBOOT_ENTRY BootEntry', 'PULONG Id'] case 9: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAddBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -280,12 +280,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 10 NTSTATUS NtAdjustGroupsToken ['HANDLE TokenHandle', 'BOOLEAN ResetToDefault', 'PTOKEN_GROUPS NewState', 'ULONG BufferLength', 'PTOKEN_GROUPS PreviousState', 'PULONG ReturnLength'] case 10: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustGroupsToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -298,12 +298,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 11 NTSTATUS NtAdjustPrivilegesToken ['HANDLE TokenHandle', 'BOOLEAN DisableAllPrivileges', 'PTOKEN_PRIVILEGES NewState', 'ULONG BufferLength', 'PTOKEN_PRIVILEGES PreviousState', 'PULONG ReturnLength'] case 11: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAdjustPrivilegesToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -316,8 +316,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 12 NTSTATUS NtAlertResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 12: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAlertResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -326,7 +326,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 13 NTSTATUS NtAlertThread ['HANDLE ThreadHandle'] case 13: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAlertThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -334,7 +334,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 14 NTSTATUS NtAllocateLocallyUniqueId ['PLUID Luid'] case 14: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtAllocateLocallyUniqueId_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -342,9 +342,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 15 NTSTATUS NtAllocateUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 15: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtAllocateUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -354,10 +354,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 16 NTSTATUS NtAllocateUuids ['PULARGE_INTEGER Time', 'PULONG Range', 'PULONG Sequence', 'PCHAR Seed'] case 16: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtAllocateUuids_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -368,12 +368,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 17 NTSTATUS NtAllocateVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'PSIZE_T RegionSize', 'ULONG AllocationType', 'ULONG Protect'] case 17: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtAllocateVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -386,8 +386,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 18 NTSTATUS NtAreMappedFilesTheSame ['PVOID File1MappedAsAnImage', 'PVOID File2MappedAsFile'] case 18: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAreMappedFilesTheSame_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -396,8 +396,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 19 NTSTATUS NtAssignProcessToJobObject ['HANDLE JobHandle', 'HANDLE ProcessHandle'] case 19: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtAssignProcessToJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -406,9 +406,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 20 NTSTATUS NtCallbackReturn ['PVOID OutputBuffer', 'ULONG OutputLength', 'NTSTATUS Status'] case 20: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCallbackReturn_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -418,8 +418,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 22 NTSTATUS NtCancelIoFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 22: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelIoFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -428,8 +428,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 23 NTSTATUS NtCancelTimer ['HANDLE TimerHandle', 'PBOOLEAN CurrentState'] case 23: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCancelTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -438,7 +438,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 24 NTSTATUS NtClearEvent ['HANDLE EventHandle'] case 24: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClearEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -446,7 +446,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 25 NTSTATUS NtClose ['HANDLE Handle'] case 25: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtClose_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -454,9 +454,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 26 NTSTATUS NtCloseObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 26: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCloseObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -466,8 +466,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 27 NTSTATUS NtCompactKeys ['ULONG Count', 'HANDLE KeyArray[]'] case 27: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtCompactKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -476,9 +476,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 28 NTSTATUS NtCompareTokens ['HANDLE FirstTokenHandle', 'HANDLE SecondTokenHandle', 'PBOOLEAN Equal'] case 28: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCompareTokens_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -488,7 +488,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 29 NTSTATUS NtCompleteConnectPort ['HANDLE PortHandle'] case 29: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompleteConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -496,7 +496,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 30 NTSTATUS NtCompressKey ['HANDLE Key'] case 30: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtCompressKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -504,14 +504,14 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 31 NTSTATUS NtConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 31: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -526,8 +526,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 32 NTSTATUS NtContinue ['PCONTEXT ContextRecord', 'BOOLEAN TestAlert'] case 32: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -536,10 +536,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 33 NTSTATUS NtCreateDebugObject ['PHANDLE DebugObjectHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Flags'] case 33: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateDebugObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -550,9 +550,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 34 NTSTATUS NtCreateDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 34: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -562,11 +562,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 35 NTSTATUS NtCreateEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'EVENT_TYPE EventType', 'BOOLEAN InitialState'] case 35: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -578,9 +578,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 36 NTSTATUS NtCreateEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 36: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -590,17 +590,17 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 37 NTSTATUS NtCreateFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER AllocationSize', 'ULONG FileAttributes', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'PVOID EaBuffer', 'ULONG EaLength'] case 37: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtCreateFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -618,10 +618,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 38 NTSTATUS NtCreateIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Count'] case 38: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -632,9 +632,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 39 NTSTATUS NtCreateJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 39: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -644,9 +644,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 40 NTSTATUS NtCreateJobSet ['ULONG NumJob', 'PJOB_SET_ARRAY UserJobSet', 'ULONG Flags'] case 40: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtCreateJobSet_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -656,13 +656,13 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 41 NTSTATUS NtCreateKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG TitleIndex', 'PUNICODE_STRING Class', 'ULONG CreateOptions', 'PULONG Disposition'] case 41: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -676,14 +676,14 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 42 NTSTATUS NtCreateMailslotFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CreateOptions', 'ULONG MailslotQuota', 'ULONG MaximumMessageSize', 'PLARGE_INTEGER ReadTimeout'] case 42: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateMailslotFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -698,10 +698,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 43 NTSTATUS NtCreateMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN InitialOwner'] case 43: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -712,20 +712,20 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 44 NTSTATUS NtCreateNamedPipeFile ['PHANDLE FileHandle', 'ULONG DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG CreateDisposition', 'ULONG CreateOptions', 'ULONG NamedPipeType', 'ULONG ReadMode', 'ULONG CompletionMode', 'ULONG MaximumInstances', 'ULONG InboundQuota', 'ULONG OutboundQuota', 'PLARGE_INTEGER DefaultTimeout'] case 44: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; - uint32_t arg13; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; + uint32_t arg13 = 0; if (PPP_CHECK_CB(on_NtCreateNamedPipeFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -746,10 +746,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 45 NTSTATUS NtCreatePagingFile ['PUNICODE_STRING PageFileName', 'PLARGE_INTEGER MinimumSize', 'PLARGE_INTEGER MaximumSize', 'ULONG Priority'] case 45: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreatePagingFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -760,11 +760,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 46 NTSTATUS NtCreatePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 46: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -776,14 +776,14 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 47 NTSTATUS NtCreateProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'BOOLEAN InheritObjectTable', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort'] case 47: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -798,15 +798,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 48 NTSTATUS NtCreateProcessEx ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ParentProcess', 'ULONG Flags', 'HANDLE SectionHandle', 'HANDLE DebugPort', 'HANDLE ExceptionPort', 'ULONG JobMemberLevel'] case 48: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProcessEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -822,15 +822,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 49 NTSTATUS NtCreateProfile ['PHANDLE ProfileHandle', 'HANDLE Process', 'PVOID RangeBase', 'SIZE_T RangeSize', 'ULONG BucketSize', 'PULONG Buffer', 'ULONG BufferSize', 'KPROFILE_SOURCE ProfileSource', 'KAFFINITY Affinity'] case 49: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtCreateProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -846,13 +846,13 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 50 NTSTATUS NtCreateSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PLARGE_INTEGER MaximumSize', 'ULONG SectionPageProtection', 'ULONG AllocationAttributes', 'HANDLE FileHandle'] case 50: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtCreateSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -866,11 +866,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 51 NTSTATUS NtCreateSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'LONG InitialCount', 'LONG MaximumCount'] case 51: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - int32_t arg3; - int32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + int32_t arg3 = 0; + int32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -882,10 +882,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 52 NTSTATUS NtCreateSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PUNICODE_STRING LinkTarget'] case 52: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -896,14 +896,14 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 53 NTSTATUS NtCreateThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'HANDLE ProcessHandle', 'PCLIENT_ID ClientId', 'PCONTEXT ThreadContext', 'PINITIAL_TEB InitialTeb', 'BOOLEAN CreateSuspended'] case 53: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; if (PPP_CHECK_CB(on_NtCreateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -918,10 +918,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 54 NTSTATUS NtCreateTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TIMER_TYPE TimerType'] case 54: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -932,19 +932,19 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 55 NTSTATUS NtCreateToken ['PHANDLE TokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'TOKEN_TYPE TokenType', 'PLUID AuthenticationId', 'PLARGE_INTEGER ExpirationTime', 'PTOKEN_USER User', 'PTOKEN_GROUPS Groups', 'PTOKEN_PRIVILEGES Privileges', 'PTOKEN_OWNER Owner', 'PTOKEN_PRIMARY_GROUP PrimaryGroup', 'PTOKEN_DEFAULT_DACL DefaultDacl', 'PTOKEN_SOURCE TokenSource'] case 55: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; - uint32_t arg12; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; + uint32_t arg12 = 0; if (PPP_CHECK_CB(on_NtCreateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -964,11 +964,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 56 NTSTATUS NtCreateWaitablePort ['PHANDLE PortHandle', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG MaxConnectionInfoLength', 'ULONG MaxMessageLength', 'ULONG MaxPoolUsage'] case 56: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtCreateWaitablePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -980,8 +980,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 57 NTSTATUS NtDebugActiveProcess ['HANDLE ProcessHandle', 'HANDLE DebugObjectHandle'] case 57: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDebugActiveProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -990,9 +990,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 58 NTSTATUS NtDebugContinue ['HANDLE DebugObjectHandle', 'PCLIENT_ID ClientId', 'NTSTATUS ContinueStatus'] case 58: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDebugContinue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1002,8 +1002,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 59 NTSTATUS NtDelayExecution ['BOOLEAN Alertable', 'PLARGE_INTEGER DelayInterval'] case 59: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDelayExecution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1012,7 +1012,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 60 NTSTATUS NtDeleteAtom ['RTL_ATOM Atom'] case 60: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1020,7 +1020,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 61 NTSTATUS NtDeleteBootEntry ['ULONG Id'] case 61: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1028,7 +1028,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 62 NTSTATUS NtDeleteFile ['POBJECT_ATTRIBUTES ObjectAttributes'] case 62: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1036,7 +1036,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 63 NTSTATUS NtDeleteKey ['HANDLE KeyHandle'] case 63: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDeleteKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1044,9 +1044,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 64 NTSTATUS NtDeleteObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'BOOLEAN GenerateOnClose'] case 64: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtDeleteObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1056,8 +1056,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 65 NTSTATUS NtDeleteValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName'] case 65: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtDeleteValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1066,16 +1066,16 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 66 NTSTATUS NtDeviceIoControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 66: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtDeviceIoControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1092,7 +1092,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 67 NTSTATUS NtDisplayString ['PUNICODE_STRING String'] case 67: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtDisplayString_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1100,13 +1100,13 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 68 NTSTATUS NtDuplicateObject ['HANDLE SourceProcessHandle', 'HANDLE SourceHandle', 'HANDLE TargetProcessHandle', 'PHANDLE TargetHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'ULONG Options'] case 68: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtDuplicateObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1120,12 +1120,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 69 NTSTATUS NtDuplicateToken ['HANDLE ExistingTokenHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'BOOLEAN EffectiveOnly', 'TOKEN_TYPE TokenType', 'PHANDLE NewTokenHandle'] case 69: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtDuplicateToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1138,8 +1138,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 70 NTSTATUS NtEnumerateBootEntries ['PVOID Buffer', 'PULONG BufferLength'] case 70: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtEnumerateBootEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1148,12 +1148,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 71 NTSTATUS NtEnumerateKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 71: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1166,9 +1166,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 72 NTSTATUS NtEnumerateSystemEnvironmentValuesEx ['ULONG InformationClass', 'PVOID Buffer', 'PULONG BufferLength'] case 72: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtEnumerateSystemEnvironmentValuesEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1178,12 +1178,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 73 NTSTATUS NtEnumerateValueKey ['HANDLE KeyHandle', 'ULONG Index', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 73: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtEnumerateValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1196,8 +1196,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 74 NTSTATUS NtExtendSection ['HANDLE SectionHandle', 'PLARGE_INTEGER NewSectionSize'] case 74: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtExtendSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1206,12 +1206,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 75 NTSTATUS NtFilterToken ['HANDLE ExistingTokenHandle', 'ULONG Flags', 'PTOKEN_GROUPS SidsToDisable', 'PTOKEN_PRIVILEGES PrivilegesToDelete', 'PTOKEN_GROUPS RestrictedSids', 'PHANDLE NewTokenHandle'] case 75: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtFilterToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1224,9 +1224,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 76 NTSTATUS NtFindAtom ['PWSTR AtomName', 'ULONG Length', 'PRTL_ATOM Atom'] case 76: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFindAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1236,8 +1236,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 77 NTSTATUS NtFlushBuffersFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock'] case 77: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtFlushBuffersFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1246,9 +1246,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 78 NTSTATUS NtFlushInstructionCache ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T Length'] case 78: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFlushInstructionCache_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1258,7 +1258,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 79 NTSTATUS NtFlushKey ['HANDLE KeyHandle'] case 79: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtFlushKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1266,10 +1266,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 80 NTSTATUS NtFlushVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'PIO_STATUS_BLOCK IoStatus'] case 80: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFlushVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1286,9 +1286,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 82 NTSTATUS NtFreeUserPhysicalPages ['HANDLE ProcessHandle', 'PULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 82: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtFreeUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1298,10 +1298,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 83 NTSTATUS NtFreeVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG FreeType'] case 83: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtFreeVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1312,16 +1312,16 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 84 NTSTATUS NtFsControlFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG IoControlCode', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 84: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtFsControlFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1338,8 +1338,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 85 NTSTATUS NtGetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 85: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1348,8 +1348,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 86 NTSTATUS NtGetDevicePowerState ['HANDLE Device', 'DEVICE_POWER_STATE *State'] case 86: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtGetDevicePowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1358,10 +1358,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 87 NTSTATUS NtGetPlugPlayEvent ['HANDLE EventHandle', 'PVOID Context', 'PPLUGPLAY_EVENT_BLOCK EventBlock', 'ULONG EventBufferSize'] case 87: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtGetPlugPlayEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1372,13 +1372,13 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 88 NTSTATUS NtGetWriteWatch ['HANDLE ProcessHandle', 'ULONG Flags', 'PVOID BaseAddress', 'SIZE_T RegionSize', 'PVOID *UserAddressArray', 'PULONG_PTR EntriesInUserAddressArray', 'PULONG Granularity'] case 88: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtGetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1392,7 +1392,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 89 NTSTATUS NtImpersonateAnonymousToken ['HANDLE ThreadHandle'] case 89: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtImpersonateAnonymousToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1400,8 +1400,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 90 NTSTATUS NtImpersonateClientOfPort ['HANDLE PortHandle', 'PPORT_MESSAGE Message'] case 90: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtImpersonateClientOfPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1410,9 +1410,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 91 NTSTATUS NtImpersonateThread ['HANDLE ServerThreadHandle', 'HANDLE ClientThreadHandle', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos'] case 91: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtImpersonateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1422,7 +1422,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 92 NTSTATUS NtInitializeRegistry ['USHORT BootCondition'] case 92: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtInitializeRegistry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1430,10 +1430,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 93 NTSTATUS NtInitiatePowerAction ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags', 'BOOLEAN Asynchronous'] case 93: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtInitiatePowerAction_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1444,8 +1444,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 94 NTSTATUS NtIsProcessInJob ['HANDLE ProcessHandle', 'HANDLE JobHandle'] case 94: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtIsProcessInJob_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1460,8 +1460,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 96 NTSTATUS NtListenPort ['HANDLE PortHandle', 'PPORT_MESSAGE ConnectionRequest'] case 96: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtListenPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1470,7 +1470,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 97 NTSTATUS NtLoadDriver ['PUNICODE_STRING DriverServiceName'] case 97: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLoadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1478,8 +1478,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 98 NTSTATUS NtLoadKey ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile'] case 98: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLoadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1488,9 +1488,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 99 NTSTATUS NtLoadKey2 ['POBJECT_ATTRIBUTES TargetKey', 'POBJECT_ATTRIBUTES SourceFile', 'ULONG Flags'] case 99: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtLoadKey2_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1500,16 +1500,16 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 100 NTSTATUS NtLockFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key', 'BOOLEAN FailImmediately', 'BOOLEAN ExclusiveLock'] case 100: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtLockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1526,8 +1526,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 101 NTSTATUS NtLockProductActivationKeys ['ULONG *pPrivateVer', 'ULONG *pSafeMode'] case 101: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtLockProductActivationKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1536,7 +1536,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 102 NTSTATUS NtLockRegistryKey ['HANDLE KeyHandle'] case 102: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtLockRegistryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1544,10 +1544,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 103 NTSTATUS NtLockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 103: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtLockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1558,7 +1558,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 104 NTSTATUS NtMakePermanentObject ['HANDLE Handle'] case 104: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakePermanentObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1566,7 +1566,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 105 NTSTATUS NtMakeTemporaryObject ['HANDLE Handle'] case 105: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtMakeTemporaryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1574,9 +1574,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 106 NTSTATUS NtMapUserPhysicalPages ['PVOID VirtualAddress', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 106: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPages_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1586,9 +1586,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 107 NTSTATUS NtMapUserPhysicalPagesScatter ['PVOID *VirtualAddresses', 'ULONG_PTR NumberOfPages', 'PULONG_PTR UserPfnArray'] case 107: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtMapUserPhysicalPagesScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1598,16 +1598,16 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 108 NTSTATUS NtMapViewOfSection ['HANDLE SectionHandle', 'HANDLE ProcessHandle', 'PVOID *BaseAddress', 'ULONG_PTR ZeroBits', 'SIZE_T CommitSize', 'PLARGE_INTEGER SectionOffset', 'PSIZE_T ViewSize', 'SECTION_INHERIT InheritDisposition', 'ULONG AllocationType', 'WIN32_PROTECTION_MASK Win32Protect'] case 108: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtMapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1624,7 +1624,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 109 NTSTATUS NtModifyBootEntry ['PBOOT_ENTRY BootEntry'] case 109: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtModifyBootEntry_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -1632,15 +1632,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 110 NTSTATUS NtNotifyChangeDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'ULONG CompletionFilter', 'BOOLEAN WatchTree'] case 110: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1656,16 +1656,16 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 111 NTSTATUS NtNotifyChangeKey ['HANDLE KeyHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 111: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1682,18 +1682,18 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 112 NTSTATUS NtNotifyChangeMultipleKeys ['HANDLE MasterKeyHandle', 'ULONG Count', 'OBJECT_ATTRIBUTES SlaveObjects[]', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG CompletionFilter', 'BOOLEAN WatchTree', 'PVOID Buffer', 'ULONG BufferSize', 'BOOLEAN Asynchronous'] case 112: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtNotifyChangeMultipleKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1712,9 +1712,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 113 NTSTATUS NtOpenDirectoryObject ['PHANDLE DirectoryHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 113: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1724,9 +1724,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 114 NTSTATUS NtOpenEvent ['PHANDLE EventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 114: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1736,9 +1736,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 115 NTSTATUS NtOpenEventPair ['PHANDLE EventPairHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 115: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1748,12 +1748,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 116 NTSTATUS NtOpenFile ['PHANDLE FileHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PIO_STATUS_BLOCK IoStatusBlock', 'ULONG ShareAccess', 'ULONG OpenOptions'] case 116: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtOpenFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1766,9 +1766,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 117 NTSTATUS NtOpenIoCompletion ['PHANDLE IoCompletionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 117: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1778,9 +1778,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 118 NTSTATUS NtOpenJobObject ['PHANDLE JobHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 118: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1790,9 +1790,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 119 NTSTATUS NtOpenKey ['PHANDLE KeyHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 119: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1802,9 +1802,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 120 NTSTATUS NtOpenMutant ['PHANDLE MutantHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 120: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1814,18 +1814,18 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 121 NTSTATUS NtOpenObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'PUNICODE_STRING ObjectTypeName', 'PUNICODE_STRING ObjectName', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'ACCESS_MASK GrantedAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN ObjectCreation', 'BOOLEAN AccessGranted', 'PBOOLEAN GenerateOnClose'] case 121: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; - uint32_t arg11; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; + uint32_t arg11 = 0; if (PPP_CHECK_CB(on_NtOpenObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1844,10 +1844,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 122 NTSTATUS NtOpenProcess ['PHANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 122: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1858,9 +1858,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 123 NTSTATUS NtOpenProcessToken ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'PHANDLE TokenHandle'] case 123: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenProcessToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1870,10 +1870,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 124 NTSTATUS NtOpenProcessTokenEx ['HANDLE ProcessHandle', 'ACCESS_MASK DesiredAccess', 'ULONG HandleAttributes', 'PHANDLE TokenHandle'] case 124: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenProcessTokenEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1884,9 +1884,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 125 NTSTATUS NtOpenSection ['PHANDLE SectionHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 125: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1896,9 +1896,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 126 NTSTATUS NtOpenSemaphore ['PHANDLE SemaphoreHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 126: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1908,9 +1908,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 127 NTSTATUS NtOpenSymbolicLinkObject ['PHANDLE LinkHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 127: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenSymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1920,10 +1920,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 128 NTSTATUS NtOpenThread ['PHANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'PCLIENT_ID ClientId'] case 128: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1934,10 +1934,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 129 NTSTATUS NtOpenThreadToken ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'PHANDLE TokenHandle'] case 129: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtOpenThreadToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1948,11 +1948,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 130 NTSTATUS NtOpenThreadTokenEx ['HANDLE ThreadHandle', 'ACCESS_MASK DesiredAccess', 'BOOLEAN OpenAsSelf', 'ULONG HandleAttributes', 'PHANDLE TokenHandle'] case 130: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtOpenThreadTokenEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1964,9 +1964,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 131 NTSTATUS NtOpenTimer ['PHANDLE TimerHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 131: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1976,9 +1976,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 132 NTSTATUS NtPlugPlayControl ['PLUGPLAY_CONTROL_CLASS PnPControlClass', 'PVOID PnPControlData', 'ULONG PnPControlDataLength'] case 132: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPlugPlayControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -1988,11 +1988,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 133 NTSTATUS NtPowerInformation ['POWER_INFORMATION_LEVEL InformationLevel', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength'] case 133: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPowerInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2004,9 +2004,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 134 NTSTATUS NtPrivilegeCheck ['HANDLE ClientToken', 'PPRIVILEGE_SET RequiredPrivileges', 'PBOOLEAN Result'] case 134: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtPrivilegeCheck_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2016,12 +2016,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 135 NTSTATUS NtPrivilegeObjectAuditAlarm ['PUNICODE_STRING SubsystemName', 'PVOID HandleId', 'HANDLE ClientToken', 'ACCESS_MASK DesiredAccess', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 135: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtPrivilegeObjectAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2034,11 +2034,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 136 NTSTATUS NtPrivilegedServiceAuditAlarm ['PUNICODE_STRING SubsystemName', 'PUNICODE_STRING ServiceName', 'HANDLE ClientToken', 'PPRIVILEGE_SET Privileges', 'BOOLEAN AccessGranted'] case 136: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtPrivilegedServiceAuditAlarm_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2050,11 +2050,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 137 NTSTATUS NtProtectVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'WIN32_PROTECTION_MASK NewProtectWin32', 'PULONG OldProtect'] case 137: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtProtectVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2066,8 +2066,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 138 NTSTATUS NtPulseEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 138: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtPulseEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2076,8 +2076,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 139 NTSTATUS NtQueryAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_BASIC_INFORMATION FileInformation'] case 139: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2086,8 +2086,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 140 NTSTATUS NtQueryBootEntryOrder ['PULONG Ids', 'PULONG Count'] case 140: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryBootEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2096,8 +2096,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 141 NTSTATUS NtQueryBootOptions ['PBOOT_OPTIONS BootOptions', 'PULONG BootOptionsLength'] case 141: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryBootOptions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2106,8 +2106,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 142 NTSTATUS NtQueryDebugFilterState ['ULONG ComponentId', 'ULONG Level'] case 142: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDebugFilterState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2116,8 +2116,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 143 NTSTATUS NtQueryDefaultLocale ['BOOLEAN UserProfile', 'PLCID DefaultLocaleId'] case 143: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2126,7 +2126,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 144 NTSTATUS NtQueryDefaultUILanguage ['LANGID *DefaultUILanguageId'] case 144: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2134,17 +2134,17 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 145 NTSTATUS NtQueryDirectoryFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass', 'BOOLEAN ReturnSingleEntry', 'PUNICODE_STRING FileName', 'BOOLEAN RestartScan'] case 145: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; - uint32_t arg9; - uint32_t arg10; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; + uint32_t arg9 = 0; + uint32_t arg10 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2162,13 +2162,13 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 146 NTSTATUS NtQueryDirectoryObject ['HANDLE DirectoryHandle', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'BOOLEAN RestartScan', 'PULONG Context', 'PULONG ReturnLength'] case 146: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtQueryDirectoryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2182,15 +2182,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 147 NTSTATUS NtQueryEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID EaList', 'ULONG EaListLength', 'PULONG EaIndex', 'BOOLEAN RestartScan'] case 147: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2206,11 +2206,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 148 NTSTATUS NtQueryEvent ['HANDLE EventHandle', 'EVENT_INFORMATION_CLASS EventInformationClass', 'PVOID EventInformation', 'ULONG EventInformationLength', 'PULONG ReturnLength'] case 148: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2222,8 +2222,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 149 NTSTATUS NtQueryFullAttributesFile ['POBJECT_ATTRIBUTES ObjectAttributes', 'PFILE_NETWORK_OPEN_INFORMATION FileInformation'] case 149: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryFullAttributesFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2232,11 +2232,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 150 NTSTATUS NtQueryInformationAtom ['RTL_ATOM Atom', 'ATOM_INFORMATION_CLASS InformationClass', 'PVOID AtomInformation', 'ULONG AtomInformationLength', 'PULONG ReturnLength'] case 150: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationAtom_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2248,11 +2248,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 151 NTSTATUS NtQueryInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 151: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2264,11 +2264,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 152 NTSTATUS NtQueryInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength', 'PULONG ReturnLength'] case 152: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2280,11 +2280,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 153 NTSTATUS NtQueryInformationPort ['HANDLE PortHandle', 'PORT_INFORMATION_CLASS PortInformationClass', 'PVOID PortInformation', 'ULONG Length', 'PULONG ReturnLength'] case 153: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2296,11 +2296,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 154 NTSTATUS NtQueryInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength', 'PULONG ReturnLength'] case 154: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2312,11 +2312,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 155 NTSTATUS NtQueryInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength', 'PULONG ReturnLength'] case 155: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2328,11 +2328,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 156 NTSTATUS NtQueryInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength', 'PULONG ReturnLength'] case 156: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2344,7 +2344,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 157 NTSTATUS NtQueryInstallUILanguage ['LANGID *InstallUILanguageId'] case 157: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQueryInstallUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2352,8 +2352,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 158 NTSTATUS NtQueryIntervalProfile ['KPROFILE_SOURCE ProfileSource', 'PULONG Interval'] case 158: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2362,11 +2362,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 159 NTSTATUS NtQueryIoCompletion ['HANDLE IoCompletionHandle', 'IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass', 'PVOID IoCompletionInformation', 'ULONG IoCompletionInformationLength', 'PULONG ReturnLength'] case 159: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2378,11 +2378,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 160 NTSTATUS NtQueryKey ['HANDLE KeyHandle', 'KEY_INFORMATION_CLASS KeyInformationClass', 'PVOID KeyInformation', 'ULONG Length', 'PULONG ResultLength'] case 160: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2394,12 +2394,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 161 NTSTATUS NtQueryMultipleValueKey ['HANDLE KeyHandle', 'PKEY_VALUE_ENTRY ValueEntries', 'ULONG EntryCount', 'PVOID ValueBuffer', 'PULONG BufferLength', 'PULONG RequiredBufferLength'] case 161: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryMultipleValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2412,11 +2412,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 162 NTSTATUS NtQueryMutant ['HANDLE MutantHandle', 'MUTANT_INFORMATION_CLASS MutantInformationClass', 'PVOID MutantInformation', 'ULONG MutantInformationLength', 'PULONG ReturnLength'] case 162: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2428,11 +2428,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 163 NTSTATUS NtQueryObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength', 'PULONG ReturnLength'] case 163: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2444,8 +2444,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 164 NTSTATUS NtQueryOpenSubKeys ['POBJECT_ATTRIBUTES TargetKey', 'PULONG HandleCount'] case 164: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryOpenSubKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2454,8 +2454,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 165 NTSTATUS NtQueryPerformanceCounter ['PLARGE_INTEGER PerformanceCounter', 'PLARGE_INTEGER PerformanceFrequency'] case 165: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtQueryPerformanceCounter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2464,15 +2464,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 166 NTSTATUS NtQueryQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'BOOLEAN ReturnSingleEntry', 'PVOID SidList', 'ULONG SidListLength', 'PULONG StartSid', 'BOOLEAN RestartScan'] case 166: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtQueryQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2488,11 +2488,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 167 NTSTATUS NtQuerySection ['HANDLE SectionHandle', 'SECTION_INFORMATION_CLASS SectionInformationClass', 'PVOID SectionInformation', 'SIZE_T SectionInformationLength', 'PSIZE_T ReturnLength'] case 167: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2504,11 +2504,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 168 NTSTATUS NtQuerySecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor', 'ULONG Length', 'PULONG LengthNeeded'] case 168: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2520,11 +2520,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 169 NTSTATUS NtQuerySemaphore ['HANDLE SemaphoreHandle', 'SEMAPHORE_INFORMATION_CLASS SemaphoreInformationClass', 'PVOID SemaphoreInformation', 'ULONG SemaphoreInformationLength', 'PULONG ReturnLength'] case 169: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2536,9 +2536,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 170 NTSTATUS NtQuerySymbolicLinkObject ['HANDLE LinkHandle', 'PUNICODE_STRING LinkTarget', 'PULONG ReturnedLength'] case 170: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQuerySymbolicLinkObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2548,10 +2548,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 171 NTSTATUS NtQuerySystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PWSTR VariableValue', 'USHORT ValueLength', 'PUSHORT ReturnLength'] case 171: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2562,11 +2562,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 172 NTSTATUS NtQuerySystemEnvironmentValueEx ['PUNICODE_STRING VariableName', 'LPGUID VendorGuid', 'PVOID Value', 'PULONG ValueLength', 'PULONG Attributes'] case 172: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQuerySystemEnvironmentValueEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2578,10 +2578,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 173 NTSTATUS NtQuerySystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength', 'PULONG ReturnLength'] case 173: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtQuerySystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2592,7 +2592,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 174 NTSTATUS NtQuerySystemTime ['PLARGE_INTEGER SystemTime'] case 174: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtQuerySystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2600,11 +2600,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 175 NTSTATUS NtQueryTimer ['HANDLE TimerHandle', 'TIMER_INFORMATION_CLASS TimerInformationClass', 'PVOID TimerInformation', 'ULONG TimerInformationLength', 'PULONG ReturnLength'] case 175: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2616,9 +2616,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 176 NTSTATUS NtQueryTimerResolution ['PULONG MaximumTime', 'PULONG MinimumTime', 'PULONG CurrentTime'] case 176: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtQueryTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2628,12 +2628,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 177 NTSTATUS NtQueryValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass', 'PVOID KeyValueInformation', 'ULONG Length', 'PULONG ResultLength'] case 177: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2646,12 +2646,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 178 NTSTATUS NtQueryVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'MEMORY_INFORMATION_CLASS MemoryInformationClass', 'PVOID MemoryInformation', 'SIZE_T MemoryInformationLength', 'PSIZE_T ReturnLength'] case 178: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtQueryVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2664,11 +2664,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 179 NTSTATUS NtQueryVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 179: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueryVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2680,11 +2680,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 180 NTSTATUS NtQueueApcThread ['HANDLE ThreadHandle', 'PPS_APC_ROUTINE ApcRoutine', 'PVOID ApcArgument1', 'PVOID ApcArgument2', 'PVOID ApcArgument3'] case 180: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtQueueApcThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2696,9 +2696,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 181 NTSTATUS NtRaiseException ['PEXCEPTION_RECORD ExceptionRecord', 'PCONTEXT ContextRecord', 'BOOLEAN FirstChance'] case 181: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRaiseException_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2708,12 +2708,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 182 NTSTATUS NtRaiseHardError ['NTSTATUS ErrorStatus', 'ULONG NumberOfParameters', 'ULONG UnicodeStringParameterMask', 'PULONG_PTR Parameters', 'ULONG ValidResponseOptions', 'PULONG Response'] case 182: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtRaiseHardError_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2726,15 +2726,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 183 NTSTATUS NtReadFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 183: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2750,15 +2750,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 184 NTSTATUS NtReadFileScatter ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 184: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtReadFileScatter_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2774,12 +2774,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 185 NTSTATUS NtReadRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 185: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtReadRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2792,11 +2792,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 186 NTSTATUS NtReadVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesRead'] case 186: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReadVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2808,7 +2808,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 187 NTSTATUS NtRegisterThreadTerminatePort ['HANDLE PortHandle'] case 187: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtRegisterThreadTerminatePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -2816,8 +2816,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 188 NTSTATUS NtReleaseMutant ['HANDLE MutantHandle', 'PLONG PreviousCount'] case 188: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReleaseMutant_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2826,9 +2826,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 189 NTSTATUS NtReleaseSemaphore ['HANDLE SemaphoreHandle', 'LONG ReleaseCount', 'PLONG PreviousCount'] case 189: { - uint32_t arg0; - int32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + int32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReleaseSemaphore_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(int32_t)); @@ -2838,11 +2838,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 190 NTSTATUS NtRemoveIoCompletion ['HANDLE IoCompletionHandle', 'PVOID *KeyContext', 'PVOID *ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER Timeout'] case 190: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtRemoveIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2854,8 +2854,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 191 NTSTATUS NtRemoveProcessDebug ['HANDLE ProcessHandle', 'HANDLE DebugObjectHandle'] case 191: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRemoveProcessDebug_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2864,8 +2864,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 192 NTSTATUS NtRenameKey ['HANDLE KeyHandle', 'PUNICODE_STRING NewName'] case 192: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRenameKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2874,9 +2874,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 193 NTSTATUS NtReplaceKey ['POBJECT_ATTRIBUTES NewFile', 'HANDLE TargetHandle', 'POBJECT_ATTRIBUTES OldFile'] case 193: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtReplaceKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2886,8 +2886,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 194 NTSTATUS NtReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 194: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2896,10 +2896,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 195 NTSTATUS NtReplyWaitReceivePort ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage'] case 195: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2910,11 +2910,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 196 NTSTATUS NtReplyWaitReceivePortEx ['HANDLE PortHandle', 'PVOID *PortContext', 'PPORT_MESSAGE ReplyMessage', 'PPORT_MESSAGE ReceiveMessage', 'PLARGE_INTEGER Timeout'] case 196: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReceivePortEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2926,8 +2926,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 197 NTSTATUS NtReplyWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE ReplyMessage'] case 197: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtReplyWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2936,8 +2936,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 199 NTSTATUS NtRequestPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage'] case 199: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtRequestPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2946,9 +2946,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 200 NTSTATUS NtRequestWaitReplyPort ['HANDLE PortHandle', 'PPORT_MESSAGE RequestMessage', 'PPORT_MESSAGE ReplyMessage'] case 200: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRequestWaitReplyPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2958,8 +2958,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 202 NTSTATUS NtResetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 202: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2968,9 +2968,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 203 NTSTATUS NtResetWriteWatch ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'SIZE_T RegionSize'] case 203: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtResetWriteWatch_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2980,9 +2980,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 204 NTSTATUS NtRestoreKey ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Flags'] case 204: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtRestoreKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -2992,7 +2992,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 205 NTSTATUS NtResumeProcess ['HANDLE ProcessHandle'] case 205: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtResumeProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3000,8 +3000,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 206 NTSTATUS NtResumeThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 206: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtResumeThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3010,8 +3010,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 207 NTSTATUS NtSaveKey ['HANDLE KeyHandle', 'HANDLE FileHandle'] case 207: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSaveKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3020,9 +3020,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 208 NTSTATUS NtSaveKeyEx ['HANDLE KeyHandle', 'HANDLE FileHandle', 'ULONG Format'] case 208: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3032,9 +3032,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 209 NTSTATUS NtSaveMergedKeys ['HANDLE HighPrecedenceKeyHandle', 'HANDLE LowPrecedenceKeyHandle', 'HANDLE FileHandle'] case 209: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSaveMergedKeys_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3044,15 +3044,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 210 NTSTATUS NtSecureConnectPort ['PHANDLE PortHandle', 'PUNICODE_STRING PortName', 'PSECURITY_QUALITY_OF_SERVICE SecurityQos', 'PPORT_VIEW ClientView', 'PSID RequiredServerSid', 'PREMOTE_PORT_VIEW ServerView', 'PULONG MaxMessageLength', 'PVOID ConnectionInformation', 'PULONG ConnectionInformationLength'] case 210: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtSecureConnectPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3068,8 +3068,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 211 NTSTATUS NtSetBootEntryOrder ['PULONG Ids', 'ULONG Count'] case 211: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetBootEntryOrder_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3078,8 +3078,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 212 NTSTATUS NtSetBootOptions ['PBOOT_OPTIONS BootOptions', 'ULONG FieldsToChange'] case 212: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetBootOptions_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3088,8 +3088,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 213 NTSTATUS NtSetContextThread ['HANDLE ThreadHandle', 'PCONTEXT ThreadContext'] case 213: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetContextThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3098,9 +3098,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 214 NTSTATUS NtSetDebugFilterState ['ULONG ComponentId', 'ULONG Level', 'BOOLEAN State'] case 214: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetDebugFilterState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3110,7 +3110,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 215 NTSTATUS NtSetDefaultHardErrorPort ['HANDLE DefaultHardErrorPort'] case 215: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultHardErrorPort_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3118,8 +3118,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 216 NTSTATUS NtSetDefaultLocale ['BOOLEAN UserProfile', 'LCID DefaultLocaleId'] case 216: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetDefaultLocale_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3128,7 +3128,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 217 NTSTATUS NtSetDefaultUILanguage ['LANGID DefaultUILanguageId'] case 217: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetDefaultUILanguage_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3136,10 +3136,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 218 NTSTATUS NtSetEaFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 218: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetEaFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3150,8 +3150,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 219 NTSTATUS NtSetEvent ['HANDLE EventHandle', 'PLONG PreviousState'] case 219: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3160,7 +3160,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 220 NTSTATUS NtSetEventBoostPriority ['HANDLE EventHandle'] case 220: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetEventBoostPriority_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3168,7 +3168,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 221 NTSTATUS NtSetHighEventPair ['HANDLE EventPairHandle'] case 221: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3176,7 +3176,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 222 NTSTATUS NtSetHighWaitLowEventPair ['HANDLE EventPairHandle'] case 222: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetHighWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3184,11 +3184,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 223 NTSTATUS NtSetInformationDebugObject ['HANDLE DebugObjectHandle', 'DEBUGOBJECTINFOCLASS DebugObjectInformationClass', 'PVOID DebugInformation', 'ULONG DebugInformationLength', 'PULONG ReturnLength'] case 223: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationDebugObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3200,11 +3200,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 224 NTSTATUS NtSetInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FileInformation', 'ULONG Length', 'FILE_INFORMATION_CLASS FileInformationClass'] case 224: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3216,10 +3216,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 225 NTSTATUS NtSetInformationJobObject ['HANDLE JobHandle', 'JOBOBJECTINFOCLASS JobObjectInformationClass', 'PVOID JobObjectInformation', 'ULONG JobObjectInformationLength'] case 225: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3230,10 +3230,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 226 NTSTATUS NtSetInformationKey ['HANDLE KeyHandle', 'KEY_SET_INFORMATION_CLASS KeySetInformationClass', 'PVOID KeySetInformation', 'ULONG KeySetInformationLength'] case 226: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3244,10 +3244,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 227 NTSTATUS NtSetInformationObject ['HANDLE Handle', 'OBJECT_INFORMATION_CLASS ObjectInformationClass', 'PVOID ObjectInformation', 'ULONG ObjectInformationLength'] case 227: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3258,10 +3258,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 228 NTSTATUS NtSetInformationProcess ['HANDLE ProcessHandle', 'PROCESSINFOCLASS ProcessInformationClass', 'PVOID ProcessInformation', 'ULONG ProcessInformationLength'] case 228: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3272,10 +3272,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 229 NTSTATUS NtSetInformationThread ['HANDLE ThreadHandle', 'THREADINFOCLASS ThreadInformationClass', 'PVOID ThreadInformation', 'ULONG ThreadInformationLength'] case 229: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3286,10 +3286,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 230 NTSTATUS NtSetInformationToken ['HANDLE TokenHandle', 'TOKEN_INFORMATION_CLASS TokenInformationClass', 'PVOID TokenInformation', 'ULONG TokenInformationLength'] case 230: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetInformationToken_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3300,8 +3300,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 231 NTSTATUS NtSetIntervalProfile ['ULONG Interval', 'KPROFILE_SOURCE Source'] case 231: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetIntervalProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3310,11 +3310,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 232 NTSTATUS NtSetIoCompletion ['HANDLE IoCompletionHandle', 'PVOID KeyContext', 'PVOID ApcContext', 'NTSTATUS IoStatus', 'ULONG_PTR IoStatusInformation'] case 232: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetIoCompletion_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3326,12 +3326,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 233 NTSTATUS NtSetLdtEntries ['ULONG Selector0', 'ULONG Entry0Low', 'ULONG Entry0Hi', 'ULONG Selector1', 'ULONG Entry1Low', 'ULONG Entry1Hi'] case 233: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetLdtEntries_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3344,7 +3344,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 234 NTSTATUS NtSetLowEventPair ['HANDLE EventPairHandle'] case 234: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3352,7 +3352,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 235 NTSTATUS NtSetLowWaitHighEventPair ['HANDLE EventPairHandle'] case 235: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetLowWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3360,10 +3360,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 236 NTSTATUS NtSetQuotaInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length'] case 236: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSetQuotaInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3374,9 +3374,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 237 NTSTATUS NtSetSecurityObject ['HANDLE Handle', 'SECURITY_INFORMATION SecurityInformation', 'PSECURITY_DESCRIPTOR SecurityDescriptor'] case 237: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSecurityObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3386,8 +3386,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 238 NTSTATUS NtSetSystemEnvironmentValue ['PUNICODE_STRING VariableName', 'PUNICODE_STRING VariableValue'] case 238: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValue_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3396,11 +3396,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 239 NTSTATUS NtSetSystemEnvironmentValueEx ['PUNICODE_STRING VariableName', 'LPGUID VendorGuid', 'PVOID Value', 'ULONG ValueLength', 'ULONG Attributes'] case 239: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetSystemEnvironmentValueEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3412,9 +3412,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 240 NTSTATUS NtSetSystemInformation ['SYSTEM_INFORMATION_CLASS SystemInformationClass', 'PVOID SystemInformation', 'ULONG SystemInformationLength'] case 240: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemInformation_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3424,9 +3424,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 241 NTSTATUS NtSetSystemPowerState ['POWER_ACTION SystemAction', 'SYSTEM_POWER_STATE MinSystemState', 'ULONG Flags'] case 241: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetSystemPowerState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3436,8 +3436,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 242 NTSTATUS NtSetSystemTime ['PLARGE_INTEGER SystemTime', 'PLARGE_INTEGER PreviousTime'] case 242: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetSystemTime_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3446,8 +3446,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 243 NTSTATUS NtSetThreadExecutionState ['EXECUTION_STATE esFlags', 'PEXECUTION_STATE PreviousFlags'] case 243: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSetThreadExecutionState_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3456,13 +3456,13 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 244 NTSTATUS NtSetTimer ['HANDLE TimerHandle', 'PLARGE_INTEGER DueTime', 'PTIMER_APC_ROUTINE TimerApcRoutine', 'PVOID TimerContext', 'BOOLEAN WakeTimer', 'LONG Period', 'PBOOLEAN PreviousState'] case 244: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - int32_t arg5; - uint32_t arg6; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + int32_t arg5 = 0; + uint32_t arg6 = 0; if (PPP_CHECK_CB(on_NtSetTimer_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3476,9 +3476,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 245 NTSTATUS NtSetTimerResolution ['ULONG DesiredTime', 'BOOLEAN SetResolution', 'PULONG ActualTime'] case 245: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtSetTimerResolution_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3488,7 +3488,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 246 NTSTATUS NtSetUuidSeed ['PCHAR Seed'] case 246: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSetUuidSeed_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3496,12 +3496,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 247 NTSTATUS NtSetValueKey ['HANDLE KeyHandle', 'PUNICODE_STRING ValueName', 'ULONG TitleIndex', 'ULONG Type', 'PVOID Data', 'ULONG DataSize'] case 247: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSetValueKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3514,11 +3514,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 248 NTSTATUS NtSetVolumeInformationFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID FsInformation', 'ULONG Length', 'FS_INFORMATION_CLASS FsInformationClass'] case 248: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtSetVolumeInformationFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3530,7 +3530,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 249 NTSTATUS NtShutdownSystem ['SHUTDOWN_ACTION Action'] case 249: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtShutdownSystem_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3538,10 +3538,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 250 NTSTATUS NtSignalAndWaitForSingleObject ['HANDLE SignalHandle', 'HANDLE WaitHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 250: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtSignalAndWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3552,7 +3552,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 251 NTSTATUS NtStartProfile ['HANDLE ProfileHandle'] case 251: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStartProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3560,7 +3560,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 252 NTSTATUS NtStopProfile ['HANDLE ProfileHandle'] case 252: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtStopProfile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3568,7 +3568,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 253 NTSTATUS NtSuspendProcess ['HANDLE ProcessHandle'] case 253: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtSuspendProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3576,8 +3576,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 254 NTSTATUS NtSuspendThread ['HANDLE ThreadHandle', 'PULONG PreviousSuspendCount'] case 254: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtSuspendThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3586,12 +3586,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 255 NTSTATUS NtSystemDebugControl ['SYSDBG_COMMAND Command', 'PVOID InputBuffer', 'ULONG InputBufferLength', 'PVOID OutputBuffer', 'ULONG OutputBufferLength', 'PULONG ReturnLength'] case 255: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtSystemDebugControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3604,8 +3604,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 256 NTSTATUS NtTerminateJobObject ['HANDLE JobHandle', 'NTSTATUS ExitStatus'] case 256: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateJobObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3614,8 +3614,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 257 NTSTATUS NtTerminateProcess ['HANDLE ProcessHandle', 'NTSTATUS ExitStatus'] case 257: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateProcess_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3624,8 +3624,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 258 NTSTATUS NtTerminateThread ['HANDLE ThreadHandle', 'NTSTATUS ExitStatus'] case 258: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtTerminateThread_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3640,10 +3640,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 260 NTSTATUS NtTraceEvent ['HANDLE TraceHandle', 'ULONG Flags', 'ULONG FieldSize', 'PVOID Fields'] case 260: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtTraceEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3654,10 +3654,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 261 NTSTATUS NtTranslateFilePath ['PFILE_PATH InputFilePath', 'ULONG OutputType', 'PFILE_PATH OutputFilePath', 'PULONG OutputFilePathLength'] case 261: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtTranslateFilePath_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3668,7 +3668,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 262 NTSTATUS NtUnloadDriver ['PUNICODE_STRING DriverServiceName'] case 262: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadDriver_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3676,7 +3676,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 263 NTSTATUS NtUnloadKey ['POBJECT_ATTRIBUTES TargetKey'] case 263: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtUnloadKey_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3684,8 +3684,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 264 NTSTATUS NtUnloadKeyEx ['POBJECT_ATTRIBUTES TargetKey', 'HANDLE Event'] case 264: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnloadKeyEx_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3694,11 +3694,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 265 NTSTATUS NtUnlockFile ['HANDLE FileHandle', 'PIO_STATUS_BLOCK IoStatusBlock', 'PLARGE_INTEGER ByteOffset', 'PLARGE_INTEGER Length', 'ULONG Key'] case 265: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtUnlockFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3710,10 +3710,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 266 NTSTATUS NtUnlockVirtualMemory ['HANDLE ProcessHandle', 'PVOID *BaseAddress', 'PSIZE_T RegionSize', 'ULONG MapType'] case 266: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtUnlockVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3724,8 +3724,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 267 NTSTATUS NtUnmapViewOfSection ['HANDLE ProcessHandle', 'PVOID BaseAddress'] case 267: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtUnmapViewOfSection_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3734,8 +3734,8 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 268 NTSTATUS NtVdmControl ['VDMSERVICECLASS Service', 'PVOID ServiceData'] case 268: { - uint32_t arg0; - uint32_t arg1; + uint32_t arg0 = 0; + uint32_t arg1 = 0; if (PPP_CHECK_CB(on_NtVdmControl_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3744,10 +3744,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 269 NTSTATUS NtWaitForDebugEvent ['HANDLE DebugObjectHandle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout', 'PDBGUI_WAIT_STATE_CHANGE WaitStateChange'] case 269: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtWaitForDebugEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3758,11 +3758,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 270 NTSTATUS NtWaitForMultipleObjects ['ULONG Count', 'HANDLE Handles[]', 'WAIT_TYPE WaitType', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 270: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWaitForMultipleObjects_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3774,9 +3774,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 271 NTSTATUS NtWaitForSingleObject ['HANDLE Handle', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 271: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtWaitForSingleObject_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3786,7 +3786,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 272 NTSTATUS NtWaitHighEventPair ['HANDLE EventPairHandle'] case 272: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitHighEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3794,7 +3794,7 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 273 NTSTATUS NtWaitLowEventPair ['HANDLE EventPairHandle'] case 273: { - uint32_t arg0; + uint32_t arg0 = 0; if (PPP_CHECK_CB(on_NtWaitLowEventPair_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); } @@ -3802,15 +3802,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 274 NTSTATUS NtWriteFile ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PVOID Buffer', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 274: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFile_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3826,15 +3826,15 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 275 NTSTATUS NtWriteFileGather ['HANDLE FileHandle', 'HANDLE Event', 'PIO_APC_ROUTINE ApcRoutine', 'PVOID ApcContext', 'PIO_STATUS_BLOCK IoStatusBlock', 'PFILE_SEGMENT_ELEMENT SegmentArray', 'ULONG Length', 'PLARGE_INTEGER ByteOffset', 'PULONG Key'] case 275: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; - uint32_t arg6; - uint32_t arg7; - uint32_t arg8; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; + uint32_t arg6 = 0; + uint32_t arg7 = 0; + uint32_t arg8 = 0; if (PPP_CHECK_CB(on_NtWriteFileGather_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3850,12 +3850,12 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 276 NTSTATUS NtWriteRequestData ['HANDLE PortHandle', 'PPORT_MESSAGE Message', 'ULONG DataEntryIndex', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 276: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; - uint32_t arg5; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; + uint32_t arg5 = 0; if (PPP_CHECK_CB(on_NtWriteRequestData_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3868,11 +3868,11 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 277 NTSTATUS NtWriteVirtualMemory ['HANDLE ProcessHandle', 'PVOID BaseAddress', 'PVOID Buffer', 'SIZE_T BufferSize', 'PSIZE_T NumberOfBytesWritten'] case 277: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; - uint32_t arg4; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; + uint32_t arg4 = 0; if (PPP_CHECK_CB(on_NtWriteVirtualMemory_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3890,10 +3890,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 279 NTSTATUS NtCreateKeyedEvent ['PHANDLE KeyedEventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes', 'ULONG Flags'] case 279: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtCreateKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3904,9 +3904,9 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 280 NTSTATUS NtOpenKeyedEvent ['PHANDLE KeyedEventHandle', 'ACCESS_MASK DesiredAccess', 'POBJECT_ATTRIBUTES ObjectAttributes'] case 280: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; if (PPP_CHECK_CB(on_NtOpenKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3916,10 +3916,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 281 NTSTATUS NtReleaseKeyedEvent ['HANDLE KeyedEventHandle', 'PVOID KeyValue', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 281: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtReleaseKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); @@ -3930,10 +3930,10 @@ void syscall_return_switch_windows_xpsp3_x86(CPUState *cpu, target_ptr_t pc, con }; break; // 282 NTSTATUS NtWaitForKeyedEvent ['HANDLE KeyedEventHandle', 'PVOID KeyValue', 'BOOLEAN Alertable', 'PLARGE_INTEGER Timeout'] case 282: { - uint32_t arg0; - uint32_t arg1; - uint32_t arg2; - uint32_t arg3; + uint32_t arg0 = 0; + uint32_t arg1 = 0; + uint32_t arg2 = 0; + uint32_t arg3 = 0; if (PPP_CHECK_CB(on_NtWaitForKeyedEvent_return) || PPP_CHECK_CB(on_all_sys_return2)) { memcpy(&arg0, ctx->args[0], sizeof(uint32_t)); memcpy(&arg1, ctx->args[1], sizeof(uint32_t)); diff --git a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs.h b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs.h index df5241e0eb4..c98e60f5bbf 100644 --- a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs.h +++ b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs.h @@ -67,12 +67,12 @@ typedef struct syscall_ctx syscall_ctx_t; // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_all_sys_enter_t)(CPUState *cpu, target_ulong pc, target_ulong callno); -typedef void (*on_all_sys_enter2_t)(CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); -typedef void (*on_all_sys_return_t)(CPUState *cpu, target_ulong pc, target_ulong callno); -typedef void (*on_all_sys_return2_t)(CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); -typedef void (*on_unknown_sys_enter_t)(CPUState *cpu, target_ulong pc, target_ulong callno); -typedef void (*on_unknown_sys_return_t)(CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_all_sys_enter, CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_all_sys_enter2, CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); +PPP_CB_TYPEDEF(void, on_all_sys_return, CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_all_sys_return2, CPUState *cpu, target_ulong pc, const syscall_info_t *call, const syscall_ctx_t *ctx); +PPP_CB_TYPEDEF(void, on_unknown_sys_enter, CPUState *cpu, target_ulong pc, target_ulong callno); +PPP_CB_TYPEDEF(void, on_unknown_sys_return, CPUState *cpu, target_ulong pc, target_ulong callno); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! /* vim: set tabstop=4 softtabstop=4 noexpandtab ft=cpp: */ \ No newline at end of file diff --git a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm.h b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm.h index 57c925d800b..f534427d046 100644 --- a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm.h +++ b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm.h @@ -2,715 +2,715 @@ // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_ARM_breakpoint_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_ARM_breakpoint_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_ARM_cacheflush_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t end, uint32_t flags); -typedef void (*on_ARM_cacheflush_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t end, uint32_t flags); -typedef void (*on_ARM_set_tls_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg); -typedef void (*on_ARM_set_tls_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg); -typedef void (*on_ARM_user26_mode_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_ARM_user26_mode_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_ARM_usr32_mode_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_ARM_usr32_mode_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_do_mmap2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); -typedef void (*on_do_mmap2_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); -typedef void (*on_sys_accept_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_accept_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_accept4_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); -typedef void (*on_sys_accept4_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); -typedef void (*on_sys_access_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); -typedef void (*on_sys_access_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); -typedef void (*on_sys_acct_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_acct_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_add_key_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_add_key_return_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_adjtimex_enter_t)(CPUState* cpu, target_ulong pc, uint32_t txc_p); -typedef void (*on_sys_adjtimex_return_t)(CPUState* cpu, target_ulong pc, uint32_t txc_p); -typedef void (*on_sys_alarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_alarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_arm_fadvise64_64_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t advice, uint64_t offset, uint64_t len); -typedef void (*on_sys_arm_fadvise64_64_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t advice, uint64_t offset, uint64_t len); -typedef void (*on_sys_bdflush_enter_t)(CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); -typedef void (*on_sys_bdflush_return_t)(CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); -typedef void (*on_sys_bind_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_bind_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_bpf_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); -typedef void (*on_sys_bpf_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); -typedef void (*on_sys_brk_enter_t)(CPUState* cpu, target_ulong pc, uint32_t brk); -typedef void (*on_sys_brk_return_t)(CPUState* cpu, target_ulong pc, uint32_t brk); -typedef void (*on_sys_capget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); -typedef void (*on_sys_capget_return_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); -typedef void (*on_sys_capset_enter_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); -typedef void (*on_sys_capset_return_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); -typedef void (*on_sys_chdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); -typedef void (*on_sys_chmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); -typedef void (*on_sys_chown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown16_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chroot_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chroot_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_clock_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_getres_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_getres_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clone_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_clone_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_close_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_close_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_connect_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_connect_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_creat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_creat_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_delete_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); -typedef void (*on_sys_delete_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); -typedef void (*on_sys_dup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup2_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup3_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_dup3_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_epoll_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create_return_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_create1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_ctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); -typedef void (*on_sys_epoll_ctl_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); -typedef void (*on_sys_epoll_pwait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_pwait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_wait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_epoll_wait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_eventfd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd_return_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_eventfd2_return_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_execve_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); -typedef void (*on_sys_execve_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); -typedef void (*on_sys_execveat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); -typedef void (*on_sys_execveat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); -typedef void (*on_sys_exit_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_faccessat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); -typedef void (*on_sys_faccessat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); -typedef void (*on_sys_fallocate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fallocate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fanotify_init_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_init_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_mark_enter_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); -typedef void (*on_sys_fanotify_mark_return_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); -typedef void (*on_sys_fchdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); -typedef void (*on_sys_fchmodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); -typedef void (*on_sys_fchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown16_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchownat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fchownat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fcntl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fdatasync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fdatasync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fgetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_fgetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_finit_module_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); -typedef void (*on_sys_finit_module_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); -typedef void (*on_sys_flistxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); -typedef void (*on_sys_flistxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); -typedef void (*on_sys_flock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_flock_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_fork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fremovexattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); -typedef void (*on_sys_fremovexattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); -typedef void (*on_sys_fsetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fsetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fstat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstatat64_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); -typedef void (*on_sys_fstatat64_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); -typedef void (*on_sys_fstatfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); -typedef void (*on_sys_fstatfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); -typedef void (*on_sys_fstatfs64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); -typedef void (*on_sys_fstatfs64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); -typedef void (*on_sys_fsync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fsync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_ftruncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); -typedef void (*on_sys_ftruncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); -typedef void (*on_sys_ftruncate64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_ftruncate64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_futex_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_return_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futimesat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_futimesat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_get_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); -typedef void (*on_sys_get_mempolicy_return_t)(CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); -typedef void (*on_sys_get_robust_list_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); -typedef void (*on_sys_get_robust_list_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); -typedef void (*on_sys_getcpu_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); -typedef void (*on_sys_getcpu_return_t)(CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); -typedef void (*on_sys_getcwd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); -typedef void (*on_sys_getcwd_return_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); -typedef void (*on_sys_getdents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getegid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups16_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups16_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); -typedef void (*on_sys_getitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); -typedef void (*on_sys_getpeername_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getpeername_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgrp_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpgrp_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getrandom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getrandom_return_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_getrusage_enter_t)(CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); -typedef void (*on_sys_getrusage_return_t)(CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); -typedef void (*on_sys_getsid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsockname_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getsockname_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); -typedef void (*on_sys_getsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); -typedef void (*on_sys_gettid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_gettimeofday_return_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_getuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_getxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_init_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); -typedef void (*on_sys_init_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); -typedef void (*on_sys_inotify_add_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); -typedef void (*on_sys_inotify_add_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); -typedef void (*on_sys_inotify_init_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_init1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_rm_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_inotify_rm_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_io_cancel_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); -typedef void (*on_sys_io_cancel_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); -typedef void (*on_sys_io_destroy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx); -typedef void (*on_sys_io_destroy_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx); -typedef void (*on_sys_io_getevents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); -typedef void (*on_sys_io_getevents_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); -typedef void (*on_sys_io_setup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); -typedef void (*on_sys_io_setup_return_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); -typedef void (*on_sys_io_submit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); -typedef void (*on_sys_io_submit_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); -typedef void (*on_sys_ioctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_ioctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_ioprio_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_get_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_set_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ioprio_set_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ipc_enter_t)(CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); -typedef void (*on_sys_ipc_return_t)(CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); -typedef void (*on_sys_kcmp_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); -typedef void (*on_sys_kcmp_return_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); -typedef void (*on_sys_kexec_load_enter_t)(CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); -typedef void (*on_sys_kexec_load_return_t)(CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); -typedef void (*on_sys_keyctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_keyctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_kill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_kill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_lchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown16_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lgetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_lgetxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_link_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_link_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_linkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); -typedef void (*on_sys_linkat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); -typedef void (*on_sys_listen_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listen_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_listxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llistxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llistxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); -typedef void (*on_sys_llseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); -typedef void (*on_sys_lookup_dcookie_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); -typedef void (*on_sys_lookup_dcookie_return_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); -typedef void (*on_sys_lremovexattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_lremovexattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_lseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); -typedef void (*on_sys_lseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); -typedef void (*on_sys_lsetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lsetxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lstat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_madvise_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_madvise_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_mbind_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); -typedef void (*on_sys_mbind_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); -typedef void (*on_sys_membarrier_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_membarrier_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_memfd_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); -typedef void (*on_sys_memfd_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); -typedef void (*on_sys_mincore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); -typedef void (*on_sys_mincore_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); -typedef void (*on_sys_mkdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mknod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknod_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_mlock_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_mlock2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlock2_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlockall_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mlockall_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); -typedef void (*on_sys_mount_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); -typedef void (*on_sys_move_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); -typedef void (*on_sys_move_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); -typedef void (*on_sys_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); -typedef void (*on_sys_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); -typedef void (*on_sys_mq_getsetattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); -typedef void (*on_sys_mq_getsetattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); -typedef void (*on_sys_mq_notify_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); -typedef void (*on_sys_mq_notify_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); -typedef void (*on_sys_mq_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); -typedef void (*on_sys_mq_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); -typedef void (*on_sys_mq_timedreceive_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedreceive_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedsend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedsend_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_mq_unlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_mremap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); -typedef void (*on_sys_mremap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); -typedef void (*on_sys_msgctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_msgctl_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_msgget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgrcv_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgrcv_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgsnd_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msgsnd_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_msync_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_munlock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_munlock_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_munlockall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munlockall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munmap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); -typedef void (*on_sys_munmap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); -typedef void (*on_sys_name_to_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); -typedef void (*on_sys_name_to_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); -typedef void (*on_sys_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_newfstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_newfstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_newlstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newlstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newuname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_newuname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_nice_enter_t)(CPUState* cpu, target_ulong pc, int32_t increment); -typedef void (*on_sys_nice_return_t)(CPUState* cpu, target_ulong pc, int32_t increment); -typedef void (*on_sys_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_by_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); -typedef void (*on_sys_open_by_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); -typedef void (*on_sys_openat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_pause_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_pause_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_pciconfig_iobase_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t bus, uint32_t devfn); -typedef void (*on_sys_pciconfig_iobase_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t bus, uint32_t devfn); -typedef void (*on_sys_pciconfig_read_enter_t)(CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); -typedef void (*on_sys_pciconfig_read_return_t)(CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); -typedef void (*on_sys_pciconfig_write_enter_t)(CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); -typedef void (*on_sys_pciconfig_write_return_t)(CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); -typedef void (*on_sys_perf_event_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); -typedef void (*on_sys_perf_event_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); -typedef void (*on_sys_personality_enter_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_personality_return_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_pipe_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_pipe_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_pipe2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); -typedef void (*on_sys_pipe2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); -typedef void (*on_sys_pivot_root_enter_t)(CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); -typedef void (*on_sys_pivot_root_return_t)(CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); -typedef void (*on_sys_poll_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_poll_return_t)(CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_ppoll_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pread64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pread64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_preadv_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_preadv_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_prlimit64_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); -typedef void (*on_sys_prlimit64_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); -typedef void (*on_sys_process_vm_readv_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_readv_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_writev_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_writev_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_pselect6_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pselect6_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_ptrace_enter_t)(CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); -typedef void (*on_sys_ptrace_return_t)(CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); -typedef void (*on_sys_pwrite64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwrite64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwritev_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_pwritev_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_quotactl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); -typedef void (*on_sys_quotactl_return_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); -typedef void (*on_sys_read_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_read_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_readahead_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readahead_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readv_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_readv_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_reboot_enter_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_reboot_return_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_recv_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_recv_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_recvfrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_recvfrom_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_recvmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_remap_file_pages_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); -typedef void (*on_sys_remap_file_pages_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); -typedef void (*on_sys_removexattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_removexattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_rename_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_rename_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_renameat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_renameat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_renameat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); -typedef void (*on_sys_renameat2_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); -typedef void (*on_sys_request_key_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); -typedef void (*on_sys_request_key_return_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); -typedef void (*on_sys_restart_syscall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_restart_syscall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rmdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_rmdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_rt_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_sigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_sigreturn_enter_t)(CPUState* cpu, target_ulong pc, uint32_t regs); -typedef void (*on_sys_rt_sigreturn_return_t)(CPUState* cpu, target_ulong pc, uint32_t regs); -typedef void (*on_sys_rt_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_return_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_tgsigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_tgsigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_sched_get_priority_max_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_max_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_getaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_getaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_getattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_getparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_getscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_getscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_rr_get_interval_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_rr_get_interval_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_setaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_setaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_setattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); -typedef void (*on_sys_sched_setattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); -typedef void (*on_sys_sched_setparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_setparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_setscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); -typedef void (*on_sys_sched_setscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); -typedef void (*on_sys_sched_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sched_yield_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_seccomp_enter_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); -typedef void (*on_sys_seccomp_return_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); -typedef void (*on_sys_select_enter_t)(CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); -typedef void (*on_sys_select_return_t)(CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); -typedef void (*on_sys_semctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); -typedef void (*on_sys_semctl_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); -typedef void (*on_sys_semget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops); -typedef void (*on_sys_semop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops); -typedef void (*on_sys_semtimedop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); -typedef void (*on_sys_semtimedop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); -typedef void (*on_sys_send_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_send_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_sendfile_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_sendto_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); -typedef void (*on_sys_sendto_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); -typedef void (*on_sys_set_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); -typedef void (*on_sys_set_mempolicy_return_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); -typedef void (*on_sys_set_robust_list_enter_t)(CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); -typedef void (*on_sys_set_robust_list_return_t)(CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); -typedef void (*on_sys_set_tid_address_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tidptr); -typedef void (*on_sys_set_tid_address_return_t)(CPUState* cpu, target_ulong pc, uint32_t tidptr); -typedef void (*on_sys_setdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setdomainname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setfsgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups16_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups16_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_sethostname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_sethostname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); -typedef void (*on_sys_setitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); -typedef void (*on_sys_setns_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setns_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setregid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setreuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_setrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_setsid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); -typedef void (*on_sys_setsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); -typedef void (*on_sys_settimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_settimeofday_return_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_setuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_setxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_shmat_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmat_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_shmctl_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_shmdt_enter_t)(CPUState* cpu, target_ulong pc, uint32_t shmaddr); -typedef void (*on_sys_shmdt_return_t)(CPUState* cpu, target_ulong pc, uint32_t shmaddr); -typedef void (*on_sys_shmget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shmget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shutdown_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_shutdown_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sigaltstack_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); -typedef void (*on_sys_sigaltstack_return_t)(CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); -typedef void (*on_sys_signalfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd4_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_signalfd4_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint32_t set); -typedef void (*on_sys_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint32_t set); -typedef void (*on_sys_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); -typedef void (*on_sys_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); -typedef void (*on_sys_sigreturn_enter_t)(CPUState* cpu, target_ulong pc, uint32_t regs); -typedef void (*on_sys_sigreturn_return_t)(CPUState* cpu, target_ulong pc, uint32_t regs); -typedef void (*on_sys_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); -typedef void (*on_sys_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); -typedef void (*on_sys_socket_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socket_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socketcall_enter_t)(CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); -typedef void (*on_sys_socketcall_return_t)(CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); -typedef void (*on_sys_socketpair_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); -typedef void (*on_sys_socketpair_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); -typedef void (*on_sys_splice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_splice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_stat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_statfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); -typedef void (*on_sys_statfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); -typedef void (*on_sys_statfs64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); -typedef void (*on_sys_statfs64_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); -typedef void (*on_sys_stime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tptr); -typedef void (*on_sys_stime_return_t)(CPUState* cpu, target_ulong pc, uint32_t tptr); -typedef void (*on_sys_swapoff_enter_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile); -typedef void (*on_sys_swapoff_return_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile); -typedef void (*on_sys_swapon_enter_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); -typedef void (*on_sys_swapon_return_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); -typedef void (*on_sys_symlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); -typedef void (*on_sys_symlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); -typedef void (*on_sys_symlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_symlinkat_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_sync_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_file_range2_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t flags, uint64_t offset, uint64_t nbytes); -typedef void (*on_sys_sync_file_range2_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t flags, uint64_t offset, uint64_t nbytes); -typedef void (*on_sys_syncfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_syncfs_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_sysctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t args); -typedef void (*on_sys_sysctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t args); -typedef void (*on_sys_sysfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sysfs_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sysinfo_enter_t)(CPUState* cpu, target_ulong pc, uint32_t info); -typedef void (*on_sys_sysinfo_return_t)(CPUState* cpu, target_ulong pc, uint32_t info); -typedef void (*on_sys_syslog_enter_t)(CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); -typedef void (*on_sys_syslog_return_t)(CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); -typedef void (*on_sys_tee_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tee_return_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tgkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_tgkill_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_time_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tloc); -typedef void (*on_sys_time_return_t)(CPUState* cpu, target_ulong pc, uint32_t tloc); -typedef void (*on_sys_timer_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); -typedef void (*on_sys_timer_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); -typedef void (*on_sys_timer_delete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_delete_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); -typedef void (*on_sys_timer_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); -typedef void (*on_sys_timerfd_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_create_return_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_gettime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_gettime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_settime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_timerfd_settime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_times_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tbuf); -typedef void (*on_sys_times_return_t)(CPUState* cpu, target_ulong pc, uint32_t tbuf); -typedef void (*on_sys_tkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_tkill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_truncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); -typedef void (*on_sys_truncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); -typedef void (*on_sys_truncate64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); -typedef void (*on_sys_truncate64_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); -typedef void (*on_sys_umask_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umask_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); -typedef void (*on_sys_umount_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); -typedef void (*on_sys_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_unlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_unlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); -typedef void (*on_sys_unlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); -typedef void (*on_sys_unshare_enter_t)(CPUState* cpu, target_ulong pc, uint32_t unshare_flags); -typedef void (*on_sys_unshare_return_t)(CPUState* cpu, target_ulong pc, uint32_t unshare_flags); -typedef void (*on_sys_uselib_enter_t)(CPUState* cpu, target_ulong pc, uint32_t library); -typedef void (*on_sys_uselib_return_t)(CPUState* cpu, target_ulong pc, uint32_t library); -typedef void (*on_sys_userfaultfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_userfaultfd_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_ustat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); -typedef void (*on_sys_ustat_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); -typedef void (*on_sys_utime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); -typedef void (*on_sys_utime_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); -typedef void (*on_sys_utimensat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); -typedef void (*on_sys_utimensat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); -typedef void (*on_sys_utimes_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_utimes_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_vfork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vfork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vmsplice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); -typedef void (*on_sys_vmsplice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); -typedef void (*on_sys_wait4_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); -typedef void (*on_sys_wait4_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); -typedef void (*on_sys_waitid_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); -typedef void (*on_sys_waitid_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); -typedef void (*on_sys_write_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_write_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_writev_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_writev_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_ARM_breakpoint_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_ARM_breakpoint_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_ARM_cacheflush_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t end, uint32_t flags); +PPP_CB_TYPEDEF(void, on_ARM_cacheflush_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t end, uint32_t flags); +PPP_CB_TYPEDEF(void, on_ARM_set_tls_enter, CPUState* cpu, target_ulong pc, uint32_t arg); +PPP_CB_TYPEDEF(void, on_ARM_set_tls_return, CPUState* cpu, target_ulong pc, uint32_t arg); +PPP_CB_TYPEDEF(void, on_ARM_user26_mode_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_ARM_user26_mode_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_ARM_usr32_mode_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_ARM_usr32_mode_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_do_mmap2_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); +PPP_CB_TYPEDEF(void, on_do_mmap2_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); +PPP_CB_TYPEDEF(void, on_sys_accept_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept4_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_accept4_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_access_enter, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_access_return, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_acct_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_acct_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_add_key_enter, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_add_key_return, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_enter, CPUState* cpu, target_ulong pc, uint32_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_return, CPUState* cpu, target_ulong pc, uint32_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_alarm_enter, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_alarm_return, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_arm_fadvise64_64_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t advice, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_arm_fadvise64_64_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t advice, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_bdflush_enter, CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); +PPP_CB_TYPEDEF(void, on_sys_bdflush_return, CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); +PPP_CB_TYPEDEF(void, on_sys_bind_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bind_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bpf_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_bpf_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_brk_enter, CPUState* cpu, target_ulong pc, uint32_t brk); +PPP_CB_TYPEDEF(void, on_sys_brk_return, CPUState* cpu, target_ulong pc, uint32_t brk); +PPP_CB_TYPEDEF(void, on_sys_capget_enter, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capget_return, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capset_enter, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_capset_return, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_chdir_enter, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chdir_return, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chmod_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chmod_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chown_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown16_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown16_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chroot_enter, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chroot_return, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clone_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_clone_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_close_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_close_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_connect_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_connect_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_creat_enter, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_creat_return, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_delete_module_enter, CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_delete_module_return, CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup2_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup2_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup3_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup3_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_enter, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_return, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_enter, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_return, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_eventfd_enter, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd_return, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_enter, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_return, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execve_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); +PPP_CB_TYPEDEF(void, on_sys_execve_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); +PPP_CB_TYPEDEF(void, on_sys_execveat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execveat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_exit_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_faccessat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fallocate_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fallocate_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_enter, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_return, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fchdir_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchdir_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchmod_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmod_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchown_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown16_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown16_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchownat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fchownat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fcntl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_finit_module_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_finit_module_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flock_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_flock_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_fork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fstat64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstatat64_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fstatat64_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fsync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fsync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_futex_enter, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_return, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futimesat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_futimesat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_enter, CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_return, CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_getcpu_enter, CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcpu_return, CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcwd_enter, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getcwd_return, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getdents_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getegid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups16_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups16_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); +PPP_CB_TYPEDEF(void, on_sys_getitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); +PPP_CB_TYPEDEF(void, on_sys_getpeername_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpeername_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getrandom_enter, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getrandom_return, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid16_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid16_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid16_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid16_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrusage_enter, CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_getrusage_return, CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_getsid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsockname_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockname_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_gettid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_enter, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_return, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_getuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_init_module_enter, CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_init_module_return, CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_enter, CPUState* cpu, target_ulong pc, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_return, CPUState* cpu, target_ulong pc, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_setup_enter, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_setup_return, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_submit_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_io_submit_return, CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_ioctl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioctl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ipc_enter, CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); +PPP_CB_TYPEDEF(void, on_sys_ipc_return, CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); +PPP_CB_TYPEDEF(void, on_sys_kcmp_enter, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kcmp_return, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_enter, CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_return, CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_keyctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_keyctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_kill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_kill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_lchown_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown16_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown16_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_link_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_link_return, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_linkat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_linkat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_listen_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listen_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_listxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_llseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_enter, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_return, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_lseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lstat64_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat64_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_madvise_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_madvise_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_mbind_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mbind_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_enter, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_return, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_enter, CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_return, CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mincore_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); +PPP_CB_TYPEDEF(void, on_sys_mincore_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); +PPP_CB_TYPEDEF(void, on_sys_mkdir_enter, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdir_return, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mknod_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknod_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mlock_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock2_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlock2_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mount_enter, CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_mount_return, CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_move_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_move_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mprotect_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); +PPP_CB_TYPEDEF(void, on_sys_mprotect_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_open_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_open_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_mremap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_mremap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_msgctl_enter, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgctl_return, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msync_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_msync_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_munlock_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlock_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlockall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munlockall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munmap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munmap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_newfstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newfstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newuname_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_newuname_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_nice_enter, CPUState* cpu, target_ulong pc, int32_t increment); +PPP_CB_TYPEDEF(void, on_sys_nice_return, CPUState* cpu, target_ulong pc, int32_t increment); +PPP_CB_TYPEDEF(void, on_sys_open_enter, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_return, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_return, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_openat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_pause_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_pause_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_pciconfig_iobase_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t bus, uint32_t devfn); +PPP_CB_TYPEDEF(void, on_sys_pciconfig_iobase_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t bus, uint32_t devfn); +PPP_CB_TYPEDEF(void, on_sys_pciconfig_read_enter, CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_pciconfig_read_return, CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_pciconfig_write_enter, CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_pciconfig_write_return, CPUState* cpu, target_ulong pc, uint32_t bus, uint32_t dfn, uint32_t off, uint32_t len, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_enter, CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_return, CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_personality_enter, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_personality_return, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_pipe_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe2_enter, CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe2_return, CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_enter, CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_return, CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); +PPP_CB_TYPEDEF(void, on_sys_poll_enter, CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_poll_return, CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_ppoll_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_prctl_enter, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_prctl_return, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pread64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pread64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_preadv_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pselect6_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_ptrace_enter, CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_ptrace_return, CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwritev_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_quotactl_enter, CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); +PPP_CB_TYPEDEF(void, on_sys_quotactl_return, CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); +PPP_CB_TYPEDEF(void, on_sys_read_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_read_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readlink_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlink_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readv_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_readv_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_reboot_enter, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_reboot_return, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_recv_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_recv_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_removexattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_removexattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_rename_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_rename_return, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat2_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_renameat2_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_request_key_enter, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_request_key_return, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rmdir_enter, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rmdir_return, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_enter, CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_return, CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_enter, CPUState* cpu, target_ulong pc, uint32_t regs); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_return, CPUState* cpu, target_ulong pc, uint32_t regs); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_enter, CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_return, CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_enter, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_return, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_seccomp_enter, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_seccomp_return, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_select_enter, CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); +PPP_CB_TYPEDEF(void, on_sys_select_return, CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); +PPP_CB_TYPEDEF(void, on_sys_semctl_enter, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_semctl_return, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_semget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_sys_semop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_send_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_send_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_sendfile_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendto_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_sendto_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_enter, CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_return, CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_enter, CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_return, CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_enter, CPUState* cpu, target_ulong pc, uint32_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_return, CPUState* cpu, target_ulong pc, uint32_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid16_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid16_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid16_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid16_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid16_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid16_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups16_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups16_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_sethostname_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_sethostname_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setns_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setns_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpgid_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setregid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid16_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid16_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid16_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid16_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid16_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid16_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid16_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid16_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setsid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_enter, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_return, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_setuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid16_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid16_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_setxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_shmat_enter, CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmat_return, CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmctl_enter, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmctl_return, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmdt_enter, CPUState* cpu, target_ulong pc, uint32_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmdt_return, CPUState* cpu, target_ulong pc, uint32_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmget_enter, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shmget_return, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shutdown_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_shutdown_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_enter, CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_return, CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); +PPP_CB_TYPEDEF(void, on_sys_signalfd_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sigpending_enter, CPUState* cpu, target_ulong pc, uint32_t set); +PPP_CB_TYPEDEF(void, on_sys_sigpending_return, CPUState* cpu, target_ulong pc, uint32_t set); +PPP_CB_TYPEDEF(void, on_sys_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); +PPP_CB_TYPEDEF(void, on_sys_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); +PPP_CB_TYPEDEF(void, on_sys_sigreturn_enter, CPUState* cpu, target_ulong pc, uint32_t regs); +PPP_CB_TYPEDEF(void, on_sys_sigreturn_return, CPUState* cpu, target_ulong pc, uint32_t regs); +PPP_CB_TYPEDEF(void, on_sys_sigsuspend_enter, CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_sigsuspend_return, CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_socket_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socket_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socketcall_enter, CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_socketcall_return, CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_socketpair_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_socketpair_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_splice_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_splice_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_stat64_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat64_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_statfs_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs64_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs64_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_stime_enter, CPUState* cpu, target_ulong pc, uint32_t tptr); +PPP_CB_TYPEDEF(void, on_sys_stime_return, CPUState* cpu, target_ulong pc, uint32_t tptr); +PPP_CB_TYPEDEF(void, on_sys_swapoff_enter, CPUState* cpu, target_ulong pc, uint32_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapoff_return, CPUState* cpu, target_ulong pc, uint32_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapon_enter, CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_swapon_return, CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_symlink_enter, CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlink_return, CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_return, CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_sync_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range2_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t flags, uint64_t offset, uint64_t nbytes); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range2_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t flags, uint64_t offset, uint64_t nbytes); +PPP_CB_TYPEDEF(void, on_sys_syncfs_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_syncfs_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_sysctl_enter, CPUState* cpu, target_ulong pc, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_sysctl_return, CPUState* cpu, target_ulong pc, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_sysfs_enter, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysfs_return, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_enter, CPUState* cpu, target_ulong pc, uint32_t info); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_return, CPUState* cpu, target_ulong pc, uint32_t info); +PPP_CB_TYPEDEF(void, on_sys_syslog_enter, CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_syslog_return, CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_tee_enter, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tee_return, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tgkill_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tgkill_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_time_enter, CPUState* cpu, target_ulong pc, uint32_t tloc); +PPP_CB_TYPEDEF(void, on_sys_time_return, CPUState* cpu, target_ulong pc, uint32_t tloc); +PPP_CB_TYPEDEF(void, on_sys_timer_create_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_create_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_enter, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_return, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_return, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_times_enter, CPUState* cpu, target_ulong pc, uint32_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_times_return, CPUState* cpu, target_ulong pc, uint32_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_tkill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tkill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_truncate_enter, CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate_return, CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate64_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate64_return, CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_umask_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umask_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umount_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_umount_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_unlink_enter, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlink_return, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unshare_enter, CPUState* cpu, target_ulong pc, uint32_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_unshare_return, CPUState* cpu, target_ulong pc, uint32_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_uselib_enter, CPUState* cpu, target_ulong pc, uint32_t library); +PPP_CB_TYPEDEF(void, on_sys_uselib_return, CPUState* cpu, target_ulong pc, uint32_t library); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_ustat_enter, CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_ustat_return, CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_utime_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); +PPP_CB_TYPEDEF(void, on_sys_utime_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); +PPP_CB_TYPEDEF(void, on_sys_utimensat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimes_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_utimes_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_vfork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vfork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_wait4_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_wait4_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_write_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_write_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_writev_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_writev_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm64.h b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm64.h index 566aea6f0a2..5f7f831a0d0 100644 --- a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm64.h +++ b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_arm64.h @@ -2,571 +2,571 @@ // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_sys_accept_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_accept_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_accept4_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); -typedef void (*on_sys_accept4_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); -typedef void (*on_sys_acct_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_acct_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_add_key_enter_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_add_key_return_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_adjtimex_enter_t)(CPUState* cpu, target_ulong pc, uint64_t txc_p); -typedef void (*on_sys_adjtimex_return_t)(CPUState* cpu, target_ulong pc, uint64_t txc_p); -typedef void (*on_sys_bind_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_bind_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_bpf_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); -typedef void (*on_sys_bpf_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); -typedef void (*on_sys_brk_enter_t)(CPUState* cpu, target_ulong pc, uint64_t brk); -typedef void (*on_sys_brk_return_t)(CPUState* cpu, target_ulong pc, uint64_t brk); -typedef void (*on_sys_capget_enter_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); -typedef void (*on_sys_capget_return_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); -typedef void (*on_sys_capset_enter_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); -typedef void (*on_sys_capset_return_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); -typedef void (*on_sys_chdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_chdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_chroot_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_chroot_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_clock_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); -typedef void (*on_sys_clock_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); -typedef void (*on_sys_clock_getres_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_getres_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_clock_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_clock_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clone_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); -typedef void (*on_sys_clone_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); -typedef void (*on_sys_clone3_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cl_args, uint32_t size); -typedef void (*on_sys_clone3_return_t)(CPUState* cpu, target_ulong pc, uint64_t cl_args, uint32_t size); -typedef void (*on_sys_close_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_close_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_connect_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_connect_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_copy_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_copy_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_delete_module_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); -typedef void (*on_sys_delete_module_return_t)(CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); -typedef void (*on_sys_dup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup3_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_dup3_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_epoll_create1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_create1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_ctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); -typedef void (*on_sys_epoll_ctl_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); -typedef void (*on_sys_epoll_pwait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_pwait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_eventfd2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_eventfd2_return_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_execve_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); -typedef void (*on_sys_execve_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); -typedef void (*on_sys_execveat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); -typedef void (*on_sys_execveat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); -typedef void (*on_sys_exit_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_faccessat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); -typedef void (*on_sys_faccessat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); -typedef void (*on_sys_faccessat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, int32_t mode, int32_t flags); -typedef void (*on_sys_faccessat2_return_t)(CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, int32_t mode, int32_t flags); -typedef void (*on_sys_fadvise64_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); -typedef void (*on_sys_fadvise64_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); -typedef void (*on_sys_fallocate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fallocate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fanotify_init_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_init_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_mark_enter_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); -typedef void (*on_sys_fanotify_mark_return_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); -typedef void (*on_sys_fchdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); -typedef void (*on_sys_fchmodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); -typedef void (*on_sys_fchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchownat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fchownat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fcntl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_fcntl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_fdatasync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fdatasync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fgetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_fgetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_finit_module_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); -typedef void (*on_sys_finit_module_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); -typedef void (*on_sys_flistxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); -typedef void (*on_sys_flistxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); -typedef void (*on_sys_flock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_flock_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_fremovexattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); -typedef void (*on_sys_fremovexattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); -typedef void (*on_sys_fsetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fsetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); -typedef void (*on_sys_fstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); -typedef void (*on_sys_fstatfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); -typedef void (*on_sys_fstatfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); -typedef void (*on_sys_fsync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fsync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_ftruncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_ftruncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_futex_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_return_t)(CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); -typedef void (*on_sys_get_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); -typedef void (*on_sys_get_mempolicy_return_t)(CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); -typedef void (*on_sys_get_robust_list_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); -typedef void (*on_sys_get_robust_list_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); -typedef void (*on_sys_getcpu_enter_t)(CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); -typedef void (*on_sys_getcpu_return_t)(CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); -typedef void (*on_sys_getcwd_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); -typedef void (*on_sys_getcwd_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); -typedef void (*on_sys_getdents64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); -typedef void (*on_sys_getegid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_getgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_getitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); -typedef void (*on_sys_getitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); -typedef void (*on_sys_getpeername_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getpeername_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getrandom_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getrandom_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getresgid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); -typedef void (*on_sys_getresgid_return_t)(CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); -typedef void (*on_sys_getresuid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); -typedef void (*on_sys_getresuid_return_t)(CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); -typedef void (*on_sys_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_getrusage_enter_t)(CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); -typedef void (*on_sys_getrusage_return_t)(CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); -typedef void (*on_sys_getsid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsockname_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getsockname_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); -typedef void (*on_sys_getsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); -typedef void (*on_sys_gettid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_gettimeofday_return_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_getuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_getxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_init_module_enter_t)(CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); -typedef void (*on_sys_init_module_return_t)(CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); -typedef void (*on_sys_inotify_add_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); -typedef void (*on_sys_inotify_add_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); -typedef void (*on_sys_inotify_init1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_init1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_rm_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_inotify_rm_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_io_cancel_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); -typedef void (*on_sys_io_cancel_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); -typedef void (*on_sys_io_destroy_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx); -typedef void (*on_sys_io_destroy_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx); -typedef void (*on_sys_io_getevents_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); -typedef void (*on_sys_io_getevents_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); -typedef void (*on_sys_io_setup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); -typedef void (*on_sys_io_setup_return_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); -typedef void (*on_sys_io_submit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); -typedef void (*on_sys_io_submit_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); -typedef void (*on_sys_ioctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_ioctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_ioprio_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_get_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_set_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ioprio_set_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_kcmp_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); -typedef void (*on_sys_kcmp_return_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); -typedef void (*on_sys_kexec_file_load_enter_t)(CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline, uint64_t flags); -typedef void (*on_sys_kexec_file_load_return_t)(CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline, uint64_t flags); -typedef void (*on_sys_kexec_load_enter_t)(CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); -typedef void (*on_sys_kexec_load_return_t)(CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); -typedef void (*on_sys_keyctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_keyctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_kill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_kill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_lgetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_lgetxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_linkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); -typedef void (*on_sys_linkat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); -typedef void (*on_sys_listen_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listen_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_listxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_llistxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_llistxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_lookup_dcookie_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); -typedef void (*on_sys_lookup_dcookie_return_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); -typedef void (*on_sys_lremovexattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_lremovexattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_lseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); -typedef void (*on_sys_lseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); -typedef void (*on_sys_lsetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lsetxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_madvise_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_madvise_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_mbind_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); -typedef void (*on_sys_mbind_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); -typedef void (*on_sys_membarrier_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_membarrier_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_memfd_create_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); -typedef void (*on_sys_memfd_create_return_t)(CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); -typedef void (*on_sys_migrate_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); -typedef void (*on_sys_migrate_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); -typedef void (*on_sys_mincore_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); -typedef void (*on_sys_mincore_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); -typedef void (*on_sys_mkdirat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_mknodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_mlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_mlock2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlock2_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlockall_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mlockall_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mmap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint64_t offset); -typedef void (*on_sys_mmap_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint64_t offset); -typedef void (*on_sys_mount_enter_t)(CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); -typedef void (*on_sys_mount_return_t)(CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); -typedef void (*on_sys_move_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); -typedef void (*on_sys_move_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); -typedef void (*on_sys_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); -typedef void (*on_sys_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); -typedef void (*on_sys_mq_getsetattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); -typedef void (*on_sys_mq_getsetattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); -typedef void (*on_sys_mq_notify_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); -typedef void (*on_sys_mq_notify_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); -typedef void (*on_sys_mq_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); -typedef void (*on_sys_mq_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); -typedef void (*on_sys_mq_timedreceive_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_timedreceive_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_timedsend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_timedsend_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_mq_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_mremap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); -typedef void (*on_sys_mremap_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); -typedef void (*on_sys_msgctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_msgctl_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_msgget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgrcv_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgrcv_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgsnd_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msgsnd_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msync_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_msync_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_munlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_munlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_munlockall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munlockall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munmap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_sys_munmap_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_sys_name_to_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); -typedef void (*on_sys_name_to_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); -typedef void (*on_sys_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_newfstatat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); -typedef void (*on_sys_newfstatat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); -typedef void (*on_sys_nfsservctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t argp, uint64_t resp); -typedef void (*on_sys_nfsservctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t argp, uint64_t resp); -typedef void (*on_sys_open_by_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); -typedef void (*on_sys_open_by_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); -typedef void (*on_sys_openat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, uint64_t how, uint32_t size); -typedef void (*on_sys_openat2_return_t)(CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, uint64_t how, uint32_t size); -typedef void (*on_sys_perf_event_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); -typedef void (*on_sys_perf_event_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); -typedef void (*on_sys_personality_enter_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_personality_return_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_pidfd_getfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t targetfd, uint32_t flags); -typedef void (*on_sys_pidfd_getfd_return_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t targetfd, uint32_t flags); -typedef void (*on_sys_pidfd_open_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); -typedef void (*on_sys_pidfd_open_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); -typedef void (*on_sys_pidfd_send_signal_enter_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint64_t info, uint32_t flags); -typedef void (*on_sys_pidfd_send_signal_return_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint64_t info, uint32_t flags); -typedef void (*on_sys_pipe2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); -typedef void (*on_sys_pipe2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); -typedef void (*on_sys_pivot_root_enter_t)(CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); -typedef void (*on_sys_pivot_root_return_t)(CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); -typedef void (*on_sys_pkey_alloc_enter_t)(CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); -typedef void (*on_sys_pkey_alloc_return_t)(CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); -typedef void (*on_sys_pkey_free_enter_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_free_return_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); -typedef void (*on_sys_ppoll_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); -typedef void (*on_sys_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_pread64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pread64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_preadv_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_preadv_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_preadv2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_preadv2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_prlimit64_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); -typedef void (*on_sys_prlimit64_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); -typedef void (*on_sys_process_vm_readv_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_process_vm_readv_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_process_vm_writev_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_process_vm_writev_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_pselect6_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_pselect6_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_ptrace_enter_t)(CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); -typedef void (*on_sys_ptrace_return_t)(CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); -typedef void (*on_sys_pwrite64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwrite64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwritev_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_pwritev_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_pwritev2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_pwritev2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_quotactl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); -typedef void (*on_sys_quotactl_return_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); -typedef void (*on_sys_read_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_read_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_readahead_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readahead_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); -typedef void (*on_sys_readv_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sys_readv_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sys_reboot_enter_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_reboot_return_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_recvfrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_recvfrom_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_recvmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); -typedef void (*on_sys_recvmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); -typedef void (*on_sys_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_remap_file_pages_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); -typedef void (*on_sys_remap_file_pages_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); -typedef void (*on_sys_removexattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_removexattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_renameat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_renameat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_renameat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); -typedef void (*on_sys_renameat2_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); -typedef void (*on_sys_request_key_enter_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); -typedef void (*on_sys_request_key_return_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); -typedef void (*on_sys_restart_syscall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_restart_syscall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_rt_sigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_rt_sigreturn_enter_t)(CPUState* cpu, target_ulong pc, uint64_t regs); -typedef void (*on_sys_rt_sigreturn_return_t)(CPUState* cpu, target_ulong pc, uint64_t regs); -typedef void (*on_sys_rt_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_return_t)(CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_tgsigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_rt_tgsigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_sched_get_priority_max_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_max_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_getaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_getaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_getattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_getparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_getscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_getscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_rr_get_interval_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); -typedef void (*on_sys_sched_rr_get_interval_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); -typedef void (*on_sys_sched_setaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_setaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_setattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); -typedef void (*on_sys_sched_setattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); -typedef void (*on_sys_sched_setparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_setparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_setscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); -typedef void (*on_sys_sched_setscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); -typedef void (*on_sys_sched_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sched_yield_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_seccomp_enter_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); -typedef void (*on_sys_seccomp_return_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); -typedef void (*on_sys_semctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); -typedef void (*on_sys_semctl_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); -typedef void (*on_sys_semget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); -typedef void (*on_sys_semop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); -typedef void (*on_sys_semtimedop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); -typedef void (*on_sys_semtimedop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); -typedef void (*on_sys_sendfile_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_sendfile_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_sendmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_sendto_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); -typedef void (*on_sys_sendto_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); -typedef void (*on_sys_set_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); -typedef void (*on_sys_set_mempolicy_return_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); -typedef void (*on_sys_set_robust_list_enter_t)(CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); -typedef void (*on_sys_set_robust_list_return_t)(CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); -typedef void (*on_sys_set_tid_address_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tidptr); -typedef void (*on_sys_set_tid_address_return_t)(CPUState* cpu, target_ulong pc, uint64_t tidptr); -typedef void (*on_sys_setdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_setdomainname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_setfsgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_setgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_sethostname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_sethostname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_setitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); -typedef void (*on_sys_setitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); -typedef void (*on_sys_setns_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setns_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setregid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setreuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_setrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_setsid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); -typedef void (*on_sys_setsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); -typedef void (*on_sys_settimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_settimeofday_return_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_setuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_setxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_shmat_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmat_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_shmctl_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_shmdt_enter_t)(CPUState* cpu, target_ulong pc, uint64_t shmaddr); -typedef void (*on_sys_shmdt_return_t)(CPUState* cpu, target_ulong pc, uint64_t shmaddr); -typedef void (*on_sys_shmget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shmget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shutdown_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_shutdown_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_sigaltstack_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); -typedef void (*on_sys_sigaltstack_return_t)(CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); -typedef void (*on_sys_signalfd4_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_signalfd4_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_socket_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socket_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socketpair_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); -typedef void (*on_sys_socketpair_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); -typedef void (*on_sys_splice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_splice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_statfs_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); -typedef void (*on_sys_statfs_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); -typedef void (*on_sys_statx_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); -typedef void (*on_sys_statx_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); -typedef void (*on_sys_swapoff_enter_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile); -typedef void (*on_sys_swapoff_return_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile); -typedef void (*on_sys_swapon_enter_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); -typedef void (*on_sys_swapon_return_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); -typedef void (*on_sys_symlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_symlinkat_return_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_sync_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_sync_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_syncfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_syncfs_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_sysinfo_enter_t)(CPUState* cpu, target_ulong pc, uint64_t info); -typedef void (*on_sys_sysinfo_return_t)(CPUState* cpu, target_ulong pc, uint64_t info); -typedef void (*on_sys_syslog_enter_t)(CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); -typedef void (*on_sys_syslog_return_t)(CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); -typedef void (*on_sys_tee_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tee_return_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tgkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_tgkill_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_timer_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); -typedef void (*on_sys_timer_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); -typedef void (*on_sys_timer_delete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_delete_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); -typedef void (*on_sys_timer_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); -typedef void (*on_sys_timer_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); -typedef void (*on_sys_timer_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); -typedef void (*on_sys_timerfd_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_create_return_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_gettime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); -typedef void (*on_sys_timerfd_gettime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); -typedef void (*on_sys_timerfd_settime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); -typedef void (*on_sys_timerfd_settime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); -typedef void (*on_sys_times_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tbuf); -typedef void (*on_sys_times_return_t)(CPUState* cpu, target_ulong pc, uint64_t tbuf); -typedef void (*on_sys_tkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_tkill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_truncate_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); -typedef void (*on_sys_truncate_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); -typedef void (*on_sys_umask_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umask_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umount2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t target, int32_t flags); -typedef void (*on_sys_umount2_return_t)(CPUState* cpu, target_ulong pc, uint64_t target, int32_t flags); -typedef void (*on_sys_uname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_uname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_unlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); -typedef void (*on_sys_unlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); -typedef void (*on_sys_unshare_enter_t)(CPUState* cpu, target_ulong pc, uint64_t unshare_flags); -typedef void (*on_sys_unshare_return_t)(CPUState* cpu, target_ulong pc, uint64_t unshare_flags); -typedef void (*on_sys_userfaultfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_userfaultfd_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_utimensat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); -typedef void (*on_sys_utimensat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); -typedef void (*on_sys_vhangup_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vmsplice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); -typedef void (*on_sys_vmsplice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); -typedef void (*on_sys_wait4_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); -typedef void (*on_sys_wait4_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); -typedef void (*on_sys_waitid_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); -typedef void (*on_sys_waitid_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); -typedef void (*on_sys_write_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_write_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_writev_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sys_writev_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_accept_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept4_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_accept4_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_acct_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_acct_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_add_key_enter, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_add_key_return, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_enter, CPUState* cpu, target_ulong pc, uint64_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_return, CPUState* cpu, target_ulong pc, uint64_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_bind_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bind_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bpf_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_bpf_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_brk_enter, CPUState* cpu, target_ulong pc, uint64_t brk); +PPP_CB_TYPEDEF(void, on_sys_brk_return, CPUState* cpu, target_ulong pc, uint64_t brk); +PPP_CB_TYPEDEF(void, on_sys_capget_enter, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capget_return, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capset_enter, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_capset_return, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_chdir_enter, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_chdir_return, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_chroot_enter, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_chroot_return, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clone_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); +PPP_CB_TYPEDEF(void, on_sys_clone_return, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); +PPP_CB_TYPEDEF(void, on_sys_clone3_enter, CPUState* cpu, target_ulong pc, uint64_t cl_args, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_clone3_return, CPUState* cpu, target_ulong pc, uint64_t cl_args, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_close_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_close_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_connect_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_connect_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_delete_module_enter, CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_delete_module_return, CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup3_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup3_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_enter, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_return, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_enter, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_return, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execve_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); +PPP_CB_TYPEDEF(void, on_sys_execve_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); +PPP_CB_TYPEDEF(void, on_sys_execveat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execveat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_exit_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_faccessat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat2_enter, CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, int32_t mode, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_faccessat2_return, CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, int32_t mode, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fallocate_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fallocate_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_enter, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_return, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fchdir_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchdir_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchmod_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmod_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchown_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchownat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fchownat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fcntl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_finit_module_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_finit_module_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flock_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_flock_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_fsync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fsync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_futex_enter, CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_return, CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_enter, CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_return, CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_getcpu_enter, CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcpu_return, CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcwd_enter, CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); +PPP_CB_TYPEDEF(void, on_sys_getcwd_return, CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); +PPP_CB_TYPEDEF(void, on_sys_getdents64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getegid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); +PPP_CB_TYPEDEF(void, on_sys_getitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); +PPP_CB_TYPEDEF(void, on_sys_getpeername_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpeername_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getrandom_enter, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getrandom_return, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getresgid_enter, CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid_return, CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_enter, CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_return, CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrusage_enter, CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_getrusage_return, CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_getsid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsockname_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockname_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); +PPP_CB_TYPEDEF(void, on_sys_gettid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_enter, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_return, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_getuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_init_module_enter, CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_init_module_return, CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_enter, CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_return, CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_enter, CPUState* cpu, target_ulong pc, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_return, CPUState* cpu, target_ulong pc, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_enter, CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_return, CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_setup_enter, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_setup_return, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_submit_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_io_submit_return, CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_ioctl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioctl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_kcmp_enter, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kcmp_return, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kexec_file_load_enter, CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_file_load_return, CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_enter, CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_return, CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_keyctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_keyctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_kill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_kill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_linkat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_linkat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_listen_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listen_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_listxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_enter, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_return, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_lseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_madvise_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_madvise_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_mbind_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mbind_return, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_enter, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_return, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_enter, CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_return, CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); +PPP_CB_TYPEDEF(void, on_sys_mincore_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); +PPP_CB_TYPEDEF(void, on_sys_mincore_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mknodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mlock_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock2_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlock2_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mmap_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint64_t offset); +PPP_CB_TYPEDEF(void, on_sys_mmap_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint64_t offset); +PPP_CB_TYPEDEF(void, on_sys_mount_enter, CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_mount_return, CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_move_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_move_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mprotect_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); +PPP_CB_TYPEDEF(void, on_sys_mprotect_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_open_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_open_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_mremap_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_mremap_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_msgctl_enter, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgctl_return, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msync_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_msync_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_munlock_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlock_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlockall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munlockall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munmap_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munmap_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_enter, CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_return, CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_newfstatat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_newfstatat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_nfsservctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t argp, uint64_t resp); +PPP_CB_TYPEDEF(void, on_sys_nfsservctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t argp, uint64_t resp); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_return, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_openat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat2_enter, CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, uint64_t how, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_openat2_return, CPUState* cpu, target_ulong pc, int32_t dirfd, uint64_t pathname, uint64_t how, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_enter, CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_return, CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_personality_enter, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_personality_return, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_pidfd_getfd_enter, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t targetfd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_getfd_return, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t targetfd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_open_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_open_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_send_signal_enter, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint64_t info, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_send_signal_return, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint64_t info, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe2_enter, CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe2_return, CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_enter, CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_return, CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_enter, CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_return, CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_enter, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_return, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_ppoll_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_return, CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_prctl_enter, CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_prctl_return, CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pread64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pread64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_preadv_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv2_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_preadv2_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_pselect6_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_ptrace_enter, CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_ptrace_return, CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwritev_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_quotactl_enter, CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); +PPP_CB_TYPEDEF(void, on_sys_quotactl_return, CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); +PPP_CB_TYPEDEF(void, on_sys_read_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_read_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readv_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_readv_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_reboot_enter, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_reboot_return, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_return, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_removexattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_removexattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_renameat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat2_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_renameat2_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_request_key_enter, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_request_key_return, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_enter, CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_return, CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_enter, CPUState* cpu, target_ulong pc, uint64_t regs); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_return, CPUState* cpu, target_ulong pc, uint64_t regs); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_enter, CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_return, CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_enter, CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_return, CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_seccomp_enter, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_seccomp_return, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_semctl_enter, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_semctl_return, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_semget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_sys_semop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_sendfile_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendto_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_sendto_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_enter, CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_return, CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_enter, CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_return, CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_enter, CPUState* cpu, target_ulong pc, uint64_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_return, CPUState* cpu, target_ulong pc, uint64_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_sethostname_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_sethostname_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setns_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setns_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpgid_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setregid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setsid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_enter, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_return, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_setuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_setxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_shmat_enter, CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmat_return, CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmctl_enter, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmctl_return, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmdt_enter, CPUState* cpu, target_ulong pc, uint64_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmdt_return, CPUState* cpu, target_ulong pc, uint64_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmget_enter, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shmget_return, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shutdown_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_shutdown_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_enter, CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_return, CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_socket_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socket_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socketpair_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); +PPP_CB_TYPEDEF(void, on_sys_socketpair_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); +PPP_CB_TYPEDEF(void, on_sys_splice_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_splice_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_statfs_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_statx_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); +PPP_CB_TYPEDEF(void, on_sys_statx_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); +PPP_CB_TYPEDEF(void, on_sys_swapoff_enter, CPUState* cpu, target_ulong pc, uint64_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapoff_return, CPUState* cpu, target_ulong pc, uint64_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapon_enter, CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_swapon_return, CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_enter, CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_return, CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_sync_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_syncfs_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_syncfs_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_enter, CPUState* cpu, target_ulong pc, uint64_t info); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_return, CPUState* cpu, target_ulong pc, uint64_t info); +PPP_CB_TYPEDEF(void, on_sys_syslog_enter, CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_syslog_return, CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_tee_enter, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tee_return, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tgkill_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tgkill_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_timer_create_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_create_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_enter, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_return, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_return, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_times_enter, CPUState* cpu, target_ulong pc, uint64_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_times_return, CPUState* cpu, target_ulong pc, uint64_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_tkill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tkill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_truncate_enter, CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate_return, CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); +PPP_CB_TYPEDEF(void, on_sys_umask_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umask_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umount2_enter, CPUState* cpu, target_ulong pc, uint64_t target, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_umount2_return, CPUState* cpu, target_ulong pc, uint64_t target, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_uname_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_uname_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unshare_enter, CPUState* cpu, target_ulong pc, uint64_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_unshare_return, CPUState* cpu, target_ulong pc, uint64_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_vhangup_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_wait4_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_wait4_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_write_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_write_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_writev_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_writev_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_mips.h b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_mips.h index 4b66e35c770..980c56558e7 100644 --- a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_mips.h +++ b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_mips.h @@ -2,791 +2,791 @@ // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_create_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, uint32_t size); -typedef void (*on_create_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, uint32_t size); -typedef void (*on_get_kernel_syms_enter_t)(CPUState* cpu, target_ulong pc, uint32_t table); -typedef void (*on_get_kernel_syms_return_t)(CPUState* cpu, target_ulong pc, uint32_t table); -typedef void (*on_mmap2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint32_t pgoffset); -typedef void (*on_mmap2_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint32_t pgoffset); -typedef void (*on_modify_ldt_enter_t)(CPUState* cpu, target_ulong pc, int32_t func, uint32_t ptr, uint32_t bytecount); -typedef void (*on_modify_ldt_return_t)(CPUState* cpu, target_ulong pc, int32_t func, uint32_t ptr, uint32_t bytecount); -typedef void (*on_set_thread_area_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tp); -typedef void (*on_set_thread_area_return_t)(CPUState* cpu, target_ulong pc, uint32_t tp); -typedef void (*on_sys_accept_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_accept_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_accept4_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); -typedef void (*on_sys_accept4_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); -typedef void (*on_sys_access_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); -typedef void (*on_sys_access_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); -typedef void (*on_sys_acct_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_acct_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_add_key_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_add_key_return_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_adjtimex_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t txc_p); -typedef void (*on_sys_adjtimex_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t txc_p); -typedef void (*on_sys_alarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_alarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_bdflush_enter_t)(CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); -typedef void (*on_sys_bdflush_return_t)(CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); -typedef void (*on_sys_bind_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_bind_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_bpf_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); -typedef void (*on_sys_bpf_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); -typedef void (*on_sys_brk_enter_t)(CPUState* cpu, target_ulong pc, uint32_t brk); -typedef void (*on_sys_brk_return_t)(CPUState* cpu, target_ulong pc, uint32_t brk); -typedef void (*on_sys_cacheflush_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, int32_t nbytes, int32_t cache); -typedef void (*on_sys_cacheflush_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, int32_t nbytes, int32_t cache); -typedef void (*on_sys_capget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); -typedef void (*on_sys_capget_return_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); -typedef void (*on_sys_capset_enter_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); -typedef void (*on_sys_capset_return_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); -typedef void (*on_sys_chdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); -typedef void (*on_sys_chmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); -typedef void (*on_sys_chown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chroot_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chroot_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_clock_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_adjtime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_adjtime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_getres_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_getres_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_getres_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_getres_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_nanosleep_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_nanosleep_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_settime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_settime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clone_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_clone_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_close_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_close_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_connect_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_connect_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_copy_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_copy_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_creat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_creat_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_delete_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); -typedef void (*on_sys_delete_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); -typedef void (*on_sys_dup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup2_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup3_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_dup3_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_epoll_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create_return_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_create1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_ctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); -typedef void (*on_sys_epoll_ctl_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); -typedef void (*on_sys_epoll_pwait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_pwait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_wait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_epoll_wait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_eventfd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd_return_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_eventfd2_return_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_execve_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); -typedef void (*on_sys_execve_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); -typedef void (*on_sys_execveat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); -typedef void (*on_sys_execveat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); -typedef void (*on_sys_exit_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_faccessat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); -typedef void (*on_sys_faccessat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); -typedef void (*on_sys_faccessat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode, int32_t flags); -typedef void (*on_sys_faccessat2_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode, int32_t flags); -typedef void (*on_sys_fadvise64_64_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); -typedef void (*on_sys_fadvise64_64_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); -typedef void (*on_sys_fallocate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fallocate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fanotify_init_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_init_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_mark_enter_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); -typedef void (*on_sys_fanotify_mark_return_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); -typedef void (*on_sys_fchdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); -typedef void (*on_sys_fchmodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); -typedef void (*on_sys_fchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchownat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fchownat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fcntl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fdatasync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fdatasync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fgetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_fgetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_finit_module_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); -typedef void (*on_sys_finit_module_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); -typedef void (*on_sys_flistxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); -typedef void (*on_sys_flistxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); -typedef void (*on_sys_flock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_flock_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_fork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fremovexattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); -typedef void (*on_sys_fremovexattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); -typedef void (*on_sys_fsconfig_enter_t)(CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t cmd, uint32_t key, uint32_t value, int32_t aux); -typedef void (*on_sys_fsconfig_return_t)(CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t cmd, uint32_t key, uint32_t value, int32_t aux); -typedef void (*on_sys_fsetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fsetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fsmount_enter_t)(CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t flags, uint32_t ms_flags); -typedef void (*on_sys_fsmount_return_t)(CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t flags, uint32_t ms_flags); -typedef void (*on_sys_fsopen_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fs_name, uint32_t flags); -typedef void (*on_sys_fsopen_return_t)(CPUState* cpu, target_ulong pc, uint32_t fs_name, uint32_t flags); -typedef void (*on_sys_fspick_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); -typedef void (*on_sys_fspick_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); -typedef void (*on_sys_fstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstatat64_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); -typedef void (*on_sys_fstatat64_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); -typedef void (*on_sys_fstatfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); -typedef void (*on_sys_fstatfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); -typedef void (*on_sys_fstatfs64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); -typedef void (*on_sys_fstatfs64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); -typedef void (*on_sys_fsync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fsync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_ftruncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); -typedef void (*on_sys_ftruncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); -typedef void (*on_sys_ftruncate64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_ftruncate64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_futex_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_return_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futimesat_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t); -typedef void (*on_sys_futimesat_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t); -typedef void (*on_sys_get_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); -typedef void (*on_sys_get_mempolicy_return_t)(CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); -typedef void (*on_sys_get_robust_list_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); -typedef void (*on_sys_get_robust_list_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); -typedef void (*on_sys_getcpu_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); -typedef void (*on_sys_getcpu_return_t)(CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); -typedef void (*on_sys_getcwd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); -typedef void (*on_sys_getcwd_return_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); -typedef void (*on_sys_getdents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getegid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); -typedef void (*on_sys_getitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); -typedef void (*on_sys_getpeername_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getpeername_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgrp_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpgrp_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getrandom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getrandom_return_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_getrusage_enter_t)(CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); -typedef void (*on_sys_getrusage_return_t)(CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); -typedef void (*on_sys_getsid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsockname_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getsockname_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); -typedef void (*on_sys_getsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); -typedef void (*on_sys_gettid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_gettimeofday_return_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_getuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_getxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_idle_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_idle_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_init_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); -typedef void (*on_sys_init_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); -typedef void (*on_sys_inotify_add_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); -typedef void (*on_sys_inotify_add_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); -typedef void (*on_sys_inotify_init_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_init1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_rm_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_inotify_rm_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_io_cancel_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); -typedef void (*on_sys_io_cancel_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); -typedef void (*on_sys_io_destroy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx); -typedef void (*on_sys_io_destroy_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx); -typedef void (*on_sys_io_getevents_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); -typedef void (*on_sys_io_getevents_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); -typedef void (*on_sys_io_pgetevents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); -typedef void (*on_sys_io_pgetevents_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); -typedef void (*on_sys_io_pgetevents_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); -typedef void (*on_sys_io_pgetevents_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); -typedef void (*on_sys_io_setup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); -typedef void (*on_sys_io_setup_return_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); -typedef void (*on_sys_io_submit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); -typedef void (*on_sys_io_submit_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); -typedef void (*on_sys_io_uring_enter_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t to_submit, uint32_t min_complete, uint32_t flags, uint32_t sig, uint32_t sigsz); -typedef void (*on_sys_io_uring_enter_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t to_submit, uint32_t min_complete, uint32_t flags, uint32_t sig, uint32_t sigsz); -typedef void (*on_sys_io_uring_register_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t op, uint32_t arg, uint32_t nr_args); -typedef void (*on_sys_io_uring_register_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t op, uint32_t arg, uint32_t nr_args); -typedef void (*on_sys_io_uring_setup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t entries, uint32_t p); -typedef void (*on_sys_io_uring_setup_return_t)(CPUState* cpu, target_ulong pc, uint32_t entries, uint32_t p); -typedef void (*on_sys_ioctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_ioctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_ioperm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t from, uint32_t num, int32_t on); -typedef void (*on_sys_ioperm_return_t)(CPUState* cpu, target_ulong pc, uint32_t from, uint32_t num, int32_t on); -typedef void (*on_sys_iopl_enter_t)(CPUState* cpu, target_ulong pc, int32_t level); -typedef void (*on_sys_iopl_return_t)(CPUState* cpu, target_ulong pc, int32_t level); -typedef void (*on_sys_ioprio_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_get_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_set_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ioprio_set_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ipc_enter_t)(CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); -typedef void (*on_sys_ipc_return_t)(CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); -typedef void (*on_sys_kcmp_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); -typedef void (*on_sys_kcmp_return_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); -typedef void (*on_sys_kexec_load_enter_t)(CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); -typedef void (*on_sys_kexec_load_return_t)(CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); -typedef void (*on_sys_keyctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_keyctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_kill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_kill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_lchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lgetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_lgetxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_link_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_link_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_linkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); -typedef void (*on_sys_linkat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); -typedef void (*on_sys_listen_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listen_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_listxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llistxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llistxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); -typedef void (*on_sys_llseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); -typedef void (*on_sys_lookup_dcookie_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); -typedef void (*on_sys_lookup_dcookie_return_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); -typedef void (*on_sys_lremovexattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_lremovexattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_lseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); -typedef void (*on_sys_lseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); -typedef void (*on_sys_lsetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lsetxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_madvise_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_madvise_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_mbind_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); -typedef void (*on_sys_mbind_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); -typedef void (*on_sys_membarrier_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_membarrier_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_memfd_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); -typedef void (*on_sys_memfd_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); -typedef void (*on_sys_migrate_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); -typedef void (*on_sys_migrate_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); -typedef void (*on_sys_mincore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); -typedef void (*on_sys_mincore_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); -typedef void (*on_sys_mkdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mknod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknod_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_mlock_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_mlock2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlock2_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlockall_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mlockall_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mmap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); -typedef void (*on_sys_mmap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); -typedef void (*on_sys_mount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); -typedef void (*on_sys_mount_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); -typedef void (*on_sys_move_mount_enter_t)(CPUState* cpu, target_ulong pc, int32_t from_dfd, uint32_t from_path, int32_t to_dfd, uint32_t to_path, uint32_t ms_flags); -typedef void (*on_sys_move_mount_return_t)(CPUState* cpu, target_ulong pc, int32_t from_dfd, uint32_t from_path, int32_t to_dfd, uint32_t to_path, uint32_t ms_flags); -typedef void (*on_sys_move_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); -typedef void (*on_sys_move_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); -typedef void (*on_sys_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); -typedef void (*on_sys_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); -typedef void (*on_sys_mq_getsetattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); -typedef void (*on_sys_mq_getsetattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); -typedef void (*on_sys_mq_notify_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); -typedef void (*on_sys_mq_notify_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); -typedef void (*on_sys_mq_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); -typedef void (*on_sys_mq_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); -typedef void (*on_sys_mq_timedreceive_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedreceive_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedreceive_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t u_msg_prio, uint32_t u_abs_timeout); -typedef void (*on_sys_mq_timedreceive_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t u_msg_prio, uint32_t u_abs_timeout); -typedef void (*on_sys_mq_timedsend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedsend_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedsend_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t u_abs_timeout); -typedef void (*on_sys_mq_timedsend_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t u_abs_timeout); -typedef void (*on_sys_mq_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_mq_unlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_mremap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); -typedef void (*on_sys_mremap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); -typedef void (*on_sys_msgctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_msgctl_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_msgget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgrcv_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgrcv_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgsnd_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msgsnd_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_msync_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_munlock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_munlock_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_munlockall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munlockall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munmap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); -typedef void (*on_sys_munmap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); -typedef void (*on_sys_name_to_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); -typedef void (*on_sys_name_to_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); -typedef void (*on_sys_nanosleep_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_nanosleep_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_newfstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_newfstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_newlstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newlstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newuname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_newuname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_nfsservctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t argp, uint32_t resp); -typedef void (*on_sys_nfsservctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t argp, uint32_t resp); -typedef void (*on_sys_ni_syscall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_ni_syscall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_nice_enter_t)(CPUState* cpu, target_ulong pc, int32_t increment); -typedef void (*on_sys_nice_return_t)(CPUState* cpu, target_ulong pc, int32_t increment); -typedef void (*on_sys_old_readdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_old_readdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_oldumount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_oldumount_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_olduname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_olduname_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_by_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); -typedef void (*on_sys_open_by_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); -typedef void (*on_sys_open_tree_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); -typedef void (*on_sys_open_tree_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); -typedef void (*on_sys_openat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t how, uint32_t size); -typedef void (*on_sys_openat2_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t how, uint32_t size); -typedef void (*on_sys_pause_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_pause_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_perf_event_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); -typedef void (*on_sys_perf_event_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); -typedef void (*on_sys_personality_enter_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_personality_return_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_pidfd_getfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t fd, uint32_t flags); -typedef void (*on_sys_pidfd_getfd_return_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t fd, uint32_t flags); -typedef void (*on_sys_pidfd_open_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); -typedef void (*on_sys_pidfd_open_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); -typedef void (*on_sys_pidfd_send_signal_enter_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint32_t info, uint32_t flags); -typedef void (*on_sys_pidfd_send_signal_return_t)(CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint32_t info, uint32_t flags); -typedef void (*on_sys_pipe_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_pipe_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_pipe2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); -typedef void (*on_sys_pipe2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); -typedef void (*on_sys_pivot_root_enter_t)(CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); -typedef void (*on_sys_pivot_root_return_t)(CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); -typedef void (*on_sys_pkey_alloc_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); -typedef void (*on_sys_pkey_alloc_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); -typedef void (*on_sys_pkey_free_enter_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_free_return_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); -typedef void (*on_sys_poll_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_poll_return_t)(CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_ppoll_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pread64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pread64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_preadv_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_preadv_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_preadv2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_preadv2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_prlimit64_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); -typedef void (*on_sys_prlimit64_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); -typedef void (*on_sys_process_vm_readv_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_readv_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_writev_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_writev_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_pselect6_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pselect6_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pselect6_time32_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pselect6_time32_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_ptrace_enter_t)(CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); -typedef void (*on_sys_ptrace_return_t)(CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); -typedef void (*on_sys_pwrite64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwrite64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwritev_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_pwritev_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_pwritev2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_pwritev2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_query_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t which, uint32_t buf, uint32_t bufsize, uint32_t ret); -typedef void (*on_sys_query_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t which, uint32_t buf, uint32_t bufsize, uint32_t ret); -typedef void (*on_sys_quotactl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); -typedef void (*on_sys_quotactl_return_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); -typedef void (*on_sys_read_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_read_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_readahead_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readahead_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readv_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_readv_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_reboot_enter_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_reboot_return_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_recv_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_recv_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_recvfrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_recvfrom_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_recvmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmmsg_time32_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmmsg_time32_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_remap_file_pages_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); -typedef void (*on_sys_remap_file_pages_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); -typedef void (*on_sys_removexattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_removexattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_rename_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_rename_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_renameat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_renameat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_renameat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); -typedef void (*on_sys_renameat2_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); -typedef void (*on_sys_request_key_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); -typedef void (*on_sys_request_key_return_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); -typedef void (*on_sys_restart_syscall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_restart_syscall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rmdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_rmdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_rseq_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rseq, int32_t rseq_len, int32_t flags, int32_t sig); -typedef void (*on_sys_rseq_return_t)(CPUState* cpu, target_ulong pc, uint32_t rseq, int32_t rseq_len, int32_t flags, int32_t sig); -typedef void (*on_sys_rt_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_sigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_sigreturn_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigreturn_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_return_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_tgsigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_tgsigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_sched_get_priority_max_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_max_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_getaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_getaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_getattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_getparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_getscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_getscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_rr_get_interval_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_rr_get_interval_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_rr_get_interval_time32_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_rr_get_interval_time32_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_setaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_setaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_setattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); -typedef void (*on_sys_sched_setattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); -typedef void (*on_sys_sched_setparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_setparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_setscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); -typedef void (*on_sys_sched_setscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); -typedef void (*on_sys_sched_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sched_yield_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_seccomp_enter_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); -typedef void (*on_sys_seccomp_return_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); -typedef void (*on_sys_select_enter_t)(CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); -typedef void (*on_sys_select_return_t)(CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); -typedef void (*on_sys_semctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); -typedef void (*on_sys_semctl_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); -typedef void (*on_sys_semget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semtimedop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); -typedef void (*on_sys_semtimedop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); -typedef void (*on_sys_send_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_send_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_sendfile_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_sendto_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); -typedef void (*on_sys_sendto_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); -typedef void (*on_sys_set_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); -typedef void (*on_sys_set_mempolicy_return_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); -typedef void (*on_sys_set_robust_list_enter_t)(CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); -typedef void (*on_sys_set_robust_list_return_t)(CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); -typedef void (*on_sys_set_tid_address_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tidptr); -typedef void (*on_sys_set_tid_address_return_t)(CPUState* cpu, target_ulong pc, uint32_t tidptr); -typedef void (*on_sys_setdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setdomainname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setfsgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_sethostname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_sethostname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); -typedef void (*on_sys_setitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); -typedef void (*on_sys_setns_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setns_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setregid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setreuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_setrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_setsid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); -typedef void (*on_sys_setsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); -typedef void (*on_sys_settimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_settimeofday_return_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_setuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setup_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setup_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_setxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_sgetmask_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sgetmask_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_shmat_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmat_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_shmctl_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); -typedef void (*on_sys_shmdt_enter_t)(CPUState* cpu, target_ulong pc, uint32_t shmaddr); -typedef void (*on_sys_shmdt_return_t)(CPUState* cpu, target_ulong pc, uint32_t shmaddr); -typedef void (*on_sys_shmget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shmget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shutdown_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_shutdown_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sigaltstack_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); -typedef void (*on_sys_sigaltstack_return_t)(CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); -typedef void (*on_sys_signal_enter_t)(CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); -typedef void (*on_sys_signal_return_t)(CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); -typedef void (*on_sys_signalfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd4_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_signalfd4_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uset); -typedef void (*on_sys_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint32_t uset); -typedef void (*on_sys_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); -typedef void (*on_sys_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); -typedef void (*on_sys_sigreturn_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sigreturn_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); -typedef void (*on_sys_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); -typedef void (*on_sys_socket_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socket_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socketcall_enter_t)(CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); -typedef void (*on_sys_socketcall_return_t)(CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); -typedef void (*on_sys_socketpair_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); -typedef void (*on_sys_socketpair_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); -typedef void (*on_sys_splice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_splice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_ssetmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t newmask); -typedef void (*on_sys_ssetmask_return_t)(CPUState* cpu, target_ulong pc, int32_t newmask); -typedef void (*on_sys_stat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_statfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); -typedef void (*on_sys_statfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); -typedef void (*on_sys_statfs64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); -typedef void (*on_sys_statfs64_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); -typedef void (*on_sys_statx_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); -typedef void (*on_sys_statx_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); -typedef void (*on_sys_stime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tptr); -typedef void (*on_sys_stime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t tptr); -typedef void (*on_sys_swapoff_enter_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile); -typedef void (*on_sys_swapoff_return_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile); -typedef void (*on_sys_swapon_enter_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); -typedef void (*on_sys_swapon_return_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); -typedef void (*on_sys_symlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); -typedef void (*on_sys_symlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); -typedef void (*on_sys_symlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_symlinkat_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_sync_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_sync_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_syncfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_syncfs_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_sysctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t args); -typedef void (*on_sys_sysctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t args); -typedef void (*on_sys_sysfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sysfs_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sysinfo_enter_t)(CPUState* cpu, target_ulong pc, uint32_t info); -typedef void (*on_sys_sysinfo_return_t)(CPUState* cpu, target_ulong pc, uint32_t info); -typedef void (*on_sys_syslog_enter_t)(CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); -typedef void (*on_sys_syslog_return_t)(CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); -typedef void (*on_sys_tee_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tee_return_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tgkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_tgkill_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tloc); -typedef void (*on_sys_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t tloc); -typedef void (*on_sys_timer_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); -typedef void (*on_sys_timer_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); -typedef void (*on_sys_timer_delete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_delete_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_gettime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_gettime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); -typedef void (*on_sys_timer_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); -typedef void (*on_sys_timer_settime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t _new, uint32_t old); -typedef void (*on_sys_timer_settime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t _new, uint32_t old); -typedef void (*on_sys_timerfd_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_create_return_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_gettime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_gettime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_gettime32_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_gettime32_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_settime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_timerfd_settime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_timerfd_settime32_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_timerfd_settime32_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_times_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tbuf); -typedef void (*on_sys_times_return_t)(CPUState* cpu, target_ulong pc, uint32_t tbuf); -typedef void (*on_sys_tkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_tkill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_truncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); -typedef void (*on_sys_truncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); -typedef void (*on_sys_truncate64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); -typedef void (*on_sys_truncate64_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); -typedef void (*on_sys_umask_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umask_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); -typedef void (*on_sys_umount_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); -typedef void (*on_sys_uname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_uname_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_unlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_unlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); -typedef void (*on_sys_unlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); -typedef void (*on_sys_unshare_enter_t)(CPUState* cpu, target_ulong pc, uint32_t unshare_flags); -typedef void (*on_sys_unshare_return_t)(CPUState* cpu, target_ulong pc, uint32_t unshare_flags); -typedef void (*on_sys_uselib_enter_t)(CPUState* cpu, target_ulong pc, uint32_t library); -typedef void (*on_sys_uselib_return_t)(CPUState* cpu, target_ulong pc, uint32_t library); -typedef void (*on_sys_userfaultfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_userfaultfd_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_ustat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); -typedef void (*on_sys_ustat_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); -typedef void (*on_sys_utime32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); -typedef void (*on_sys_utime32_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); -typedef void (*on_sys_utimensat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); -typedef void (*on_sys_utimensat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); -typedef void (*on_sys_utimensat_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t, int32_t flags); -typedef void (*on_sys_utimensat_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t, int32_t flags); -typedef void (*on_sys_utimes_time32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); -typedef void (*on_sys_utimes_time32_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); -typedef void (*on_sys_vhangup_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vmsplice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); -typedef void (*on_sys_vmsplice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); -typedef void (*on_sys_wait4_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); -typedef void (*on_sys_wait4_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); -typedef void (*on_sys_waitid_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); -typedef void (*on_sys_waitid_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); -typedef void (*on_sys_waitpid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); -typedef void (*on_sys_waitpid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); -typedef void (*on_sys_write_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_write_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_writev_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_writev_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_create_module_enter, CPUState* cpu, target_ulong pc, uint32_t name, uint32_t size); +PPP_CB_TYPEDEF(void, on_create_module_return, CPUState* cpu, target_ulong pc, uint32_t name, uint32_t size); +PPP_CB_TYPEDEF(void, on_get_kernel_syms_enter, CPUState* cpu, target_ulong pc, uint32_t table); +PPP_CB_TYPEDEF(void, on_get_kernel_syms_return, CPUState* cpu, target_ulong pc, uint32_t table); +PPP_CB_TYPEDEF(void, on_mmap2_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint32_t pgoffset); +PPP_CB_TYPEDEF(void, on_mmap2_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t length, int32_t prot, int32_t flags, int32_t fd, uint32_t pgoffset); +PPP_CB_TYPEDEF(void, on_modify_ldt_enter, CPUState* cpu, target_ulong pc, int32_t func, uint32_t ptr, uint32_t bytecount); +PPP_CB_TYPEDEF(void, on_modify_ldt_return, CPUState* cpu, target_ulong pc, int32_t func, uint32_t ptr, uint32_t bytecount); +PPP_CB_TYPEDEF(void, on_set_thread_area_enter, CPUState* cpu, target_ulong pc, uint32_t tp); +PPP_CB_TYPEDEF(void, on_set_thread_area_return, CPUState* cpu, target_ulong pc, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_accept_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept4_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_accept4_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_access_enter, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_access_return, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_acct_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_acct_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_add_key_enter, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_add_key_return, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_time32_enter, CPUState* cpu, target_ulong pc, uint32_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_time32_return, CPUState* cpu, target_ulong pc, uint32_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_alarm_enter, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_alarm_return, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_bdflush_enter, CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); +PPP_CB_TYPEDEF(void, on_sys_bdflush_return, CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); +PPP_CB_TYPEDEF(void, on_sys_bind_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bind_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bpf_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_bpf_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_brk_enter, CPUState* cpu, target_ulong pc, uint32_t brk); +PPP_CB_TYPEDEF(void, on_sys_brk_return, CPUState* cpu, target_ulong pc, uint32_t brk); +PPP_CB_TYPEDEF(void, on_sys_cacheflush_enter, CPUState* cpu, target_ulong pc, uint32_t addr, int32_t nbytes, int32_t cache); +PPP_CB_TYPEDEF(void, on_sys_cacheflush_return, CPUState* cpu, target_ulong pc, uint32_t addr, int32_t nbytes, int32_t cache); +PPP_CB_TYPEDEF(void, on_sys_capget_enter, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capget_return, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capset_enter, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_capset_return, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_chdir_enter, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chdir_return, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chmod_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chmod_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chown_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chroot_enter, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chroot_return, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime32_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime32_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_time32_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_time32_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime32_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime32_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_time32_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_time32_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime32_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime32_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clone_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_clone_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_close_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_close_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_connect_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_connect_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_creat_enter, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_creat_return, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_delete_module_enter, CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_delete_module_return, CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup2_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup2_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup3_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup3_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_enter, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_return, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_enter, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_return, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_eventfd_enter, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd_return, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_enter, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_return, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execve_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); +PPP_CB_TYPEDEF(void, on_sys_execve_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); +PPP_CB_TYPEDEF(void, on_sys_execveat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execveat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_exit_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_faccessat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat2_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_faccessat2_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_64_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_64_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fallocate_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fallocate_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_enter, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_return, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fchdir_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchdir_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchmod_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmod_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchown_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchownat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fchownat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fcntl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_finit_module_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_finit_module_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flock_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_flock_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_fork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_fsconfig_enter, CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t cmd, uint32_t key, uint32_t value, int32_t aux); +PPP_CB_TYPEDEF(void, on_sys_fsconfig_return, CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t cmd, uint32_t key, uint32_t value, int32_t aux); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsmount_enter, CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t flags, uint32_t ms_flags); +PPP_CB_TYPEDEF(void, on_sys_fsmount_return, CPUState* cpu, target_ulong pc, int32_t fs_fd, uint32_t flags, uint32_t ms_flags); +PPP_CB_TYPEDEF(void, on_sys_fsopen_enter, CPUState* cpu, target_ulong pc, uint32_t fs_name, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsopen_return, CPUState* cpu, target_ulong pc, uint32_t fs_name, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fspick_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fspick_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstatat64_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fstatat64_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fsync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fsync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_futex_enter, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_return, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_time32_enter, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_time32_return, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futimesat_time32_enter, CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t); +PPP_CB_TYPEDEF(void, on_sys_futimesat_time32_return, CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_enter, CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_return, CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_getcpu_enter, CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcpu_return, CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcwd_enter, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getcwd_return, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getdents_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getegid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); +PPP_CB_TYPEDEF(void, on_sys_getitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); +PPP_CB_TYPEDEF(void, on_sys_getpeername_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpeername_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getrandom_enter, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getrandom_return, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrusage_enter, CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_getrusage_return, CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_getsid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsockname_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockname_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_gettid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_enter, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_return, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_getuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_idle_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_idle_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_init_module_enter, CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_init_module_return, CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_enter, CPUState* cpu, target_ulong pc, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_return, CPUState* cpu, target_ulong pc, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_time32_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_time32_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_pgetevents_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); +PPP_CB_TYPEDEF(void, on_sys_io_pgetevents_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); +PPP_CB_TYPEDEF(void, on_sys_io_pgetevents_time32_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); +PPP_CB_TYPEDEF(void, on_sys_io_pgetevents_time32_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout, uint32_t sig); +PPP_CB_TYPEDEF(void, on_sys_io_setup_enter, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_setup_return, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_submit_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_io_submit_return, CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_io_uring_enter_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t to_submit, uint32_t min_complete, uint32_t flags, uint32_t sig, uint32_t sigsz); +PPP_CB_TYPEDEF(void, on_sys_io_uring_enter_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t to_submit, uint32_t min_complete, uint32_t flags, uint32_t sig, uint32_t sigsz); +PPP_CB_TYPEDEF(void, on_sys_io_uring_register_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t op, uint32_t arg, uint32_t nr_args); +PPP_CB_TYPEDEF(void, on_sys_io_uring_register_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t op, uint32_t arg, uint32_t nr_args); +PPP_CB_TYPEDEF(void, on_sys_io_uring_setup_enter, CPUState* cpu, target_ulong pc, uint32_t entries, uint32_t p); +PPP_CB_TYPEDEF(void, on_sys_io_uring_setup_return, CPUState* cpu, target_ulong pc, uint32_t entries, uint32_t p); +PPP_CB_TYPEDEF(void, on_sys_ioctl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioctl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioperm_enter, CPUState* cpu, target_ulong pc, uint32_t from, uint32_t num, int32_t on); +PPP_CB_TYPEDEF(void, on_sys_ioperm_return, CPUState* cpu, target_ulong pc, uint32_t from, uint32_t num, int32_t on); +PPP_CB_TYPEDEF(void, on_sys_iopl_enter, CPUState* cpu, target_ulong pc, int32_t level); +PPP_CB_TYPEDEF(void, on_sys_iopl_return, CPUState* cpu, target_ulong pc, int32_t level); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ipc_enter, CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); +PPP_CB_TYPEDEF(void, on_sys_ipc_return, CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); +PPP_CB_TYPEDEF(void, on_sys_kcmp_enter, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kcmp_return, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_enter, CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_return, CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_keyctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_keyctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_kill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_kill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_lchown_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_link_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_link_return, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_linkat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_linkat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_listen_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listen_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_listxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_llseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_enter, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_return, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_lseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat64_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat64_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_madvise_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_madvise_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_mbind_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mbind_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_enter, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_return, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_enter, CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_return, CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); +PPP_CB_TYPEDEF(void, on_sys_mincore_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); +PPP_CB_TYPEDEF(void, on_sys_mincore_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); +PPP_CB_TYPEDEF(void, on_sys_mkdir_enter, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdir_return, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mknod_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknod_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mlock_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock2_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlock2_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mmap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); +PPP_CB_TYPEDEF(void, on_sys_mmap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); +PPP_CB_TYPEDEF(void, on_sys_mount_enter, CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_mount_return, CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_move_mount_enter, CPUState* cpu, target_ulong pc, int32_t from_dfd, uint32_t from_path, int32_t to_dfd, uint32_t to_path, uint32_t ms_flags); +PPP_CB_TYPEDEF(void, on_sys_move_mount_return, CPUState* cpu, target_ulong pc, int32_t from_dfd, uint32_t from_path, int32_t to_dfd, uint32_t to_path, uint32_t ms_flags); +PPP_CB_TYPEDEF(void, on_sys_move_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_move_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mprotect_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); +PPP_CB_TYPEDEF(void, on_sys_mprotect_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_open_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_open_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_time32_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t u_msg_prio, uint32_t u_abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_time32_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t u_msg_prio, uint32_t u_abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_time32_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t u_abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_time32_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t u_msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t u_abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_mremap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_mremap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_msgctl_enter, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgctl_return, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint32_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msync_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_msync_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_munlock_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlock_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlockall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munlockall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munmap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munmap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_time32_enter, CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_time32_return, CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_newfstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newfstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newuname_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_newuname_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_nfsservctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t argp, uint32_t resp); +PPP_CB_TYPEDEF(void, on_sys_nfsservctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t argp, uint32_t resp); +PPP_CB_TYPEDEF(void, on_sys_ni_syscall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_ni_syscall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_nice_enter, CPUState* cpu, target_ulong pc, int32_t increment); +PPP_CB_TYPEDEF(void, on_sys_nice_return, CPUState* cpu, target_ulong pc, int32_t increment); +PPP_CB_TYPEDEF(void, on_sys_old_readdir_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_old_readdir_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_oldumount_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_oldumount_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_olduname_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_olduname_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_open_enter, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_return, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_return, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_tree_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_tree_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_openat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat2_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t how, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_openat2_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t how, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_pause_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_pause_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_enter, CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_return, CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_personality_enter, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_personality_return, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_pidfd_getfd_enter, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_getfd_return, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_open_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_open_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_send_signal_enter, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint32_t info, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pidfd_send_signal_return, CPUState* cpu, target_ulong pc, int32_t pidfd, int32_t sig, uint32_t info, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe2_enter, CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe2_return, CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_enter, CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_return, CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_enter, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_return, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_poll_enter, CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_poll_return, CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_ppoll_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_time32_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_time32_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_prctl_enter, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_prctl_return, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pread64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pread64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_preadv_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv2_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_preadv2_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pselect6_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_time32_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_time32_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_ptrace_enter, CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_ptrace_return, CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwritev_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_query_module_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t which, uint32_t buf, uint32_t bufsize, uint32_t ret); +PPP_CB_TYPEDEF(void, on_sys_query_module_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t which, uint32_t buf, uint32_t bufsize, uint32_t ret); +PPP_CB_TYPEDEF(void, on_sys_quotactl_enter, CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); +PPP_CB_TYPEDEF(void, on_sys_quotactl_return, CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); +PPP_CB_TYPEDEF(void, on_sys_read_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_read_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readlink_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlink_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readv_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_readv_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_reboot_enter, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_reboot_return, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_recv_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_recv_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_time32_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_time32_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_removexattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_removexattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_rename_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_rename_return, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat2_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_renameat2_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_request_key_enter, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_request_key_return, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rmdir_enter, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rmdir_return, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rseq_enter, CPUState* cpu, target_ulong pc, uint32_t rseq, int32_t rseq_len, int32_t flags, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_rseq_return, CPUState* cpu, target_ulong pc, uint32_t rseq, int32_t rseq_len, int32_t flags, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_enter, CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_return, CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_enter, CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_return, CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_enter, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_return, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_time32_enter, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_time32_return, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_time32_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_time32_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_seccomp_enter, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_seccomp_return, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_select_enter, CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); +PPP_CB_TYPEDEF(void, on_sys_select_return, CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); +PPP_CB_TYPEDEF(void, on_sys_semctl_enter, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_semctl_return, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_semget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint32_t sops, uint32_t nsops, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_send_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_send_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_sendfile_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendto_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_sendto_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_enter, CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_return, CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_enter, CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_return, CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_enter, CPUState* cpu, target_ulong pc, uint32_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_return, CPUState* cpu, target_ulong pc, uint32_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_sethostname_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_sethostname_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setns_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setns_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpgid_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setregid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setsid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_enter, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_return, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_setuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setup_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setup_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_setxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sgetmask_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sgetmask_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_shmat_enter, CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmat_return, CPUState* cpu, target_ulong pc, int32_t shmid, uint32_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmctl_enter, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmctl_return, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmdt_enter, CPUState* cpu, target_ulong pc, uint32_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmdt_return, CPUState* cpu, target_ulong pc, uint32_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmget_enter, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shmget_return, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shutdown_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_shutdown_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_enter, CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_return, CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); +PPP_CB_TYPEDEF(void, on_sys_signal_enter, CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); +PPP_CB_TYPEDEF(void, on_sys_signal_return, CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); +PPP_CB_TYPEDEF(void, on_sys_signalfd_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sigpending_enter, CPUState* cpu, target_ulong pc, uint32_t uset); +PPP_CB_TYPEDEF(void, on_sys_sigpending_return, CPUState* cpu, target_ulong pc, uint32_t uset); +PPP_CB_TYPEDEF(void, on_sys_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); +PPP_CB_TYPEDEF(void, on_sys_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); +PPP_CB_TYPEDEF(void, on_sys_sigreturn_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sigreturn_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sigsuspend_enter, CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_sigsuspend_return, CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_socket_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socket_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socketcall_enter, CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_socketcall_return, CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_socketpair_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_socketpair_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_splice_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_splice_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_ssetmask_enter, CPUState* cpu, target_ulong pc, int32_t newmask); +PPP_CB_TYPEDEF(void, on_sys_ssetmask_return, CPUState* cpu, target_ulong pc, int32_t newmask); +PPP_CB_TYPEDEF(void, on_sys_stat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat64_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat64_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_statfs_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs64_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs64_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statx_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); +PPP_CB_TYPEDEF(void, on_sys_statx_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); +PPP_CB_TYPEDEF(void, on_sys_stime32_enter, CPUState* cpu, target_ulong pc, uint32_t tptr); +PPP_CB_TYPEDEF(void, on_sys_stime32_return, CPUState* cpu, target_ulong pc, uint32_t tptr); +PPP_CB_TYPEDEF(void, on_sys_swapoff_enter, CPUState* cpu, target_ulong pc, uint32_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapoff_return, CPUState* cpu, target_ulong pc, uint32_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapon_enter, CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_swapon_return, CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_symlink_enter, CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlink_return, CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_return, CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_sync_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_syncfs_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_syncfs_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_sysctl_enter, CPUState* cpu, target_ulong pc, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_sysctl_return, CPUState* cpu, target_ulong pc, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_sysfs_enter, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysfs_return, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_enter, CPUState* cpu, target_ulong pc, uint32_t info); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_return, CPUState* cpu, target_ulong pc, uint32_t info); +PPP_CB_TYPEDEF(void, on_sys_syslog_enter, CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_syslog_return, CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_tee_enter, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tee_return, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tgkill_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tgkill_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_time32_enter, CPUState* cpu, target_ulong pc, uint32_t tloc); +PPP_CB_TYPEDEF(void, on_sys_time32_return, CPUState* cpu, target_ulong pc, uint32_t tloc); +PPP_CB_TYPEDEF(void, on_sys_timer_create_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_create_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime32_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime32_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime32_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t _new, uint32_t old); +PPP_CB_TYPEDEF(void, on_sys_timer_settime32_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t _new, uint32_t old); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_enter, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_return, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime32_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime32_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_return, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime32_enter, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime32_return, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_times_enter, CPUState* cpu, target_ulong pc, uint32_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_times_return, CPUState* cpu, target_ulong pc, uint32_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_tkill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tkill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_truncate_enter, CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate_return, CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate64_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate64_return, CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_umask_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umask_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umount_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_umount_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_uname_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_uname_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_unlink_enter, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlink_return, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unshare_enter, CPUState* cpu, target_ulong pc, uint32_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_unshare_return, CPUState* cpu, target_ulong pc, uint32_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_uselib_enter, CPUState* cpu, target_ulong pc, uint32_t library); +PPP_CB_TYPEDEF(void, on_sys_uselib_return, CPUState* cpu, target_ulong pc, uint32_t library); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_ustat_enter, CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_ustat_return, CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_utime32_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); +PPP_CB_TYPEDEF(void, on_sys_utime32_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); +PPP_CB_TYPEDEF(void, on_sys_utimensat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_time32_enter, CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_time32_return, CPUState* cpu, target_ulong pc, uint32_t dfd, uint32_t filename, uint32_t t, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimes_time32_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); +PPP_CB_TYPEDEF(void, on_sys_utimes_time32_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t t); +PPP_CB_TYPEDEF(void, on_sys_vhangup_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_wait4_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_wait4_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitpid_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); +PPP_CB_TYPEDEF(void, on_sys_waitpid_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); +PPP_CB_TYPEDEF(void, on_sys_write_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_write_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_writev_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_writev_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x64.h b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x64.h index fb13dd312d1..ab8bb7b874c 100644 --- a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x64.h +++ b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x64.h @@ -2,1469 +2,1469 @@ // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on___acl_aclcheck_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); -typedef void (*on___acl_aclcheck_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); -typedef void (*on___acl_aclcheck_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_aclcheck_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_aclcheck_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_aclcheck_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_delete_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type); -typedef void (*on___acl_delete_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type); -typedef void (*on___acl_delete_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); -typedef void (*on___acl_delete_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); -typedef void (*on___acl_delete_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); -typedef void (*on___acl_delete_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); -typedef void (*on___acl_get_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); -typedef void (*on___acl_get_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); -typedef void (*on___acl_get_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_get_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_get_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_get_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_set_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); -typedef void (*on___acl_set_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); -typedef void (*on___acl_set_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_set_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_set_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___acl_set_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); -typedef void (*on___cap_rights_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t version, int32_t fd, uint64_t rightsp); -typedef void (*on___cap_rights_get_return_t)(CPUState* cpu, target_ulong pc, int32_t version, int32_t fd, uint64_t rightsp); -typedef void (*on___getcwd_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen); -typedef void (*on___getcwd_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen); -typedef void (*on___mac_execve_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv, uint64_t mac_p); -typedef void (*on___mac_execve_return_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv, uint64_t mac_p); -typedef void (*on___mac_get_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); -typedef void (*on___mac_get_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); -typedef void (*on___mac_get_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_get_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_get_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_get_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_get_pid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t mac_p); -typedef void (*on___mac_get_pid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t mac_p); -typedef void (*on___mac_get_proc_enter_t)(CPUState* cpu, target_ulong pc, uint64_t mac_p); -typedef void (*on___mac_get_proc_return_t)(CPUState* cpu, target_ulong pc, uint64_t mac_p); -typedef void (*on___mac_set_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); -typedef void (*on___mac_set_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); -typedef void (*on___mac_set_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_set_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_set_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_set_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); -typedef void (*on___mac_set_proc_enter_t)(CPUState* cpu, target_ulong pc, uint64_t mac_p); -typedef void (*on___mac_set_proc_return_t)(CPUState* cpu, target_ulong pc, uint64_t mac_p); -typedef void (*on___realpathat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t size, int32_t flags); -typedef void (*on___realpathat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t size, int32_t flags); -typedef void (*on___semctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); -typedef void (*on___semctl_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); -typedef void (*on___setugid_enter_t)(CPUState* cpu, target_ulong pc, int32_t flag); -typedef void (*on___setugid_return_t)(CPUState* cpu, target_ulong pc, int32_t flag); -typedef void (*on___sysctl_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); -typedef void (*on___sysctl_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); -typedef void (*on___sysctlbyname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); -typedef void (*on___sysctlbyname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); -typedef void (*on__umtx_op_enter_t)(CPUState* cpu, target_ulong pc, uint64_t obj, int32_t op, int64_t val, uint64_t uaddr1, uint64_t uaddr2); -typedef void (*on__umtx_op_return_t)(CPUState* cpu, target_ulong pc, uint64_t obj, int32_t op, int64_t val, uint64_t uaddr1, uint64_t uaddr2); -typedef void (*on_abort2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t why, int32_t nargs, uint64_t args); -typedef void (*on_abort2_return_t)(CPUState* cpu, target_ulong pc, uint64_t why, int32_t nargs, uint64_t args); -typedef void (*on_accept_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen); -typedef void (*on_accept_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen); -typedef void (*on_accept4_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen, int32_t flags); -typedef void (*on_accept4_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen, int32_t flags); -typedef void (*on_access_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); -typedef void (*on_access_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); -typedef void (*on_acct_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_acct_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint64_t delta, uint64_t olddelta); -typedef void (*on_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint64_t delta, uint64_t olddelta); -typedef void (*on_afs3_syscall_enter_t)(CPUState* cpu, target_ulong pc, int64_t syscall, int64_t parm1, int64_t parm2, int64_t parm3, int64_t parm4, int64_t parm5, int64_t parm6); -typedef void (*on_afs3_syscall_return_t)(CPUState* cpu, target_ulong pc, int64_t syscall, int64_t parm1, int64_t parm2, int64_t parm3, int64_t parm4, int64_t parm5, int64_t parm6); -typedef void (*on_aio_cancel_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t aiocbp); -typedef void (*on_aio_cancel_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t aiocbp); -typedef void (*on_aio_error_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_error_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_fsync_enter_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t aiocbp); -typedef void (*on_aio_fsync_return_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t aiocbp); -typedef void (*on_aio_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_mlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_read_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_read_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_return_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_return_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_suspend_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp, int32_t nent, uint64_t timeout); -typedef void (*on_aio_suspend_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp, int32_t nent, uint64_t timeout); -typedef void (*on_aio_waitcomplete_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp, uint64_t timeout); -typedef void (*on_aio_waitcomplete_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp, uint64_t timeout); -typedef void (*on_aio_write_enter_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_aio_write_return_t)(CPUState* cpu, target_ulong pc, uint64_t aiocbp); -typedef void (*on_audit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t record, uint32_t length); -typedef void (*on_audit_return_t)(CPUState* cpu, target_ulong pc, uint64_t record, uint32_t length); -typedef void (*on_auditctl_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_auditctl_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_auditon_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t _data, uint32_t length); -typedef void (*on_auditon_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t _data, uint32_t length); -typedef void (*on_bind_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_bind_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_bindat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_bindat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_cap_enter_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_cap_enter_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_cap_fcntls_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t fcntlrightsp); -typedef void (*on_cap_fcntls_get_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t fcntlrightsp); -typedef void (*on_cap_fcntls_limit_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t fcntlrights); -typedef void (*on_cap_fcntls_limit_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t fcntlrights); -typedef void (*on_cap_getmode_enter_t)(CPUState* cpu, target_ulong pc, uint64_t modep); -typedef void (*on_cap_getmode_return_t)(CPUState* cpu, target_ulong pc, uint64_t modep); -typedef void (*on_cap_ioctls_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t maxcmds); -typedef void (*on_cap_ioctls_get_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t maxcmds); -typedef void (*on_cap_ioctls_limit_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t ncmds); -typedef void (*on_cap_ioctls_limit_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t ncmds); -typedef void (*on_cap_rights_limit_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t rightsp); -typedef void (*on_cap_rights_limit_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t rightsp); -typedef void (*on_chdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_chdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_chflags_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); -typedef void (*on_chflags_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); -typedef void (*on_chflagsat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int64_t flags, int32_t atflag); -typedef void (*on_chflagsat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int64_t flags, int32_t atflag); -typedef void (*on_chmod_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_chmod_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_chown_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); -typedef void (*on_chown_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); -typedef void (*on_chroot_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_chroot_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_clock_getcpuclockid2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id, int32_t which, uint64_t clock_id); -typedef void (*on_clock_getcpuclockid2_return_t)(CPUState* cpu, target_ulong pc, uint32_t id, int32_t which, uint64_t clock_id); -typedef void (*on_clock_getres_enter_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); -typedef void (*on_clock_getres_return_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); -typedef void (*on_clock_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); -typedef void (*on_clock_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); -typedef void (*on_clock_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, int32_t flags, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_clock_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, int32_t flags, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_clock_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); -typedef void (*on_clock_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); -typedef void (*on_close_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_close_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_close_range_enter_t)(CPUState* cpu, target_ulong pc, uint32_t lowfd, uint32_t highfd, int32_t flags); -typedef void (*on_close_range_return_t)(CPUState* cpu, target_ulong pc, uint32_t lowfd, uint32_t highfd, int32_t flags); -typedef void (*on_closefrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t lowfd); -typedef void (*on_closefrom_return_t)(CPUState* cpu, target_ulong pc, int32_t lowfd); -typedef void (*on_connect_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_connect_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_connectat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_connectat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); -typedef void (*on_copy_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t infd, uint64_t inoffp, int32_t outfd, uint64_t outoffp, uint32_t len, uint32_t flags); -typedef void (*on_copy_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t infd, uint64_t inoffp, int32_t outfd, uint64_t outoffp, uint32_t len, uint32_t flags); -typedef void (*on_cpuset_enter_t)(CPUState* cpu, target_ulong pc, uint64_t setid); -typedef void (*on_cpuset_return_t)(CPUState* cpu, target_ulong pc, uint64_t setid); -typedef void (*on_cpuset_getaffinity_enter_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); -typedef void (*on_cpuset_getaffinity_return_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); -typedef void (*on_cpuset_getdomain_enter_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, uint64_t policy); -typedef void (*on_cpuset_getdomain_return_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, uint64_t policy); -typedef void (*on_cpuset_getid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint64_t setid); -typedef void (*on_cpuset_getid_return_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint64_t setid); -typedef void (*on_cpuset_setaffinity_enter_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); -typedef void (*on_cpuset_setaffinity_return_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); -typedef void (*on_cpuset_setdomain_enter_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, int32_t policy); -typedef void (*on_cpuset_setdomain_return_t)(CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, int32_t policy); -typedef void (*on_cpuset_setid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint32_t id, uint32_t setid); -typedef void (*on_cpuset_setid_return_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint32_t id, uint32_t setid); -typedef void (*on_creat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode); -typedef void (*on_creat_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode); -typedef void (*on_dup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_dup_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_dup2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t from, uint32_t to); -typedef void (*on_dup2_return_t)(CPUState* cpu, target_ulong pc, uint32_t from, uint32_t to); -typedef void (*on_eaccess_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); -typedef void (*on_eaccess_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); -typedef void (*on_execve_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv); -typedef void (*on_execve_return_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv); -typedef void (*on_extattr_delete_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattr_delete_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattr_delete_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattr_delete_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattr_delete_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattr_delete_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattr_get_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_get_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_get_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_get_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_get_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_get_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_list_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_list_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_list_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_list_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_list_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_list_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_set_fd_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_set_fd_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_set_file_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_set_file_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_set_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattr_set_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); -typedef void (*on_extattrctl_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, uint64_t filename, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_extattrctl_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, uint64_t filename, int32_t attrnamespace, uint64_t attrname); -typedef void (*on_faccessat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t amode, int32_t flag); -typedef void (*on_faccessat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t amode, int32_t flag); -typedef void (*on_fchdir_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_fchdir_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_fchflags_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int64_t flags); -typedef void (*on_fchflags_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int64_t flags); -typedef void (*on_fchmod_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t mode); -typedef void (*on_fchmod_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t mode); -typedef void (*on_fchmodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, int32_t flag); -typedef void (*on_fchmodat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, int32_t flag); -typedef void (*on_fchown_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t uid, int32_t gid); -typedef void (*on_fchown_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t uid, int32_t gid); -typedef void (*on_fchownat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t uid, uint32_t gid, int32_t flag); -typedef void (*on_fchownat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t uid, uint32_t gid, int32_t flag); -typedef void (*on_fcntl_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t cmd, int64_t arg); -typedef void (*on_fcntl_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t cmd, int64_t arg); -typedef void (*on_fdatasync_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_fdatasync_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_fexecve_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t argv, uint64_t envv); -typedef void (*on_fexecve_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t argv, uint64_t envv); -typedef void (*on_ffclock_getcounter_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ffcount); -typedef void (*on_ffclock_getcounter_return_t)(CPUState* cpu, target_ulong pc, uint64_t ffcount); -typedef void (*on_ffclock_getestimate_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cest); -typedef void (*on_ffclock_getestimate_return_t)(CPUState* cpu, target_ulong pc, uint64_t cest); -typedef void (*on_ffclock_setestimate_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cest); -typedef void (*on_ffclock_setestimate_return_t)(CPUState* cpu, target_ulong pc, uint64_t cest); -typedef void (*on_fhlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t to); -typedef void (*on_fhlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t to); -typedef void (*on_fhlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fhp, int32_t tofd, uint64_t to); -typedef void (*on_fhlinkat_return_t)(CPUState* cpu, target_ulong pc, uint64_t fhp, int32_t tofd, uint64_t to); -typedef void (*on_fhopen_enter_t)(CPUState* cpu, target_ulong pc, uint64_t u_fhp, int32_t flags); -typedef void (*on_fhopen_return_t)(CPUState* cpu, target_ulong pc, uint64_t u_fhp, int32_t flags); -typedef void (*on_fhreadlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t buf, uint32_t bufsize); -typedef void (*on_fhreadlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t buf, uint32_t bufsize); -typedef void (*on_fhstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t sb); -typedef void (*on_fhstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t sb); -typedef void (*on_fhstatfs_enter_t)(CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t buf); -typedef void (*on_fhstatfs_return_t)(CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t buf); -typedef void (*on_flock_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t how); -typedef void (*on_flock_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t how); -typedef void (*on_fork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_fork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_fpathconf_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t name); -typedef void (*on_fpathconf_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t name); -typedef void (*on_fstat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); -typedef void (*on_fstat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); -typedef void (*on_fstatat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, int32_t flag); -typedef void (*on_fstatat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, int32_t flag); -typedef void (*on_fstatfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf); -typedef void (*on_fstatfs_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf); -typedef void (*on_fsync_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_fsync_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_ftruncate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t length); -typedef void (*on_ftruncate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t length); -typedef void (*on_funlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, int32_t fd, int32_t flag); -typedef void (*on_funlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, int32_t fd, int32_t flag); -typedef void (*on_futimens_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t times); -typedef void (*on_futimens_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t times); -typedef void (*on_futimes_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t tptr); -typedef void (*on_futimes_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t tptr); -typedef void (*on_futimesat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times); -typedef void (*on_futimesat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times); -typedef void (*on_getaudit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo); -typedef void (*on_getaudit_return_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo); -typedef void (*on_getaudit_addr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); -typedef void (*on_getaudit_addr_return_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); -typedef void (*on_getauid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t auid); -typedef void (*on_getauid_return_t)(CPUState* cpu, target_ulong pc, uint64_t auid); -typedef void (*on_getcontext_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ucp); -typedef void (*on_getcontext_return_t)(CPUState* cpu, target_ulong pc, uint64_t ucp); -typedef void (*on_getdents_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_getdents_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_getdirentries_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count, uint64_t basep); -typedef void (*on_getdirentries_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count, uint64_t basep); -typedef void (*on_getdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); -typedef void (*on_getdomainname_return_t)(CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); -typedef void (*on_getdtablesize_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getdtablesize_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getegid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getegid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_geteuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_geteuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getfh_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); -typedef void (*on_getfh_return_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); -typedef void (*on_getfhat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t fhp, int32_t flags); -typedef void (*on_getfhat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t fhp, int32_t flags); -typedef void (*on_getfsstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, int64_t bufsize, int32_t mode); -typedef void (*on_getfsstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, int64_t bufsize, int32_t mode); -typedef void (*on_getgid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getgid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getgroups_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); -typedef void (*on_getgroups_return_t)(CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); -typedef void (*on_gethostid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_gethostid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_gethostname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); -typedef void (*on_gethostname_return_t)(CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); -typedef void (*on_getitimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv); -typedef void (*on_getitimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv); -typedef void (*on_getkerninfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t where, uint64_t size, int32_t arg); -typedef void (*on_getkerninfo_return_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t where, uint64_t size, int32_t arg); -typedef void (*on_getlogin_enter_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); -typedef void (*on_getlogin_return_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); -typedef void (*on_getloginclass_enter_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); -typedef void (*on_getloginclass_return_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); -typedef void (*on_getpagesize_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getpagesize_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getpeername_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdes, uint64_t asa, uint64_t alen); -typedef void (*on_getpeername_return_t)(CPUState* cpu, target_ulong pc, int32_t fdes, uint64_t asa, uint64_t alen); -typedef void (*on_getpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_getpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_getpgrp_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getpgrp_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getpid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getpid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getppid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getppid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_getpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_getrandom_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen, uint32_t flags); -typedef void (*on_getrandom_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen, uint32_t flags); -typedef void (*on_getresgid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); -typedef void (*on_getresgid_return_t)(CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); -typedef void (*on_getresuid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); -typedef void (*on_getresuid_return_t)(CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); -typedef void (*on_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); -typedef void (*on_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); -typedef void (*on_getrusage_enter_t)(CPUState* cpu, target_ulong pc, int32_t who, uint64_t rusage); -typedef void (*on_getrusage_return_t)(CPUState* cpu, target_ulong pc, int32_t who, uint64_t rusage); -typedef void (*on_getsid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_getsid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_getsockname_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdec, uint64_t asa, uint64_t alen); -typedef void (*on_getsockname_return_t)(CPUState* cpu, target_ulong pc, int32_t fdec, uint64_t asa, uint64_t alen); -typedef void (*on_getsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, uint64_t avalsize); -typedef void (*on_getsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, uint64_t avalsize); -typedef void (*on_gettimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tp, uint64_t tzp); -typedef void (*on_gettimeofday_return_t)(CPUState* cpu, target_ulong pc, uint64_t tp, uint64_t tzp); -typedef void (*on_getuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_getuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_gssd_syscall_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_gssd_syscall_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_ioctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int64_t com, uint64_t _data); -typedef void (*on_ioctl_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int64_t com, uint64_t _data); -typedef void (*on_issetugid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_issetugid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_jail_enter_t)(CPUState* cpu, target_ulong pc, uint64_t jail); -typedef void (*on_jail_return_t)(CPUState* cpu, target_ulong pc, uint64_t jail); -typedef void (*on_jail_attach_enter_t)(CPUState* cpu, target_ulong pc, int32_t jid); -typedef void (*on_jail_attach_return_t)(CPUState* cpu, target_ulong pc, int32_t jid); -typedef void (*on_jail_get_enter_t)(CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); -typedef void (*on_jail_get_return_t)(CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); -typedef void (*on_jail_remove_enter_t)(CPUState* cpu, target_ulong pc, int32_t jid); -typedef void (*on_jail_remove_return_t)(CPUState* cpu, target_ulong pc, int32_t jid); -typedef void (*on_jail_set_enter_t)(CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); -typedef void (*on_jail_set_return_t)(CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); -typedef void (*on_kenv_enter_t)(CPUState* cpu, target_ulong pc, int32_t what, uint64_t name, uint64_t value, int32_t len); -typedef void (*on_kenv_return_t)(CPUState* cpu, target_ulong pc, int32_t what, uint64_t name, uint64_t value, int32_t len); -typedef void (*on_kevent_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t changelist, int32_t nchanges, uint64_t eventlist, int32_t nevents, uint64_t timeout); -typedef void (*on_kevent_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t changelist, int32_t nchanges, uint64_t eventlist, int32_t nevents, uint64_t timeout); -typedef void (*on_kill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum); -typedef void (*on_kill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum); -typedef void (*on_killpg_enter_t)(CPUState* cpu, target_ulong pc, int32_t pgid, int32_t signum); -typedef void (*on_killpg_return_t)(CPUState* cpu, target_ulong pc, int32_t pgid, int32_t signum); -typedef void (*on_kldfind_enter_t)(CPUState* cpu, target_ulong pc, uint64_t file); -typedef void (*on_kldfind_return_t)(CPUState* cpu, target_ulong pc, uint64_t file); -typedef void (*on_kldfirstmod_enter_t)(CPUState* cpu, target_ulong pc, int32_t fileid); -typedef void (*on_kldfirstmod_return_t)(CPUState* cpu, target_ulong pc, int32_t fileid); -typedef void (*on_kldload_enter_t)(CPUState* cpu, target_ulong pc, uint64_t file); -typedef void (*on_kldload_return_t)(CPUState* cpu, target_ulong pc, uint64_t file); -typedef void (*on_kldnext_enter_t)(CPUState* cpu, target_ulong pc, int32_t fileid); -typedef void (*on_kldnext_return_t)(CPUState* cpu, target_ulong pc, int32_t fileid); -typedef void (*on_kldstat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fileid, uint64_t stat); -typedef void (*on_kldstat_return_t)(CPUState* cpu, target_ulong pc, int32_t fileid, uint64_t stat); -typedef void (*on_kldsym_enter_t)(CPUState* cpu, target_ulong pc, int32_t fileid, int32_t cmd, uint64_t _data); -typedef void (*on_kldsym_return_t)(CPUState* cpu, target_ulong pc, int32_t fileid, int32_t cmd, uint64_t _data); -typedef void (*on_kldunload_enter_t)(CPUState* cpu, target_ulong pc, int32_t fileid); -typedef void (*on_kldunload_return_t)(CPUState* cpu, target_ulong pc, int32_t fileid); -typedef void (*on_kldunloadf_enter_t)(CPUState* cpu, target_ulong pc, int32_t fileid, int32_t flags); -typedef void (*on_kldunloadf_return_t)(CPUState* cpu, target_ulong pc, int32_t fileid, int32_t flags); -typedef void (*on_kmq_notify_enter_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t sigev); -typedef void (*on_kmq_notify_return_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t sigev); -typedef void (*on_kmq_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, uint64_t attr); -typedef void (*on_kmq_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, uint64_t attr); -typedef void (*on_kmq_setattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t attr, uint64_t oattr); -typedef void (*on_kmq_setattr_return_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t attr, uint64_t oattr); -typedef void (*on_kmq_timedreceive_enter_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); -typedef void (*on_kmq_timedreceive_return_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); -typedef void (*on_kmq_timedsend_enter_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); -typedef void (*on_kmq_timedsend_return_t)(CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); -typedef void (*on_kmq_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_kmq_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_kqueue_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_kqueue_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_ksem_close_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_close_return_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_destroy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_destroy_return_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_getvalue_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id, uint64_t val); -typedef void (*on_ksem_getvalue_return_t)(CPUState* cpu, target_ulong pc, uint32_t id, uint64_t val); -typedef void (*on_ksem_init_enter_t)(CPUState* cpu, target_ulong pc, uint64_t idp, uint32_t value); -typedef void (*on_ksem_init_return_t)(CPUState* cpu, target_ulong pc, uint64_t idp, uint32_t value); -typedef void (*on_ksem_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t idp, uint64_t name, int32_t oflag, uint32_t mode, uint32_t value); -typedef void (*on_ksem_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t idp, uint64_t name, int32_t oflag, uint32_t mode, uint32_t value); -typedef void (*on_ksem_post_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_post_return_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_timedwait_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id, uint64_t abstime); -typedef void (*on_ksem_timedwait_return_t)(CPUState* cpu, target_ulong pc, uint32_t id, uint64_t abstime); -typedef void (*on_ksem_trywait_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_trywait_return_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_ksem_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_ksem_wait_enter_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ksem_wait_return_t)(CPUState* cpu, target_ulong pc, uint32_t id); -typedef void (*on_ktimer_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t evp, uint64_t timerid); -typedef void (*on_ktimer_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t evp, uint64_t timerid); -typedef void (*on_ktimer_delete_enter_t)(CPUState* cpu, target_ulong pc, int32_t timerid); -typedef void (*on_ktimer_delete_return_t)(CPUState* cpu, target_ulong pc, int32_t timerid); -typedef void (*on_ktimer_getoverrun_enter_t)(CPUState* cpu, target_ulong pc, int32_t timerid); -typedef void (*on_ktimer_getoverrun_return_t)(CPUState* cpu, target_ulong pc, int32_t timerid); -typedef void (*on_ktimer_gettime_enter_t)(CPUState* cpu, target_ulong pc, int32_t timerid, uint64_t value); -typedef void (*on_ktimer_gettime_return_t)(CPUState* cpu, target_ulong pc, int32_t timerid, uint64_t value); -typedef void (*on_ktimer_settime_enter_t)(CPUState* cpu, target_ulong pc, int32_t timerid, int32_t flags, uint64_t value, uint64_t ovalue); -typedef void (*on_ktimer_settime_return_t)(CPUState* cpu, target_ulong pc, int32_t timerid, int32_t flags, uint64_t value, uint64_t ovalue); -typedef void (*on_ktrace_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fname, int32_t ops, int32_t facs, int32_t pid); -typedef void (*on_ktrace_return_t)(CPUState* cpu, target_ulong pc, uint64_t fname, int32_t ops, int32_t facs, int32_t pid); -typedef void (*on_lchflags_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); -typedef void (*on_lchflags_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); -typedef void (*on_lchmod_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_lchmod_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_lchown_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); -typedef void (*on_lchown_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); -typedef void (*on_lgetfh_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); -typedef void (*on_lgetfh_return_t)(CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); -typedef void (*on_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); -typedef void (*on_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); -typedef void (*on_linkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd1, uint64_t path1, int32_t fd2, uint64_t path2, int32_t flag); -typedef void (*on_linkat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd1, uint64_t path1, int32_t fd2, uint64_t path2, int32_t flag); -typedef void (*on_lio_listio_enter_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint64_t acb_list, int32_t nent, uint64_t sig); -typedef void (*on_lio_listio_return_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint64_t acb_list, int32_t nent, uint64_t sig); -typedef void (*on_listen_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t backlog); -typedef void (*on_listen_return_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t backlog); -typedef void (*on_lpathconf_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); -typedef void (*on_lpathconf_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); -typedef void (*on_lseek_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, int32_t whence); -typedef void (*on_lseek_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, int32_t whence); -typedef void (*on_lstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_lstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_lutimes_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); -typedef void (*on_lutimes_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); -typedef void (*on_mac_syscall_enter_t)(CPUState* cpu, target_ulong pc, uint64_t policy, int32_t call, uint64_t arg); -typedef void (*on_mac_syscall_return_t)(CPUState* cpu, target_ulong pc, uint64_t policy, int32_t call, uint64_t arg); -typedef void (*on_madvise_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t behav); -typedef void (*on_madvise_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t behav); -typedef void (*on_mincore_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, uint64_t vec); -typedef void (*on_mincore_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, uint64_t vec); -typedef void (*on_minherit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t inherit); -typedef void (*on_minherit_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t inherit); -typedef void (*on_mkdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_mkdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_mkdirat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); -typedef void (*on_mkdirat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); -typedef void (*on_mkfifo_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_mkfifo_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); -typedef void (*on_mkfifoat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); -typedef void (*on_mkfifoat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); -typedef void (*on_mknod_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode, int32_t dev); -typedef void (*on_mknod_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode, int32_t dev); -typedef void (*on_mknodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, uint32_t dev); -typedef void (*on_mknodat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, uint32_t dev); -typedef void (*on_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_mlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_mlockall_enter_t)(CPUState* cpu, target_ulong pc, int32_t how); -typedef void (*on_mlockall_return_t)(CPUState* cpu, target_ulong pc, int32_t how); -typedef void (*on_modfind_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_modfind_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_modfnext_enter_t)(CPUState* cpu, target_ulong pc, int32_t modid); -typedef void (*on_modfnext_return_t)(CPUState* cpu, target_ulong pc, int32_t modid); -typedef void (*on_modnext_enter_t)(CPUState* cpu, target_ulong pc, int32_t modid); -typedef void (*on_modnext_return_t)(CPUState* cpu, target_ulong pc, int32_t modid); -typedef void (*on_modstat_enter_t)(CPUState* cpu, target_ulong pc, int32_t modid, uint64_t stat); -typedef void (*on_modstat_return_t)(CPUState* cpu, target_ulong pc, int32_t modid, uint64_t stat); -typedef void (*on_mount_enter_t)(CPUState* cpu, target_ulong pc, uint64_t type, uint64_t path, int32_t flags, uint64_t _data); -typedef void (*on_mount_return_t)(CPUState* cpu, target_ulong pc, uint64_t type, uint64_t path, int32_t flags, uint64_t _data); -typedef void (*on_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t prot); -typedef void (*on_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t prot); -typedef void (*on_msgctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); -typedef void (*on_msgctl_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); -typedef void (*on_msgget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_msgget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_msgrcv_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); -typedef void (*on_msgrcv_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); -typedef void (*on_msgsnd_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_msgsnd_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_msync_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t flags); -typedef void (*on_msync_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t flags); -typedef void (*on_munlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_munlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_munmap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_munmap_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_nfssvc_enter_t)(CPUState* cpu, target_ulong pc, int32_t flag, uint64_t argp); -typedef void (*on_nfssvc_return_t)(CPUState* cpu, target_ulong pc, int32_t flag, uint64_t argp); -typedef void (*on_nfstat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); -typedef void (*on_nfstat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); -typedef void (*on_nlm_syscall_enter_t)(CPUState* cpu, target_ulong pc, int32_t debug_level, int32_t grace_period, int32_t addr_count, uint64_t addrs); -typedef void (*on_nlm_syscall_return_t)(CPUState* cpu, target_ulong pc, int32_t debug_level, int32_t grace_period, int32_t addr_count, uint64_t addrs); -typedef void (*on_nlstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_nlstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_nmount_enter_t)(CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); -typedef void (*on_nmount_return_t)(CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); -typedef void (*on_nnpfs_syscall_enter_t)(CPUState* cpu, target_ulong pc, int32_t operation, uint64_t a_pathP, int32_t a_opcode, uint64_t a_paramsP, int32_t a_followSymlinks); -typedef void (*on_nnpfs_syscall_return_t)(CPUState* cpu, target_ulong pc, int32_t operation, uint64_t a_pathP, int32_t a_opcode, uint64_t a_paramsP, int32_t a_followSymlinks); -typedef void (*on_nosys_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_nosys_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_nstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_nstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_ntp_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tp); -typedef void (*on_ntp_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint64_t tp); -typedef void (*on_ntp_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ntvp); -typedef void (*on_ntp_gettime_return_t)(CPUState* cpu, target_ulong pc, uint64_t ntvp); -typedef void (*on_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); -typedef void (*on_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); -typedef void (*on_openat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag, uint32_t mode); -typedef void (*on_openat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag, uint32_t mode); -typedef void (*on_pathconf_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); -typedef void (*on_pathconf_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); -typedef void (*on_pdfork_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fdp, int32_t flags); -typedef void (*on_pdfork_return_t)(CPUState* cpu, target_ulong pc, uint64_t fdp, int32_t flags); -typedef void (*on_pdgetpid_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t pidp); -typedef void (*on_pdgetpid_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t pidp); -typedef void (*on_pdkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t signum); -typedef void (*on_pdkill_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t signum); -typedef void (*on_pipe_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_pipe_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_pipe2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); -typedef void (*on_pipe2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); -typedef void (*on_poll_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, int32_t timeout); -typedef void (*on_poll_return_t)(CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, int32_t timeout); -typedef void (*on_posix_fadvise_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); -typedef void (*on_posix_fadvise_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); -typedef void (*on_posix_fallocate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len); -typedef void (*on_posix_fallocate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len); -typedef void (*on_posix_openpt_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_posix_openpt_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_ppoll_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, uint64_t ts, uint64_t set); -typedef void (*on_ppoll_return_t)(CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, uint64_t ts, uint64_t set); -typedef void (*on_pread_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); -typedef void (*on_pread_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); -typedef void (*on_preadv_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); -typedef void (*on_preadv_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); -typedef void (*on_procctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, int32_t com, uint64_t _data); -typedef void (*on_procctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, int32_t com, uint64_t _data); -typedef void (*on_profil_enter_t)(CPUState* cpu, target_ulong pc, uint64_t samples, uint32_t size, uint32_t offset, uint32_t scale); -typedef void (*on_profil_return_t)(CPUState* cpu, target_ulong pc, uint64_t samples, uint32_t size, uint32_t offset, uint32_t scale); -typedef void (*on_pselect_enter_t)(CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t ts, uint64_t sm); -typedef void (*on_pselect_return_t)(CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t ts, uint64_t sm); -typedef void (*on_ptrace_enter_t)(CPUState* cpu, target_ulong pc, int32_t req, int32_t pid, uint32_t addr, int32_t _data); -typedef void (*on_ptrace_return_t)(CPUState* cpu, target_ulong pc, int32_t req, int32_t pid, uint32_t addr, int32_t _data); -typedef void (*on_pwrite_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); -typedef void (*on_pwrite_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); -typedef void (*on_pwritev_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); -typedef void (*on_pwritev_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); -typedef void (*on_quota_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_quota_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_quotactl_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, int32_t uid, uint64_t arg); -typedef void (*on_quotactl_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, int32_t uid, uint64_t arg); -typedef void (*on_rctl_add_rule_enter_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_add_rule_return_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_get_limits_enter_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_get_limits_return_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_get_racct_enter_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_get_racct_return_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_get_rules_enter_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_get_rules_return_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_remove_rule_enter_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_rctl_remove_rule_return_t)(CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); -typedef void (*on_read_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); -typedef void (*on_read_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); -typedef void (*on_readlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, uint32_t count); -typedef void (*on_readlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, uint32_t count); -typedef void (*on_readlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t bufsize); -typedef void (*on_readlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t bufsize); -typedef void (*on_readv_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); -typedef void (*on_readv_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); -typedef void (*on_reboot_enter_t)(CPUState* cpu, target_ulong pc, int32_t opt); -typedef void (*on_reboot_return_t)(CPUState* cpu, target_ulong pc, int32_t opt); -typedef void (*on_recv_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); -typedef void (*on_recv_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); -typedef void (*on_recvfrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t from, uint64_t fromlenaddr); -typedef void (*on_recvfrom_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t from, uint64_t fromlenaddr); -typedef void (*on_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); -typedef void (*on_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); -typedef void (*on_rename_enter_t)(CPUState* cpu, target_ulong pc, uint64_t from, uint64_t to); -typedef void (*on_rename_return_t)(CPUState* cpu, target_ulong pc, uint64_t from, uint64_t to); -typedef void (*on_renameat_enter_t)(CPUState* cpu, target_ulong pc, int32_t oldfd, uint64_t old, int32_t newfd, uint64_t _new); -typedef void (*on_renameat_return_t)(CPUState* cpu, target_ulong pc, int32_t oldfd, uint64_t old, int32_t newfd, uint64_t _new); -typedef void (*on_revoke_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_revoke_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_rfork_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_rfork_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_rmdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_rmdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_rpctls_syscall_enter_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t path); -typedef void (*on_rpctls_syscall_return_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t path); -typedef void (*on_rtprio_enter_t)(CPUState* cpu, target_ulong pc, int32_t function, int32_t pid, uint64_t rtp); -typedef void (*on_rtprio_return_t)(CPUState* cpu, target_ulong pc, int32_t function, int32_t pid, uint64_t rtp); -typedef void (*on_rtprio_thread_enter_t)(CPUState* cpu, target_ulong pc, int32_t function, int32_t lwpid, uint64_t rtp); -typedef void (*on_rtprio_thread_return_t)(CPUState* cpu, target_ulong pc, int32_t function, int32_t lwpid, uint64_t rtp); -typedef void (*on_sbrk_enter_t)(CPUState* cpu, target_ulong pc, int32_t incr); -typedef void (*on_sbrk_return_t)(CPUState* cpu, target_ulong pc, int32_t incr); -typedef void (*on_sched_get_priority_max_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sched_get_priority_max_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sched_get_priority_min_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sched_get_priority_min_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sched_getparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sched_getparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sched_getscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sched_getscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sched_rr_get_interval_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); -typedef void (*on_sched_rr_get_interval_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); -typedef void (*on_sched_setparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sched_setparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sched_setscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); -typedef void (*on_sched_setscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); -typedef void (*on_sched_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sched_yield_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sctp_generic_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t from, uint64_t fromlenaddr, uint64_t sinfo, uint64_t msg_flags); -typedef void (*on_sctp_generic_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t from, uint64_t fromlenaddr, uint64_t sinfo, uint64_t msg_flags); -typedef void (*on_sctp_generic_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t sd, uint64_t msg, int32_t mlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); -typedef void (*on_sctp_generic_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t sd, uint64_t msg, int32_t mlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); -typedef void (*on_sctp_generic_sendmsg_iov_enter_t)(CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); -typedef void (*on_sctp_generic_sendmsg_iov_return_t)(CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); -typedef void (*on_sctp_peeloff_enter_t)(CPUState* cpu, target_ulong pc, int32_t sd, int32_t name); -typedef void (*on_sctp_peeloff_return_t)(CPUState* cpu, target_ulong pc, int32_t sd, int32_t name); -typedef void (*on_select_enter_t)(CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t tv); -typedef void (*on_select_return_t)(CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t tv); -typedef void (*on_semget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_semget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_semop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); -typedef void (*on_semop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); -typedef void (*on_semsys_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t a2, int32_t a3, int32_t a4, int32_t a5); -typedef void (*on_semsys_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t a2, int32_t a3, int32_t a4, int32_t a5); -typedef void (*on_send_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); -typedef void (*on_send_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); -typedef void (*on_sendfile_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t offset, uint32_t nbytes, uint64_t hdtr, uint64_t sbytes, int32_t flags); -typedef void (*on_sendfile_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t offset, uint32_t nbytes, uint64_t hdtr, uint64_t sbytes, int32_t flags); -typedef void (*on_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); -typedef void (*on_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); -typedef void (*on_sendto_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t to, int32_t tolen); -typedef void (*on_sendto_return_t)(CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t to, int32_t tolen); -typedef void (*on_setaudit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo); -typedef void (*on_setaudit_return_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo); -typedef void (*on_setaudit_addr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); -typedef void (*on_setaudit_addr_return_t)(CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); -typedef void (*on_setauid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t auid); -typedef void (*on_setauid_return_t)(CPUState* cpu, target_ulong pc, uint64_t auid); -typedef void (*on_setcontext_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ucp); -typedef void (*on_setcontext_return_t)(CPUState* cpu, target_ulong pc, uint64_t ucp); -typedef void (*on_setdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); -typedef void (*on_setdomainname_return_t)(CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); -typedef void (*on_setegid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t egid); -typedef void (*on_setegid_return_t)(CPUState* cpu, target_ulong pc, uint32_t egid); -typedef void (*on_seteuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t euid); -typedef void (*on_seteuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t euid); -typedef void (*on_setfib_enter_t)(CPUState* cpu, target_ulong pc, int32_t fibnum); -typedef void (*on_setfib_return_t)(CPUState* cpu, target_ulong pc, int32_t fibnum); -typedef void (*on_setgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_setgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_setgroups_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); -typedef void (*on_setgroups_return_t)(CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); -typedef void (*on_sethostid_enter_t)(CPUState* cpu, target_ulong pc, int64_t hostid); -typedef void (*on_sethostid_return_t)(CPUState* cpu, target_ulong pc, int64_t hostid); -typedef void (*on_sethostname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); -typedef void (*on_sethostname_return_t)(CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); -typedef void (*on_setitimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv, uint64_t oitv); -typedef void (*on_setitimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv, uint64_t oitv); -typedef void (*on_setlogin_enter_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf); -typedef void (*on_setlogin_return_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf); -typedef void (*on_setloginclass_enter_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf); -typedef void (*on_setloginclass_return_t)(CPUState* cpu, target_ulong pc, uint64_t namebuf); -typedef void (*on_setpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_setpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_setpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t prio); -typedef void (*on_setpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t prio); -typedef void (*on_setregid_enter_t)(CPUState* cpu, target_ulong pc, int32_t rgid, int32_t egid); -typedef void (*on_setregid_return_t)(CPUState* cpu, target_ulong pc, int32_t rgid, int32_t egid); -typedef void (*on_setresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_setresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_setresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_setresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_setreuid_enter_t)(CPUState* cpu, target_ulong pc, int32_t ruid, int32_t euid); -typedef void (*on_setreuid_return_t)(CPUState* cpu, target_ulong pc, int32_t ruid, int32_t euid); -typedef void (*on_setrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); -typedef void (*on_setrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); -typedef void (*on_setsid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_setsid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_setsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, int32_t valsize); -typedef void (*on_setsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, int32_t valsize); -typedef void (*on_settimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tzp); -typedef void (*on_settimeofday_return_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tzp); -typedef void (*on_setuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_setuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_shm_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); -typedef void (*on_shm_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); -typedef void (*on_shm_open2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, int32_t shmflags, uint64_t name); -typedef void (*on_shm_open2_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, int32_t shmflags, uint64_t name); -typedef void (*on_shm_rename_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path_from, uint64_t path_to, int32_t flags); -typedef void (*on_shm_rename_return_t)(CPUState* cpu, target_ulong pc, uint64_t path_from, uint64_t path_to, int32_t flags); -typedef void (*on_shm_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_shm_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_shmctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); -typedef void (*on_shmctl_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); -typedef void (*on_shmdt_enter_t)(CPUState* cpu, target_ulong pc, uint64_t shmaddr); -typedef void (*on_shmdt_return_t)(CPUState* cpu, target_ulong pc, uint64_t shmaddr); -typedef void (*on_shmget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t shmflg); -typedef void (*on_shmget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t shmflg); -typedef void (*on_shutdown_enter_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t how); -typedef void (*on_shutdown_return_t)(CPUState* cpu, target_ulong pc, int32_t s, int32_t how); -typedef void (*on_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t sig, uint64_t act, uint64_t oact); -typedef void (*on_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t sig, uint64_t act, uint64_t oact); -typedef void (*on_sigaltstack_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ss, uint64_t oss); -typedef void (*on_sigaltstack_return_t)(CPUState* cpu, target_ulong pc, uint64_t ss, uint64_t oss); -typedef void (*on_sigblock_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sigblock_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sigfastblock_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t ptr); -typedef void (*on_sigfastblock_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t ptr); -typedef void (*on_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint64_t set); -typedef void (*on_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint64_t set); -typedef void (*on_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset); -typedef void (*on_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset); -typedef void (*on_sigqueue_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum, uint64_t value); -typedef void (*on_sigqueue_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum, uint64_t value); -typedef void (*on_sigreturn_enter_t)(CPUState* cpu, target_ulong pc, uint64_t sigcntxp); -typedef void (*on_sigreturn_return_t)(CPUState* cpu, target_ulong pc, uint64_t sigcntxp); -typedef void (*on_sigsetmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sigsetmask_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sigstack_enter_t)(CPUState* cpu, target_ulong pc, uint64_t nss, uint64_t oss); -typedef void (*on_sigstack_return_t)(CPUState* cpu, target_ulong pc, uint64_t nss, uint64_t oss); -typedef void (*on_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, uint64_t sigmask); -typedef void (*on_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, uint64_t sigmask); -typedef void (*on_sigtimedwait_enter_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info, uint64_t timeout); -typedef void (*on_sigtimedwait_return_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info, uint64_t timeout); -typedef void (*on_sigvec_enter_t)(CPUState* cpu, target_ulong pc, int32_t signum, uint64_t nsv, uint64_t osv); -typedef void (*on_sigvec_return_t)(CPUState* cpu, target_ulong pc, int32_t signum, uint64_t nsv, uint64_t osv); -typedef void (*on_sigwait_enter_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint64_t sig); -typedef void (*on_sigwait_return_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint64_t sig); -typedef void (*on_sigwaitinfo_enter_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info); -typedef void (*on_sigwaitinfo_return_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info); -typedef void (*on_socket_enter_t)(CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol); -typedef void (*on_socket_return_t)(CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol); -typedef void (*on_socketpair_enter_t)(CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol, uint64_t rsv); -typedef void (*on_socketpair_return_t)(CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol, uint64_t rsv); -typedef void (*on_sstk_enter_t)(CPUState* cpu, target_ulong pc, int32_t incr); -typedef void (*on_sstk_return_t)(CPUState* cpu, target_ulong pc, int32_t incr); -typedef void (*on_stat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_stat_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); -typedef void (*on_statfs_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); -typedef void (*on_statfs_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); -typedef void (*on_swapcontext_enter_t)(CPUState* cpu, target_ulong pc, uint64_t oucp, uint64_t ucp); -typedef void (*on_swapcontext_return_t)(CPUState* cpu, target_ulong pc, uint64_t oucp, uint64_t ucp); -typedef void (*on_swapoff_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_swapoff_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_swapon_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_swapon_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_symlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); -typedef void (*on_symlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); -typedef void (*on_symlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path1, int32_t fd, uint64_t path2); -typedef void (*on_symlinkat_return_t)(CPUState* cpu, target_ulong pc, uint64_t path1, int32_t fd, uint64_t path2); -typedef void (*on_sync_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sync_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_accept_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_accept_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_accept4_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); -typedef void (*on_sys_accept4_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); -typedef void (*on_sys_access_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, int32_t mode); -typedef void (*on_sys_access_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, int32_t mode); -typedef void (*on_sys_acct_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_acct_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_add_key_enter_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_add_key_return_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_adjtimex_enter_t)(CPUState* cpu, target_ulong pc, uint64_t txc_p); -typedef void (*on_sys_adjtimex_return_t)(CPUState* cpu, target_ulong pc, uint64_t txc_p); -typedef void (*on_sys_alarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_alarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_arch_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1); -typedef void (*on_sys_arch_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1); -typedef void (*on_sys_bind_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_bind_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_bpf_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); -typedef void (*on_sys_bpf_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); -typedef void (*on_sys_brk_enter_t)(CPUState* cpu, target_ulong pc, uint64_t brk); -typedef void (*on_sys_brk_return_t)(CPUState* cpu, target_ulong pc, uint64_t brk); -typedef void (*on_sys_capget_enter_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); -typedef void (*on_sys_capget_return_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); -typedef void (*on_sys_capset_enter_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); -typedef void (*on_sys_capset_return_t)(CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); -typedef void (*on_sys_chdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_chdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_chmod_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode); -typedef void (*on_sys_chmod_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode); -typedef void (*on_sys_chown_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chroot_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_chroot_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename); -typedef void (*on_sys_clock_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); -typedef void (*on_sys_clock_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); -typedef void (*on_sys_clock_getres_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_getres_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_clock_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_clock_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clock_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); -typedef void (*on_sys_clone_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); -typedef void (*on_sys_clone_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); -typedef void (*on_sys_close_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_close_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_connect_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_connect_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_copy_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_copy_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_creat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_creat_return_t)(CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_delete_module_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); -typedef void (*on_sys_delete_module_return_t)(CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); -typedef void (*on_sys_dup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup2_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup3_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_dup3_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_epoll_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create_return_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_create1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_ctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); -typedef void (*on_sys_epoll_ctl_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); -typedef void (*on_sys_epoll_pwait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_pwait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_wait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_epoll_wait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_eventfd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd_return_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_eventfd2_return_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_execve_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); -typedef void (*on_sys_execve_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); -typedef void (*on_sys_execveat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); -typedef void (*on_sys_execveat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); -typedef void (*on_sys_exit_enter_t)(CPUState* cpu, target_ulong pc, int32_t rval); -typedef void (*on_sys_exit_return_t)(CPUState* cpu, target_ulong pc, int32_t rval); -typedef void (*on_sys_exit_group_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_faccessat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); -typedef void (*on_sys_faccessat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); -typedef void (*on_sys_fadvise64_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); -typedef void (*on_sys_fadvise64_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); -typedef void (*on_sys_fallocate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fallocate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fanotify_init_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_init_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_mark_enter_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); -typedef void (*on_sys_fanotify_mark_return_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); -typedef void (*on_sys_fchdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); -typedef void (*on_sys_fchmodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); -typedef void (*on_sys_fchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchownat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fchownat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fcntl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_fcntl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_fdatasync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fdatasync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fgetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_fgetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_finit_module_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); -typedef void (*on_sys_finit_module_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); -typedef void (*on_sys_flistxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); -typedef void (*on_sys_flistxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); -typedef void (*on_sys_flock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_flock_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_fork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fremovexattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); -typedef void (*on_sys_fremovexattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); -typedef void (*on_sys_fsetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fsetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fstatfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); -typedef void (*on_sys_fstatfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); -typedef void (*on_sys_fsync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fsync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_ftruncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_ftruncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_futex_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_return_t)(CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); -typedef void (*on_sys_futimesat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes); -typedef void (*on_sys_futimesat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes); -typedef void (*on_sys_get_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); -typedef void (*on_sys_get_mempolicy_return_t)(CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); -typedef void (*on_sys_get_robust_list_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); -typedef void (*on_sys_get_robust_list_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); -typedef void (*on_sys_getcpu_enter_t)(CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); -typedef void (*on_sys_getcpu_return_t)(CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); -typedef void (*on_sys_getcwd_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); -typedef void (*on_sys_getcwd_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); -typedef void (*on_sys_getdents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); -typedef void (*on_sys_getdents_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); -typedef void (*on_sys_getegid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_getgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_getitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); -typedef void (*on_sys_getitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); -typedef void (*on_sys_getpeername_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getpeername_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgrp_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpgrp_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getrandom_enter_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getrandom_return_t)(CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getresgid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); -typedef void (*on_sys_getresgid_return_t)(CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); -typedef void (*on_sys_getresuid_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); -typedef void (*on_sys_getresuid_return_t)(CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); -typedef void (*on_sys_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_getrusage_enter_t)(CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); -typedef void (*on_sys_getrusage_return_t)(CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); -typedef void (*on_sys_getsid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsockname_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getsockname_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_getsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); -typedef void (*on_sys_getsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); -typedef void (*on_sys_gettid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_gettimeofday_return_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_getuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_getxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_init_module_enter_t)(CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); -typedef void (*on_sys_init_module_return_t)(CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); -typedef void (*on_sys_inotify_add_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); -typedef void (*on_sys_inotify_add_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); -typedef void (*on_sys_inotify_init_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_init1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_rm_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_inotify_rm_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_io_cancel_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); -typedef void (*on_sys_io_cancel_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); -typedef void (*on_sys_io_destroy_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx); -typedef void (*on_sys_io_destroy_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx); -typedef void (*on_sys_io_getevents_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); -typedef void (*on_sys_io_getevents_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); -typedef void (*on_sys_io_setup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); -typedef void (*on_sys_io_setup_return_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); -typedef void (*on_sys_io_submit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); -typedef void (*on_sys_io_submit_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); -typedef void (*on_sys_ioctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_ioctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_ioperm_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_ioperm_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, int32_t arg2); -typedef void (*on_sys_iopl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_iopl_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_ioprio_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_get_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_set_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ioprio_set_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_kcmp_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); -typedef void (*on_sys_kcmp_return_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); -typedef void (*on_sys_kexec_file_load_enter_t)(CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline_ptr, uint64_t flags); -typedef void (*on_sys_kexec_file_load_return_t)(CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline_ptr, uint64_t flags); -typedef void (*on_sys_kexec_load_enter_t)(CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); -typedef void (*on_sys_kexec_load_return_t)(CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); -typedef void (*on_sys_keyctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_keyctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_kill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_kill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_lchown_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lgetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_lgetxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); -typedef void (*on_sys_link_enter_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); -typedef void (*on_sys_link_return_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); -typedef void (*on_sys_linkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); -typedef void (*on_sys_linkat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); -typedef void (*on_sys_listen_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listen_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_listxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_llistxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_llistxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); -typedef void (*on_sys_lookup_dcookie_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); -typedef void (*on_sys_lookup_dcookie_return_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); -typedef void (*on_sys_lremovexattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_lremovexattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_lseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); -typedef void (*on_sys_lseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); -typedef void (*on_sys_lsetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lsetxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_madvise_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_madvise_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_mbind_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); -typedef void (*on_sys_mbind_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); -typedef void (*on_sys_membarrier_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_membarrier_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_memfd_create_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); -typedef void (*on_sys_memfd_create_return_t)(CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); -typedef void (*on_sys_migrate_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); -typedef void (*on_sys_migrate_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); -typedef void (*on_sys_mincore_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); -typedef void (*on_sys_mincore_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); -typedef void (*on_sys_mkdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_mkdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); -typedef void (*on_sys_mknod_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknod_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_mlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_mlock2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlock2_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlockall_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mlockall_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mmap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_mmap_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_modify_ldt_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_modify_ldt_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_mount_enter_t)(CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); -typedef void (*on_sys_mount_return_t)(CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); -typedef void (*on_sys_move_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); -typedef void (*on_sys_move_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); -typedef void (*on_sys_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); -typedef void (*on_sys_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); -typedef void (*on_sys_mq_getsetattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); -typedef void (*on_sys_mq_getsetattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); -typedef void (*on_sys_mq_notify_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); -typedef void (*on_sys_mq_notify_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); -typedef void (*on_sys_mq_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); -typedef void (*on_sys_mq_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); -typedef void (*on_sys_mq_timedreceive_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_timedreceive_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_timedsend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_timedsend_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); -typedef void (*on_sys_mq_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_mq_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_mremap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); -typedef void (*on_sys_mremap_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); -typedef void (*on_sys_msgctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_msgctl_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_msgget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); -typedef void (*on_sys_msgrcv_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgrcv_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); -typedef void (*on_sys_msgsnd_enter_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msgsnd_return_t)(CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); -typedef void (*on_sys_msync_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_msync_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_munlock_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_munlock_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); -typedef void (*on_sys_munlockall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munlockall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munmap_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_sys_munmap_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_sys_name_to_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); -typedef void (*on_sys_name_to_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); -typedef void (*on_sys_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); -typedef void (*on_sys_newfstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); -typedef void (*on_sys_newfstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); -typedef void (*on_sys_newfstatat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); -typedef void (*on_sys_newfstatat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); -typedef void (*on_sys_newlstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); -typedef void (*on_sys_newlstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); -typedef void (*on_sys_newstat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); -typedef void (*on_sys_newstat_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); -typedef void (*on_sys_newuname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_newuname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_sys_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_by_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); -typedef void (*on_sys_open_by_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); -typedef void (*on_sys_openat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_pause_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_pause_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_perf_event_open_enter_t)(CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); -typedef void (*on_sys_perf_event_open_return_t)(CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); -typedef void (*on_sys_personality_enter_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_personality_return_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_pipe_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fildes); -typedef void (*on_sys_pipe_return_t)(CPUState* cpu, target_ulong pc, uint64_t fildes); -typedef void (*on_sys_pipe2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); -typedef void (*on_sys_pipe2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); -typedef void (*on_sys_pivot_root_enter_t)(CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); -typedef void (*on_sys_pivot_root_return_t)(CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); -typedef void (*on_sys_pkey_alloc_enter_t)(CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); -typedef void (*on_sys_pkey_alloc_return_t)(CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); -typedef void (*on_sys_pkey_free_enter_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_free_return_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); -typedef void (*on_sys_poll_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_poll_return_t)(CPUState* cpu, target_ulong pc, uint64_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_ppoll_enter_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_return_t)(CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); -typedef void (*on_sys_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_pread64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pread64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_preadv_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_preadv_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_preadv2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_preadv2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_prlimit64_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); -typedef void (*on_sys_prlimit64_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); -typedef void (*on_sys_process_vm_readv_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_process_vm_readv_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_process_vm_writev_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_process_vm_writev_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); -typedef void (*on_sys_pselect6_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_pselect6_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_ptrace_enter_t)(CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); -typedef void (*on_sys_ptrace_return_t)(CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); -typedef void (*on_sys_pwrite64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwrite64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwritev_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_pwritev_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); -typedef void (*on_sys_pwritev2_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_pwritev2_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); -typedef void (*on_sys_quotactl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); -typedef void (*on_sys_quotactl_return_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); -typedef void (*on_sys_read_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_read_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_readahead_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readahead_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, int32_t bufsiz); -typedef void (*on_sys_readlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); -typedef void (*on_sys_readv_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sys_readv_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sys_reboot_enter_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_reboot_return_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); -typedef void (*on_sys_recvfrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_recvfrom_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); -typedef void (*on_sys_recvmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); -typedef void (*on_sys_recvmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); -typedef void (*on_sys_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_remap_file_pages_enter_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); -typedef void (*on_sys_remap_file_pages_return_t)(CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); -typedef void (*on_sys_removexattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_removexattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); -typedef void (*on_sys_rename_enter_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); -typedef void (*on_sys_rename_return_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); -typedef void (*on_sys_renameat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_renameat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_renameat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); -typedef void (*on_sys_renameat2_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); -typedef void (*on_sys_request_key_enter_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); -typedef void (*on_sys_request_key_return_t)(CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); -typedef void (*on_sys_restart_syscall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_restart_syscall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rmdir_enter_t)(CPUState* cpu, target_ulong pc, uint64_t pathname); -typedef void (*on_sys_rmdir_return_t)(CPUState* cpu, target_ulong pc, uint64_t pathname); -typedef void (*on_sys_rt_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_rt_sigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_rt_sigreturn_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigreturn_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_return_t)(CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_tgsigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_rt_tgsigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); -typedef void (*on_sys_sched_get_priority_max_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_max_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_getaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_getaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_getattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_getparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_getscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_getscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_rr_get_interval_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); -typedef void (*on_sys_sched_rr_get_interval_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); -typedef void (*on_sys_sched_setaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_setaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); -typedef void (*on_sys_sched_setattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); -typedef void (*on_sys_sched_setattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); -typedef void (*on_sys_sched_setparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_setparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); -typedef void (*on_sys_sched_setscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); -typedef void (*on_sys_sched_setscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); -typedef void (*on_sys_sched_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sched_yield_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_seccomp_enter_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); -typedef void (*on_sys_seccomp_return_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); -typedef void (*on_sys_select_enter_t)(CPUState* cpu, target_ulong pc, int32_t n, uint64_t inp, uint64_t outp, uint64_t exp, uint64_t tvp); -typedef void (*on_sys_select_return_t)(CPUState* cpu, target_ulong pc, int32_t n, uint64_t inp, uint64_t outp, uint64_t exp, uint64_t tvp); -typedef void (*on_sys_semctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); -typedef void (*on_sys_semctl_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); -typedef void (*on_sys_semget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); -typedef void (*on_sys_semop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); -typedef void (*on_sys_semop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); -typedef void (*on_sys_semtimedop_enter_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); -typedef void (*on_sys_semtimedop_return_t)(CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); -typedef void (*on_sys_sendfile64_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_sendmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); -typedef void (*on_sys_sendto_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); -typedef void (*on_sys_sendto_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); -typedef void (*on_sys_set_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); -typedef void (*on_sys_set_mempolicy_return_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); -typedef void (*on_sys_set_robust_list_enter_t)(CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); -typedef void (*on_sys_set_robust_list_return_t)(CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); -typedef void (*on_sys_set_tid_address_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tidptr); -typedef void (*on_sys_set_tid_address_return_t)(CPUState* cpu, target_ulong pc, uint64_t tidptr); -typedef void (*on_sys_setdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_setdomainname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_setfsgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_setgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); -typedef void (*on_sys_sethostname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_sethostname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); -typedef void (*on_sys_setitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); -typedef void (*on_sys_setitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); -typedef void (*on_sys_setns_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setns_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setregid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setreuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_setrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); -typedef void (*on_sys_setsid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); -typedef void (*on_sys_setsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); -typedef void (*on_sys_settimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_settimeofday_return_t)(CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); -typedef void (*on_sys_setuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setxattr_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_setxattr_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_shmat_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmat_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); -typedef void (*on_sys_shmctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_shmctl_return_t)(CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); -typedef void (*on_sys_shmdt_enter_t)(CPUState* cpu, target_ulong pc, uint64_t shmaddr); -typedef void (*on_sys_shmdt_return_t)(CPUState* cpu, target_ulong pc, uint64_t shmaddr); -typedef void (*on_sys_shmget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shmget_return_t)(CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); -typedef void (*on_sys_shutdown_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_shutdown_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_sigaltstack_enter_t)(CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); -typedef void (*on_sys_sigaltstack_return_t)(CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); -typedef void (*on_sys_signalfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd4_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_signalfd4_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_socket_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socket_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socketpair_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); -typedef void (*on_sys_socketpair_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); -typedef void (*on_sys_splice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_splice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_statfs_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); -typedef void (*on_sys_statfs_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); -typedef void (*on_sys_statx_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); -typedef void (*on_sys_statx_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); -typedef void (*on_sys_swapoff_enter_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile); -typedef void (*on_sys_swapoff_return_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile); -typedef void (*on_sys_swapon_enter_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); -typedef void (*on_sys_swapon_return_t)(CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); -typedef void (*on_sys_symlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t old, uint64_t _new); -typedef void (*on_sys_symlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t old, uint64_t _new); -typedef void (*on_sys_symlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_symlinkat_return_t)(CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); -typedef void (*on_sys_sync_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_sync_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_syncfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_syncfs_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_sysctl_enter_t)(CPUState* cpu, target_ulong pc, uint64_t args); -typedef void (*on_sys_sysctl_return_t)(CPUState* cpu, target_ulong pc, uint64_t args); -typedef void (*on_sys_sysfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_sysfs_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg1, uint64_t arg2); -typedef void (*on_sys_sysinfo_enter_t)(CPUState* cpu, target_ulong pc, uint64_t info); -typedef void (*on_sys_sysinfo_return_t)(CPUState* cpu, target_ulong pc, uint64_t info); -typedef void (*on_sys_syslog_enter_t)(CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); -typedef void (*on_sys_syslog_return_t)(CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); -typedef void (*on_sys_tee_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tee_return_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tgkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_tgkill_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_time_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tloc); -typedef void (*on_sys_time_return_t)(CPUState* cpu, target_ulong pc, uint64_t tloc); -typedef void (*on_sys_timer_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); -typedef void (*on_sys_timer_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); -typedef void (*on_sys_timer_delete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_delete_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); -typedef void (*on_sys_timer_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); -typedef void (*on_sys_timer_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); -typedef void (*on_sys_timer_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); -typedef void (*on_sys_timerfd_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_create_return_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_gettime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); -typedef void (*on_sys_timerfd_gettime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); -typedef void (*on_sys_timerfd_settime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); -typedef void (*on_sys_timerfd_settime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); -typedef void (*on_sys_times_enter_t)(CPUState* cpu, target_ulong pc, uint64_t tbuf); -typedef void (*on_sys_times_return_t)(CPUState* cpu, target_ulong pc, uint64_t tbuf); -typedef void (*on_sys_tkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_tkill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_truncate_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); -typedef void (*on_sys_truncate_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); -typedef void (*on_sys_umask_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umask_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umount_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t flags); -typedef void (*on_sys_umount_return_t)(CPUState* cpu, target_ulong pc, uint64_t name, int32_t flags); -typedef void (*on_sys_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t pathname); -typedef void (*on_sys_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t pathname); -typedef void (*on_sys_unlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); -typedef void (*on_sys_unlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); -typedef void (*on_sys_unshare_enter_t)(CPUState* cpu, target_ulong pc, uint64_t unshare_flags); -typedef void (*on_sys_unshare_return_t)(CPUState* cpu, target_ulong pc, uint64_t unshare_flags); -typedef void (*on_sys_userfaultfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_userfaultfd_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_ustat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint64_t ubuf); -typedef void (*on_sys_ustat_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint64_t ubuf); -typedef void (*on_sys_utime_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t times); -typedef void (*on_sys_utime_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t times); -typedef void (*on_sys_utimensat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); -typedef void (*on_sys_utimensat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); -typedef void (*on_sys_utimes_enter_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t utimes); -typedef void (*on_sys_utimes_return_t)(CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t utimes); -typedef void (*on_sys_vfork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vfork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vmsplice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); -typedef void (*on_sys_vmsplice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); -typedef void (*on_sys_wait4_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); -typedef void (*on_sys_wait4_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); -typedef void (*on_sys_waitid_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); -typedef void (*on_sys_waitid_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); -typedef void (*on_sys_write_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_write_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); -typedef void (*on_sys_writev_enter_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sys_writev_return_t)(CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); -typedef void (*on_sysarch_enter_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t parms); -typedef void (*on_sysarch_return_t)(CPUState* cpu, target_ulong pc, int32_t op, uint64_t parms); -typedef void (*on_thr_create_enter_t)(CPUState* cpu, target_ulong pc, uint64_t ctx, uint64_t id, int32_t flags); -typedef void (*on_thr_create_return_t)(CPUState* cpu, target_ulong pc, uint64_t ctx, uint64_t id, int32_t flags); -typedef void (*on_thr_exit_enter_t)(CPUState* cpu, target_ulong pc, uint64_t state); -typedef void (*on_thr_exit_return_t)(CPUState* cpu, target_ulong pc, uint64_t state); -typedef void (*on_thr_kill_enter_t)(CPUState* cpu, target_ulong pc, int64_t id, int32_t sig); -typedef void (*on_thr_kill_return_t)(CPUState* cpu, target_ulong pc, int64_t id, int32_t sig); -typedef void (*on_thr_kill2_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int64_t id, int32_t sig); -typedef void (*on_thr_kill2_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int64_t id, int32_t sig); -typedef void (*on_thr_new_enter_t)(CPUState* cpu, target_ulong pc, uint64_t param, int32_t param_size); -typedef void (*on_thr_new_return_t)(CPUState* cpu, target_ulong pc, uint64_t param, int32_t param_size); -typedef void (*on_thr_self_enter_t)(CPUState* cpu, target_ulong pc, uint64_t id); -typedef void (*on_thr_self_return_t)(CPUState* cpu, target_ulong pc, uint64_t id); -typedef void (*on_thr_set_name_enter_t)(CPUState* cpu, target_ulong pc, int64_t id, uint64_t name); -typedef void (*on_thr_set_name_return_t)(CPUState* cpu, target_ulong pc, int64_t id, uint64_t name); -typedef void (*on_thr_suspend_enter_t)(CPUState* cpu, target_ulong pc, uint64_t timeout); -typedef void (*on_thr_suspend_return_t)(CPUState* cpu, target_ulong pc, uint64_t timeout); -typedef void (*on_thr_wake_enter_t)(CPUState* cpu, target_ulong pc, int64_t id); -typedef void (*on_thr_wake_return_t)(CPUState* cpu, target_ulong pc, int64_t id); -typedef void (*on_truncate_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t length); -typedef void (*on_truncate_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t length); -typedef void (*on_umask_enter_t)(CPUState* cpu, target_ulong pc, uint32_t newmask); -typedef void (*on_umask_return_t)(CPUState* cpu, target_ulong pc, uint32_t newmask); -typedef void (*on_uname_enter_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_uname_return_t)(CPUState* cpu, target_ulong pc, uint64_t name); -typedef void (*on_undelete_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_undelete_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_unlink_return_t)(CPUState* cpu, target_ulong pc, uint64_t path); -typedef void (*on_unlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag); -typedef void (*on_unlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag); -typedef void (*on_unmount_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags); -typedef void (*on_unmount_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags); -typedef void (*on_utimensat_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times, int32_t flag); -typedef void (*on_utimensat_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times, int32_t flag); -typedef void (*on_utimes_enter_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); -typedef void (*on_utimes_return_t)(CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); -typedef void (*on_utrace_enter_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_utrace_return_t)(CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); -typedef void (*on_uuidgen_enter_t)(CPUState* cpu, target_ulong pc, uint64_t store, int32_t count); -typedef void (*on_uuidgen_return_t)(CPUState* cpu, target_ulong pc, uint64_t store, int32_t count); -typedef void (*on_vadvise_enter_t)(CPUState* cpu, target_ulong pc, int32_t anom); -typedef void (*on_vadvise_return_t)(CPUState* cpu, target_ulong pc, int32_t anom); -typedef void (*on_vfork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_vfork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_wait_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_wait_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_wait4_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t status, int32_t options, uint64_t rusage); -typedef void (*on_wait4_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint64_t status, int32_t options, uint64_t rusage); -typedef void (*on_wait6_enter_t)(CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, uint64_t status, int32_t options, uint64_t wrusage, uint64_t info); -typedef void (*on_wait6_return_t)(CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, uint64_t status, int32_t options, uint64_t wrusage, uint64_t info); -typedef void (*on_write_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); -typedef void (*on_write_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); -typedef void (*on_writev_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); -typedef void (*on_writev_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); -typedef void (*on_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_yield_return_t)(CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on___acl_aclcheck_fd_enter, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_aclcheck_fd_return, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_aclcheck_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_aclcheck_file_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_aclcheck_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_aclcheck_link_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_delete_fd_enter, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type); +PPP_CB_TYPEDEF(void, on___acl_delete_fd_return, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type); +PPP_CB_TYPEDEF(void, on___acl_delete_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); +PPP_CB_TYPEDEF(void, on___acl_delete_file_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); +PPP_CB_TYPEDEF(void, on___acl_delete_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); +PPP_CB_TYPEDEF(void, on___acl_delete_link_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type); +PPP_CB_TYPEDEF(void, on___acl_get_fd_enter, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_get_fd_return, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_get_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_get_file_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_get_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_get_link_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_set_fd_enter, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_set_fd_return, CPUState* cpu, target_ulong pc, int32_t filedes, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_set_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_set_file_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_set_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___acl_set_link_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t type, uint64_t aclp); +PPP_CB_TYPEDEF(void, on___cap_rights_get_enter, CPUState* cpu, target_ulong pc, int32_t version, int32_t fd, uint64_t rightsp); +PPP_CB_TYPEDEF(void, on___cap_rights_get_return, CPUState* cpu, target_ulong pc, int32_t version, int32_t fd, uint64_t rightsp); +PPP_CB_TYPEDEF(void, on___getcwd_enter, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen); +PPP_CB_TYPEDEF(void, on___getcwd_return, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen); +PPP_CB_TYPEDEF(void, on___mac_execve_enter, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_execve_return, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_fd_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_fd_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_file_enter, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_file_return, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_link_enter, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_link_return, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_pid_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_pid_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_proc_enter, CPUState* cpu, target_ulong pc, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_get_proc_return, CPUState* cpu, target_ulong pc, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_fd_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_fd_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_file_enter, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_file_return, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_link_enter, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_link_return, CPUState* cpu, target_ulong pc, uint64_t path_p, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_proc_enter, CPUState* cpu, target_ulong pc, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___mac_set_proc_return, CPUState* cpu, target_ulong pc, uint64_t mac_p); +PPP_CB_TYPEDEF(void, on___realpathat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on___realpathat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on___semctl_enter, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on___semctl_return, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on___setugid_enter, CPUState* cpu, target_ulong pc, int32_t flag); +PPP_CB_TYPEDEF(void, on___setugid_return, CPUState* cpu, target_ulong pc, int32_t flag); +PPP_CB_TYPEDEF(void, on___sysctl_enter, CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); +PPP_CB_TYPEDEF(void, on___sysctl_return, CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); +PPP_CB_TYPEDEF(void, on___sysctlbyname_enter, CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); +PPP_CB_TYPEDEF(void, on___sysctlbyname_return, CPUState* cpu, target_ulong pc, uint64_t name, uint32_t namelen, uint64_t old, uint64_t oldlenp, uint64_t _new, uint32_t newlen); +PPP_CB_TYPEDEF(void, on__umtx_op_enter, CPUState* cpu, target_ulong pc, uint64_t obj, int32_t op, int64_t val, uint64_t uaddr1, uint64_t uaddr2); +PPP_CB_TYPEDEF(void, on__umtx_op_return, CPUState* cpu, target_ulong pc, uint64_t obj, int32_t op, int64_t val, uint64_t uaddr1, uint64_t uaddr2); +PPP_CB_TYPEDEF(void, on_abort2_enter, CPUState* cpu, target_ulong pc, uint64_t why, int32_t nargs, uint64_t args); +PPP_CB_TYPEDEF(void, on_abort2_return, CPUState* cpu, target_ulong pc, uint64_t why, int32_t nargs, uint64_t args); +PPP_CB_TYPEDEF(void, on_accept_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen); +PPP_CB_TYPEDEF(void, on_accept_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen); +PPP_CB_TYPEDEF(void, on_accept4_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen, int32_t flags); +PPP_CB_TYPEDEF(void, on_accept4_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, uint64_t anamelen, int32_t flags); +PPP_CB_TYPEDEF(void, on_access_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); +PPP_CB_TYPEDEF(void, on_access_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); +PPP_CB_TYPEDEF(void, on_acct_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_acct_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_adjtime_enter, CPUState* cpu, target_ulong pc, uint64_t delta, uint64_t olddelta); +PPP_CB_TYPEDEF(void, on_adjtime_return, CPUState* cpu, target_ulong pc, uint64_t delta, uint64_t olddelta); +PPP_CB_TYPEDEF(void, on_afs3_syscall_enter, CPUState* cpu, target_ulong pc, int64_t syscall, int64_t parm1, int64_t parm2, int64_t parm3, int64_t parm4, int64_t parm5, int64_t parm6); +PPP_CB_TYPEDEF(void, on_afs3_syscall_return, CPUState* cpu, target_ulong pc, int64_t syscall, int64_t parm1, int64_t parm2, int64_t parm3, int64_t parm4, int64_t parm5, int64_t parm6); +PPP_CB_TYPEDEF(void, on_aio_cancel_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_cancel_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_error_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_error_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_fsync_enter, CPUState* cpu, target_ulong pc, int32_t op, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_fsync_return, CPUState* cpu, target_ulong pc, int32_t op, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_mlock_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_mlock_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_read_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_read_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_return_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_return_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_suspend_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp, int32_t nent, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_aio_suspend_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp, int32_t nent, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_aio_waitcomplete_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_aio_waitcomplete_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_aio_write_enter, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_aio_write_return, CPUState* cpu, target_ulong pc, uint64_t aiocbp); +PPP_CB_TYPEDEF(void, on_audit_enter, CPUState* cpu, target_ulong pc, uint64_t record, uint32_t length); +PPP_CB_TYPEDEF(void, on_audit_return, CPUState* cpu, target_ulong pc, uint64_t record, uint32_t length); +PPP_CB_TYPEDEF(void, on_auditctl_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_auditctl_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_auditon_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t _data, uint32_t length); +PPP_CB_TYPEDEF(void, on_auditon_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t _data, uint32_t length); +PPP_CB_TYPEDEF(void, on_bind_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_bind_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_bindat_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_bindat_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_cap_enter_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_cap_enter_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_cap_fcntls_get_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t fcntlrightsp); +PPP_CB_TYPEDEF(void, on_cap_fcntls_get_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t fcntlrightsp); +PPP_CB_TYPEDEF(void, on_cap_fcntls_limit_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t fcntlrights); +PPP_CB_TYPEDEF(void, on_cap_fcntls_limit_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t fcntlrights); +PPP_CB_TYPEDEF(void, on_cap_getmode_enter, CPUState* cpu, target_ulong pc, uint64_t modep); +PPP_CB_TYPEDEF(void, on_cap_getmode_return, CPUState* cpu, target_ulong pc, uint64_t modep); +PPP_CB_TYPEDEF(void, on_cap_ioctls_get_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t maxcmds); +PPP_CB_TYPEDEF(void, on_cap_ioctls_get_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t maxcmds); +PPP_CB_TYPEDEF(void, on_cap_ioctls_limit_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t ncmds); +PPP_CB_TYPEDEF(void, on_cap_ioctls_limit_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t cmds, uint32_t ncmds); +PPP_CB_TYPEDEF(void, on_cap_rights_limit_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t rightsp); +PPP_CB_TYPEDEF(void, on_cap_rights_limit_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t rightsp); +PPP_CB_TYPEDEF(void, on_chdir_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_chdir_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_chflags_enter, CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); +PPP_CB_TYPEDEF(void, on_chflags_return, CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); +PPP_CB_TYPEDEF(void, on_chflagsat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int64_t flags, int32_t atflag); +PPP_CB_TYPEDEF(void, on_chflagsat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int64_t flags, int32_t atflag); +PPP_CB_TYPEDEF(void, on_chmod_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_chmod_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_chown_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); +PPP_CB_TYPEDEF(void, on_chown_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); +PPP_CB_TYPEDEF(void, on_chroot_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_chroot_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_clock_getcpuclockid2_enter, CPUState* cpu, target_ulong pc, uint32_t id, int32_t which, uint64_t clock_id); +PPP_CB_TYPEDEF(void, on_clock_getcpuclockid2_return, CPUState* cpu, target_ulong pc, uint32_t id, int32_t which, uint64_t clock_id); +PPP_CB_TYPEDEF(void, on_clock_getres_enter, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); +PPP_CB_TYPEDEF(void, on_clock_getres_return, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); +PPP_CB_TYPEDEF(void, on_clock_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); +PPP_CB_TYPEDEF(void, on_clock_gettime_return, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); +PPP_CB_TYPEDEF(void, on_clock_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t clock_id, int32_t flags, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_clock_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t clock_id, int32_t flags, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_clock_settime_enter, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); +PPP_CB_TYPEDEF(void, on_clock_settime_return, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t tp); +PPP_CB_TYPEDEF(void, on_close_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_close_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_close_range_enter, CPUState* cpu, target_ulong pc, uint32_t lowfd, uint32_t highfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_close_range_return, CPUState* cpu, target_ulong pc, uint32_t lowfd, uint32_t highfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_closefrom_enter, CPUState* cpu, target_ulong pc, int32_t lowfd); +PPP_CB_TYPEDEF(void, on_closefrom_return, CPUState* cpu, target_ulong pc, int32_t lowfd); +PPP_CB_TYPEDEF(void, on_connect_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_connect_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_connectat_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_connectat_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t name, int32_t namelen); +PPP_CB_TYPEDEF(void, on_copy_file_range_enter, CPUState* cpu, target_ulong pc, int32_t infd, uint64_t inoffp, int32_t outfd, uint64_t outoffp, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_copy_file_range_return, CPUState* cpu, target_ulong pc, int32_t infd, uint64_t inoffp, int32_t outfd, uint64_t outoffp, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_cpuset_enter, CPUState* cpu, target_ulong pc, uint64_t setid); +PPP_CB_TYPEDEF(void, on_cpuset_return, CPUState* cpu, target_ulong pc, uint64_t setid); +PPP_CB_TYPEDEF(void, on_cpuset_getaffinity_enter, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); +PPP_CB_TYPEDEF(void, on_cpuset_getaffinity_return, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); +PPP_CB_TYPEDEF(void, on_cpuset_getdomain_enter, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, uint64_t policy); +PPP_CB_TYPEDEF(void, on_cpuset_getdomain_return, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, uint64_t policy); +PPP_CB_TYPEDEF(void, on_cpuset_getid_enter, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint64_t setid); +PPP_CB_TYPEDEF(void, on_cpuset_getid_return, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint64_t setid); +PPP_CB_TYPEDEF(void, on_cpuset_setaffinity_enter, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); +PPP_CB_TYPEDEF(void, on_cpuset_setaffinity_return, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t cpusetsize, uint64_t mask); +PPP_CB_TYPEDEF(void, on_cpuset_setdomain_enter, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, int32_t policy); +PPP_CB_TYPEDEF(void, on_cpuset_setdomain_return, CPUState* cpu, target_ulong pc, uint32_t level, uint32_t which, uint32_t id, uint32_t domainsetsize, uint64_t mask, int32_t policy); +PPP_CB_TYPEDEF(void, on_cpuset_setid_enter, CPUState* cpu, target_ulong pc, uint32_t which, uint32_t id, uint32_t setid); +PPP_CB_TYPEDEF(void, on_cpuset_setid_return, CPUState* cpu, target_ulong pc, uint32_t which, uint32_t id, uint32_t setid); +PPP_CB_TYPEDEF(void, on_creat_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode); +PPP_CB_TYPEDEF(void, on_creat_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode); +PPP_CB_TYPEDEF(void, on_dup_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_dup_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_dup2_enter, CPUState* cpu, target_ulong pc, uint32_t from, uint32_t to); +PPP_CB_TYPEDEF(void, on_dup2_return, CPUState* cpu, target_ulong pc, uint32_t from, uint32_t to); +PPP_CB_TYPEDEF(void, on_eaccess_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); +PPP_CB_TYPEDEF(void, on_eaccess_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t amode); +PPP_CB_TYPEDEF(void, on_execve_enter, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv); +PPP_CB_TYPEDEF(void, on_execve_return, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t argv, uint64_t envv); +PPP_CB_TYPEDEF(void, on_extattr_delete_fd_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattr_delete_fd_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattr_delete_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattr_delete_file_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattr_delete_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattr_delete_link_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattr_get_fd_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_get_fd_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_get_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_get_file_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_get_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_get_link_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_list_fd_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_list_fd_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_list_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_list_file_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_list_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_list_link_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_set_fd_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_set_fd_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_set_file_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_set_file_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_set_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattr_set_link_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t attrnamespace, uint64_t attrname, uint64_t _data, uint32_t nbytes); +PPP_CB_TYPEDEF(void, on_extattrctl_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, uint64_t filename, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_extattrctl_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, uint64_t filename, int32_t attrnamespace, uint64_t attrname); +PPP_CB_TYPEDEF(void, on_faccessat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t amode, int32_t flag); +PPP_CB_TYPEDEF(void, on_faccessat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t amode, int32_t flag); +PPP_CB_TYPEDEF(void, on_fchdir_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_fchdir_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_fchflags_enter, CPUState* cpu, target_ulong pc, int32_t fd, int64_t flags); +PPP_CB_TYPEDEF(void, on_fchflags_return, CPUState* cpu, target_ulong pc, int32_t fd, int64_t flags); +PPP_CB_TYPEDEF(void, on_fchmod_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_fchmod_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_fchmodat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, int32_t flag); +PPP_CB_TYPEDEF(void, on_fchmodat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, int32_t flag); +PPP_CB_TYPEDEF(void, on_fchown_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t uid, int32_t gid); +PPP_CB_TYPEDEF(void, on_fchown_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t uid, int32_t gid); +PPP_CB_TYPEDEF(void, on_fchownat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t uid, uint32_t gid, int32_t flag); +PPP_CB_TYPEDEF(void, on_fchownat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t uid, uint32_t gid, int32_t flag); +PPP_CB_TYPEDEF(void, on_fcntl_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t cmd, int64_t arg); +PPP_CB_TYPEDEF(void, on_fcntl_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t cmd, int64_t arg); +PPP_CB_TYPEDEF(void, on_fdatasync_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_fdatasync_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_fexecve_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t argv, uint64_t envv); +PPP_CB_TYPEDEF(void, on_fexecve_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t argv, uint64_t envv); +PPP_CB_TYPEDEF(void, on_ffclock_getcounter_enter, CPUState* cpu, target_ulong pc, uint64_t ffcount); +PPP_CB_TYPEDEF(void, on_ffclock_getcounter_return, CPUState* cpu, target_ulong pc, uint64_t ffcount); +PPP_CB_TYPEDEF(void, on_ffclock_getestimate_enter, CPUState* cpu, target_ulong pc, uint64_t cest); +PPP_CB_TYPEDEF(void, on_ffclock_getestimate_return, CPUState* cpu, target_ulong pc, uint64_t cest); +PPP_CB_TYPEDEF(void, on_ffclock_setestimate_enter, CPUState* cpu, target_ulong pc, uint64_t cest); +PPP_CB_TYPEDEF(void, on_ffclock_setestimate_return, CPUState* cpu, target_ulong pc, uint64_t cest); +PPP_CB_TYPEDEF(void, on_fhlink_enter, CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t to); +PPP_CB_TYPEDEF(void, on_fhlink_return, CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t to); +PPP_CB_TYPEDEF(void, on_fhlinkat_enter, CPUState* cpu, target_ulong pc, uint64_t fhp, int32_t tofd, uint64_t to); +PPP_CB_TYPEDEF(void, on_fhlinkat_return, CPUState* cpu, target_ulong pc, uint64_t fhp, int32_t tofd, uint64_t to); +PPP_CB_TYPEDEF(void, on_fhopen_enter, CPUState* cpu, target_ulong pc, uint64_t u_fhp, int32_t flags); +PPP_CB_TYPEDEF(void, on_fhopen_return, CPUState* cpu, target_ulong pc, uint64_t u_fhp, int32_t flags); +PPP_CB_TYPEDEF(void, on_fhreadlink_enter, CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t buf, uint32_t bufsize); +PPP_CB_TYPEDEF(void, on_fhreadlink_return, CPUState* cpu, target_ulong pc, uint64_t fhp, uint64_t buf, uint32_t bufsize); +PPP_CB_TYPEDEF(void, on_fhstat_enter, CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t sb); +PPP_CB_TYPEDEF(void, on_fhstat_return, CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t sb); +PPP_CB_TYPEDEF(void, on_fhstatfs_enter, CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t buf); +PPP_CB_TYPEDEF(void, on_fhstatfs_return, CPUState* cpu, target_ulong pc, uint64_t u_fhp, uint64_t buf); +PPP_CB_TYPEDEF(void, on_flock_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t how); +PPP_CB_TYPEDEF(void, on_flock_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t how); +PPP_CB_TYPEDEF(void, on_fork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_fork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_fpathconf_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t name); +PPP_CB_TYPEDEF(void, on_fpathconf_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t name); +PPP_CB_TYPEDEF(void, on_fstat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); +PPP_CB_TYPEDEF(void, on_fstat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); +PPP_CB_TYPEDEF(void, on_fstatat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, int32_t flag); +PPP_CB_TYPEDEF(void, on_fstatat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, int32_t flag); +PPP_CB_TYPEDEF(void, on_fstatfs_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_fstatfs_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_fsync_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_fsync_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_ftruncate_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_ftruncate_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_funlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, int32_t fd, int32_t flag); +PPP_CB_TYPEDEF(void, on_funlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, int32_t fd, int32_t flag); +PPP_CB_TYPEDEF(void, on_futimens_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t times); +PPP_CB_TYPEDEF(void, on_futimens_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t times); +PPP_CB_TYPEDEF(void, on_futimes_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t tptr); +PPP_CB_TYPEDEF(void, on_futimes_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t tptr); +PPP_CB_TYPEDEF(void, on_futimesat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times); +PPP_CB_TYPEDEF(void, on_futimesat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times); +PPP_CB_TYPEDEF(void, on_getaudit_enter, CPUState* cpu, target_ulong pc, uint64_t auditinfo); +PPP_CB_TYPEDEF(void, on_getaudit_return, CPUState* cpu, target_ulong pc, uint64_t auditinfo); +PPP_CB_TYPEDEF(void, on_getaudit_addr_enter, CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); +PPP_CB_TYPEDEF(void, on_getaudit_addr_return, CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); +PPP_CB_TYPEDEF(void, on_getauid_enter, CPUState* cpu, target_ulong pc, uint64_t auid); +PPP_CB_TYPEDEF(void, on_getauid_return, CPUState* cpu, target_ulong pc, uint64_t auid); +PPP_CB_TYPEDEF(void, on_getcontext_enter, CPUState* cpu, target_ulong pc, uint64_t ucp); +PPP_CB_TYPEDEF(void, on_getcontext_return, CPUState* cpu, target_ulong pc, uint64_t ucp); +PPP_CB_TYPEDEF(void, on_getdents_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_getdents_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_getdirentries_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count, uint64_t basep); +PPP_CB_TYPEDEF(void, on_getdirentries_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t count, uint64_t basep); +PPP_CB_TYPEDEF(void, on_getdomainname_enter, CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); +PPP_CB_TYPEDEF(void, on_getdomainname_return, CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); +PPP_CB_TYPEDEF(void, on_getdtablesize_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getdtablesize_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getegid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getegid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_geteuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_geteuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getfh_enter, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); +PPP_CB_TYPEDEF(void, on_getfh_return, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); +PPP_CB_TYPEDEF(void, on_getfhat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t fhp, int32_t flags); +PPP_CB_TYPEDEF(void, on_getfhat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t fhp, int32_t flags); +PPP_CB_TYPEDEF(void, on_getfsstat_enter, CPUState* cpu, target_ulong pc, uint64_t buf, int64_t bufsize, int32_t mode); +PPP_CB_TYPEDEF(void, on_getfsstat_return, CPUState* cpu, target_ulong pc, uint64_t buf, int64_t bufsize, int32_t mode); +PPP_CB_TYPEDEF(void, on_getgid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getgid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getgroups_enter, CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); +PPP_CB_TYPEDEF(void, on_getgroups_return, CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); +PPP_CB_TYPEDEF(void, on_gethostid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_gethostid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_gethostname_enter, CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); +PPP_CB_TYPEDEF(void, on_gethostname_return, CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); +PPP_CB_TYPEDEF(void, on_getitimer_enter, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv); +PPP_CB_TYPEDEF(void, on_getitimer_return, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv); +PPP_CB_TYPEDEF(void, on_getkerninfo_enter, CPUState* cpu, target_ulong pc, int32_t op, uint64_t where, uint64_t size, int32_t arg); +PPP_CB_TYPEDEF(void, on_getkerninfo_return, CPUState* cpu, target_ulong pc, int32_t op, uint64_t where, uint64_t size, int32_t arg); +PPP_CB_TYPEDEF(void, on_getlogin_enter, CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); +PPP_CB_TYPEDEF(void, on_getlogin_return, CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); +PPP_CB_TYPEDEF(void, on_getloginclass_enter, CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); +PPP_CB_TYPEDEF(void, on_getloginclass_return, CPUState* cpu, target_ulong pc, uint64_t namebuf, uint32_t namelen); +PPP_CB_TYPEDEF(void, on_getpagesize_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getpagesize_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getpeername_enter, CPUState* cpu, target_ulong pc, int32_t fdes, uint64_t asa, uint64_t alen); +PPP_CB_TYPEDEF(void, on_getpeername_return, CPUState* cpu, target_ulong pc, int32_t fdes, uint64_t asa, uint64_t alen); +PPP_CB_TYPEDEF(void, on_getpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_getpgid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_getpgrp_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getpgrp_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getpid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getpid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getppid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getppid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_getpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_getrandom_enter, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_getrandom_return, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t buflen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_getresgid_enter, CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); +PPP_CB_TYPEDEF(void, on_getresgid_return, CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); +PPP_CB_TYPEDEF(void, on_getresuid_enter, CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); +PPP_CB_TYPEDEF(void, on_getresuid_return, CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); +PPP_CB_TYPEDEF(void, on_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); +PPP_CB_TYPEDEF(void, on_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); +PPP_CB_TYPEDEF(void, on_getrusage_enter, CPUState* cpu, target_ulong pc, int32_t who, uint64_t rusage); +PPP_CB_TYPEDEF(void, on_getrusage_return, CPUState* cpu, target_ulong pc, int32_t who, uint64_t rusage); +PPP_CB_TYPEDEF(void, on_getsid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_getsid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_getsockname_enter, CPUState* cpu, target_ulong pc, int32_t fdec, uint64_t asa, uint64_t alen); +PPP_CB_TYPEDEF(void, on_getsockname_return, CPUState* cpu, target_ulong pc, int32_t fdec, uint64_t asa, uint64_t alen); +PPP_CB_TYPEDEF(void, on_getsockopt_enter, CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, uint64_t avalsize); +PPP_CB_TYPEDEF(void, on_getsockopt_return, CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, uint64_t avalsize); +PPP_CB_TYPEDEF(void, on_gettimeofday_enter, CPUState* cpu, target_ulong pc, uint64_t tp, uint64_t tzp); +PPP_CB_TYPEDEF(void, on_gettimeofday_return, CPUState* cpu, target_ulong pc, uint64_t tp, uint64_t tzp); +PPP_CB_TYPEDEF(void, on_getuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_getuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_gssd_syscall_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_gssd_syscall_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_ioctl_enter, CPUState* cpu, target_ulong pc, int32_t fd, int64_t com, uint64_t _data); +PPP_CB_TYPEDEF(void, on_ioctl_return, CPUState* cpu, target_ulong pc, int32_t fd, int64_t com, uint64_t _data); +PPP_CB_TYPEDEF(void, on_issetugid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_issetugid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_jail_enter, CPUState* cpu, target_ulong pc, uint64_t jail); +PPP_CB_TYPEDEF(void, on_jail_return, CPUState* cpu, target_ulong pc, uint64_t jail); +PPP_CB_TYPEDEF(void, on_jail_attach_enter, CPUState* cpu, target_ulong pc, int32_t jid); +PPP_CB_TYPEDEF(void, on_jail_attach_return, CPUState* cpu, target_ulong pc, int32_t jid); +PPP_CB_TYPEDEF(void, on_jail_get_enter, CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); +PPP_CB_TYPEDEF(void, on_jail_get_return, CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); +PPP_CB_TYPEDEF(void, on_jail_remove_enter, CPUState* cpu, target_ulong pc, int32_t jid); +PPP_CB_TYPEDEF(void, on_jail_remove_return, CPUState* cpu, target_ulong pc, int32_t jid); +PPP_CB_TYPEDEF(void, on_jail_set_enter, CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); +PPP_CB_TYPEDEF(void, on_jail_set_return, CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); +PPP_CB_TYPEDEF(void, on_kenv_enter, CPUState* cpu, target_ulong pc, int32_t what, uint64_t name, uint64_t value, int32_t len); +PPP_CB_TYPEDEF(void, on_kenv_return, CPUState* cpu, target_ulong pc, int32_t what, uint64_t name, uint64_t value, int32_t len); +PPP_CB_TYPEDEF(void, on_kevent_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t changelist, int32_t nchanges, uint64_t eventlist, int32_t nevents, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_kevent_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t changelist, int32_t nchanges, uint64_t eventlist, int32_t nevents, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_kill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum); +PPP_CB_TYPEDEF(void, on_kill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum); +PPP_CB_TYPEDEF(void, on_killpg_enter, CPUState* cpu, target_ulong pc, int32_t pgid, int32_t signum); +PPP_CB_TYPEDEF(void, on_killpg_return, CPUState* cpu, target_ulong pc, int32_t pgid, int32_t signum); +PPP_CB_TYPEDEF(void, on_kldfind_enter, CPUState* cpu, target_ulong pc, uint64_t file); +PPP_CB_TYPEDEF(void, on_kldfind_return, CPUState* cpu, target_ulong pc, uint64_t file); +PPP_CB_TYPEDEF(void, on_kldfirstmod_enter, CPUState* cpu, target_ulong pc, int32_t fileid); +PPP_CB_TYPEDEF(void, on_kldfirstmod_return, CPUState* cpu, target_ulong pc, int32_t fileid); +PPP_CB_TYPEDEF(void, on_kldload_enter, CPUState* cpu, target_ulong pc, uint64_t file); +PPP_CB_TYPEDEF(void, on_kldload_return, CPUState* cpu, target_ulong pc, uint64_t file); +PPP_CB_TYPEDEF(void, on_kldnext_enter, CPUState* cpu, target_ulong pc, int32_t fileid); +PPP_CB_TYPEDEF(void, on_kldnext_return, CPUState* cpu, target_ulong pc, int32_t fileid); +PPP_CB_TYPEDEF(void, on_kldstat_enter, CPUState* cpu, target_ulong pc, int32_t fileid, uint64_t stat); +PPP_CB_TYPEDEF(void, on_kldstat_return, CPUState* cpu, target_ulong pc, int32_t fileid, uint64_t stat); +PPP_CB_TYPEDEF(void, on_kldsym_enter, CPUState* cpu, target_ulong pc, int32_t fileid, int32_t cmd, uint64_t _data); +PPP_CB_TYPEDEF(void, on_kldsym_return, CPUState* cpu, target_ulong pc, int32_t fileid, int32_t cmd, uint64_t _data); +PPP_CB_TYPEDEF(void, on_kldunload_enter, CPUState* cpu, target_ulong pc, int32_t fileid); +PPP_CB_TYPEDEF(void, on_kldunload_return, CPUState* cpu, target_ulong pc, int32_t fileid); +PPP_CB_TYPEDEF(void, on_kldunloadf_enter, CPUState* cpu, target_ulong pc, int32_t fileid, int32_t flags); +PPP_CB_TYPEDEF(void, on_kldunloadf_return, CPUState* cpu, target_ulong pc, int32_t fileid, int32_t flags); +PPP_CB_TYPEDEF(void, on_kmq_notify_enter, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t sigev); +PPP_CB_TYPEDEF(void, on_kmq_notify_return, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t sigev); +PPP_CB_TYPEDEF(void, on_kmq_open_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, uint64_t attr); +PPP_CB_TYPEDEF(void, on_kmq_open_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, uint64_t attr); +PPP_CB_TYPEDEF(void, on_kmq_setattr_enter, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t attr, uint64_t oattr); +PPP_CB_TYPEDEF(void, on_kmq_setattr_return, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t attr, uint64_t oattr); +PPP_CB_TYPEDEF(void, on_kmq_timedreceive_enter, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_kmq_timedreceive_return, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_kmq_timedsend_enter, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_kmq_timedsend_return, CPUState* cpu, target_ulong pc, int32_t mqd, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_kmq_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_kmq_unlink_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_kqueue_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_kqueue_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_ksem_close_enter, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_close_return, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_destroy_enter, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_destroy_return, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_getvalue_enter, CPUState* cpu, target_ulong pc, uint32_t id, uint64_t val); +PPP_CB_TYPEDEF(void, on_ksem_getvalue_return, CPUState* cpu, target_ulong pc, uint32_t id, uint64_t val); +PPP_CB_TYPEDEF(void, on_ksem_init_enter, CPUState* cpu, target_ulong pc, uint64_t idp, uint32_t value); +PPP_CB_TYPEDEF(void, on_ksem_init_return, CPUState* cpu, target_ulong pc, uint64_t idp, uint32_t value); +PPP_CB_TYPEDEF(void, on_ksem_open_enter, CPUState* cpu, target_ulong pc, uint64_t idp, uint64_t name, int32_t oflag, uint32_t mode, uint32_t value); +PPP_CB_TYPEDEF(void, on_ksem_open_return, CPUState* cpu, target_ulong pc, uint64_t idp, uint64_t name, int32_t oflag, uint32_t mode, uint32_t value); +PPP_CB_TYPEDEF(void, on_ksem_post_enter, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_post_return, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_timedwait_enter, CPUState* cpu, target_ulong pc, uint32_t id, uint64_t abstime); +PPP_CB_TYPEDEF(void, on_ksem_timedwait_return, CPUState* cpu, target_ulong pc, uint32_t id, uint64_t abstime); +PPP_CB_TYPEDEF(void, on_ksem_trywait_enter, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_trywait_return, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_ksem_unlink_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_ksem_wait_enter, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ksem_wait_return, CPUState* cpu, target_ulong pc, uint32_t id); +PPP_CB_TYPEDEF(void, on_ktimer_create_enter, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t evp, uint64_t timerid); +PPP_CB_TYPEDEF(void, on_ktimer_create_return, CPUState* cpu, target_ulong pc, uint32_t clock_id, uint64_t evp, uint64_t timerid); +PPP_CB_TYPEDEF(void, on_ktimer_delete_enter, CPUState* cpu, target_ulong pc, int32_t timerid); +PPP_CB_TYPEDEF(void, on_ktimer_delete_return, CPUState* cpu, target_ulong pc, int32_t timerid); +PPP_CB_TYPEDEF(void, on_ktimer_getoverrun_enter, CPUState* cpu, target_ulong pc, int32_t timerid); +PPP_CB_TYPEDEF(void, on_ktimer_getoverrun_return, CPUState* cpu, target_ulong pc, int32_t timerid); +PPP_CB_TYPEDEF(void, on_ktimer_gettime_enter, CPUState* cpu, target_ulong pc, int32_t timerid, uint64_t value); +PPP_CB_TYPEDEF(void, on_ktimer_gettime_return, CPUState* cpu, target_ulong pc, int32_t timerid, uint64_t value); +PPP_CB_TYPEDEF(void, on_ktimer_settime_enter, CPUState* cpu, target_ulong pc, int32_t timerid, int32_t flags, uint64_t value, uint64_t ovalue); +PPP_CB_TYPEDEF(void, on_ktimer_settime_return, CPUState* cpu, target_ulong pc, int32_t timerid, int32_t flags, uint64_t value, uint64_t ovalue); +PPP_CB_TYPEDEF(void, on_ktrace_enter, CPUState* cpu, target_ulong pc, uint64_t fname, int32_t ops, int32_t facs, int32_t pid); +PPP_CB_TYPEDEF(void, on_ktrace_return, CPUState* cpu, target_ulong pc, uint64_t fname, int32_t ops, int32_t facs, int32_t pid); +PPP_CB_TYPEDEF(void, on_lchflags_enter, CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); +PPP_CB_TYPEDEF(void, on_lchflags_return, CPUState* cpu, target_ulong pc, uint64_t path, int64_t flags); +PPP_CB_TYPEDEF(void, on_lchmod_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_lchmod_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_lchown_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); +PPP_CB_TYPEDEF(void, on_lchown_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t uid, int32_t gid); +PPP_CB_TYPEDEF(void, on_lgetfh_enter, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); +PPP_CB_TYPEDEF(void, on_lgetfh_return, CPUState* cpu, target_ulong pc, uint64_t fname, uint64_t fhp); +PPP_CB_TYPEDEF(void, on_link_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); +PPP_CB_TYPEDEF(void, on_link_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); +PPP_CB_TYPEDEF(void, on_linkat_enter, CPUState* cpu, target_ulong pc, int32_t fd1, uint64_t path1, int32_t fd2, uint64_t path2, int32_t flag); +PPP_CB_TYPEDEF(void, on_linkat_return, CPUState* cpu, target_ulong pc, int32_t fd1, uint64_t path1, int32_t fd2, uint64_t path2, int32_t flag); +PPP_CB_TYPEDEF(void, on_lio_listio_enter, CPUState* cpu, target_ulong pc, int32_t mode, uint64_t acb_list, int32_t nent, uint64_t sig); +PPP_CB_TYPEDEF(void, on_lio_listio_return, CPUState* cpu, target_ulong pc, int32_t mode, uint64_t acb_list, int32_t nent, uint64_t sig); +PPP_CB_TYPEDEF(void, on_listen_enter, CPUState* cpu, target_ulong pc, int32_t s, int32_t backlog); +PPP_CB_TYPEDEF(void, on_listen_return, CPUState* cpu, target_ulong pc, int32_t s, int32_t backlog); +PPP_CB_TYPEDEF(void, on_lpathconf_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); +PPP_CB_TYPEDEF(void, on_lpathconf_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); +PPP_CB_TYPEDEF(void, on_lseek_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, int32_t whence); +PPP_CB_TYPEDEF(void, on_lseek_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, int32_t whence); +PPP_CB_TYPEDEF(void, on_lstat_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_lstat_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_lutimes_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); +PPP_CB_TYPEDEF(void, on_lutimes_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); +PPP_CB_TYPEDEF(void, on_mac_syscall_enter, CPUState* cpu, target_ulong pc, uint64_t policy, int32_t call, uint64_t arg); +PPP_CB_TYPEDEF(void, on_mac_syscall_return, CPUState* cpu, target_ulong pc, uint64_t policy, int32_t call, uint64_t arg); +PPP_CB_TYPEDEF(void, on_madvise_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t behav); +PPP_CB_TYPEDEF(void, on_madvise_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t behav); +PPP_CB_TYPEDEF(void, on_mincore_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, uint64_t vec); +PPP_CB_TYPEDEF(void, on_mincore_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, uint64_t vec); +PPP_CB_TYPEDEF(void, on_minherit_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t inherit); +PPP_CB_TYPEDEF(void, on_minherit_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t inherit); +PPP_CB_TYPEDEF(void, on_mkdir_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkdir_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkdirat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkdirat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkfifo_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkfifo_return, CPUState* cpu, target_ulong pc, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkfifoat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mkfifoat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode); +PPP_CB_TYPEDEF(void, on_mknod_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode, int32_t dev); +PPP_CB_TYPEDEF(void, on_mknod_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t mode, int32_t dev); +PPP_CB_TYPEDEF(void, on_mknodat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_mknodat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_mlock_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_mlock_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_mlockall_enter, CPUState* cpu, target_ulong pc, int32_t how); +PPP_CB_TYPEDEF(void, on_mlockall_return, CPUState* cpu, target_ulong pc, int32_t how); +PPP_CB_TYPEDEF(void, on_modfind_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_modfind_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_modfnext_enter, CPUState* cpu, target_ulong pc, int32_t modid); +PPP_CB_TYPEDEF(void, on_modfnext_return, CPUState* cpu, target_ulong pc, int32_t modid); +PPP_CB_TYPEDEF(void, on_modnext_enter, CPUState* cpu, target_ulong pc, int32_t modid); +PPP_CB_TYPEDEF(void, on_modnext_return, CPUState* cpu, target_ulong pc, int32_t modid); +PPP_CB_TYPEDEF(void, on_modstat_enter, CPUState* cpu, target_ulong pc, int32_t modid, uint64_t stat); +PPP_CB_TYPEDEF(void, on_modstat_return, CPUState* cpu, target_ulong pc, int32_t modid, uint64_t stat); +PPP_CB_TYPEDEF(void, on_mount_enter, CPUState* cpu, target_ulong pc, uint64_t type, uint64_t path, int32_t flags, uint64_t _data); +PPP_CB_TYPEDEF(void, on_mount_return, CPUState* cpu, target_ulong pc, uint64_t type, uint64_t path, int32_t flags, uint64_t _data); +PPP_CB_TYPEDEF(void, on_mprotect_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t prot); +PPP_CB_TYPEDEF(void, on_mprotect_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t prot); +PPP_CB_TYPEDEF(void, on_msgctl_enter, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_msgctl_return, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_msgget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_msgget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_msgrcv_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_msgrcv_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_msgsnd_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_msgsnd_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_msync_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_msync_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_munlock_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_munlock_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_munmap_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_munmap_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_nanosleep_enter, CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_nanosleep_return, CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_nfssvc_enter, CPUState* cpu, target_ulong pc, int32_t flag, uint64_t argp); +PPP_CB_TYPEDEF(void, on_nfssvc_return, CPUState* cpu, target_ulong pc, int32_t flag, uint64_t argp); +PPP_CB_TYPEDEF(void, on_nfstat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); +PPP_CB_TYPEDEF(void, on_nfstat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t sb); +PPP_CB_TYPEDEF(void, on_nlm_syscall_enter, CPUState* cpu, target_ulong pc, int32_t debug_level, int32_t grace_period, int32_t addr_count, uint64_t addrs); +PPP_CB_TYPEDEF(void, on_nlm_syscall_return, CPUState* cpu, target_ulong pc, int32_t debug_level, int32_t grace_period, int32_t addr_count, uint64_t addrs); +PPP_CB_TYPEDEF(void, on_nlstat_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_nlstat_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_nmount_enter, CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); +PPP_CB_TYPEDEF(void, on_nmount_return, CPUState* cpu, target_ulong pc, uint64_t iovp, uint32_t iovcnt, int32_t flags); +PPP_CB_TYPEDEF(void, on_nnpfs_syscall_enter, CPUState* cpu, target_ulong pc, int32_t operation, uint64_t a_pathP, int32_t a_opcode, uint64_t a_paramsP, int32_t a_followSymlinks); +PPP_CB_TYPEDEF(void, on_nnpfs_syscall_return, CPUState* cpu, target_ulong pc, int32_t operation, uint64_t a_pathP, int32_t a_opcode, uint64_t a_paramsP, int32_t a_followSymlinks); +PPP_CB_TYPEDEF(void, on_nosys_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_nosys_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_nstat_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_nstat_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_ntp_adjtime_enter, CPUState* cpu, target_ulong pc, uint64_t tp); +PPP_CB_TYPEDEF(void, on_ntp_adjtime_return, CPUState* cpu, target_ulong pc, uint64_t tp); +PPP_CB_TYPEDEF(void, on_ntp_gettime_enter, CPUState* cpu, target_ulong pc, uint64_t ntvp); +PPP_CB_TYPEDEF(void, on_ntp_gettime_return, CPUState* cpu, target_ulong pc, uint64_t ntvp); +PPP_CB_TYPEDEF(void, on_open_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_open_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_openat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag, uint32_t mode); +PPP_CB_TYPEDEF(void, on_openat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag, uint32_t mode); +PPP_CB_TYPEDEF(void, on_pathconf_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); +PPP_CB_TYPEDEF(void, on_pathconf_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t name); +PPP_CB_TYPEDEF(void, on_pdfork_enter, CPUState* cpu, target_ulong pc, uint64_t fdp, int32_t flags); +PPP_CB_TYPEDEF(void, on_pdfork_return, CPUState* cpu, target_ulong pc, uint64_t fdp, int32_t flags); +PPP_CB_TYPEDEF(void, on_pdgetpid_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t pidp); +PPP_CB_TYPEDEF(void, on_pdgetpid_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t pidp); +PPP_CB_TYPEDEF(void, on_pdkill_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t signum); +PPP_CB_TYPEDEF(void, on_pdkill_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t signum); +PPP_CB_TYPEDEF(void, on_pipe_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_pipe_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_pipe2_enter, CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_pipe2_return, CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_poll_enter, CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_poll_return, CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_posix_fadvise_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_posix_fadvise_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_posix_fallocate_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_posix_fallocate_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_posix_openpt_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_posix_openpt_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_ppoll_enter, CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, uint64_t ts, uint64_t set); +PPP_CB_TYPEDEF(void, on_ppoll_return, CPUState* cpu, target_ulong pc, uint64_t fds, uint32_t nfds, uint64_t ts, uint64_t set); +PPP_CB_TYPEDEF(void, on_pread_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); +PPP_CB_TYPEDEF(void, on_pread_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); +PPP_CB_TYPEDEF(void, on_preadv_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); +PPP_CB_TYPEDEF(void, on_preadv_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); +PPP_CB_TYPEDEF(void, on_procctl_enter, CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, int32_t com, uint64_t _data); +PPP_CB_TYPEDEF(void, on_procctl_return, CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, int32_t com, uint64_t _data); +PPP_CB_TYPEDEF(void, on_profil_enter, CPUState* cpu, target_ulong pc, uint64_t samples, uint32_t size, uint32_t offset, uint32_t scale); +PPP_CB_TYPEDEF(void, on_profil_return, CPUState* cpu, target_ulong pc, uint64_t samples, uint32_t size, uint32_t offset, uint32_t scale); +PPP_CB_TYPEDEF(void, on_pselect_enter, CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t ts, uint64_t sm); +PPP_CB_TYPEDEF(void, on_pselect_return, CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t ts, uint64_t sm); +PPP_CB_TYPEDEF(void, on_ptrace_enter, CPUState* cpu, target_ulong pc, int32_t req, int32_t pid, uint32_t addr, int32_t _data); +PPP_CB_TYPEDEF(void, on_ptrace_return, CPUState* cpu, target_ulong pc, int32_t req, int32_t pid, uint32_t addr, int32_t _data); +PPP_CB_TYPEDEF(void, on_pwrite_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); +PPP_CB_TYPEDEF(void, on_pwrite_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte, uint64_t offset); +PPP_CB_TYPEDEF(void, on_pwritev_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); +PPP_CB_TYPEDEF(void, on_pwritev_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt, uint64_t offset); +PPP_CB_TYPEDEF(void, on_quota_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_quota_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_quotactl_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, int32_t uid, uint64_t arg); +PPP_CB_TYPEDEF(void, on_quotactl_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t cmd, int32_t uid, uint64_t arg); +PPP_CB_TYPEDEF(void, on_rctl_add_rule_enter, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_add_rule_return, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_get_limits_enter, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_get_limits_return, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_get_racct_enter, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_get_racct_return, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_get_rules_enter, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_get_rules_return, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_remove_rule_enter, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_rctl_remove_rule_return, CPUState* cpu, target_ulong pc, uint64_t inbufp, uint32_t inbuflen, uint64_t outbufp, uint32_t outbuflen); +PPP_CB_TYPEDEF(void, on_read_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); +PPP_CB_TYPEDEF(void, on_read_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); +PPP_CB_TYPEDEF(void, on_readlink_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_readlink_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_readlinkat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t bufsize); +PPP_CB_TYPEDEF(void, on_readlinkat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t buf, uint32_t bufsize); +PPP_CB_TYPEDEF(void, on_readv_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); +PPP_CB_TYPEDEF(void, on_readv_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); +PPP_CB_TYPEDEF(void, on_reboot_enter, CPUState* cpu, target_ulong pc, int32_t opt); +PPP_CB_TYPEDEF(void, on_reboot_return, CPUState* cpu, target_ulong pc, int32_t opt); +PPP_CB_TYPEDEF(void, on_recv_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_recv_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_recvfrom_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t from, uint64_t fromlenaddr); +PPP_CB_TYPEDEF(void, on_recvfrom_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t from, uint64_t fromlenaddr); +PPP_CB_TYPEDEF(void, on_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); +PPP_CB_TYPEDEF(void, on_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); +PPP_CB_TYPEDEF(void, on_rename_enter, CPUState* cpu, target_ulong pc, uint64_t from, uint64_t to); +PPP_CB_TYPEDEF(void, on_rename_return, CPUState* cpu, target_ulong pc, uint64_t from, uint64_t to); +PPP_CB_TYPEDEF(void, on_renameat_enter, CPUState* cpu, target_ulong pc, int32_t oldfd, uint64_t old, int32_t newfd, uint64_t _new); +PPP_CB_TYPEDEF(void, on_renameat_return, CPUState* cpu, target_ulong pc, int32_t oldfd, uint64_t old, int32_t newfd, uint64_t _new); +PPP_CB_TYPEDEF(void, on_revoke_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_revoke_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_rfork_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_rfork_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_rmdir_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_rmdir_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_rpctls_syscall_enter, CPUState* cpu, target_ulong pc, int32_t op, uint64_t path); +PPP_CB_TYPEDEF(void, on_rpctls_syscall_return, CPUState* cpu, target_ulong pc, int32_t op, uint64_t path); +PPP_CB_TYPEDEF(void, on_rtprio_enter, CPUState* cpu, target_ulong pc, int32_t function, int32_t pid, uint64_t rtp); +PPP_CB_TYPEDEF(void, on_rtprio_return, CPUState* cpu, target_ulong pc, int32_t function, int32_t pid, uint64_t rtp); +PPP_CB_TYPEDEF(void, on_rtprio_thread_enter, CPUState* cpu, target_ulong pc, int32_t function, int32_t lwpid, uint64_t rtp); +PPP_CB_TYPEDEF(void, on_rtprio_thread_return, CPUState* cpu, target_ulong pc, int32_t function, int32_t lwpid, uint64_t rtp); +PPP_CB_TYPEDEF(void, on_sbrk_enter, CPUState* cpu, target_ulong pc, int32_t incr); +PPP_CB_TYPEDEF(void, on_sbrk_return, CPUState* cpu, target_ulong pc, int32_t incr); +PPP_CB_TYPEDEF(void, on_sched_get_priority_max_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sched_get_priority_max_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sched_get_priority_min_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sched_get_priority_min_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sched_getparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sched_getparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sched_getscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sched_getscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sched_rr_get_interval_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); +PPP_CB_TYPEDEF(void, on_sched_rr_get_interval_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); +PPP_CB_TYPEDEF(void, on_sched_setparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sched_setparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sched_setscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); +PPP_CB_TYPEDEF(void, on_sched_setscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); +PPP_CB_TYPEDEF(void, on_sched_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sched_yield_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sctp_generic_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t from, uint64_t fromlenaddr, uint64_t sinfo, uint64_t msg_flags); +PPP_CB_TYPEDEF(void, on_sctp_generic_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t from, uint64_t fromlenaddr, uint64_t sinfo, uint64_t msg_flags); +PPP_CB_TYPEDEF(void, on_sctp_generic_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t sd, uint64_t msg, int32_t mlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); +PPP_CB_TYPEDEF(void, on_sctp_generic_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t sd, uint64_t msg, int32_t mlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); +PPP_CB_TYPEDEF(void, on_sctp_generic_sendmsg_iov_enter, CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); +PPP_CB_TYPEDEF(void, on_sctp_generic_sendmsg_iov_return, CPUState* cpu, target_ulong pc, int32_t sd, uint64_t iov, int32_t iovlen, uint64_t to, uint32_t tolen, uint64_t sinfo, int32_t flags); +PPP_CB_TYPEDEF(void, on_sctp_peeloff_enter, CPUState* cpu, target_ulong pc, int32_t sd, int32_t name); +PPP_CB_TYPEDEF(void, on_sctp_peeloff_return, CPUState* cpu, target_ulong pc, int32_t sd, int32_t name); +PPP_CB_TYPEDEF(void, on_select_enter, CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t tv); +PPP_CB_TYPEDEF(void, on_select_return, CPUState* cpu, target_ulong pc, int32_t nd, uint64_t in, uint64_t ou, uint64_t ex, uint64_t tv); +PPP_CB_TYPEDEF(void, on_semget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_semget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_semop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_semop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_semsys_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t a2, int32_t a3, int32_t a4, int32_t a5); +PPP_CB_TYPEDEF(void, on_semsys_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t a2, int32_t a3, int32_t a4, int32_t a5); +PPP_CB_TYPEDEF(void, on_send_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_send_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, int32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sendfile_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t offset, uint32_t nbytes, uint64_t hdtr, uint64_t sbytes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sendfile_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t s, uint64_t offset, uint32_t nbytes, uint64_t hdtr, uint64_t sbytes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); +PPP_CB_TYPEDEF(void, on_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t msg, int32_t flags); +PPP_CB_TYPEDEF(void, on_sendto_enter, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t to, int32_t tolen); +PPP_CB_TYPEDEF(void, on_sendto_return, CPUState* cpu, target_ulong pc, int32_t s, uint64_t buf, uint32_t len, int32_t flags, uint64_t to, int32_t tolen); +PPP_CB_TYPEDEF(void, on_setaudit_enter, CPUState* cpu, target_ulong pc, uint64_t auditinfo); +PPP_CB_TYPEDEF(void, on_setaudit_return, CPUState* cpu, target_ulong pc, uint64_t auditinfo); +PPP_CB_TYPEDEF(void, on_setaudit_addr_enter, CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); +PPP_CB_TYPEDEF(void, on_setaudit_addr_return, CPUState* cpu, target_ulong pc, uint64_t auditinfo_addr, uint32_t length); +PPP_CB_TYPEDEF(void, on_setauid_enter, CPUState* cpu, target_ulong pc, uint64_t auid); +PPP_CB_TYPEDEF(void, on_setauid_return, CPUState* cpu, target_ulong pc, uint64_t auid); +PPP_CB_TYPEDEF(void, on_setcontext_enter, CPUState* cpu, target_ulong pc, uint64_t ucp); +PPP_CB_TYPEDEF(void, on_setcontext_return, CPUState* cpu, target_ulong pc, uint64_t ucp); +PPP_CB_TYPEDEF(void, on_setdomainname_enter, CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); +PPP_CB_TYPEDEF(void, on_setdomainname_return, CPUState* cpu, target_ulong pc, uint64_t domainname, int32_t len); +PPP_CB_TYPEDEF(void, on_setegid_enter, CPUState* cpu, target_ulong pc, uint32_t egid); +PPP_CB_TYPEDEF(void, on_setegid_return, CPUState* cpu, target_ulong pc, uint32_t egid); +PPP_CB_TYPEDEF(void, on_seteuid_enter, CPUState* cpu, target_ulong pc, uint32_t euid); +PPP_CB_TYPEDEF(void, on_seteuid_return, CPUState* cpu, target_ulong pc, uint32_t euid); +PPP_CB_TYPEDEF(void, on_setfib_enter, CPUState* cpu, target_ulong pc, int32_t fibnum); +PPP_CB_TYPEDEF(void, on_setfib_return, CPUState* cpu, target_ulong pc, int32_t fibnum); +PPP_CB_TYPEDEF(void, on_setgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_setgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_setgroups_enter, CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); +PPP_CB_TYPEDEF(void, on_setgroups_return, CPUState* cpu, target_ulong pc, uint32_t gidsetsize, uint64_t gidset); +PPP_CB_TYPEDEF(void, on_sethostid_enter, CPUState* cpu, target_ulong pc, int64_t hostid); +PPP_CB_TYPEDEF(void, on_sethostid_return, CPUState* cpu, target_ulong pc, int64_t hostid); +PPP_CB_TYPEDEF(void, on_sethostname_enter, CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); +PPP_CB_TYPEDEF(void, on_sethostname_return, CPUState* cpu, target_ulong pc, uint64_t hostname, uint32_t len); +PPP_CB_TYPEDEF(void, on_setitimer_enter, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv, uint64_t oitv); +PPP_CB_TYPEDEF(void, on_setitimer_return, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t itv, uint64_t oitv); +PPP_CB_TYPEDEF(void, on_setlogin_enter, CPUState* cpu, target_ulong pc, uint64_t namebuf); +PPP_CB_TYPEDEF(void, on_setlogin_return, CPUState* cpu, target_ulong pc, uint64_t namebuf); +PPP_CB_TYPEDEF(void, on_setloginclass_enter, CPUState* cpu, target_ulong pc, uint64_t namebuf); +PPP_CB_TYPEDEF(void, on_setloginclass_return, CPUState* cpu, target_ulong pc, uint64_t namebuf); +PPP_CB_TYPEDEF(void, on_setpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_setpgid_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_setpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t prio); +PPP_CB_TYPEDEF(void, on_setpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t prio); +PPP_CB_TYPEDEF(void, on_setregid_enter, CPUState* cpu, target_ulong pc, int32_t rgid, int32_t egid); +PPP_CB_TYPEDEF(void, on_setregid_return, CPUState* cpu, target_ulong pc, int32_t rgid, int32_t egid); +PPP_CB_TYPEDEF(void, on_setresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_setresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_setresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_setresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_setreuid_enter, CPUState* cpu, target_ulong pc, int32_t ruid, int32_t euid); +PPP_CB_TYPEDEF(void, on_setreuid_return, CPUState* cpu, target_ulong pc, int32_t ruid, int32_t euid); +PPP_CB_TYPEDEF(void, on_setrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); +PPP_CB_TYPEDEF(void, on_setrlimit_return, CPUState* cpu, target_ulong pc, uint32_t which, uint64_t rlp); +PPP_CB_TYPEDEF(void, on_setsid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_setsid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_setsockopt_enter, CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, int32_t valsize); +PPP_CB_TYPEDEF(void, on_setsockopt_return, CPUState* cpu, target_ulong pc, int32_t s, int32_t level, int32_t name, uint64_t val, int32_t valsize); +PPP_CB_TYPEDEF(void, on_settimeofday_enter, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tzp); +PPP_CB_TYPEDEF(void, on_settimeofday_return, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tzp); +PPP_CB_TYPEDEF(void, on_setuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_setuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_shm_open_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_shm_open_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_shm_open2_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, int32_t shmflags, uint64_t name); +PPP_CB_TYPEDEF(void, on_shm_open2_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags, uint32_t mode, int32_t shmflags, uint64_t name); +PPP_CB_TYPEDEF(void, on_shm_rename_enter, CPUState* cpu, target_ulong pc, uint64_t path_from, uint64_t path_to, int32_t flags); +PPP_CB_TYPEDEF(void, on_shm_rename_return, CPUState* cpu, target_ulong pc, uint64_t path_from, uint64_t path_to, int32_t flags); +PPP_CB_TYPEDEF(void, on_shm_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_shm_unlink_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_shmctl_enter, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_shmctl_return, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_shmdt_enter, CPUState* cpu, target_ulong pc, uint64_t shmaddr); +PPP_CB_TYPEDEF(void, on_shmdt_return, CPUState* cpu, target_ulong pc, uint64_t shmaddr); +PPP_CB_TYPEDEF(void, on_shmget_enter, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_shmget_return, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_shutdown_enter, CPUState* cpu, target_ulong pc, int32_t s, int32_t how); +PPP_CB_TYPEDEF(void, on_shutdown_return, CPUState* cpu, target_ulong pc, int32_t s, int32_t how); +PPP_CB_TYPEDEF(void, on_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t sig, uint64_t act, uint64_t oact); +PPP_CB_TYPEDEF(void, on_sigaction_return, CPUState* cpu, target_ulong pc, int32_t sig, uint64_t act, uint64_t oact); +PPP_CB_TYPEDEF(void, on_sigaltstack_enter, CPUState* cpu, target_ulong pc, uint64_t ss, uint64_t oss); +PPP_CB_TYPEDEF(void, on_sigaltstack_return, CPUState* cpu, target_ulong pc, uint64_t ss, uint64_t oss); +PPP_CB_TYPEDEF(void, on_sigblock_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sigblock_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sigfastblock_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t ptr); +PPP_CB_TYPEDEF(void, on_sigfastblock_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t ptr); +PPP_CB_TYPEDEF(void, on_sigpending_enter, CPUState* cpu, target_ulong pc, uint64_t set); +PPP_CB_TYPEDEF(void, on_sigpending_return, CPUState* cpu, target_ulong pc, uint64_t set); +PPP_CB_TYPEDEF(void, on_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset); +PPP_CB_TYPEDEF(void, on_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset); +PPP_CB_TYPEDEF(void, on_sigqueue_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum, uint64_t value); +PPP_CB_TYPEDEF(void, on_sigqueue_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t signum, uint64_t value); +PPP_CB_TYPEDEF(void, on_sigreturn_enter, CPUState* cpu, target_ulong pc, uint64_t sigcntxp); +PPP_CB_TYPEDEF(void, on_sigreturn_return, CPUState* cpu, target_ulong pc, uint64_t sigcntxp); +PPP_CB_TYPEDEF(void, on_sigsetmask_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sigsetmask_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sigstack_enter, CPUState* cpu, target_ulong pc, uint64_t nss, uint64_t oss); +PPP_CB_TYPEDEF(void, on_sigstack_return, CPUState* cpu, target_ulong pc, uint64_t nss, uint64_t oss); +PPP_CB_TYPEDEF(void, on_sigsuspend_enter, CPUState* cpu, target_ulong pc, uint64_t sigmask); +PPP_CB_TYPEDEF(void, on_sigsuspend_return, CPUState* cpu, target_ulong pc, uint64_t sigmask); +PPP_CB_TYPEDEF(void, on_sigtimedwait_enter, CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sigtimedwait_return, CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sigvec_enter, CPUState* cpu, target_ulong pc, int32_t signum, uint64_t nsv, uint64_t osv); +PPP_CB_TYPEDEF(void, on_sigvec_return, CPUState* cpu, target_ulong pc, int32_t signum, uint64_t nsv, uint64_t osv); +PPP_CB_TYPEDEF(void, on_sigwait_enter, CPUState* cpu, target_ulong pc, uint64_t set, uint64_t sig); +PPP_CB_TYPEDEF(void, on_sigwait_return, CPUState* cpu, target_ulong pc, uint64_t set, uint64_t sig); +PPP_CB_TYPEDEF(void, on_sigwaitinfo_enter, CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info); +PPP_CB_TYPEDEF(void, on_sigwaitinfo_return, CPUState* cpu, target_ulong pc, uint64_t set, uint64_t info); +PPP_CB_TYPEDEF(void, on_socket_enter, CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol); +PPP_CB_TYPEDEF(void, on_socket_return, CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol); +PPP_CB_TYPEDEF(void, on_socketpair_enter, CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol, uint64_t rsv); +PPP_CB_TYPEDEF(void, on_socketpair_return, CPUState* cpu, target_ulong pc, int32_t domain, int32_t type, int32_t protocol, uint64_t rsv); +PPP_CB_TYPEDEF(void, on_sstk_enter, CPUState* cpu, target_ulong pc, int32_t incr); +PPP_CB_TYPEDEF(void, on_sstk_return, CPUState* cpu, target_ulong pc, int32_t incr); +PPP_CB_TYPEDEF(void, on_stat_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_stat_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t ub); +PPP_CB_TYPEDEF(void, on_statfs_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); +PPP_CB_TYPEDEF(void, on_statfs_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); +PPP_CB_TYPEDEF(void, on_swapcontext_enter, CPUState* cpu, target_ulong pc, uint64_t oucp, uint64_t ucp); +PPP_CB_TYPEDEF(void, on_swapcontext_return, CPUState* cpu, target_ulong pc, uint64_t oucp, uint64_t ucp); +PPP_CB_TYPEDEF(void, on_swapoff_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_swapoff_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_swapon_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_swapon_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_symlink_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); +PPP_CB_TYPEDEF(void, on_symlink_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t link); +PPP_CB_TYPEDEF(void, on_symlinkat_enter, CPUState* cpu, target_ulong pc, uint64_t path1, int32_t fd, uint64_t path2); +PPP_CB_TYPEDEF(void, on_symlinkat_return, CPUState* cpu, target_ulong pc, uint64_t path1, int32_t fd, uint64_t path2); +PPP_CB_TYPEDEF(void, on_sync_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sync_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_accept_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_accept4_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_accept4_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_access_enter, CPUState* cpu, target_ulong pc, uint64_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_access_return, CPUState* cpu, target_ulong pc, uint64_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_acct_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_acct_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_add_key_enter, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_add_key_return, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_enter, CPUState* cpu, target_ulong pc, uint64_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_return, CPUState* cpu, target_ulong pc, uint64_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_alarm_enter, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_alarm_return, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_arch_prctl_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1); +PPP_CB_TYPEDEF(void, on_sys_arch_prctl_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1); +PPP_CB_TYPEDEF(void, on_sys_bind_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bind_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bpf_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_bpf_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_brk_enter, CPUState* cpu, target_ulong pc, uint64_t brk); +PPP_CB_TYPEDEF(void, on_sys_brk_return, CPUState* cpu, target_ulong pc, uint64_t brk); +PPP_CB_TYPEDEF(void, on_sys_capget_enter, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capget_return, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capset_enter, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_capset_return, CPUState* cpu, target_ulong pc, uint64_t header, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_chdir_enter, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_chdir_return, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_chmod_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chmod_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chown_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chroot_enter, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_chroot_return, CPUState* cpu, target_ulong pc, uint64_t filename); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t tp); +PPP_CB_TYPEDEF(void, on_sys_clone_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); +PPP_CB_TYPEDEF(void, on_sys_clone_return, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); +PPP_CB_TYPEDEF(void, on_sys_close_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_close_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_connect_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_connect_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_creat_enter, CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_creat_return, CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_delete_module_enter, CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_delete_module_return, CPUState* cpu, target_ulong pc, uint64_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup2_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup2_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup3_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup3_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_enter, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_return, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_enter, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_return, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint64_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout, uint64_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint64_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_eventfd_enter, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd_return, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_enter, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_return, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execve_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); +PPP_CB_TYPEDEF(void, on_sys_execve_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t argv, uint64_t envp); +PPP_CB_TYPEDEF(void, on_sys_execveat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execveat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t argv, uint64_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_exit_enter, CPUState* cpu, target_ulong pc, int32_t rval); +PPP_CB_TYPEDEF(void, on_sys_exit_return, CPUState* cpu, target_ulong pc, int32_t rval); +PPP_CB_TYPEDEF(void, on_sys_exit_group_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_faccessat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fallocate_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fallocate_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_enter, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_return, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fchdir_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchdir_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchmod_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmod_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchown_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchownat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fchownat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fcntl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_finit_module_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_finit_module_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flock_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_flock_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_fork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_fsync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fsync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_futex_enter, CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_return, CPUState* cpu, target_ulong pc, uint64_t uaddr, int32_t op, uint32_t val, uint64_t utime, uint64_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futimesat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes); +PPP_CB_TYPEDEF(void, on_sys_futimesat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_enter, CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_return, CPUState* cpu, target_ulong pc, uint64_t policy, uint64_t nmask, uint64_t maxnode, uint64_t addr, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t head_ptr, uint64_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_getcpu_enter, CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcpu_return, CPUState* cpu, target_ulong pc, uint64_t _cpu, uint64_t node, uint64_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcwd_enter, CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); +PPP_CB_TYPEDEF(void, on_sys_getcwd_return, CPUState* cpu, target_ulong pc, uint64_t buf, uint64_t size); +PPP_CB_TYPEDEF(void, on_sys_getdents_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getegid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); +PPP_CB_TYPEDEF(void, on_sys_getitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value); +PPP_CB_TYPEDEF(void, on_sys_getpeername_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpeername_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getrandom_enter, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getrandom_return, CPUState* cpu, target_ulong pc, uint64_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getresgid_enter, CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid_return, CPUState* cpu, target_ulong pc, uint64_t rgid, uint64_t egid, uint64_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_enter, CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_return, CPUState* cpu, target_ulong pc, uint64_t ruid, uint64_t euid, uint64_t suid); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrusage_enter, CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_getrusage_return, CPUState* cpu, target_ulong pc, int32_t who, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_getsid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsockname_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockname_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, uint64_t optlen); +PPP_CB_TYPEDEF(void, on_sys_gettid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_enter, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_return, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_getuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_init_module_enter, CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_init_module_return, CPUState* cpu, target_ulong pc, uint64_t umod, uint64_t len, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_enter, CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_return, CPUState* cpu, target_ulong pc, uint64_t ctx_id, uint64_t iocb, uint64_t result); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_enter, CPUState* cpu, target_ulong pc, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_return, CPUState* cpu, target_ulong pc, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_enter, CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_return, CPUState* cpu, target_ulong pc, uint64_t ctx_id, int64_t min_nr, int64_t nr, uint64_t events, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_setup_enter, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_setup_return, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint64_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_submit_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_io_submit_return, CPUState* cpu, target_ulong pc, uint64_t arg0, int64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_ioctl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioctl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioperm_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_ioperm_return, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_iopl_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_iopl_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_kcmp_enter, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kcmp_return, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint64_t idx1, uint64_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kexec_file_load_enter, CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline_ptr, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_file_load_return, CPUState* cpu, target_ulong pc, int32_t kernel_fd, int32_t initrd_fd, uint64_t cmdline_len, uint64_t cmdline_ptr, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_enter, CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_return, CPUState* cpu, target_ulong pc, uint64_t entry, uint64_t nr_segments, uint64_t segments, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_keyctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_keyctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_kill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_kill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_lchown_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_link_enter, CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_link_return, CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_linkat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_linkat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_listen_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listen_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_listxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_enter, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_return, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint64_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_lseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_madvise_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_madvise_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_mbind_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mbind_return, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t len, uint64_t mode, uint64_t nmask, uint64_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_enter, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_return, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_enter, CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_return, CPUState* cpu, target_ulong pc, uint64_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t maxnode, uint64_t from, uint64_t to); +PPP_CB_TYPEDEF(void, on_sys_mincore_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); +PPP_CB_TYPEDEF(void, on_sys_mincore_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t vec); +PPP_CB_TYPEDEF(void, on_sys_mkdir_enter, CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdir_return, CPUState* cpu, target_ulong pc, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mknod_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknod_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mlock_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock2_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlock2_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mmap_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_mmap_return, CPUState* cpu, target_ulong pc, uint64_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_modify_ldt_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_modify_ldt_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_mount_enter, CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_mount_return, CPUState* cpu, target_ulong pc, uint64_t dev_name, uint64_t dir_name, uint64_t type, uint64_t flags, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_move_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_move_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t nr_pages, uint64_t pages, uint64_t nodes, uint64_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mprotect_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); +PPP_CB_TYPEDEF(void, on_sys_mprotect_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t mqstat, uint64_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_open_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_open_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t oflag, uint32_t mode, uint64_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint64_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint64_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint64_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_mremap_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_mremap_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint64_t old_len, uint64_t new_len, uint64_t flags, uint64_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_msgctl_enter, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgctl_return, CPUState* cpu, target_ulong pc, int32_t msqid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_msgget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgrcv_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int64_t msgtyp, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_enter, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msgsnd_return, CPUState* cpu, target_ulong pc, int32_t msqid, uint64_t msgp, uint32_t msgsz, int32_t msgflg); +PPP_CB_TYPEDEF(void, on_sys_msync_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_msync_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_munlock_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlock_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlockall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munlockall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munmap_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munmap_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t name, uint64_t handle, uint64_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_enter, CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_return, CPUState* cpu, target_ulong pc, uint64_t rqtp, uint64_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_newfstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newfstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newfstatat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_newfstatat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_newlstat_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newuname_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_newuname_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_open_enter, CPUState* cpu, target_ulong pc, uint64_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_return, CPUState* cpu, target_ulong pc, uint64_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_return, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint64_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_openat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_pause_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_pause_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_enter, CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_return, CPUState* cpu, target_ulong pc, uint64_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_personality_enter, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_personality_return, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_pipe_enter, CPUState* cpu, target_ulong pc, uint64_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe_return, CPUState* cpu, target_ulong pc, uint64_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe2_enter, CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe2_return, CPUState* cpu, target_ulong pc, uint64_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_enter, CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_return, CPUState* cpu, target_ulong pc, uint64_t new_root, uint64_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_enter, CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_return, CPUState* cpu, target_ulong pc, uint64_t flags, uint64_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_enter, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_return, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_return, CPUState* cpu, target_ulong pc, uint64_t start, uint32_t len, uint64_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_poll_enter, CPUState* cpu, target_ulong pc, uint64_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_poll_return, CPUState* cpu, target_ulong pc, uint64_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_ppoll_enter, CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_return, CPUState* cpu, target_ulong pc, uint64_t arg0, uint32_t arg1, uint64_t arg2, uint64_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_prctl_enter, CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_prctl_return, CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pread64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pread64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_preadv_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv2_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_preadv2_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint64_t new_rlim, uint64_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t lvec, uint64_t liovcnt, uint64_t rvec, uint64_t riovcnt, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_pselect6_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_ptrace_enter, CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_ptrace_return, CPUState* cpu, target_ulong pc, int64_t request, int64_t pid, uint64_t addr, uint64_t _data); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwritev_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen, uint64_t pos_l, uint64_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_quotactl_enter, CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); +PPP_CB_TYPEDEF(void, on_sys_quotactl_return, CPUState* cpu, target_ulong pc, uint32_t cmd, uint64_t special, uint32_t id, uint64_t addr); +PPP_CB_TYPEDEF(void, on_sys_read_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_read_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readlink_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlink_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint64_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readv_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_readv_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_reboot_enter, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_reboot_return, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, uint64_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_enter, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_return, CPUState* cpu, target_ulong pc, uint64_t start, uint64_t size, uint64_t prot, uint64_t pgoff, uint64_t flags); +PPP_CB_TYPEDEF(void, on_sys_removexattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_removexattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name); +PPP_CB_TYPEDEF(void, on_sys_rename_enter, CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_rename_return, CPUState* cpu, target_ulong pc, uint64_t oldname, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat2_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_renameat2_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint64_t oldname, int32_t newdfd, uint64_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_request_key_enter, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_request_key_return, CPUState* cpu, target_ulong pc, uint64_t _type, uint64_t _description, uint64_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rmdir_enter, CPUState* cpu, target_ulong pc, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rmdir_return, CPUState* cpu, target_ulong pc, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint64_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_enter, CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_return, CPUState* cpu, target_ulong pc, uint64_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint64_t set, uint64_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_enter, CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_return, CPUState* cpu, target_ulong pc, uint64_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_enter, CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_return, CPUState* cpu, target_ulong pc, uint64_t uthese, uint64_t uinfo, uint64_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint64_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint64_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint64_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_seccomp_enter, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_seccomp_return, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint64_t uargs); +PPP_CB_TYPEDEF(void, on_sys_select_enter, CPUState* cpu, target_ulong pc, int32_t n, uint64_t inp, uint64_t outp, uint64_t exp, uint64_t tvp); +PPP_CB_TYPEDEF(void, on_sys_select_return, CPUState* cpu, target_ulong pc, int32_t n, uint64_t inp, uint64_t outp, uint64_t exp, uint64_t tvp); +PPP_CB_TYPEDEF(void, on_sys_semctl_enter, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_semctl_return, CPUState* cpu, target_ulong pc, int32_t semid, int32_t semnum, int32_t cmd, uint64_t arg); +PPP_CB_TYPEDEF(void, on_sys_semget_enter, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semget_return, CPUState* cpu, target_ulong pc, uint32_t key, int32_t nsems, int32_t semflg); +PPP_CB_TYPEDEF(void, on_sys_semop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_sys_semop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_enter, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_semtimedop_return, CPUState* cpu, target_ulong pc, int32_t semid, uint64_t sops, uint32_t nsops, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendto_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_sendto_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint64_t arg1, uint32_t arg2, uint32_t arg3, uint64_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_enter, CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_return, CPUState* cpu, target_ulong pc, int32_t mode, uint64_t nmask, uint64_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_enter, CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_return, CPUState* cpu, target_ulong pc, uint64_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_enter, CPUState* cpu, target_ulong pc, uint64_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_return, CPUState* cpu, target_ulong pc, uint64_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint64_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_sethostname_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_sethostname_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint64_t value, uint64_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setns_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setns_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpgid_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setregid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint64_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setsid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint64_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_enter, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_return, CPUState* cpu, target_ulong pc, uint64_t tv, uint64_t tz); +PPP_CB_TYPEDEF(void, on_sys_setuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setxattr_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_setxattr_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t name, uint64_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_shmat_enter, CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmat_return, CPUState* cpu, target_ulong pc, int32_t shmid, uint64_t shmaddr, int32_t shmflg); +PPP_CB_TYPEDEF(void, on_sys_shmctl_enter, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmctl_return, CPUState* cpu, target_ulong pc, int32_t shmid, int32_t cmd, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_shmdt_enter, CPUState* cpu, target_ulong pc, uint64_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmdt_return, CPUState* cpu, target_ulong pc, uint64_t shmaddr); +PPP_CB_TYPEDEF(void, on_sys_shmget_enter, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shmget_return, CPUState* cpu, target_ulong pc, uint32_t key, uint32_t size, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_shutdown_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_shutdown_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_enter, CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_return, CPUState* cpu, target_ulong pc, uint64_t uss, uint64_t uoss); +PPP_CB_TYPEDEF(void, on_sys_signalfd_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_socket_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socket_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socketpair_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); +PPP_CB_TYPEDEF(void, on_sys_socketpair_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint64_t arg3); +PPP_CB_TYPEDEF(void, on_sys_splice_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_splice_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint64_t off_in, int32_t fd_out, uint64_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_statfs_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t buf); +PPP_CB_TYPEDEF(void, on_sys_statx_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); +PPP_CB_TYPEDEF(void, on_sys_statx_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t path, uint32_t flags, uint32_t mask, uint64_t buffer); +PPP_CB_TYPEDEF(void, on_sys_swapoff_enter, CPUState* cpu, target_ulong pc, uint64_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapoff_return, CPUState* cpu, target_ulong pc, uint64_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapon_enter, CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_swapon_return, CPUState* cpu, target_ulong pc, uint64_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_symlink_enter, CPUState* cpu, target_ulong pc, uint64_t old, uint64_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlink_return, CPUState* cpu, target_ulong pc, uint64_t old, uint64_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_enter, CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_return, CPUState* cpu, target_ulong pc, uint64_t oldname, int32_t newdfd, uint64_t newname); +PPP_CB_TYPEDEF(void, on_sys_sync_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_syncfs_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_syncfs_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_sysctl_enter, CPUState* cpu, target_ulong pc, uint64_t args); +PPP_CB_TYPEDEF(void, on_sys_sysctl_return, CPUState* cpu, target_ulong pc, uint64_t args); +PPP_CB_TYPEDEF(void, on_sys_sysfs_enter, CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysfs_return, CPUState* cpu, target_ulong pc, int32_t option, uint64_t arg1, uint64_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_enter, CPUState* cpu, target_ulong pc, uint64_t info); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_return, CPUState* cpu, target_ulong pc, uint64_t info); +PPP_CB_TYPEDEF(void, on_sys_syslog_enter, CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_syslog_return, CPUState* cpu, target_ulong pc, int32_t type, uint64_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_tee_enter, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tee_return, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tgkill_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tgkill_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_time_enter, CPUState* cpu, target_ulong pc, uint64_t tloc); +PPP_CB_TYPEDEF(void, on_sys_time_return, CPUState* cpu, target_ulong pc, uint64_t tloc); +PPP_CB_TYPEDEF(void, on_sys_timer_create_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_create_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint64_t timer_event_spec, uint64_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint64_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint64_t new_setting, uint64_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_enter, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_return, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_return, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint64_t utmr, uint64_t otmr); +PPP_CB_TYPEDEF(void, on_sys_times_enter, CPUState* cpu, target_ulong pc, uint64_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_times_return, CPUState* cpu, target_ulong pc, uint64_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_tkill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tkill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_truncate_enter, CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate_return, CPUState* cpu, target_ulong pc, uint64_t path, int64_t length); +PPP_CB_TYPEDEF(void, on_sys_umask_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umask_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umount_enter, CPUState* cpu, target_ulong pc, uint64_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_umount_return, CPUState* cpu, target_ulong pc, uint64_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlink_return, CPUState* cpu, target_ulong pc, uint64_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unshare_enter, CPUState* cpu, target_ulong pc, uint64_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_unshare_return, CPUState* cpu, target_ulong pc, uint64_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_ustat_enter, CPUState* cpu, target_ulong pc, uint32_t dev, uint64_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_ustat_return, CPUState* cpu, target_ulong pc, uint32_t dev, uint64_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_utime_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t times); +PPP_CB_TYPEDEF(void, on_sys_utime_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t times); +PPP_CB_TYPEDEF(void, on_sys_utimensat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint64_t filename, uint64_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimes_enter, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t utimes); +PPP_CB_TYPEDEF(void, on_sys_utimes_return, CPUState* cpu, target_ulong pc, uint64_t filename, uint64_t utimes); +PPP_CB_TYPEDEF(void, on_sys_vfork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vfork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iov, uint64_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_wait4_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_wait4_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t stat_addr, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint64_t infop, int32_t options, uint64_t ru); +PPP_CB_TYPEDEF(void, on_sys_write_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_write_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_writev_enter, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sys_writev_return, CPUState* cpu, target_ulong pc, uint64_t fd, uint64_t vec, uint64_t vlen); +PPP_CB_TYPEDEF(void, on_sysarch_enter, CPUState* cpu, target_ulong pc, int32_t op, uint64_t parms); +PPP_CB_TYPEDEF(void, on_sysarch_return, CPUState* cpu, target_ulong pc, int32_t op, uint64_t parms); +PPP_CB_TYPEDEF(void, on_thr_create_enter, CPUState* cpu, target_ulong pc, uint64_t ctx, uint64_t id, int32_t flags); +PPP_CB_TYPEDEF(void, on_thr_create_return, CPUState* cpu, target_ulong pc, uint64_t ctx, uint64_t id, int32_t flags); +PPP_CB_TYPEDEF(void, on_thr_exit_enter, CPUState* cpu, target_ulong pc, uint64_t state); +PPP_CB_TYPEDEF(void, on_thr_exit_return, CPUState* cpu, target_ulong pc, uint64_t state); +PPP_CB_TYPEDEF(void, on_thr_kill_enter, CPUState* cpu, target_ulong pc, int64_t id, int32_t sig); +PPP_CB_TYPEDEF(void, on_thr_kill_return, CPUState* cpu, target_ulong pc, int64_t id, int32_t sig); +PPP_CB_TYPEDEF(void, on_thr_kill2_enter, CPUState* cpu, target_ulong pc, int32_t pid, int64_t id, int32_t sig); +PPP_CB_TYPEDEF(void, on_thr_kill2_return, CPUState* cpu, target_ulong pc, int32_t pid, int64_t id, int32_t sig); +PPP_CB_TYPEDEF(void, on_thr_new_enter, CPUState* cpu, target_ulong pc, uint64_t param, int32_t param_size); +PPP_CB_TYPEDEF(void, on_thr_new_return, CPUState* cpu, target_ulong pc, uint64_t param, int32_t param_size); +PPP_CB_TYPEDEF(void, on_thr_self_enter, CPUState* cpu, target_ulong pc, uint64_t id); +PPP_CB_TYPEDEF(void, on_thr_self_return, CPUState* cpu, target_ulong pc, uint64_t id); +PPP_CB_TYPEDEF(void, on_thr_set_name_enter, CPUState* cpu, target_ulong pc, int64_t id, uint64_t name); +PPP_CB_TYPEDEF(void, on_thr_set_name_return, CPUState* cpu, target_ulong pc, int64_t id, uint64_t name); +PPP_CB_TYPEDEF(void, on_thr_suspend_enter, CPUState* cpu, target_ulong pc, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_thr_suspend_return, CPUState* cpu, target_ulong pc, uint64_t timeout); +PPP_CB_TYPEDEF(void, on_thr_wake_enter, CPUState* cpu, target_ulong pc, int64_t id); +PPP_CB_TYPEDEF(void, on_thr_wake_return, CPUState* cpu, target_ulong pc, int64_t id); +PPP_CB_TYPEDEF(void, on_truncate_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_truncate_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_umask_enter, CPUState* cpu, target_ulong pc, uint32_t newmask); +PPP_CB_TYPEDEF(void, on_umask_return, CPUState* cpu, target_ulong pc, uint32_t newmask); +PPP_CB_TYPEDEF(void, on_uname_enter, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_uname_return, CPUState* cpu, target_ulong pc, uint64_t name); +PPP_CB_TYPEDEF(void, on_undelete_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_undelete_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_unlink_enter, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_unlink_return, CPUState* cpu, target_ulong pc, uint64_t path); +PPP_CB_TYPEDEF(void, on_unlinkat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag); +PPP_CB_TYPEDEF(void, on_unlinkat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, int32_t flag); +PPP_CB_TYPEDEF(void, on_unmount_enter, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags); +PPP_CB_TYPEDEF(void, on_unmount_return, CPUState* cpu, target_ulong pc, uint64_t path, int32_t flags); +PPP_CB_TYPEDEF(void, on_utimensat_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times, int32_t flag); +PPP_CB_TYPEDEF(void, on_utimensat_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t path, uint64_t times, int32_t flag); +PPP_CB_TYPEDEF(void, on_utimes_enter, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); +PPP_CB_TYPEDEF(void, on_utimes_return, CPUState* cpu, target_ulong pc, uint64_t path, uint64_t tptr); +PPP_CB_TYPEDEF(void, on_utrace_enter, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_utrace_return, CPUState* cpu, target_ulong pc, uint64_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_uuidgen_enter, CPUState* cpu, target_ulong pc, uint64_t store, int32_t count); +PPP_CB_TYPEDEF(void, on_uuidgen_return, CPUState* cpu, target_ulong pc, uint64_t store, int32_t count); +PPP_CB_TYPEDEF(void, on_vadvise_enter, CPUState* cpu, target_ulong pc, int32_t anom); +PPP_CB_TYPEDEF(void, on_vadvise_return, CPUState* cpu, target_ulong pc, int32_t anom); +PPP_CB_TYPEDEF(void, on_vfork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_vfork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_wait_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_wait_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_wait4_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t status, int32_t options, uint64_t rusage); +PPP_CB_TYPEDEF(void, on_wait4_return, CPUState* cpu, target_ulong pc, int32_t pid, uint64_t status, int32_t options, uint64_t rusage); +PPP_CB_TYPEDEF(void, on_wait6_enter, CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, uint64_t status, int32_t options, uint64_t wrusage, uint64_t info); +PPP_CB_TYPEDEF(void, on_wait6_return, CPUState* cpu, target_ulong pc, uint32_t idtype, uint32_t id, uint64_t status, int32_t options, uint64_t wrusage, uint64_t info); +PPP_CB_TYPEDEF(void, on_write_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); +PPP_CB_TYPEDEF(void, on_write_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t buf, uint32_t nbyte); +PPP_CB_TYPEDEF(void, on_writev_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); +PPP_CB_TYPEDEF(void, on_writev_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t iovp, uint32_t iovcnt); +PPP_CB_TYPEDEF(void, on_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_yield_return, CPUState* cpu, target_ulong pc); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x86.h b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x86.h index 26fc03dc01f..d979cc44778 100644 --- a/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x86.h +++ b/panda/plugins/syscalls2/generated/syscalls_ext_typedefs_x86.h @@ -2,1533 +2,1533 @@ // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_NtAcceptConnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t AcceptConnection, uint32_t ServerView, uint32_t ClientView); -typedef void (*on_NtAcceptConnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t AcceptConnection, uint32_t ServerView, uint32_t ClientView); -typedef void (*on_NtAccessCheck_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); -typedef void (*on_NtAccessCheck_return_t)(CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); -typedef void (*on_NtAccessCheckAndAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckAndAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckByType_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); -typedef void (*on_NtAccessCheckByType_return_t)(CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); -typedef void (*on_NtAccessCheckByTypeAndAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckByTypeAndAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckByTypeResultList_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); -typedef void (*on_NtAccessCheckByTypeResultList_return_t)(CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); -typedef void (*on_NtAccessCheckByTypeResultListAndAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckByTypeResultListAndAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); -typedef void (*on_NtAddAtom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); -typedef void (*on_NtAddAtom_return_t)(CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); -typedef void (*on_NtAddBootEntry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t BootEntry, uint32_t Id); -typedef void (*on_NtAddBootEntry_return_t)(CPUState* cpu, target_ulong pc, uint32_t BootEntry, uint32_t Id); -typedef void (*on_NtAddDriverEntry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DriverEntry, uint32_t Id); -typedef void (*on_NtAddDriverEntry_return_t)(CPUState* cpu, target_ulong pc, uint32_t DriverEntry, uint32_t Id); -typedef void (*on_NtAdjustGroupsToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t ResetToDefault, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); -typedef void (*on_NtAdjustGroupsToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t ResetToDefault, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); -typedef void (*on_NtAdjustPrivilegesToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DisableAllPrivileges, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); -typedef void (*on_NtAdjustPrivilegesToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DisableAllPrivileges, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); -typedef void (*on_NtAlertResumeThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); -typedef void (*on_NtAlertResumeThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); -typedef void (*on_NtAlertThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); -typedef void (*on_NtAlertThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); -typedef void (*on_NtAllocateLocallyUniqueId_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Luid); -typedef void (*on_NtAllocateLocallyUniqueId_return_t)(CPUState* cpu, target_ulong pc, uint32_t Luid); -typedef void (*on_NtAllocateReserveObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MemoryReserveHandle, uint32_t ObjectAttributes, uint32_t Type); -typedef void (*on_NtAllocateReserveObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t MemoryReserveHandle, uint32_t ObjectAttributes, uint32_t Type); -typedef void (*on_NtAllocateUserPhysicalPages_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtAllocateUserPhysicalPages_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtAllocateUuids_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Time, uint32_t Range, uint32_t Sequence, uint32_t Seed); -typedef void (*on_NtAllocateUuids_return_t)(CPUState* cpu, target_ulong pc, uint32_t Time, uint32_t Range, uint32_t Sequence, uint32_t Seed); -typedef void (*on_NtAllocateVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t RegionSize, uint32_t AllocationType, uint32_t Protect); -typedef void (*on_NtAllocateVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t RegionSize, uint32_t AllocationType, uint32_t Protect); -typedef void (*on_NtAlpcAcceptConnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionPortHandle, uint32_t Flags, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t ConnectionMessageAttributes, uint32_t AcceptConnection); -typedef void (*on_NtAlpcAcceptConnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionPortHandle, uint32_t Flags, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t ConnectionMessageAttributes, uint32_t AcceptConnection); -typedef void (*on_NtAlpcCancelMessage_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageContext); -typedef void (*on_NtAlpcCancelMessage_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageContext); -typedef void (*on_NtAlpcConnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t Flags, uint32_t RequiredServerSid, uint32_t ConnectionMessage, uint32_t BufferLength, uint32_t OutMessageAttributes, uint32_t InMessageAttributes, uint32_t Timeout); -typedef void (*on_NtAlpcConnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t Flags, uint32_t RequiredServerSid, uint32_t ConnectionMessage, uint32_t BufferLength, uint32_t OutMessageAttributes, uint32_t InMessageAttributes, uint32_t Timeout); -typedef void (*on_NtAlpcCreatePort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t PortAttributes); -typedef void (*on_NtAlpcCreatePort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t PortAttributes); -typedef void (*on_NtAlpcCreatePortSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle, uint32_t SectionSize, uint32_t AlpcSectionHandle, uint32_t ActualSectionSize); -typedef void (*on_NtAlpcCreatePortSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle, uint32_t SectionSize, uint32_t AlpcSectionHandle, uint32_t ActualSectionSize); -typedef void (*on_NtAlpcCreateResourceReserve_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageSize, uint32_t ResourceId); -typedef void (*on_NtAlpcCreateResourceReserve_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageSize, uint32_t ResourceId); -typedef void (*on_NtAlpcCreateSectionView_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewAttributes); -typedef void (*on_NtAlpcCreateSectionView_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewAttributes); -typedef void (*on_NtAlpcCreateSecurityContext_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SecurityAttribute); -typedef void (*on_NtAlpcCreateSecurityContext_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SecurityAttribute); -typedef void (*on_NtAlpcDeletePortSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle); -typedef void (*on_NtAlpcDeletePortSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle); -typedef void (*on_NtAlpcDeleteResourceReserve_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ResourceId); -typedef void (*on_NtAlpcDeleteResourceReserve_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ResourceId); -typedef void (*on_NtAlpcDeleteSectionView_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewBase); -typedef void (*on_NtAlpcDeleteSectionView_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewBase); -typedef void (*on_NtAlpcDeleteSecurityContext_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); -typedef void (*on_NtAlpcDeleteSecurityContext_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); -typedef void (*on_NtAlpcDisconnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags); -typedef void (*on_NtAlpcDisconnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags); -typedef void (*on_NtAlpcImpersonateClientOfPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t Reserved); -typedef void (*on_NtAlpcImpersonateClientOfPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t Reserved); -typedef void (*on_NtAlpcOpenSenderProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtAlpcOpenSenderProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtAlpcOpenSenderThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtAlpcOpenSenderThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtAlpcQueryInformation_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtAlpcQueryInformation_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtAlpcQueryInformationMessage_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t MessageInformationClass, uint32_t MessageInformation, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtAlpcQueryInformationMessage_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t MessageInformationClass, uint32_t MessageInformation, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtAlpcRevokeSecurityContext_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); -typedef void (*on_NtAlpcRevokeSecurityContext_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); -typedef void (*on_NtAlpcSendWaitReceivePort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SendMessage, uint32_t SendMessageAttributes, uint32_t ReceiveMessage, uint32_t BufferLength, uint32_t ReceiveMessageAttributes, uint32_t Timeout); -typedef void (*on_NtAlpcSendWaitReceivePort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SendMessage, uint32_t SendMessageAttributes, uint32_t ReceiveMessage, uint32_t BufferLength, uint32_t ReceiveMessageAttributes, uint32_t Timeout); -typedef void (*on_NtAlpcSetInformation_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length); -typedef void (*on_NtAlpcSetInformation_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length); -typedef void (*on_NtApphelpCacheControl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t type, uint32_t buf); -typedef void (*on_NtApphelpCacheControl_return_t)(CPUState* cpu, target_ulong pc, uint32_t type, uint32_t buf); -typedef void (*on_NtAreMappedFilesTheSame_enter_t)(CPUState* cpu, target_ulong pc, uint32_t File1MappedAsAnImage, uint32_t File2MappedAsFile); -typedef void (*on_NtAreMappedFilesTheSame_return_t)(CPUState* cpu, target_ulong pc, uint32_t File1MappedAsAnImage, uint32_t File2MappedAsFile); -typedef void (*on_NtAssignProcessToJobObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ProcessHandle); -typedef void (*on_NtAssignProcessToJobObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ProcessHandle); -typedef void (*on_NtCallbackReturn_enter_t)(CPUState* cpu, target_ulong pc, uint32_t OutputBuffer, uint32_t OutputLength, uint32_t Status); -typedef void (*on_NtCallbackReturn_return_t)(CPUState* cpu, target_ulong pc, uint32_t OutputBuffer, uint32_t OutputLength, uint32_t Status); -typedef void (*on_NtCancelIoFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); -typedef void (*on_NtCancelIoFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); -typedef void (*on_NtCancelIoFileEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); -typedef void (*on_NtCancelIoFileEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); -typedef void (*on_NtCancelSynchronousIoFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); -typedef void (*on_NtCancelSynchronousIoFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); -typedef void (*on_NtCancelTimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t CurrentState); -typedef void (*on_NtCancelTimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t CurrentState); -typedef void (*on_NtClearEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle); -typedef void (*on_NtClearEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle); -typedef void (*on_NtClose_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle); -typedef void (*on_NtClose_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle); -typedef void (*on_NtCloseObjectAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); -typedef void (*on_NtCloseObjectAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); -typedef void (*on_NtCommitComplete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtCommitComplete_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtCommitEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtCommitEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtCommitTransaction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); -typedef void (*on_NtCommitTransaction_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); -typedef void (*on_NtCompactKeys_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t KeyArray); -typedef void (*on_NtCompactKeys_return_t)(CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t KeyArray); -typedef void (*on_NtCompareTokens_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FirstTokenHandle, uint32_t SecondTokenHandle, uint32_t Equal); -typedef void (*on_NtCompareTokens_return_t)(CPUState* cpu, target_ulong pc, uint32_t FirstTokenHandle, uint32_t SecondTokenHandle, uint32_t Equal); -typedef void (*on_NtCompleteConnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle); -typedef void (*on_NtCompleteConnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle); -typedef void (*on_NtCompressKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Key); -typedef void (*on_NtCompressKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t Key); -typedef void (*on_NtConnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); -typedef void (*on_NtConnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); -typedef void (*on_NtContinue_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ContextRecord, uint32_t TestAlert); -typedef void (*on_NtContinue_return_t)(CPUState* cpu, target_ulong pc, uint32_t ContextRecord, uint32_t TestAlert); -typedef void (*on_NtCreateDebugObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); -typedef void (*on_NtCreateDebugObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); -typedef void (*on_NtCreateDirectoryObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtCreateDirectoryObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtCreateEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t TransactionHandle, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t NotificationMask, uint32_t EnlistmentKey); -typedef void (*on_NtCreateEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t TransactionHandle, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t NotificationMask, uint32_t EnlistmentKey); -typedef void (*on_NtCreateEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EventType, uint32_t InitialState); -typedef void (*on_NtCreateEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EventType, uint32_t InitialState); -typedef void (*on_NtCreateEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtCreateEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtCreateFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t AllocationSize, uint32_t FileAttributes, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t EaBuffer, uint32_t EaLength); -typedef void (*on_NtCreateFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t AllocationSize, uint32_t FileAttributes, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t EaBuffer, uint32_t EaLength); -typedef void (*on_NtCreateIoCompletion_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Count); -typedef void (*on_NtCreateIoCompletion_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Count); -typedef void (*on_NtCreateJobObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtCreateJobObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtCreateJobSet_enter_t)(CPUState* cpu, target_ulong pc, uint32_t NumJob, uint32_t UserJobSet, uint32_t Flags); -typedef void (*on_NtCreateJobSet_return_t)(CPUState* cpu, target_ulong pc, uint32_t NumJob, uint32_t UserJobSet, uint32_t Flags); -typedef void (*on_NtCreateKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t Disposition); -typedef void (*on_NtCreateKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t Disposition); -typedef void (*on_NtCreateKeyedEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); -typedef void (*on_NtCreateKeyedEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); -typedef void (*on_NtCreateKeyTransacted_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t TransactionHandle, uint32_t Disposition); -typedef void (*on_NtCreateKeyTransacted_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t TransactionHandle, uint32_t Disposition); -typedef void (*on_NtCreateMailslotFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t CreateOptions, uint32_t MailslotQuota, uint32_t MaximumMessageSize, uint32_t ReadTimeout); -typedef void (*on_NtCreateMailslotFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t CreateOptions, uint32_t MailslotQuota, uint32_t MaximumMessageSize, uint32_t ReadTimeout); -typedef void (*on_NtCreateMutant_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t InitialOwner); -typedef void (*on_NtCreateMutant_return_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t InitialOwner); -typedef void (*on_NtCreateNamedPipeFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t NamedPipeType, uint32_t ReadMode, uint32_t CompletionMode, uint32_t MaximumInstances, uint32_t InboundQuota, uint32_t OutboundQuota, uint32_t DefaultTimeout); -typedef void (*on_NtCreateNamedPipeFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t NamedPipeType, uint32_t ReadMode, uint32_t CompletionMode, uint32_t MaximumInstances, uint32_t InboundQuota, uint32_t OutboundQuota, uint32_t DefaultTimeout); -typedef void (*on_NtCreatePagingFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PageFileName, uint32_t MinimumSize, uint32_t MaximumSize, uint32_t Priority); -typedef void (*on_NtCreatePagingFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t PageFileName, uint32_t MinimumSize, uint32_t MaximumSize, uint32_t Priority); -typedef void (*on_NtCreatePort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); -typedef void (*on_NtCreatePort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); -typedef void (*on_NtCreatePrivateNamespace_enter_t)(CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); -typedef void (*on_NtCreatePrivateNamespace_return_t)(CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); -typedef void (*on_NtCreateProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t InheritObjectTable, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort); -typedef void (*on_NtCreateProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t InheritObjectTable, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort); -typedef void (*on_NtCreateProcessEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t Flags, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort, uint32_t JobMemberLevel); -typedef void (*on_NtCreateProcessEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t Flags, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort, uint32_t JobMemberLevel); -typedef void (*on_NtCreateProfile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t RangeBase, uint32_t RangeSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t Affinity); -typedef void (*on_NtCreateProfile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t RangeBase, uint32_t RangeSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t Affinity); -typedef void (*on_NtCreateProfileEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t ProfileBase, uint32_t ProfileSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t GroupAffinityCount, uint32_t GroupAffinity); -typedef void (*on_NtCreateProfileEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t ProfileBase, uint32_t ProfileSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t GroupAffinityCount, uint32_t GroupAffinity); -typedef void (*on_NtCreateResourceManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t RmGuid, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t Description); -typedef void (*on_NtCreateResourceManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t RmGuid, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t Description); -typedef void (*on_NtCreateSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t MaximumSize, uint32_t SectionPageProtection, uint32_t AllocationAttributes, uint32_t FileHandle); -typedef void (*on_NtCreateSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t MaximumSize, uint32_t SectionPageProtection, uint32_t AllocationAttributes, uint32_t FileHandle); -typedef void (*on_NtCreateSemaphore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, int32_t InitialCount, int32_t MaximumCount); -typedef void (*on_NtCreateSemaphore_return_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, int32_t InitialCount, int32_t MaximumCount); -typedef void (*on_NtCreateSymbolicLinkObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LinkTarget); -typedef void (*on_NtCreateSymbolicLinkObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LinkTarget); -typedef void (*on_NtCreateThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t ClientId, uint32_t ThreadContext, uint32_t InitialTeb, uint32_t CreateSuspended); -typedef void (*on_NtCreateThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t ClientId, uint32_t ThreadContext, uint32_t InitialTeb, uint32_t CreateSuspended); -typedef void (*on_NtCreateThreadEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t StartRoutine, uint32_t Argument, uint32_t CreateFlags, uint32_t ZeroBits, uint32_t StackSize, uint32_t MaximumStackSize, uint32_t AttributeList); -typedef void (*on_NtCreateThreadEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t StartRoutine, uint32_t Argument, uint32_t CreateFlags, uint32_t ZeroBits, uint32_t StackSize, uint32_t MaximumStackSize, uint32_t AttributeList); -typedef void (*on_NtCreateTimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TimerType); -typedef void (*on_NtCreateTimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TimerType); -typedef void (*on_NtCreateToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TokenType, uint32_t AuthenticationId, uint32_t ExpirationTime, uint32_t User, uint32_t Groups, uint32_t Privileges, uint32_t Owner, uint32_t PrimaryGroup, uint32_t DefaultDacl, uint32_t TokenSource); -typedef void (*on_NtCreateToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TokenType, uint32_t AuthenticationId, uint32_t ExpirationTime, uint32_t User, uint32_t Groups, uint32_t Privileges, uint32_t Owner, uint32_t PrimaryGroup, uint32_t DefaultDacl, uint32_t TokenSource); -typedef void (*on_NtCreateTransaction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle, uint32_t CreateOptions, uint32_t IsolationLevel, uint32_t IsolationFlags, uint32_t Timeout, uint32_t Description); -typedef void (*on_NtCreateTransaction_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle, uint32_t CreateOptions, uint32_t IsolationLevel, uint32_t IsolationFlags, uint32_t Timeout, uint32_t Description); -typedef void (*on_NtCreateTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t CreateOptions, uint32_t CommitStrength); -typedef void (*on_NtCreateTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t CreateOptions, uint32_t CommitStrength); -typedef void (*on_NtCreateUserProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t ProcessDesiredAccess, uint32_t ThreadDesiredAccess, uint32_t ProcessObjectAttributes, uint32_t ThreadObjectAttributes, uint32_t ProcessFlags, uint32_t ThreadFlags, uint32_t ProcessParameters, uint32_t CreateInfo, uint32_t AttributeList); -typedef void (*on_NtCreateUserProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t ProcessDesiredAccess, uint32_t ThreadDesiredAccess, uint32_t ProcessObjectAttributes, uint32_t ThreadObjectAttributes, uint32_t ProcessFlags, uint32_t ThreadFlags, uint32_t ProcessParameters, uint32_t CreateInfo, uint32_t AttributeList); -typedef void (*on_NtCreateWaitablePort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); -typedef void (*on_NtCreateWaitablePort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); -typedef void (*on_NtCreateWorkerFactory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandleReturn, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t CompletionPortHandle, uint32_t WorkerProcessHandle, uint32_t StartRoutine, uint32_t StartParameter, uint32_t MaxThreadCount, uint32_t StackReserve, uint32_t StackCommit); -typedef void (*on_NtCreateWorkerFactory_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandleReturn, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t CompletionPortHandle, uint32_t WorkerProcessHandle, uint32_t StartRoutine, uint32_t StartParameter, uint32_t MaxThreadCount, uint32_t StackReserve, uint32_t StackCommit); -typedef void (*on_NtDebugActiveProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); -typedef void (*on_NtDebugActiveProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); -typedef void (*on_NtDebugContinue_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t ClientId, uint32_t ContinueStatus); -typedef void (*on_NtDebugContinue_return_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t ClientId, uint32_t ContinueStatus); -typedef void (*on_NtDelayExecution_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Alertable, uint32_t DelayInterval); -typedef void (*on_NtDelayExecution_return_t)(CPUState* cpu, target_ulong pc, uint32_t Alertable, uint32_t DelayInterval); -typedef void (*on_NtDeleteAtom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Atom); -typedef void (*on_NtDeleteAtom_return_t)(CPUState* cpu, target_ulong pc, uint32_t Atom); -typedef void (*on_NtDeleteBootEntry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Id); -typedef void (*on_NtDeleteBootEntry_return_t)(CPUState* cpu, target_ulong pc, uint32_t Id); -typedef void (*on_NtDeleteDriverEntry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Id); -typedef void (*on_NtDeleteDriverEntry_return_t)(CPUState* cpu, target_ulong pc, uint32_t Id); -typedef void (*on_NtDeleteFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes); -typedef void (*on_NtDeleteFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes); -typedef void (*on_NtDeleteKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle); -typedef void (*on_NtDeleteKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle); -typedef void (*on_NtDeleteObjectAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); -typedef void (*on_NtDeleteObjectAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); -typedef void (*on_NtDeletePrivateNamespace_enter_t)(CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle); -typedef void (*on_NtDeletePrivateNamespace_return_t)(CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle); -typedef void (*on_NtDeleteValueKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName); -typedef void (*on_NtDeleteValueKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName); -typedef void (*on_NtDeviceIoControlFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); -typedef void (*on_NtDeviceIoControlFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); -typedef void (*on_NtDisableLastKnownGood_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtDisableLastKnownGood_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtDisplayString_enter_t)(CPUState* cpu, target_ulong pc, uint32_t String); -typedef void (*on_NtDisplayString_return_t)(CPUState* cpu, target_ulong pc, uint32_t String); -typedef void (*on_NtDrawText_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Text); -typedef void (*on_NtDrawText_return_t)(CPUState* cpu, target_ulong pc, uint32_t Text); -typedef void (*on_NtDuplicateObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SourceProcessHandle, uint32_t SourceHandle, uint32_t TargetProcessHandle, uint32_t TargetHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Options); -typedef void (*on_NtDuplicateObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t SourceProcessHandle, uint32_t SourceHandle, uint32_t TargetProcessHandle, uint32_t TargetHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Options); -typedef void (*on_NtDuplicateToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EffectiveOnly, uint32_t TokenType, uint32_t NewTokenHandle); -typedef void (*on_NtDuplicateToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EffectiveOnly, uint32_t TokenType, uint32_t NewTokenHandle); -typedef void (*on_NtEnableLastKnownGood_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtEnableLastKnownGood_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtEnumerateBootEntries_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); -typedef void (*on_NtEnumerateBootEntries_return_t)(CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); -typedef void (*on_NtEnumerateDriverEntries_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); -typedef void (*on_NtEnumerateDriverEntries_return_t)(CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); -typedef void (*on_NtEnumerateKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtEnumerateKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtEnumerateSystemEnvironmentValuesEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t InformationClass, uint32_t Buffer, uint32_t BufferLength); -typedef void (*on_NtEnumerateSystemEnvironmentValuesEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t InformationClass, uint32_t Buffer, uint32_t BufferLength); -typedef void (*on_NtEnumerateTransactionObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t RootObjectHandle, uint32_t QueryType, uint32_t ObjectCursor, uint32_t ObjectCursorLength, uint32_t ReturnLength); -typedef void (*on_NtEnumerateTransactionObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t RootObjectHandle, uint32_t QueryType, uint32_t ObjectCursor, uint32_t ObjectCursorLength, uint32_t ReturnLength); -typedef void (*on_NtEnumerateValueKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtEnumerateValueKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtExtendSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t NewSectionSize); -typedef void (*on_NtExtendSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t NewSectionSize); -typedef void (*on_NtFilterToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t Flags, uint32_t SidsToDisable, uint32_t PrivilegesToDelete, uint32_t RestrictedSids, uint32_t NewTokenHandle); -typedef void (*on_NtFilterToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t Flags, uint32_t SidsToDisable, uint32_t PrivilegesToDelete, uint32_t RestrictedSids, uint32_t NewTokenHandle); -typedef void (*on_NtFindAtom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); -typedef void (*on_NtFindAtom_return_t)(CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); -typedef void (*on_NtFlushBuffersFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); -typedef void (*on_NtFlushBuffersFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); -typedef void (*on_NtFlushInstallUILanguage_enter_t)(CPUState* cpu, target_ulong pc, uint32_t InstallUILanguage, uint32_t SetComittedFlag); -typedef void (*on_NtFlushInstallUILanguage_return_t)(CPUState* cpu, target_ulong pc, uint32_t InstallUILanguage, uint32_t SetComittedFlag); -typedef void (*on_NtFlushInstructionCache_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Length); -typedef void (*on_NtFlushInstructionCache_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Length); -typedef void (*on_NtFlushKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle); -typedef void (*on_NtFlushKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle); -typedef void (*on_NtFlushProcessWriteBuffers_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtFlushProcessWriteBuffers_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtFlushVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t IoStatus); -typedef void (*on_NtFlushVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t IoStatus); -typedef void (*on_NtFlushWriteBuffer_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtFlushWriteBuffer_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtFreeUserPhysicalPages_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtFreeUserPhysicalPages_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtFreeVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t FreeType); -typedef void (*on_NtFreeVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t FreeType); -typedef void (*on_NtFreezeRegistry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimeOutInSeconds); -typedef void (*on_NtFreezeRegistry_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimeOutInSeconds); -typedef void (*on_NtFreezeTransactions_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FreezeTimeout, uint32_t ThawTimeout); -typedef void (*on_NtFreezeTransactions_return_t)(CPUState* cpu, target_ulong pc, uint32_t FreezeTimeout, uint32_t ThawTimeout); -typedef void (*on_NtFsControlFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); -typedef void (*on_NtFsControlFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); -typedef void (*on_NtGetContextThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); -typedef void (*on_NtGetContextThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); -typedef void (*on_NtGetCurrentProcessorNumber_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtGetCurrentProcessorNumber_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtGetDevicePowerState_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Device, uint32_t State); -typedef void (*on_NtGetDevicePowerState_return_t)(CPUState* cpu, target_ulong pc, uint32_t Device, uint32_t State); -typedef void (*on_NtGetMUIRegistryInfo_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Flags, uint32_t DataSize, uint32_t Data); -typedef void (*on_NtGetMUIRegistryInfo_return_t)(CPUState* cpu, target_ulong pc, uint32_t Flags, uint32_t DataSize, uint32_t Data); -typedef void (*on_NtGetNextProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewProcessHandle); -typedef void (*on_NtGetNextProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewProcessHandle); -typedef void (*on_NtGetNextThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewThreadHandle); -typedef void (*on_NtGetNextThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewThreadHandle); -typedef void (*on_NtGetNlsSectionPtr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SectionType, uint32_t SectionData, uint32_t ContextData, uint32_t SectionPointer, uint32_t SectionSize); -typedef void (*on_NtGetNlsSectionPtr_return_t)(CPUState* cpu, target_ulong pc, uint32_t SectionType, uint32_t SectionData, uint32_t ContextData, uint32_t SectionPointer, uint32_t SectionSize); -typedef void (*on_NtGetNotificationResourceManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t TransactionNotification, uint32_t NotificationLength, uint32_t Timeout, uint32_t ReturnLength, uint32_t Asynchronous, uint32_t AsynchronousContext); -typedef void (*on_NtGetNotificationResourceManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t TransactionNotification, uint32_t NotificationLength, uint32_t Timeout, uint32_t ReturnLength, uint32_t Asynchronous, uint32_t AsynchronousContext); -typedef void (*on_NtGetPlugPlayEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t Context, uint32_t EventBlock, uint32_t EventBufferSize); -typedef void (*on_NtGetPlugPlayEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t Context, uint32_t EventBlock, uint32_t EventBufferSize); -typedef void (*on_NtGetWriteWatch_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t Flags, uint32_t BaseAddress, uint32_t RegionSize, uint32_t UserAddressArray, uint32_t EntriesInUserAddressArray, uint32_t Granularity); -typedef void (*on_NtGetWriteWatch_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t Flags, uint32_t BaseAddress, uint32_t RegionSize, uint32_t UserAddressArray, uint32_t EntriesInUserAddressArray, uint32_t Granularity); -typedef void (*on_NtImpersonateAnonymousToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); -typedef void (*on_NtImpersonateAnonymousToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); -typedef void (*on_NtImpersonateClientOfPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message); -typedef void (*on_NtImpersonateClientOfPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message); -typedef void (*on_NtImpersonateThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ServerThreadHandle, uint32_t ClientThreadHandle, uint32_t SecurityQos); -typedef void (*on_NtImpersonateThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ServerThreadHandle, uint32_t ClientThreadHandle, uint32_t SecurityQos); -typedef void (*on_NtInitializeNlsFiles_enter_t)(CPUState* cpu, target_ulong pc, uint32_t BaseAddress, uint32_t DefaultLocaleId, uint32_t DefaultCasingTableSize); -typedef void (*on_NtInitializeNlsFiles_return_t)(CPUState* cpu, target_ulong pc, uint32_t BaseAddress, uint32_t DefaultLocaleId, uint32_t DefaultCasingTableSize); -typedef void (*on_NtInitializeRegistry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t BootCondition); -typedef void (*on_NtInitializeRegistry_return_t)(CPUState* cpu, target_ulong pc, uint32_t BootCondition); -typedef void (*on_NtInitiatePowerAction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags, uint32_t Asynchronous); -typedef void (*on_NtInitiatePowerAction_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags, uint32_t Asynchronous); -typedef void (*on_NtIsProcessInJob_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t JobHandle); -typedef void (*on_NtIsProcessInJob_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t JobHandle); -typedef void (*on_NtIsSystemResumeAutomatic_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtIsSystemResumeAutomatic_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtIsUILanguageComitted_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtIsUILanguageComitted_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtListenPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionRequest); -typedef void (*on_NtListenPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionRequest); -typedef void (*on_NtLoadDriver_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); -typedef void (*on_NtLoadDriver_return_t)(CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); -typedef void (*on_NtLoadKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile); -typedef void (*on_NtLoadKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile); -typedef void (*on_NtLoadKey2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags); -typedef void (*on_NtLoadKey2_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags); -typedef void (*on_NtLoadKeyEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags, uint32_t TrustClassKey); -typedef void (*on_NtLoadKeyEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags, uint32_t TrustClassKey); -typedef void (*on_NtLockFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key, uint32_t FailImmediately, uint32_t ExclusiveLock); -typedef void (*on_NtLockFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key, uint32_t FailImmediately, uint32_t ExclusiveLock); -typedef void (*on_NtLockProductActivationKeys_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pPrivateVer, uint32_t pSafeMode); -typedef void (*on_NtLockProductActivationKeys_return_t)(CPUState* cpu, target_ulong pc, uint32_t pPrivateVer, uint32_t pSafeMode); -typedef void (*on_NtLockRegistryKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle); -typedef void (*on_NtLockRegistryKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle); -typedef void (*on_NtLockVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); -typedef void (*on_NtLockVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); -typedef void (*on_NtMakePermanentObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle); -typedef void (*on_NtMakePermanentObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle); -typedef void (*on_NtMakeTemporaryObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle); -typedef void (*on_NtMakeTemporaryObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle); -typedef void (*on_NtMapCMFModule_enter_t)(CPUState* cpu, target_ulong pc, uint32_t What, uint32_t Index, uint32_t CacheIndexOut, uint32_t CacheFlagsOut, uint32_t ViewSizeOut, uint32_t BaseAddress); -typedef void (*on_NtMapCMFModule_return_t)(CPUState* cpu, target_ulong pc, uint32_t What, uint32_t Index, uint32_t CacheIndexOut, uint32_t CacheFlagsOut, uint32_t ViewSizeOut, uint32_t BaseAddress); -typedef void (*on_NtMapUserPhysicalPages_enter_t)(CPUState* cpu, target_ulong pc, uint32_t VirtualAddress, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtMapUserPhysicalPages_return_t)(CPUState* cpu, target_ulong pc, uint32_t VirtualAddress, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtMapUserPhysicalPagesScatter_enter_t)(CPUState* cpu, target_ulong pc, uint32_t VirtualAddresses, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtMapUserPhysicalPagesScatter_return_t)(CPUState* cpu, target_ulong pc, uint32_t VirtualAddresses, uint32_t NumberOfPages, uint32_t UserPfnArray); -typedef void (*on_NtMapViewOfSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t CommitSize, uint32_t SectionOffset, uint32_t ViewSize, uint32_t InheritDisposition, uint32_t AllocationType, uint32_t Win32Protect); -typedef void (*on_NtMapViewOfSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t CommitSize, uint32_t SectionOffset, uint32_t ViewSize, uint32_t InheritDisposition, uint32_t AllocationType, uint32_t Win32Protect); -typedef void (*on_NtModifyBootEntry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t BootEntry); -typedef void (*on_NtModifyBootEntry_return_t)(CPUState* cpu, target_ulong pc, uint32_t BootEntry); -typedef void (*on_NtModifyDriverEntry_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DriverEntry); -typedef void (*on_NtModifyDriverEntry_return_t)(CPUState* cpu, target_ulong pc, uint32_t DriverEntry); -typedef void (*on_NtNotifyChangeDirectoryFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t CompletionFilter, uint32_t WatchTree); -typedef void (*on_NtNotifyChangeDirectoryFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t CompletionFilter, uint32_t WatchTree); -typedef void (*on_NtNotifyChangeKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); -typedef void (*on_NtNotifyChangeKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); -typedef void (*on_NtNotifyChangeMultipleKeys_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MasterKeyHandle, uint32_t Count, uint32_t SlaveObjects, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); -typedef void (*on_NtNotifyChangeMultipleKeys_return_t)(CPUState* cpu, target_ulong pc, uint32_t MasterKeyHandle, uint32_t Count, uint32_t SlaveObjects, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); -typedef void (*on_NtNotifyChangeSession_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Session, uint32_t IoStateSequence, uint32_t Reserved, uint32_t Action, uint32_t IoState, uint32_t IoState2, uint32_t Buffer, uint32_t BufferSize); -typedef void (*on_NtNotifyChangeSession_return_t)(CPUState* cpu, target_ulong pc, uint32_t Session, uint32_t IoStateSequence, uint32_t Reserved, uint32_t Action, uint32_t IoState, uint32_t IoState2, uint32_t Buffer, uint32_t BufferSize); -typedef void (*on_NtOpenDirectoryObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenDirectoryObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t EnlistmentGuid, uint32_t ObjectAttributes); -typedef void (*on_NtOpenEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t EnlistmentGuid, uint32_t ObjectAttributes); -typedef void (*on_NtOpenEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t OpenOptions); -typedef void (*on_NtOpenFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t OpenOptions); -typedef void (*on_NtOpenIoCompletion_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenIoCompletion_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenJobObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenJobObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenKeyedEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenKeyedEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenKeyEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions); -typedef void (*on_NtOpenKeyEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions); -typedef void (*on_NtOpenKeyTransacted_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TransactionHandle); -typedef void (*on_NtOpenKeyTransacted_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TransactionHandle); -typedef void (*on_NtOpenKeyTransactedEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions, uint32_t TransactionHandle); -typedef void (*on_NtOpenKeyTransactedEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions, uint32_t TransactionHandle); -typedef void (*on_NtOpenMutant_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenMutant_return_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenObjectAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GrantedAccess, uint32_t Privileges, uint32_t ObjectCreation, uint32_t AccessGranted, uint32_t GenerateOnClose); -typedef void (*on_NtOpenObjectAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GrantedAccess, uint32_t Privileges, uint32_t ObjectCreation, uint32_t AccessGranted, uint32_t GenerateOnClose); -typedef void (*on_NtOpenPrivateNamespace_enter_t)(CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); -typedef void (*on_NtOpenPrivateNamespace_return_t)(CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); -typedef void (*on_NtOpenProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); -typedef void (*on_NtOpenProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); -typedef void (*on_NtOpenProcessToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t TokenHandle); -typedef void (*on_NtOpenProcessToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t TokenHandle); -typedef void (*on_NtOpenProcessTokenEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t TokenHandle); -typedef void (*on_NtOpenProcessTokenEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t TokenHandle); -typedef void (*on_NtOpenResourceManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t ResourceManagerGuid, uint32_t ObjectAttributes); -typedef void (*on_NtOpenResourceManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t ResourceManagerGuid, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSemaphore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSemaphore_return_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSession_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SessionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSession_return_t)(CPUState* cpu, target_ulong pc, uint32_t SessionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSymbolicLinkObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenSymbolicLinkObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); -typedef void (*on_NtOpenThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); -typedef void (*on_NtOpenThreadToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t TokenHandle); -typedef void (*on_NtOpenThreadToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t TokenHandle); -typedef void (*on_NtOpenThreadTokenEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t HandleAttributes, uint32_t TokenHandle); -typedef void (*on_NtOpenThreadTokenEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t HandleAttributes, uint32_t TokenHandle); -typedef void (*on_NtOpenTimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenTimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); -typedef void (*on_NtOpenTransaction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle); -typedef void (*on_NtOpenTransaction_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle); -typedef void (*on_NtOpenTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t TmIdentity, uint32_t OpenOptions); -typedef void (*on_NtOpenTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t TmIdentity, uint32_t OpenOptions); -typedef void (*on_NtPlugPlayControl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PnPControlClass, uint32_t PnPControlData, uint32_t PnPControlDataLength); -typedef void (*on_NtPlugPlayControl_return_t)(CPUState* cpu, target_ulong pc, uint32_t PnPControlClass, uint32_t PnPControlData, uint32_t PnPControlDataLength); -typedef void (*on_NtPowerInformation_enter_t)(CPUState* cpu, target_ulong pc, uint32_t InformationLevel, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); -typedef void (*on_NtPowerInformation_return_t)(CPUState* cpu, target_ulong pc, uint32_t InformationLevel, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); -typedef void (*on_NtPrepareComplete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrepareComplete_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrepareEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrepareEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrePrepareComplete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrePrepareComplete_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrePrepareEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrePrepareEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtPrivilegeCheck_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ClientToken, uint32_t RequiredPrivileges, uint32_t Result); -typedef void (*on_NtPrivilegeCheck_return_t)(CPUState* cpu, target_ulong pc, uint32_t ClientToken, uint32_t RequiredPrivileges, uint32_t Result); -typedef void (*on_NtPrivilegedServiceAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t ServiceName, uint32_t ClientToken, uint32_t Privileges, uint32_t AccessGranted); -typedef void (*on_NtPrivilegedServiceAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t ServiceName, uint32_t ClientToken, uint32_t Privileges, uint32_t AccessGranted); -typedef void (*on_NtPrivilegeObjectAuditAlarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t Privileges, uint32_t AccessGranted); -typedef void (*on_NtPrivilegeObjectAuditAlarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t Privileges, uint32_t AccessGranted); -typedef void (*on_NtPropagationComplete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t BufferLength, uint32_t Buffer); -typedef void (*on_NtPropagationComplete_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t BufferLength, uint32_t Buffer); -typedef void (*on_NtPropagationFailed_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t PropStatus); -typedef void (*on_NtPropagationFailed_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t PropStatus); -typedef void (*on_NtProtectVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t NewProtectWin32, uint32_t OldProtect); -typedef void (*on_NtProtectVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t NewProtectWin32, uint32_t OldProtect); -typedef void (*on_NtPulseEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); -typedef void (*on_NtPulseEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); -typedef void (*on_NtQueryAttributesFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); -typedef void (*on_NtQueryAttributesFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); -typedef void (*on_NtQueryBootEntryOrder_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtQueryBootEntryOrder_return_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtQueryBootOptions_enter_t)(CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t BootOptionsLength); -typedef void (*on_NtQueryBootOptions_return_t)(CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t BootOptionsLength); -typedef void (*on_NtQueryDebugFilterState_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level); -typedef void (*on_NtQueryDebugFilterState_return_t)(CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level); -typedef void (*on_NtQueryDefaultLocale_enter_t)(CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); -typedef void (*on_NtQueryDefaultLocale_return_t)(CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); -typedef void (*on_NtQueryDefaultUILanguage_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); -typedef void (*on_NtQueryDefaultUILanguage_return_t)(CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); -typedef void (*on_NtQueryDirectoryFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass, uint32_t ReturnSingleEntry, uint32_t FileName, uint32_t RestartScan); -typedef void (*on_NtQueryDirectoryFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass, uint32_t ReturnSingleEntry, uint32_t FileName, uint32_t RestartScan); -typedef void (*on_NtQueryDirectoryObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t RestartScan, uint32_t Context, uint32_t ReturnLength); -typedef void (*on_NtQueryDirectoryObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t RestartScan, uint32_t Context, uint32_t ReturnLength); -typedef void (*on_NtQueryDriverEntryOrder_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtQueryDriverEntryOrder_return_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtQueryEaFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t EaList, uint32_t EaListLength, uint32_t EaIndex, uint32_t RestartScan); -typedef void (*on_NtQueryEaFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t EaList, uint32_t EaListLength, uint32_t EaIndex, uint32_t RestartScan); -typedef void (*on_NtQueryEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t EventInformationClass, uint32_t EventInformation, uint32_t EventInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t EventInformationClass, uint32_t EventInformation, uint32_t EventInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryFullAttributesFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); -typedef void (*on_NtQueryFullAttributesFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); -typedef void (*on_NtQueryInformationAtom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Atom, uint32_t InformationClass, uint32_t AtomInformation, uint32_t AtomInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationAtom_return_t)(CPUState* cpu, target_ulong pc, uint32_t Atom, uint32_t InformationClass, uint32_t AtomInformation, uint32_t AtomInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); -typedef void (*on_NtQueryInformationFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); -typedef void (*on_NtQueryInformationJobObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationJobObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationResourceManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationResourceManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationTransaction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationTransaction_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationWorkerFactory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInformationWorkerFactory_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryInstallUILanguage_enter_t)(CPUState* cpu, target_ulong pc, uint32_t InstallUILanguageId); -typedef void (*on_NtQueryInstallUILanguage_return_t)(CPUState* cpu, target_ulong pc, uint32_t InstallUILanguageId); -typedef void (*on_NtQueryIntervalProfile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileSource, uint32_t Interval); -typedef void (*on_NtQueryIntervalProfile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileSource, uint32_t Interval); -typedef void (*on_NtQueryIoCompletion_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformationClass, uint32_t IoCompletionInformation, uint32_t IoCompletionInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryIoCompletion_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformationClass, uint32_t IoCompletionInformation, uint32_t IoCompletionInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtQueryKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtQueryLicenseValue_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Name, uint32_t Type, uint32_t Buffer, uint32_t Length, uint32_t ReturnedLength); -typedef void (*on_NtQueryLicenseValue_return_t)(CPUState* cpu, target_ulong pc, uint32_t Name, uint32_t Type, uint32_t Buffer, uint32_t Length, uint32_t ReturnedLength); -typedef void (*on_NtQueryMultipleValueKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueEntries, uint32_t EntryCount, uint32_t ValueBuffer, uint32_t BufferLength, uint32_t RequiredBufferLength); -typedef void (*on_NtQueryMultipleValueKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueEntries, uint32_t EntryCount, uint32_t ValueBuffer, uint32_t BufferLength, uint32_t RequiredBufferLength); -typedef void (*on_NtQueryMutant_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t MutantInformationClass, uint32_t MutantInformation, uint32_t MutantInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryMutant_return_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t MutantInformationClass, uint32_t MutantInformation, uint32_t MutantInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryOpenSubKeys_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t HandleCount); -typedef void (*on_NtQueryOpenSubKeys_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t HandleCount); -typedef void (*on_NtQueryOpenSubKeysEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t BufferLength, uint32_t Buffer, uint32_t RequiredSize); -typedef void (*on_NtQueryOpenSubKeysEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t BufferLength, uint32_t Buffer, uint32_t RequiredSize); -typedef void (*on_NtQueryPerformanceCounter_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PerformanceCounter, uint32_t PerformanceFrequency); -typedef void (*on_NtQueryPerformanceCounter_return_t)(CPUState* cpu, target_ulong pc, uint32_t PerformanceCounter, uint32_t PerformanceFrequency); -typedef void (*on_NtQueryPortInformationProcess_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtQueryPortInformationProcess_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtQueryQuotaInformationFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t SidList, uint32_t SidListLength, uint32_t StartSid, uint32_t RestartScan); -typedef void (*on_NtQueryQuotaInformationFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t SidList, uint32_t SidListLength, uint32_t StartSid, uint32_t RestartScan); -typedef void (*on_NtQuerySection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t SectionInformationClass, uint32_t SectionInformation, uint32_t SectionInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySection_return_t)(CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t SectionInformationClass, uint32_t SectionInformation, uint32_t SectionInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySecurityAttributesToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t Attributes, uint32_t NumberOfAttributes, uint32_t Buffer, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtQuerySecurityAttributesToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t Attributes, uint32_t NumberOfAttributes, uint32_t Buffer, uint32_t Length, uint32_t ReturnLength); -typedef void (*on_NtQuerySecurityObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor, uint32_t Length, uint32_t LengthNeeded); -typedef void (*on_NtQuerySecurityObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor, uint32_t Length, uint32_t LengthNeeded); -typedef void (*on_NtQuerySemaphore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t SemaphoreInformationClass, uint32_t SemaphoreInformation, uint32_t SemaphoreInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySemaphore_return_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t SemaphoreInformationClass, uint32_t SemaphoreInformation, uint32_t SemaphoreInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySymbolicLinkObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t LinkTarget, uint32_t ReturnedLength); -typedef void (*on_NtQuerySymbolicLinkObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t LinkTarget, uint32_t ReturnedLength); -typedef void (*on_NtQuerySystemEnvironmentValue_enter_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue, uint32_t ValueLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySystemEnvironmentValue_return_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue, uint32_t ValueLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySystemEnvironmentValueEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); -typedef void (*on_NtQuerySystemEnvironmentValueEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); -typedef void (*on_NtQuerySystemInformation_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySystemInformation_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySystemInformationEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t QueryInformation, uint32_t QueryInformationLength, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySystemInformationEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t QueryInformation, uint32_t QueryInformationLength, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQuerySystemTime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemTime); -typedef void (*on_NtQuerySystemTime_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemTime); -typedef void (*on_NtQueryTimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerInformationClass, uint32_t TimerInformation, uint32_t TimerInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryTimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerInformationClass, uint32_t TimerInformation, uint32_t TimerInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryTimerResolution_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MaximumTime, uint32_t MinimumTime, uint32_t CurrentTime); -typedef void (*on_NtQueryTimerResolution_return_t)(CPUState* cpu, target_ulong pc, uint32_t MaximumTime, uint32_t MinimumTime, uint32_t CurrentTime); -typedef void (*on_NtQueryValueKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtQueryValueKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); -typedef void (*on_NtQueryVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t MemoryInformationClass, uint32_t MemoryInformation, uint32_t MemoryInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t MemoryInformationClass, uint32_t MemoryInformation, uint32_t MemoryInformationLength, uint32_t ReturnLength); -typedef void (*on_NtQueryVolumeInformationFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); -typedef void (*on_NtQueryVolumeInformationFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); -typedef void (*on_NtQueueApcThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); -typedef void (*on_NtQueueApcThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); -typedef void (*on_NtQueueApcThreadEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t UserApcReserveHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); -typedef void (*on_NtQueueApcThreadEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t UserApcReserveHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); -typedef void (*on_NtRaiseException_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ExceptionRecord, uint32_t ContextRecord, uint32_t FirstChance); -typedef void (*on_NtRaiseException_return_t)(CPUState* cpu, target_ulong pc, uint32_t ExceptionRecord, uint32_t ContextRecord, uint32_t FirstChance); -typedef void (*on_NtRaiseHardError_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ErrorStatus, uint32_t NumberOfParameters, uint32_t UnicodeStringParameterMask, uint32_t Parameters, uint32_t ValidResponseOptions, uint32_t Response); -typedef void (*on_NtRaiseHardError_return_t)(CPUState* cpu, target_ulong pc, uint32_t ErrorStatus, uint32_t NumberOfParameters, uint32_t UnicodeStringParameterMask, uint32_t Parameters, uint32_t ValidResponseOptions, uint32_t Response); -typedef void (*on_NtReadFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtReadFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtReadFileScatter_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtReadFileScatter_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtReadOnlyEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtReadOnlyEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtReadRequestData_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); -typedef void (*on_NtReadRequestData_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); -typedef void (*on_NtReadVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); -typedef void (*on_NtReadVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); -typedef void (*on_NtRecoverEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentKey); -typedef void (*on_NtRecoverEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentKey); -typedef void (*on_NtRecoverResourceManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle); -typedef void (*on_NtRecoverResourceManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle); -typedef void (*on_NtRecoverTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle); -typedef void (*on_NtRecoverTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle); -typedef void (*on_NtRegisterProtocolAddressInformation_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManager, uint32_t ProtocolId, uint32_t ProtocolInformationSize, uint32_t ProtocolInformation, uint32_t CreateOptions); -typedef void (*on_NtRegisterProtocolAddressInformation_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManager, uint32_t ProtocolId, uint32_t ProtocolInformationSize, uint32_t ProtocolInformation, uint32_t CreateOptions); -typedef void (*on_NtRegisterThreadTerminatePort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle); -typedef void (*on_NtRegisterThreadTerminatePort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle); -typedef void (*on_NtReleaseKeyedEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtReleaseKeyedEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtReleaseMutant_enter_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t PreviousCount); -typedef void (*on_NtReleaseMutant_return_t)(CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t PreviousCount); -typedef void (*on_NtReleaseSemaphore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, int32_t ReleaseCount, uint32_t PreviousCount); -typedef void (*on_NtReleaseSemaphore_return_t)(CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, int32_t ReleaseCount, uint32_t PreviousCount); -typedef void (*on_NtReleaseWorkerFactoryWorker_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); -typedef void (*on_NtReleaseWorkerFactoryWorker_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); -typedef void (*on_NtRemoveIoCompletion_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Timeout); -typedef void (*on_NtRemoveIoCompletion_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Timeout); -typedef void (*on_NtRemoveIoCompletionEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformation, uint32_t Count, uint32_t NumEntriesRemoved, uint32_t Timeout, uint32_t Alertable); -typedef void (*on_NtRemoveIoCompletionEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformation, uint32_t Count, uint32_t NumEntriesRemoved, uint32_t Timeout, uint32_t Alertable); -typedef void (*on_NtRemoveProcessDebug_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); -typedef void (*on_NtRemoveProcessDebug_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); -typedef void (*on_NtRenameKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t NewName); -typedef void (*on_NtRenameKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t NewName); -typedef void (*on_NtRenameTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t LogFileName, uint32_t ExistingTransactionManagerGuid); -typedef void (*on_NtRenameTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t LogFileName, uint32_t ExistingTransactionManagerGuid); -typedef void (*on_NtReplaceKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t NewFile, uint32_t TargetHandle, uint32_t OldFile); -typedef void (*on_NtReplaceKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t NewFile, uint32_t TargetHandle, uint32_t OldFile); -typedef void (*on_NtReplacePartitionUnit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetInstancePath, uint32_t SpareInstancePath, uint32_t Flags); -typedef void (*on_NtReplacePartitionUnit_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetInstancePath, uint32_t SpareInstancePath, uint32_t Flags); -typedef void (*on_NtReplyPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); -typedef void (*on_NtReplyPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); -typedef void (*on_NtReplyWaitReceivePort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage); -typedef void (*on_NtReplyWaitReceivePort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage); -typedef void (*on_NtReplyWaitReceivePortEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage, uint32_t Timeout); -typedef void (*on_NtReplyWaitReceivePortEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage, uint32_t Timeout); -typedef void (*on_NtReplyWaitReplyPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); -typedef void (*on_NtReplyWaitReplyPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); -typedef void (*on_NtRequestPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage); -typedef void (*on_NtRequestPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage); -typedef void (*on_NtRequestWaitReplyPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage, uint32_t ReplyMessage); -typedef void (*on_NtRequestWaitReplyPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage, uint32_t ReplyMessage); -typedef void (*on_NtResetEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); -typedef void (*on_NtResetEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); -typedef void (*on_NtResetWriteWatch_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize); -typedef void (*on_NtResetWriteWatch_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize); -typedef void (*on_NtRestoreKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Flags); -typedef void (*on_NtRestoreKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Flags); -typedef void (*on_NtResumeProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); -typedef void (*on_NtResumeProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); -typedef void (*on_NtResumeThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); -typedef void (*on_NtResumeThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); -typedef void (*on_NtRollbackComplete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtRollbackComplete_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtRollbackEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtRollbackEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtRollbackTransaction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); -typedef void (*on_NtRollbackTransaction_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); -typedef void (*on_NtRollforwardTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TmVirtualClock); -typedef void (*on_NtRollforwardTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TmVirtualClock); -typedef void (*on_NtSaveKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle); -typedef void (*on_NtSaveKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle); -typedef void (*on_NtSaveKeyEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Format); -typedef void (*on_NtSaveKeyEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Format); -typedef void (*on_NtSaveMergedKeys_enter_t)(CPUState* cpu, target_ulong pc, uint32_t HighPrecedenceKeyHandle, uint32_t LowPrecedenceKeyHandle, uint32_t FileHandle); -typedef void (*on_NtSaveMergedKeys_return_t)(CPUState* cpu, target_ulong pc, uint32_t HighPrecedenceKeyHandle, uint32_t LowPrecedenceKeyHandle, uint32_t FileHandle); -typedef void (*on_NtSecureConnectPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t RequiredServerSid, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); -typedef void (*on_NtSecureConnectPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t RequiredServerSid, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); -typedef void (*on_NtSerializeBoot_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtSerializeBoot_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtSetBootEntryOrder_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtSetBootEntryOrder_return_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtSetBootOptions_enter_t)(CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t FieldsToChange); -typedef void (*on_NtSetBootOptions_return_t)(CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t FieldsToChange); -typedef void (*on_NtSetContextThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); -typedef void (*on_NtSetContextThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); -typedef void (*on_NtSetDebugFilterState_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level, uint32_t State); -typedef void (*on_NtSetDebugFilterState_return_t)(CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level, uint32_t State); -typedef void (*on_NtSetDefaultHardErrorPort_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DefaultHardErrorPort); -typedef void (*on_NtSetDefaultHardErrorPort_return_t)(CPUState* cpu, target_ulong pc, uint32_t DefaultHardErrorPort); -typedef void (*on_NtSetDefaultLocale_enter_t)(CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); -typedef void (*on_NtSetDefaultLocale_return_t)(CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); -typedef void (*on_NtSetDefaultUILanguage_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); -typedef void (*on_NtSetDefaultUILanguage_return_t)(CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); -typedef void (*on_NtSetDriverEntryOrder_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtSetDriverEntryOrder_return_t)(CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); -typedef void (*on_NtSetEaFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); -typedef void (*on_NtSetEaFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); -typedef void (*on_NtSetEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); -typedef void (*on_NtSetEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); -typedef void (*on_NtSetEventBoostPriority_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle); -typedef void (*on_NtSetEventBoostPriority_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventHandle); -typedef void (*on_NtSetHighEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetHighEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetHighWaitLowEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetHighWaitLowEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetInformationDebugObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DebugObjectInformationClass, uint32_t DebugInformation, uint32_t DebugInformationLength, uint32_t ReturnLength); -typedef void (*on_NtSetInformationDebugObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DebugObjectInformationClass, uint32_t DebugInformation, uint32_t DebugInformationLength, uint32_t ReturnLength); -typedef void (*on_NtSetInformationEnlistment_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength); -typedef void (*on_NtSetInformationEnlistment_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength); -typedef void (*on_NtSetInformationFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); -typedef void (*on_NtSetInformationFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); -typedef void (*on_NtSetInformationJobObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength); -typedef void (*on_NtSetInformationJobObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength); -typedef void (*on_NtSetInformationKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeySetInformationClass, uint32_t KeySetInformation, uint32_t KeySetInformationLength); -typedef void (*on_NtSetInformationKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeySetInformationClass, uint32_t KeySetInformation, uint32_t KeySetInformationLength); -typedef void (*on_NtSetInformationObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength); -typedef void (*on_NtSetInformationObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength); -typedef void (*on_NtSetInformationProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength); -typedef void (*on_NtSetInformationProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength); -typedef void (*on_NtSetInformationResourceManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength); -typedef void (*on_NtSetInformationResourceManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength); -typedef void (*on_NtSetInformationThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength); -typedef void (*on_NtSetInformationThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength); -typedef void (*on_NtSetInformationToken_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength); -typedef void (*on_NtSetInformationToken_return_t)(CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength); -typedef void (*on_NtSetInformationTransaction_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength); -typedef void (*on_NtSetInformationTransaction_return_t)(CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength); -typedef void (*on_NtSetInformationTransactionManager_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength); -typedef void (*on_NtSetInformationTransactionManager_return_t)(CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength); -typedef void (*on_NtSetInformationWorkerFactory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength); -typedef void (*on_NtSetInformationWorkerFactory_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength); -typedef void (*on_NtSetIntervalProfile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Interval, uint32_t Source); -typedef void (*on_NtSetIntervalProfile_return_t)(CPUState* cpu, target_ulong pc, uint32_t Interval, uint32_t Source); -typedef void (*on_NtSetIoCompletion_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); -typedef void (*on_NtSetIoCompletion_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); -typedef void (*on_NtSetIoCompletionEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionReserveHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); -typedef void (*on_NtSetIoCompletionEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionReserveHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); -typedef void (*on_NtSetLdtEntries_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Selector0, uint32_t Entry0Low, uint32_t Entry0Hi, uint32_t Selector1, uint32_t Entry1Low, uint32_t Entry1Hi); -typedef void (*on_NtSetLdtEntries_return_t)(CPUState* cpu, target_ulong pc, uint32_t Selector0, uint32_t Entry0Low, uint32_t Entry0Hi, uint32_t Selector1, uint32_t Entry1Low, uint32_t Entry1Hi); -typedef void (*on_NtSetLowEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetLowEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetLowWaitHighEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetLowWaitHighEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtSetQuotaInformationFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); -typedef void (*on_NtSetQuotaInformationFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); -typedef void (*on_NtSetSecurityObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor); -typedef void (*on_NtSetSecurityObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor); -typedef void (*on_NtSetSystemEnvironmentValue_enter_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue); -typedef void (*on_NtSetSystemEnvironmentValue_return_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue); -typedef void (*on_NtSetSystemEnvironmentValueEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); -typedef void (*on_NtSetSystemEnvironmentValueEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); -typedef void (*on_NtSetSystemInformation_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength); -typedef void (*on_NtSetSystemInformation_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength); -typedef void (*on_NtSetSystemPowerState_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags); -typedef void (*on_NtSetSystemPowerState_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags); -typedef void (*on_NtSetSystemTime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SystemTime, uint32_t PreviousTime); -typedef void (*on_NtSetSystemTime_return_t)(CPUState* cpu, target_ulong pc, uint32_t SystemTime, uint32_t PreviousTime); -typedef void (*on_NtSetThreadExecutionState_enter_t)(CPUState* cpu, target_ulong pc, uint32_t esFlags, uint32_t PreviousFlags); -typedef void (*on_NtSetThreadExecutionState_return_t)(CPUState* cpu, target_ulong pc, uint32_t esFlags, uint32_t PreviousFlags); -typedef void (*on_NtSetTimer_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DueTime, uint32_t TimerApcRoutine, uint32_t TimerContext, uint32_t WakeTimer, int32_t Period, uint32_t PreviousState); -typedef void (*on_NtSetTimer_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DueTime, uint32_t TimerApcRoutine, uint32_t TimerContext, uint32_t WakeTimer, int32_t Period, uint32_t PreviousState); -typedef void (*on_NtSetTimerEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerSetInformationClass, uint32_t TimerSetInformation, uint32_t TimerSetInformationLength); -typedef void (*on_NtSetTimerEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerSetInformationClass, uint32_t TimerSetInformation, uint32_t TimerSetInformationLength); -typedef void (*on_NtSetTimerResolution_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DesiredTime, uint32_t SetResolution, uint32_t ActualTime); -typedef void (*on_NtSetTimerResolution_return_t)(CPUState* cpu, target_ulong pc, uint32_t DesiredTime, uint32_t SetResolution, uint32_t ActualTime); -typedef void (*on_NtSetUuidSeed_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Seed); -typedef void (*on_NtSetUuidSeed_return_t)(CPUState* cpu, target_ulong pc, uint32_t Seed); -typedef void (*on_NtSetValueKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t TitleIndex, uint32_t Type, uint32_t Data, uint32_t DataSize); -typedef void (*on_NtSetValueKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t TitleIndex, uint32_t Type, uint32_t Data, uint32_t DataSize); -typedef void (*on_NtSetVolumeInformationFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); -typedef void (*on_NtSetVolumeInformationFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); -typedef void (*on_NtShutdownSystem_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Action); -typedef void (*on_NtShutdownSystem_return_t)(CPUState* cpu, target_ulong pc, uint32_t Action); -typedef void (*on_NtShutdownWorkerFactory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t PendingWorkerCount); -typedef void (*on_NtShutdownWorkerFactory_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t PendingWorkerCount); -typedef void (*on_NtSignalAndWaitForSingleObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SignalHandle, uint32_t WaitHandle, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtSignalAndWaitForSingleObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t SignalHandle, uint32_t WaitHandle, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtSinglePhaseReject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtSinglePhaseReject_return_t)(CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); -typedef void (*on_NtStartProfile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); -typedef void (*on_NtStartProfile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); -typedef void (*on_NtStopProfile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); -typedef void (*on_NtStopProfile_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); -typedef void (*on_NtSuspendProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); -typedef void (*on_NtSuspendProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); -typedef void (*on_NtSuspendThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); -typedef void (*on_NtSuspendThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); -typedef void (*on_NtSystemDebugControl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Command, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength, uint32_t ReturnLength); -typedef void (*on_NtSystemDebugControl_return_t)(CPUState* cpu, target_ulong pc, uint32_t Command, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength, uint32_t ReturnLength); -typedef void (*on_NtTerminateJobObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ExitStatus); -typedef void (*on_NtTerminateJobObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ExitStatus); -typedef void (*on_NtTerminateProcess_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ExitStatus); -typedef void (*on_NtTerminateProcess_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ExitStatus); -typedef void (*on_NtTerminateThread_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ExitStatus); -typedef void (*on_NtTerminateThread_return_t)(CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ExitStatus); -typedef void (*on_NtTestAlert_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtTestAlert_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtThawRegistry_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtThawRegistry_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtThawTransactions_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtThawTransactions_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtTraceControl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FunctionCode, uint32_t InBuffer, uint32_t InBufferLen, uint32_t OutBuffer, uint32_t OutBufferLen, uint32_t ReturnLength); -typedef void (*on_NtTraceControl_return_t)(CPUState* cpu, target_ulong pc, uint32_t FunctionCode, uint32_t InBuffer, uint32_t InBufferLen, uint32_t OutBuffer, uint32_t OutBufferLen, uint32_t ReturnLength); -typedef void (*on_NtTraceEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TraceHandle, uint32_t Flags, uint32_t FieldSize, uint32_t Fields); -typedef void (*on_NtTraceEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t TraceHandle, uint32_t Flags, uint32_t FieldSize, uint32_t Fields); -typedef void (*on_NtTranslateFilePath_enter_t)(CPUState* cpu, target_ulong pc, uint32_t InputFilePath, uint32_t OutputType, uint32_t OutputFilePath, uint32_t OutputFilePathLength); -typedef void (*on_NtTranslateFilePath_return_t)(CPUState* cpu, target_ulong pc, uint32_t InputFilePath, uint32_t OutputType, uint32_t OutputFilePath, uint32_t OutputFilePathLength); -typedef void (*on_NtUmsThreadYield_enter_t)(CPUState* cpu, target_ulong pc, uint32_t SchedulerParam); -typedef void (*on_NtUmsThreadYield_return_t)(CPUState* cpu, target_ulong pc, uint32_t SchedulerParam); -typedef void (*on_NtUnloadDriver_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); -typedef void (*on_NtUnloadDriver_return_t)(CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); -typedef void (*on_NtUnloadKey_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey); -typedef void (*on_NtUnloadKey_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey); -typedef void (*on_NtUnloadKey2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Flags); -typedef void (*on_NtUnloadKey2_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Flags); -typedef void (*on_NtUnloadKeyEx_enter_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Event); -typedef void (*on_NtUnloadKeyEx_return_t)(CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Event); -typedef void (*on_NtUnlockFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key); -typedef void (*on_NtUnlockFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key); -typedef void (*on_NtUnlockVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); -typedef void (*on_NtUnlockVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); -typedef void (*on_NtUnmapViewOfSection_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress); -typedef void (*on_NtUnmapViewOfSection_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress); -typedef void (*on_NtVdmControl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Service, uint32_t ServiceData); -typedef void (*on_NtVdmControl_return_t)(CPUState* cpu, target_ulong pc, uint32_t Service, uint32_t ServiceData); -typedef void (*on_NtWaitForDebugEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t Alertable, uint32_t Timeout, uint32_t WaitStateChange); -typedef void (*on_NtWaitForDebugEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t Alertable, uint32_t Timeout, uint32_t WaitStateChange); -typedef void (*on_NtWaitForKeyedEvent_enter_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForKeyedEvent_return_t)(CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForMultipleObjects_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForMultipleObjects_return_t)(CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForMultipleObjects32_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForMultipleObjects32_return_t)(CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForSingleObject_enter_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForSingleObject_return_t)(CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t Alertable, uint32_t Timeout); -typedef void (*on_NtWaitForWorkViaWorkerFactory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t MiniPacket); -typedef void (*on_NtWaitForWorkViaWorkerFactory_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t MiniPacket); -typedef void (*on_NtWaitHighEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtWaitHighEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtWaitLowEventPair_enter_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtWaitLowEventPair_return_t)(CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); -typedef void (*on_NtWorkerFactoryWorkerReady_enter_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); -typedef void (*on_NtWorkerFactoryWorkerReady_return_t)(CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); -typedef void (*on_NtWriteFile_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtWriteFile_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtWriteFileGather_enter_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtWriteFileGather_return_t)(CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); -typedef void (*on_NtWriteRequestData_enter_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); -typedef void (*on_NtWriteRequestData_return_t)(CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); -typedef void (*on_NtWriteVirtualMemory_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); -typedef void (*on_NtWriteVirtualMemory_return_t)(CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); -typedef void (*on_NtYieldExecution_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_NtYieldExecution_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_accept4_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); -typedef void (*on_sys_accept4_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); -typedef void (*on_sys_access_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); -typedef void (*on_sys_access_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); -typedef void (*on_sys_acct_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_acct_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_add_key_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_add_key_return_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); -typedef void (*on_sys_adjtimex_enter_t)(CPUState* cpu, target_ulong pc, uint32_t txc_p); -typedef void (*on_sys_adjtimex_return_t)(CPUState* cpu, target_ulong pc, uint32_t txc_p); -typedef void (*on_sys_alarm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_alarm_return_t)(CPUState* cpu, target_ulong pc, uint32_t seconds); -typedef void (*on_sys_arch_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1); -typedef void (*on_sys_arch_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1); -typedef void (*on_sys_bdflush_enter_t)(CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); -typedef void (*on_sys_bdflush_return_t)(CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); -typedef void (*on_sys_bind_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_bind_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_bpf_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); -typedef void (*on_sys_bpf_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); -typedef void (*on_sys_brk_enter_t)(CPUState* cpu, target_ulong pc, uint32_t brk); -typedef void (*on_sys_brk_return_t)(CPUState* cpu, target_ulong pc, uint32_t brk); -typedef void (*on_sys_capget_enter_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); -typedef void (*on_sys_capget_return_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); -typedef void (*on_sys_capset_enter_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); -typedef void (*on_sys_capset_return_t)(CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); -typedef void (*on_sys_chdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); -typedef void (*on_sys_chmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); -typedef void (*on_sys_chown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chown16_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_chroot_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_chroot_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename); -typedef void (*on_sys_clock_adjtime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_adjtime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); -typedef void (*on_sys_clock_getres_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_getres_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_clock_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clock_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); -typedef void (*on_sys_clone_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_clone_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_close_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_close_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_connect_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_connect_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_copy_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_copy_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_creat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_creat_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_delete_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); -typedef void (*on_sys_delete_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); -typedef void (*on_sys_dup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_dup2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup2_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); -typedef void (*on_sys_dup3_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_dup3_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); -typedef void (*on_sys_epoll_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create_return_t)(CPUState* cpu, target_ulong pc, int32_t size); -typedef void (*on_sys_epoll_create1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_create1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_epoll_ctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); -typedef void (*on_sys_epoll_ctl_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); -typedef void (*on_sys_epoll_pwait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_pwait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); -typedef void (*on_sys_epoll_wait_enter_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_epoll_wait_return_t)(CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); -typedef void (*on_sys_eventfd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd_return_t)(CPUState* cpu, target_ulong pc, uint32_t count); -typedef void (*on_sys_eventfd2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_eventfd2_return_t)(CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); -typedef void (*on_sys_execve_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); -typedef void (*on_sys_execve_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); -typedef void (*on_sys_execveat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); -typedef void (*on_sys_execveat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); -typedef void (*on_sys_exit_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_enter_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_exit_group_return_t)(CPUState* cpu, target_ulong pc, int32_t error_code); -typedef void (*on_sys_faccessat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); -typedef void (*on_sys_faccessat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); -typedef void (*on_sys_fadvise64_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); -typedef void (*on_sys_fadvise64_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); -typedef void (*on_sys_fadvise64_64_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); -typedef void (*on_sys_fadvise64_64_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); -typedef void (*on_sys_fallocate_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fallocate_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); -typedef void (*on_sys_fanotify_init_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_init_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); -typedef void (*on_sys_fanotify_mark_enter_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); -typedef void (*on_sys_fanotify_mark_return_t)(CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); -typedef void (*on_sys_fchdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fchmod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmod_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); -typedef void (*on_sys_fchmodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); -typedef void (*on_sys_fchmodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); -typedef void (*on_sys_fchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchown16_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); -typedef void (*on_sys_fchownat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fchownat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); -typedef void (*on_sys_fcntl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fcntl64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_fdatasync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fdatasync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fgetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_fgetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_finit_module_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); -typedef void (*on_sys_finit_module_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); -typedef void (*on_sys_flistxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); -typedef void (*on_sys_flistxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); -typedef void (*on_sys_flock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_flock_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); -typedef void (*on_sys_fork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_fremovexattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); -typedef void (*on_sys_fremovexattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); -typedef void (*on_sys_fsetxattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fsetxattr_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_fstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_fstatat64_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); -typedef void (*on_sys_fstatat64_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); -typedef void (*on_sys_fstatfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); -typedef void (*on_sys_fstatfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); -typedef void (*on_sys_fstatfs64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); -typedef void (*on_sys_fstatfs64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); -typedef void (*on_sys_fsync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_fsync_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd); -typedef void (*on_sys_ftruncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); -typedef void (*on_sys_ftruncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); -typedef void (*on_sys_ftruncate64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_ftruncate64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); -typedef void (*on_sys_futex_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futex_return_t)(CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); -typedef void (*on_sys_futimesat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_futimesat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_get_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); -typedef void (*on_sys_get_mempolicy_return_t)(CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); -typedef void (*on_sys_get_robust_list_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); -typedef void (*on_sys_get_robust_list_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); -typedef void (*on_sys_get_thread_area_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_get_thread_area_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_getcpu_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); -typedef void (*on_sys_getcpu_return_t)(CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); -typedef void (*on_sys_getcwd_enter_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); -typedef void (*on_sys_getcwd_return_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); -typedef void (*on_sys_getdents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getdents64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); -typedef void (*on_sys_getegid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getegid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_geteuid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups16_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getgroups16_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_getitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); -typedef void (*on_sys_getitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); -typedef void (*on_sys_getpeername_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getpeername_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getpgrp_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpgrp_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getppid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_getrandom_enter_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getrandom_return_t)(CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); -typedef void (*on_sys_getresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_getresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getresuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_getrusage_enter_t)(CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); -typedef void (*on_sys_getrusage_return_t)(CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); -typedef void (*on_sys_getsid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_getsockname_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getsockname_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_getsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); -typedef void (*on_sys_getsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); -typedef void (*on_sys_gettid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_gettimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_gettimeofday_return_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_getuid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid16_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getuid16_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_getxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_getxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_init_module_enter_t)(CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); -typedef void (*on_sys_init_module_return_t)(CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); -typedef void (*on_sys_inotify_add_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); -typedef void (*on_sys_inotify_add_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); -typedef void (*on_sys_inotify_init_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_inotify_init1_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_init1_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_inotify_rm_watch_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_inotify_rm_watch_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); -typedef void (*on_sys_io_cancel_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); -typedef void (*on_sys_io_cancel_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); -typedef void (*on_sys_io_destroy_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx); -typedef void (*on_sys_io_destroy_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx); -typedef void (*on_sys_io_getevents_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); -typedef void (*on_sys_io_getevents_return_t)(CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); -typedef void (*on_sys_io_setup_enter_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); -typedef void (*on_sys_io_setup_return_t)(CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); -typedef void (*on_sys_io_submit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); -typedef void (*on_sys_io_submit_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); -typedef void (*on_sys_ioctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_ioctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_ioperm_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_ioperm_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, int32_t arg2); -typedef void (*on_sys_iopl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_iopl_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_ioprio_get_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_get_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who); -typedef void (*on_sys_ioprio_set_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ioprio_set_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); -typedef void (*on_sys_ipc_enter_t)(CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); -typedef void (*on_sys_ipc_return_t)(CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); -typedef void (*on_sys_kcmp_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); -typedef void (*on_sys_kcmp_return_t)(CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); -typedef void (*on_sys_kexec_load_enter_t)(CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); -typedef void (*on_sys_kexec_load_return_t)(CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); -typedef void (*on_sys_keyctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_keyctl_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_kill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_kill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_lchown_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lchown16_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); -typedef void (*on_sys_lgetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_lgetxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); -typedef void (*on_sys_link_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_link_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_linkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); -typedef void (*on_sys_linkat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); -typedef void (*on_sys_listen_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listen_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_listxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_listxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llistxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llistxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); -typedef void (*on_sys_llseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); -typedef void (*on_sys_llseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); -typedef void (*on_sys_lookup_dcookie_enter_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); -typedef void (*on_sys_lookup_dcookie_return_t)(CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); -typedef void (*on_sys_lremovexattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_lremovexattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_lseek_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); -typedef void (*on_sys_lseek_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); -typedef void (*on_sys_lsetxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lsetxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_lstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_lstat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_madvise_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_madvise_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); -typedef void (*on_sys_mbind_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); -typedef void (*on_sys_mbind_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); -typedef void (*on_sys_membarrier_enter_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_membarrier_return_t)(CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); -typedef void (*on_sys_memfd_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); -typedef void (*on_sys_memfd_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); -typedef void (*on_sys_migrate_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); -typedef void (*on_sys_migrate_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); -typedef void (*on_sys_mincore_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); -typedef void (*on_sys_mincore_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); -typedef void (*on_sys_mkdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mkdirat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); -typedef void (*on_sys_mknod_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknod_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mknodat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); -typedef void (*on_sys_mlock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_mlock_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_mlock2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlock2_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_mlockall_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mlockall_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_mmap_pgoff_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); -typedef void (*on_sys_mmap_pgoff_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); -typedef void (*on_sys_modify_ldt_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_modify_ldt_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_mount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); -typedef void (*on_sys_mount_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); -typedef void (*on_sys_move_pages_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); -typedef void (*on_sys_move_pages_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); -typedef void (*on_sys_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); -typedef void (*on_sys_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); -typedef void (*on_sys_mq_getsetattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); -typedef void (*on_sys_mq_getsetattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); -typedef void (*on_sys_mq_notify_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); -typedef void (*on_sys_mq_notify_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); -typedef void (*on_sys_mq_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); -typedef void (*on_sys_mq_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); -typedef void (*on_sys_mq_timedreceive_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedreceive_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedsend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_timedsend_return_t)(CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); -typedef void (*on_sys_mq_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_mq_unlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_mremap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); -typedef void (*on_sys_mremap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); -typedef void (*on_sys_msync_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_msync_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); -typedef void (*on_sys_munlock_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_munlock_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); -typedef void (*on_sys_munlockall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munlockall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_munmap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); -typedef void (*on_sys_munmap_return_t)(CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); -typedef void (*on_sys_name_to_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); -typedef void (*on_sys_name_to_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); -typedef void (*on_sys_nanosleep_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_nanosleep_return_t)(CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); -typedef void (*on_sys_newfstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_newfstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); -typedef void (*on_sys_newlstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newlstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newstat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newstat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_newuname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_newuname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_nice_enter_t)(CPUState* cpu, target_ulong pc, int32_t increment); -typedef void (*on_sys_nice_return_t)(CPUState* cpu, target_ulong pc, int32_t increment); -typedef void (*on_sys_old_getrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_old_getrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_old_mmap_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg); -typedef void (*on_sys_old_mmap_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg); -typedef void (*on_sys_old_readdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_old_readdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_old_select_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg); -typedef void (*on_sys_old_select_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg); -typedef void (*on_sys_oldumount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_oldumount_return_t)(CPUState* cpu, target_ulong pc, uint32_t name); -typedef void (*on_sys_olduname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_olduname_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_open_by_handle_at_enter_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); -typedef void (*on_sys_open_by_handle_at_return_t)(CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); -typedef void (*on_sys_openat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_openat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); -typedef void (*on_sys_pause_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_pause_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_perf_event_open_enter_t)(CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); -typedef void (*on_sys_perf_event_open_return_t)(CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); -typedef void (*on_sys_personality_enter_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_personality_return_t)(CPUState* cpu, target_ulong pc, uint32_t personality); -typedef void (*on_sys_pipe_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_pipe_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes); -typedef void (*on_sys_pipe2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); -typedef void (*on_sys_pipe2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); -typedef void (*on_sys_pivot_root_enter_t)(CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); -typedef void (*on_sys_pivot_root_return_t)(CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); -typedef void (*on_sys_pkey_alloc_enter_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); -typedef void (*on_sys_pkey_alloc_return_t)(CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); -typedef void (*on_sys_pkey_free_enter_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_free_return_t)(CPUState* cpu, target_ulong pc, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); -typedef void (*on_sys_pkey_mprotect_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); -typedef void (*on_sys_poll_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_poll_return_t)(CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); -typedef void (*on_sys_ppoll_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_ppoll_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); -typedef void (*on_sys_prctl_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_prctl_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pread64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pread64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_preadv_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_preadv_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_preadv2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_preadv2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_prlimit64_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); -typedef void (*on_sys_prlimit64_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); -typedef void (*on_sys_process_vm_readv_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_readv_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_writev_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_process_vm_writev_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); -typedef void (*on_sys_pselect6_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_pselect6_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_ptrace_enter_t)(CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); -typedef void (*on_sys_ptrace_return_t)(CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); -typedef void (*on_sys_pwrite64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwrite64_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); -typedef void (*on_sys_pwritev_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_pwritev_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); -typedef void (*on_sys_pwritev2_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_pwritev2_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); -typedef void (*on_sys_quotactl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); -typedef void (*on_sys_quotactl_return_t)(CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); -typedef void (*on_sys_read_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_read_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_readahead_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readahead_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); -typedef void (*on_sys_readlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); -typedef void (*on_sys_readv_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_readv_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_reboot_enter_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_reboot_return_t)(CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); -typedef void (*on_sys_recvfrom_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_recvfrom_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); -typedef void (*on_sys_recvmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); -typedef void (*on_sys_recvmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_recvmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_remap_file_pages_enter_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); -typedef void (*on_sys_remap_file_pages_return_t)(CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); -typedef void (*on_sys_removexattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_removexattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); -typedef void (*on_sys_rename_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_rename_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); -typedef void (*on_sys_renameat_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_renameat_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_renameat2_enter_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); -typedef void (*on_sys_renameat2_return_t)(CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); -typedef void (*on_sys_request_key_enter_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); -typedef void (*on_sys_request_key_return_t)(CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); -typedef void (*on_sys_restart_syscall_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_restart_syscall_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rmdir_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_rmdir_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_rt_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); -typedef void (*on_sys_rt_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_sigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_sigreturn_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigreturn_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_rt_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_sigtimedwait_return_t)(CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); -typedef void (*on_sys_rt_tgsigqueueinfo_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_rt_tgsigqueueinfo_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); -typedef void (*on_sys_sched_get_priority_max_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_max_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_enter_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_get_priority_min_return_t)(CPUState* cpu, target_ulong pc, int32_t policy); -typedef void (*on_sys_sched_getaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_getaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_getattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); -typedef void (*on_sys_sched_getparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_getparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_getscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_getscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid); -typedef void (*on_sys_sched_rr_get_interval_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_rr_get_interval_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); -typedef void (*on_sys_sched_setaffinity_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_setaffinity_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); -typedef void (*on_sys_sched_setattr_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); -typedef void (*on_sys_sched_setattr_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); -typedef void (*on_sys_sched_setparam_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_setparam_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); -typedef void (*on_sys_sched_setscheduler_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); -typedef void (*on_sys_sched_setscheduler_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); -typedef void (*on_sys_sched_yield_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sched_yield_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_seccomp_enter_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); -typedef void (*on_sys_seccomp_return_t)(CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); -typedef void (*on_sys_select_enter_t)(CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); -typedef void (*on_sys_select_return_t)(CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); -typedef void (*on_sys_sendfile_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_enter_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendfile64_return_t)(CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); -typedef void (*on_sys_sendmmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); -typedef void (*on_sys_sendmsg_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_sendmsg_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); -typedef void (*on_sys_sendto_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); -typedef void (*on_sys_sendto_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); -typedef void (*on_sys_set_mempolicy_enter_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); -typedef void (*on_sys_set_mempolicy_return_t)(CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); -typedef void (*on_sys_set_robust_list_enter_t)(CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); -typedef void (*on_sys_set_robust_list_return_t)(CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); -typedef void (*on_sys_set_thread_area_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_set_thread_area_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_set_tid_address_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tidptr); -typedef void (*on_sys_set_tid_address_return_t)(CPUState* cpu, target_ulong pc, uint32_t tidptr); -typedef void (*on_sys_setdomainname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setdomainname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setfsgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setfsuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setfsuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t gid); -typedef void (*on_sys_setgroups_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups16_enter_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_setgroups16_return_t)(CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); -typedef void (*on_sys_sethostname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_sethostname_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); -typedef void (*on_sys_setitimer_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); -typedef void (*on_sys_setitimer_return_t)(CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); -typedef void (*on_sys_setns_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setns_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); -typedef void (*on_sys_setpgid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpgid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); -typedef void (*on_sys_setpriority_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setpriority_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); -typedef void (*on_sys_setregid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setregid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); -typedef void (*on_sys_setresgid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresgid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); -typedef void (*on_sys_setresuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setresuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); -typedef void (*on_sys_setreuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setreuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); -typedef void (*on_sys_setrlimit_enter_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_setrlimit_return_t)(CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); -typedef void (*on_sys_setsid_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsid_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_setsockopt_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); -typedef void (*on_sys_setsockopt_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); -typedef void (*on_sys_settimeofday_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_settimeofday_return_t)(CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); -typedef void (*on_sys_setuid_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid16_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setuid16_return_t)(CPUState* cpu, target_ulong pc, uint32_t uid); -typedef void (*on_sys_setxattr_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_setxattr_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); -typedef void (*on_sys_sgetmask_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sgetmask_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_shutdown_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_shutdown_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); -typedef void (*on_sys_sigaction_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sigaction_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sigaltstack_enter_t)(CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); -typedef void (*on_sys_sigaltstack_return_t)(CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); -typedef void (*on_sys_signal_enter_t)(CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); -typedef void (*on_sys_signal_return_t)(CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); -typedef void (*on_sys_signalfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); -typedef void (*on_sys_signalfd4_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_signalfd4_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); -typedef void (*on_sys_sigpending_enter_t)(CPUState* cpu, target_ulong pc, uint32_t set); -typedef void (*on_sys_sigpending_return_t)(CPUState* cpu, target_ulong pc, uint32_t set); -typedef void (*on_sys_sigprocmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); -typedef void (*on_sys_sigprocmask_return_t)(CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); -typedef void (*on_sys_sigreturn_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sigreturn_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sigsuspend_enter_t)(CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); -typedef void (*on_sys_sigsuspend_return_t)(CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); -typedef void (*on_sys_socket_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socket_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); -typedef void (*on_sys_socketcall_enter_t)(CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); -typedef void (*on_sys_socketcall_return_t)(CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); -typedef void (*on_sys_socketpair_enter_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); -typedef void (*on_sys_socketpair_return_t)(CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); -typedef void (*on_sys_splice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_splice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); -typedef void (*on_sys_ssetmask_enter_t)(CPUState* cpu, target_ulong pc, int32_t newmask); -typedef void (*on_sys_ssetmask_return_t)(CPUState* cpu, target_ulong pc, int32_t newmask); -typedef void (*on_sys_stat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_stat64_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); -typedef void (*on_sys_statfs_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); -typedef void (*on_sys_statfs_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); -typedef void (*on_sys_statfs64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); -typedef void (*on_sys_statfs64_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); -typedef void (*on_sys_statx_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); -typedef void (*on_sys_statx_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); -typedef void (*on_sys_stime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tptr); -typedef void (*on_sys_stime_return_t)(CPUState* cpu, target_ulong pc, uint32_t tptr); -typedef void (*on_sys_swapoff_enter_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile); -typedef void (*on_sys_swapoff_return_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile); -typedef void (*on_sys_swapon_enter_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); -typedef void (*on_sys_swapon_return_t)(CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); -typedef void (*on_sys_symlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); -typedef void (*on_sys_symlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); -typedef void (*on_sys_symlinkat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_symlinkat_return_t)(CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); -typedef void (*on_sys_sync_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_sync_file_range_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_sync_file_range_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); -typedef void (*on_sys_syncfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_syncfs_return_t)(CPUState* cpu, target_ulong pc, int32_t fd); -typedef void (*on_sys_sysctl_enter_t)(CPUState* cpu, target_ulong pc, uint32_t args); -typedef void (*on_sys_sysctl_return_t)(CPUState* cpu, target_ulong pc, uint32_t args); -typedef void (*on_sys_sysfs_enter_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sysfs_return_t)(CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); -typedef void (*on_sys_sysinfo_enter_t)(CPUState* cpu, target_ulong pc, uint32_t info); -typedef void (*on_sys_sysinfo_return_t)(CPUState* cpu, target_ulong pc, uint32_t info); -typedef void (*on_sys_syslog_enter_t)(CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); -typedef void (*on_sys_syslog_return_t)(CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); -typedef void (*on_sys_tee_enter_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tee_return_t)(CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); -typedef void (*on_sys_tgkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_tgkill_return_t)(CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); -typedef void (*on_sys_time_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tloc); -typedef void (*on_sys_time_return_t)(CPUState* cpu, target_ulong pc, uint32_t tloc); -typedef void (*on_sys_timer_create_enter_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); -typedef void (*on_sys_timer_create_return_t)(CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); -typedef void (*on_sys_timer_delete_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_delete_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_getoverrun_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id); -typedef void (*on_sys_timer_gettime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_gettime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); -typedef void (*on_sys_timer_settime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); -typedef void (*on_sys_timer_settime_return_t)(CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); -typedef void (*on_sys_timerfd_create_enter_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_create_return_t)(CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); -typedef void (*on_sys_timerfd_gettime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_gettime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); -typedef void (*on_sys_timerfd_settime_enter_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_timerfd_settime_return_t)(CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); -typedef void (*on_sys_times_enter_t)(CPUState* cpu, target_ulong pc, uint32_t tbuf); -typedef void (*on_sys_times_return_t)(CPUState* cpu, target_ulong pc, uint32_t tbuf); -typedef void (*on_sys_tkill_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_tkill_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); -typedef void (*on_sys_truncate_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); -typedef void (*on_sys_truncate_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); -typedef void (*on_sys_truncate64_enter_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); -typedef void (*on_sys_truncate64_return_t)(CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); -typedef void (*on_sys_umask_enter_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umask_return_t)(CPUState* cpu, target_ulong pc, int32_t mask); -typedef void (*on_sys_umount_enter_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); -typedef void (*on_sys_umount_return_t)(CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); -typedef void (*on_sys_uname_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_uname_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_unlink_enter_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_unlink_return_t)(CPUState* cpu, target_ulong pc, uint32_t pathname); -typedef void (*on_sys_unlinkat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); -typedef void (*on_sys_unlinkat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); -typedef void (*on_sys_unshare_enter_t)(CPUState* cpu, target_ulong pc, uint32_t unshare_flags); -typedef void (*on_sys_unshare_return_t)(CPUState* cpu, target_ulong pc, uint32_t unshare_flags); -typedef void (*on_sys_uselib_enter_t)(CPUState* cpu, target_ulong pc, uint32_t library); -typedef void (*on_sys_uselib_return_t)(CPUState* cpu, target_ulong pc, uint32_t library); -typedef void (*on_sys_userfaultfd_enter_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_userfaultfd_return_t)(CPUState* cpu, target_ulong pc, int32_t flags); -typedef void (*on_sys_ustat_enter_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); -typedef void (*on_sys_ustat_return_t)(CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); -typedef void (*on_sys_utime_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); -typedef void (*on_sys_utime_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); -typedef void (*on_sys_utimensat_enter_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); -typedef void (*on_sys_utimensat_return_t)(CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); -typedef void (*on_sys_utimes_enter_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_utimes_return_t)(CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); -typedef void (*on_sys_vfork_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vfork_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_enter_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vhangup_return_t)(CPUState* cpu, target_ulong pc); -typedef void (*on_sys_vm86_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1); -typedef void (*on_sys_vm86_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1); -typedef void (*on_sys_vm86old_enter_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_vm86old_return_t)(CPUState* cpu, target_ulong pc, uint32_t arg0); -typedef void (*on_sys_vmsplice_enter_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); -typedef void (*on_sys_vmsplice_return_t)(CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); -typedef void (*on_sys_wait4_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); -typedef void (*on_sys_wait4_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); -typedef void (*on_sys_waitid_enter_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); -typedef void (*on_sys_waitid_return_t)(CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); -typedef void (*on_sys_waitpid_enter_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); -typedef void (*on_sys_waitpid_return_t)(CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); -typedef void (*on_sys_write_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_write_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); -typedef void (*on_sys_writev_enter_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); -typedef void (*on_sys_writev_return_t)(CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_NtAcceptConnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t AcceptConnection, uint32_t ServerView, uint32_t ClientView); +PPP_CB_TYPEDEF(void, on_NtAcceptConnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t AcceptConnection, uint32_t ServerView, uint32_t ClientView); +PPP_CB_TYPEDEF(void, on_NtAccessCheck_enter, CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); +PPP_CB_TYPEDEF(void, on_NtAccessCheck_return, CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); +PPP_CB_TYPEDEF(void, on_NtAccessCheckAndAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckAndAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t DesiredAccess, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByType_enter, CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByType_return, CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeAndAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeAndAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeResultList_enter, CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeResultList_return, CPUState* cpu, target_ulong pc, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t PrivilegeSet, uint32_t PrivilegeSetLength, uint32_t GrantedAccess, uint32_t AccessStatus); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeResultListAndAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeResultListAndAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAccessCheckByTypeResultListAndAuditAlarmByHandle_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t PrincipalSelfSid, uint32_t DesiredAccess, uint32_t AuditType, uint32_t Flags, uint32_t ObjectTypeList, uint32_t ObjectTypeListLength, uint32_t GenericMapping, uint32_t ObjectCreation, uint32_t GrantedAccess, uint32_t AccessStatus, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtAddAtom_enter, CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); +PPP_CB_TYPEDEF(void, on_NtAddAtom_return, CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); +PPP_CB_TYPEDEF(void, on_NtAddBootEntry_enter, CPUState* cpu, target_ulong pc, uint32_t BootEntry, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtAddBootEntry_return, CPUState* cpu, target_ulong pc, uint32_t BootEntry, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtAddDriverEntry_enter, CPUState* cpu, target_ulong pc, uint32_t DriverEntry, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtAddDriverEntry_return, CPUState* cpu, target_ulong pc, uint32_t DriverEntry, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtAdjustGroupsToken_enter, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t ResetToDefault, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAdjustGroupsToken_return, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t ResetToDefault, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAdjustPrivilegesToken_enter, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DisableAllPrivileges, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAdjustPrivilegesToken_return, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DisableAllPrivileges, uint32_t NewState, uint32_t BufferLength, uint32_t PreviousState, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAlertResumeThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); +PPP_CB_TYPEDEF(void, on_NtAlertResumeThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); +PPP_CB_TYPEDEF(void, on_NtAlertThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); +PPP_CB_TYPEDEF(void, on_NtAlertThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); +PPP_CB_TYPEDEF(void, on_NtAllocateLocallyUniqueId_enter, CPUState* cpu, target_ulong pc, uint32_t Luid); +PPP_CB_TYPEDEF(void, on_NtAllocateLocallyUniqueId_return, CPUState* cpu, target_ulong pc, uint32_t Luid); +PPP_CB_TYPEDEF(void, on_NtAllocateReserveObject_enter, CPUState* cpu, target_ulong pc, uint32_t MemoryReserveHandle, uint32_t ObjectAttributes, uint32_t Type); +PPP_CB_TYPEDEF(void, on_NtAllocateReserveObject_return, CPUState* cpu, target_ulong pc, uint32_t MemoryReserveHandle, uint32_t ObjectAttributes, uint32_t Type); +PPP_CB_TYPEDEF(void, on_NtAllocateUserPhysicalPages_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtAllocateUserPhysicalPages_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtAllocateUuids_enter, CPUState* cpu, target_ulong pc, uint32_t Time, uint32_t Range, uint32_t Sequence, uint32_t Seed); +PPP_CB_TYPEDEF(void, on_NtAllocateUuids_return, CPUState* cpu, target_ulong pc, uint32_t Time, uint32_t Range, uint32_t Sequence, uint32_t Seed); +PPP_CB_TYPEDEF(void, on_NtAllocateVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t RegionSize, uint32_t AllocationType, uint32_t Protect); +PPP_CB_TYPEDEF(void, on_NtAllocateVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t RegionSize, uint32_t AllocationType, uint32_t Protect); +PPP_CB_TYPEDEF(void, on_NtAlpcAcceptConnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionPortHandle, uint32_t Flags, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t ConnectionMessageAttributes, uint32_t AcceptConnection); +PPP_CB_TYPEDEF(void, on_NtAlpcAcceptConnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionPortHandle, uint32_t Flags, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t PortContext, uint32_t ConnectionRequest, uint32_t ConnectionMessageAttributes, uint32_t AcceptConnection); +PPP_CB_TYPEDEF(void, on_NtAlpcCancelMessage_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageContext); +PPP_CB_TYPEDEF(void, on_NtAlpcCancelMessage_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageContext); +PPP_CB_TYPEDEF(void, on_NtAlpcConnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t Flags, uint32_t RequiredServerSid, uint32_t ConnectionMessage, uint32_t BufferLength, uint32_t OutMessageAttributes, uint32_t InMessageAttributes, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtAlpcConnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t ObjectAttributes, uint32_t PortAttributes, uint32_t Flags, uint32_t RequiredServerSid, uint32_t ConnectionMessage, uint32_t BufferLength, uint32_t OutMessageAttributes, uint32_t InMessageAttributes, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtAlpcCreatePort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t PortAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcCreatePort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t PortAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcCreatePortSection_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle, uint32_t SectionSize, uint32_t AlpcSectionHandle, uint32_t ActualSectionSize); +PPP_CB_TYPEDEF(void, on_NtAlpcCreatePortSection_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle, uint32_t SectionSize, uint32_t AlpcSectionHandle, uint32_t ActualSectionSize); +PPP_CB_TYPEDEF(void, on_NtAlpcCreateResourceReserve_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageSize, uint32_t ResourceId); +PPP_CB_TYPEDEF(void, on_NtAlpcCreateResourceReserve_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t MessageSize, uint32_t ResourceId); +PPP_CB_TYPEDEF(void, on_NtAlpcCreateSectionView_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcCreateSectionView_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcCreateSecurityContext_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SecurityAttribute); +PPP_CB_TYPEDEF(void, on_NtAlpcCreateSecurityContext_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SecurityAttribute); +PPP_CB_TYPEDEF(void, on_NtAlpcDeletePortSection_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle); +PPP_CB_TYPEDEF(void, on_NtAlpcDeletePortSection_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SectionHandle); +PPP_CB_TYPEDEF(void, on_NtAlpcDeleteResourceReserve_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ResourceId); +PPP_CB_TYPEDEF(void, on_NtAlpcDeleteResourceReserve_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ResourceId); +PPP_CB_TYPEDEF(void, on_NtAlpcDeleteSectionView_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewBase); +PPP_CB_TYPEDEF(void, on_NtAlpcDeleteSectionView_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ViewBase); +PPP_CB_TYPEDEF(void, on_NtAlpcDeleteSecurityContext_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); +PPP_CB_TYPEDEF(void, on_NtAlpcDeleteSecurityContext_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); +PPP_CB_TYPEDEF(void, on_NtAlpcDisconnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtAlpcDisconnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtAlpcImpersonateClientOfPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t Reserved); +PPP_CB_TYPEDEF(void, on_NtAlpcImpersonateClientOfPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t Reserved); +PPP_CB_TYPEDEF(void, on_NtAlpcOpenSenderProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcOpenSenderProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcOpenSenderThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcOpenSenderThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PortHandle, uint32_t PortMessage, uint32_t Flags, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtAlpcQueryInformation_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAlpcQueryInformation_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAlpcQueryInformationMessage_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t MessageInformationClass, uint32_t MessageInformation, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAlpcQueryInformationMessage_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortMessage, uint32_t MessageInformationClass, uint32_t MessageInformation, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtAlpcRevokeSecurityContext_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); +PPP_CB_TYPEDEF(void, on_NtAlpcRevokeSecurityContext_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t ContextHandle); +PPP_CB_TYPEDEF(void, on_NtAlpcSendWaitReceivePort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SendMessage, uint32_t SendMessageAttributes, uint32_t ReceiveMessage, uint32_t BufferLength, uint32_t ReceiveMessageAttributes, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtAlpcSendWaitReceivePort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Flags, uint32_t SendMessage, uint32_t SendMessageAttributes, uint32_t ReceiveMessage, uint32_t BufferLength, uint32_t ReceiveMessageAttributes, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtAlpcSetInformation_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtAlpcSetInformation_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtApphelpCacheControl_enter, CPUState* cpu, target_ulong pc, uint32_t type, uint32_t buf); +PPP_CB_TYPEDEF(void, on_NtApphelpCacheControl_return, CPUState* cpu, target_ulong pc, uint32_t type, uint32_t buf); +PPP_CB_TYPEDEF(void, on_NtAreMappedFilesTheSame_enter, CPUState* cpu, target_ulong pc, uint32_t File1MappedAsAnImage, uint32_t File2MappedAsFile); +PPP_CB_TYPEDEF(void, on_NtAreMappedFilesTheSame_return, CPUState* cpu, target_ulong pc, uint32_t File1MappedAsAnImage, uint32_t File2MappedAsFile); +PPP_CB_TYPEDEF(void, on_NtAssignProcessToJobObject_enter, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ProcessHandle); +PPP_CB_TYPEDEF(void, on_NtAssignProcessToJobObject_return, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ProcessHandle); +PPP_CB_TYPEDEF(void, on_NtCallbackReturn_enter, CPUState* cpu, target_ulong pc, uint32_t OutputBuffer, uint32_t OutputLength, uint32_t Status); +PPP_CB_TYPEDEF(void, on_NtCallbackReturn_return, CPUState* cpu, target_ulong pc, uint32_t OutputBuffer, uint32_t OutputLength, uint32_t Status); +PPP_CB_TYPEDEF(void, on_NtCancelIoFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtCancelIoFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtCancelIoFileEx_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtCancelIoFileEx_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtCancelSynchronousIoFile_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtCancelSynchronousIoFile_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t IoRequestToCancel, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtCancelTimer_enter, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t CurrentState); +PPP_CB_TYPEDEF(void, on_NtCancelTimer_return, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t CurrentState); +PPP_CB_TYPEDEF(void, on_NtClearEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle); +PPP_CB_TYPEDEF(void, on_NtClearEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle); +PPP_CB_TYPEDEF(void, on_NtClose_enter, CPUState* cpu, target_ulong pc, uint32_t Handle); +PPP_CB_TYPEDEF(void, on_NtClose_return, CPUState* cpu, target_ulong pc, uint32_t Handle); +PPP_CB_TYPEDEF(void, on_NtCloseObjectAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtCloseObjectAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtCommitComplete_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtCommitComplete_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtCommitEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtCommitEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtCommitTransaction_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); +PPP_CB_TYPEDEF(void, on_NtCommitTransaction_return, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); +PPP_CB_TYPEDEF(void, on_NtCompactKeys_enter, CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t KeyArray); +PPP_CB_TYPEDEF(void, on_NtCompactKeys_return, CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t KeyArray); +PPP_CB_TYPEDEF(void, on_NtCompareTokens_enter, CPUState* cpu, target_ulong pc, uint32_t FirstTokenHandle, uint32_t SecondTokenHandle, uint32_t Equal); +PPP_CB_TYPEDEF(void, on_NtCompareTokens_return, CPUState* cpu, target_ulong pc, uint32_t FirstTokenHandle, uint32_t SecondTokenHandle, uint32_t Equal); +PPP_CB_TYPEDEF(void, on_NtCompleteConnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle); +PPP_CB_TYPEDEF(void, on_NtCompleteConnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle); +PPP_CB_TYPEDEF(void, on_NtCompressKey_enter, CPUState* cpu, target_ulong pc, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtCompressKey_return, CPUState* cpu, target_ulong pc, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtConnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); +PPP_CB_TYPEDEF(void, on_NtConnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); +PPP_CB_TYPEDEF(void, on_NtContinue_enter, CPUState* cpu, target_ulong pc, uint32_t ContextRecord, uint32_t TestAlert); +PPP_CB_TYPEDEF(void, on_NtContinue_return, CPUState* cpu, target_ulong pc, uint32_t ContextRecord, uint32_t TestAlert); +PPP_CB_TYPEDEF(void, on_NtCreateDebugObject_enter, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtCreateDebugObject_return, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtCreateDirectoryObject_enter, CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtCreateDirectoryObject_return, CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtCreateEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t TransactionHandle, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t NotificationMask, uint32_t EnlistmentKey); +PPP_CB_TYPEDEF(void, on_NtCreateEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t TransactionHandle, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t NotificationMask, uint32_t EnlistmentKey); +PPP_CB_TYPEDEF(void, on_NtCreateEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EventType, uint32_t InitialState); +PPP_CB_TYPEDEF(void, on_NtCreateEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EventType, uint32_t InitialState); +PPP_CB_TYPEDEF(void, on_NtCreateEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtCreateEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtCreateFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t AllocationSize, uint32_t FileAttributes, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t EaBuffer, uint32_t EaLength); +PPP_CB_TYPEDEF(void, on_NtCreateFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t AllocationSize, uint32_t FileAttributes, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t EaBuffer, uint32_t EaLength); +PPP_CB_TYPEDEF(void, on_NtCreateIoCompletion_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtCreateIoCompletion_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtCreateJobObject_enter, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtCreateJobObject_return, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtCreateJobSet_enter, CPUState* cpu, target_ulong pc, uint32_t NumJob, uint32_t UserJobSet, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtCreateJobSet_return, CPUState* cpu, target_ulong pc, uint32_t NumJob, uint32_t UserJobSet, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtCreateKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t Disposition); +PPP_CB_TYPEDEF(void, on_NtCreateKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t Disposition); +PPP_CB_TYPEDEF(void, on_NtCreateKeyedEvent_enter, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtCreateKeyedEvent_return, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtCreateKeyTransacted_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t TransactionHandle, uint32_t Disposition); +PPP_CB_TYPEDEF(void, on_NtCreateKeyTransacted_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TitleIndex, uint32_t Class, uint32_t CreateOptions, uint32_t TransactionHandle, uint32_t Disposition); +PPP_CB_TYPEDEF(void, on_NtCreateMailslotFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t CreateOptions, uint32_t MailslotQuota, uint32_t MaximumMessageSize, uint32_t ReadTimeout); +PPP_CB_TYPEDEF(void, on_NtCreateMailslotFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t CreateOptions, uint32_t MailslotQuota, uint32_t MaximumMessageSize, uint32_t ReadTimeout); +PPP_CB_TYPEDEF(void, on_NtCreateMutant_enter, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t InitialOwner); +PPP_CB_TYPEDEF(void, on_NtCreateMutant_return, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t InitialOwner); +PPP_CB_TYPEDEF(void, on_NtCreateNamedPipeFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t NamedPipeType, uint32_t ReadMode, uint32_t CompletionMode, uint32_t MaximumInstances, uint32_t InboundQuota, uint32_t OutboundQuota, uint32_t DefaultTimeout); +PPP_CB_TYPEDEF(void, on_NtCreateNamedPipeFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t CreateDisposition, uint32_t CreateOptions, uint32_t NamedPipeType, uint32_t ReadMode, uint32_t CompletionMode, uint32_t MaximumInstances, uint32_t InboundQuota, uint32_t OutboundQuota, uint32_t DefaultTimeout); +PPP_CB_TYPEDEF(void, on_NtCreatePagingFile_enter, CPUState* cpu, target_ulong pc, uint32_t PageFileName, uint32_t MinimumSize, uint32_t MaximumSize, uint32_t Priority); +PPP_CB_TYPEDEF(void, on_NtCreatePagingFile_return, CPUState* cpu, target_ulong pc, uint32_t PageFileName, uint32_t MinimumSize, uint32_t MaximumSize, uint32_t Priority); +PPP_CB_TYPEDEF(void, on_NtCreatePort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); +PPP_CB_TYPEDEF(void, on_NtCreatePort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); +PPP_CB_TYPEDEF(void, on_NtCreatePrivateNamespace_enter, CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); +PPP_CB_TYPEDEF(void, on_NtCreatePrivateNamespace_return, CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); +PPP_CB_TYPEDEF(void, on_NtCreateProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t InheritObjectTable, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort); +PPP_CB_TYPEDEF(void, on_NtCreateProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t InheritObjectTable, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort); +PPP_CB_TYPEDEF(void, on_NtCreateProcessEx_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t Flags, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort, uint32_t JobMemberLevel); +PPP_CB_TYPEDEF(void, on_NtCreateProcessEx_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ParentProcess, uint32_t Flags, uint32_t SectionHandle, uint32_t DebugPort, uint32_t ExceptionPort, uint32_t JobMemberLevel); +PPP_CB_TYPEDEF(void, on_NtCreateProfile_enter, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t RangeBase, uint32_t RangeSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t Affinity); +PPP_CB_TYPEDEF(void, on_NtCreateProfile_return, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t RangeBase, uint32_t RangeSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t Affinity); +PPP_CB_TYPEDEF(void, on_NtCreateProfileEx_enter, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t ProfileBase, uint32_t ProfileSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t GroupAffinityCount, uint32_t GroupAffinity); +PPP_CB_TYPEDEF(void, on_NtCreateProfileEx_return, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle, uint32_t Process, uint32_t ProfileBase, uint32_t ProfileSize, uint32_t BucketSize, uint32_t Buffer, uint32_t BufferSize, uint32_t ProfileSource, uint32_t GroupAffinityCount, uint32_t GroupAffinity); +PPP_CB_TYPEDEF(void, on_NtCreateResourceManager_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t RmGuid, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t Description); +PPP_CB_TYPEDEF(void, on_NtCreateResourceManager_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t RmGuid, uint32_t ObjectAttributes, uint32_t CreateOptions, uint32_t Description); +PPP_CB_TYPEDEF(void, on_NtCreateSection_enter, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t MaximumSize, uint32_t SectionPageProtection, uint32_t AllocationAttributes, uint32_t FileHandle); +PPP_CB_TYPEDEF(void, on_NtCreateSection_return, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t MaximumSize, uint32_t SectionPageProtection, uint32_t AllocationAttributes, uint32_t FileHandle); +PPP_CB_TYPEDEF(void, on_NtCreateSemaphore_enter, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, int32_t InitialCount, int32_t MaximumCount); +PPP_CB_TYPEDEF(void, on_NtCreateSemaphore_return, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, int32_t InitialCount, int32_t MaximumCount); +PPP_CB_TYPEDEF(void, on_NtCreateSymbolicLinkObject_enter, CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LinkTarget); +PPP_CB_TYPEDEF(void, on_NtCreateSymbolicLinkObject_return, CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LinkTarget); +PPP_CB_TYPEDEF(void, on_NtCreateThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t ClientId, uint32_t ThreadContext, uint32_t InitialTeb, uint32_t CreateSuspended); +PPP_CB_TYPEDEF(void, on_NtCreateThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t ClientId, uint32_t ThreadContext, uint32_t InitialTeb, uint32_t CreateSuspended); +PPP_CB_TYPEDEF(void, on_NtCreateThreadEx_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t StartRoutine, uint32_t Argument, uint32_t CreateFlags, uint32_t ZeroBits, uint32_t StackSize, uint32_t MaximumStackSize, uint32_t AttributeList); +PPP_CB_TYPEDEF(void, on_NtCreateThreadEx_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ProcessHandle, uint32_t StartRoutine, uint32_t Argument, uint32_t CreateFlags, uint32_t ZeroBits, uint32_t StackSize, uint32_t MaximumStackSize, uint32_t AttributeList); +PPP_CB_TYPEDEF(void, on_NtCreateTimer_enter, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TimerType); +PPP_CB_TYPEDEF(void, on_NtCreateTimer_return, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TimerType); +PPP_CB_TYPEDEF(void, on_NtCreateToken_enter, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TokenType, uint32_t AuthenticationId, uint32_t ExpirationTime, uint32_t User, uint32_t Groups, uint32_t Privileges, uint32_t Owner, uint32_t PrimaryGroup, uint32_t DefaultDacl, uint32_t TokenSource); +PPP_CB_TYPEDEF(void, on_NtCreateToken_return, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TokenType, uint32_t AuthenticationId, uint32_t ExpirationTime, uint32_t User, uint32_t Groups, uint32_t Privileges, uint32_t Owner, uint32_t PrimaryGroup, uint32_t DefaultDacl, uint32_t TokenSource); +PPP_CB_TYPEDEF(void, on_NtCreateTransaction_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle, uint32_t CreateOptions, uint32_t IsolationLevel, uint32_t IsolationFlags, uint32_t Timeout, uint32_t Description); +PPP_CB_TYPEDEF(void, on_NtCreateTransaction_return, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle, uint32_t CreateOptions, uint32_t IsolationLevel, uint32_t IsolationFlags, uint32_t Timeout, uint32_t Description); +PPP_CB_TYPEDEF(void, on_NtCreateTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t CreateOptions, uint32_t CommitStrength); +PPP_CB_TYPEDEF(void, on_NtCreateTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t CreateOptions, uint32_t CommitStrength); +PPP_CB_TYPEDEF(void, on_NtCreateUserProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t ProcessDesiredAccess, uint32_t ThreadDesiredAccess, uint32_t ProcessObjectAttributes, uint32_t ThreadObjectAttributes, uint32_t ProcessFlags, uint32_t ThreadFlags, uint32_t ProcessParameters, uint32_t CreateInfo, uint32_t AttributeList); +PPP_CB_TYPEDEF(void, on_NtCreateUserProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t ProcessDesiredAccess, uint32_t ThreadDesiredAccess, uint32_t ProcessObjectAttributes, uint32_t ThreadObjectAttributes, uint32_t ProcessFlags, uint32_t ThreadFlags, uint32_t ProcessParameters, uint32_t CreateInfo, uint32_t AttributeList); +PPP_CB_TYPEDEF(void, on_NtCreateWaitablePort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); +PPP_CB_TYPEDEF(void, on_NtCreateWaitablePort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ObjectAttributes, uint32_t MaxConnectionInfoLength, uint32_t MaxMessageLength, uint32_t MaxPoolUsage); +PPP_CB_TYPEDEF(void, on_NtCreateWorkerFactory_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandleReturn, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t CompletionPortHandle, uint32_t WorkerProcessHandle, uint32_t StartRoutine, uint32_t StartParameter, uint32_t MaxThreadCount, uint32_t StackReserve, uint32_t StackCommit); +PPP_CB_TYPEDEF(void, on_NtCreateWorkerFactory_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandleReturn, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t CompletionPortHandle, uint32_t WorkerProcessHandle, uint32_t StartRoutine, uint32_t StartParameter, uint32_t MaxThreadCount, uint32_t StackReserve, uint32_t StackCommit); +PPP_CB_TYPEDEF(void, on_NtDebugActiveProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); +PPP_CB_TYPEDEF(void, on_NtDebugActiveProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); +PPP_CB_TYPEDEF(void, on_NtDebugContinue_enter, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t ClientId, uint32_t ContinueStatus); +PPP_CB_TYPEDEF(void, on_NtDebugContinue_return, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t ClientId, uint32_t ContinueStatus); +PPP_CB_TYPEDEF(void, on_NtDelayExecution_enter, CPUState* cpu, target_ulong pc, uint32_t Alertable, uint32_t DelayInterval); +PPP_CB_TYPEDEF(void, on_NtDelayExecution_return, CPUState* cpu, target_ulong pc, uint32_t Alertable, uint32_t DelayInterval); +PPP_CB_TYPEDEF(void, on_NtDeleteAtom_enter, CPUState* cpu, target_ulong pc, uint32_t Atom); +PPP_CB_TYPEDEF(void, on_NtDeleteAtom_return, CPUState* cpu, target_ulong pc, uint32_t Atom); +PPP_CB_TYPEDEF(void, on_NtDeleteBootEntry_enter, CPUState* cpu, target_ulong pc, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtDeleteBootEntry_return, CPUState* cpu, target_ulong pc, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtDeleteDriverEntry_enter, CPUState* cpu, target_ulong pc, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtDeleteDriverEntry_return, CPUState* cpu, target_ulong pc, uint32_t Id); +PPP_CB_TYPEDEF(void, on_NtDeleteFile_enter, CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtDeleteFile_return, CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtDeleteKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle); +PPP_CB_TYPEDEF(void, on_NtDeleteKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle); +PPP_CB_TYPEDEF(void, on_NtDeleteObjectAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtDeleteObjectAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtDeletePrivateNamespace_enter, CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle); +PPP_CB_TYPEDEF(void, on_NtDeletePrivateNamespace_return, CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle); +PPP_CB_TYPEDEF(void, on_NtDeleteValueKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName); +PPP_CB_TYPEDEF(void, on_NtDeleteValueKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName); +PPP_CB_TYPEDEF(void, on_NtDeviceIoControlFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); +PPP_CB_TYPEDEF(void, on_NtDeviceIoControlFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); +PPP_CB_TYPEDEF(void, on_NtDisableLastKnownGood_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtDisableLastKnownGood_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtDisplayString_enter, CPUState* cpu, target_ulong pc, uint32_t String); +PPP_CB_TYPEDEF(void, on_NtDisplayString_return, CPUState* cpu, target_ulong pc, uint32_t String); +PPP_CB_TYPEDEF(void, on_NtDrawText_enter, CPUState* cpu, target_ulong pc, uint32_t Text); +PPP_CB_TYPEDEF(void, on_NtDrawText_return, CPUState* cpu, target_ulong pc, uint32_t Text); +PPP_CB_TYPEDEF(void, on_NtDuplicateObject_enter, CPUState* cpu, target_ulong pc, uint32_t SourceProcessHandle, uint32_t SourceHandle, uint32_t TargetProcessHandle, uint32_t TargetHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Options); +PPP_CB_TYPEDEF(void, on_NtDuplicateObject_return, CPUState* cpu, target_ulong pc, uint32_t SourceProcessHandle, uint32_t SourceHandle, uint32_t TargetProcessHandle, uint32_t TargetHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Options); +PPP_CB_TYPEDEF(void, on_NtDuplicateToken_enter, CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EffectiveOnly, uint32_t TokenType, uint32_t NewTokenHandle); +PPP_CB_TYPEDEF(void, on_NtDuplicateToken_return, CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t EffectiveOnly, uint32_t TokenType, uint32_t NewTokenHandle); +PPP_CB_TYPEDEF(void, on_NtEnableLastKnownGood_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtEnableLastKnownGood_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtEnumerateBootEntries_enter, CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateBootEntries_return, CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateDriverEntries_enter, CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateDriverEntries_return, CPUState* cpu, target_ulong pc, uint32_t Buffer, uint32_t BufferLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateSystemEnvironmentValuesEx_enter, CPUState* cpu, target_ulong pc, uint32_t InformationClass, uint32_t Buffer, uint32_t BufferLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateSystemEnvironmentValuesEx_return, CPUState* cpu, target_ulong pc, uint32_t InformationClass, uint32_t Buffer, uint32_t BufferLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateTransactionObject_enter, CPUState* cpu, target_ulong pc, uint32_t RootObjectHandle, uint32_t QueryType, uint32_t ObjectCursor, uint32_t ObjectCursorLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateTransactionObject_return, CPUState* cpu, target_ulong pc, uint32_t RootObjectHandle, uint32_t QueryType, uint32_t ObjectCursor, uint32_t ObjectCursorLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateValueKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtEnumerateValueKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Index, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtExtendSection_enter, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t NewSectionSize); +PPP_CB_TYPEDEF(void, on_NtExtendSection_return, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t NewSectionSize); +PPP_CB_TYPEDEF(void, on_NtFilterToken_enter, CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t Flags, uint32_t SidsToDisable, uint32_t PrivilegesToDelete, uint32_t RestrictedSids, uint32_t NewTokenHandle); +PPP_CB_TYPEDEF(void, on_NtFilterToken_return, CPUState* cpu, target_ulong pc, uint32_t ExistingTokenHandle, uint32_t Flags, uint32_t SidsToDisable, uint32_t PrivilegesToDelete, uint32_t RestrictedSids, uint32_t NewTokenHandle); +PPP_CB_TYPEDEF(void, on_NtFindAtom_enter, CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); +PPP_CB_TYPEDEF(void, on_NtFindAtom_return, CPUState* cpu, target_ulong pc, uint32_t AtomName, uint32_t Length, uint32_t Atom); +PPP_CB_TYPEDEF(void, on_NtFlushBuffersFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtFlushBuffersFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock); +PPP_CB_TYPEDEF(void, on_NtFlushInstallUILanguage_enter, CPUState* cpu, target_ulong pc, uint32_t InstallUILanguage, uint32_t SetComittedFlag); +PPP_CB_TYPEDEF(void, on_NtFlushInstallUILanguage_return, CPUState* cpu, target_ulong pc, uint32_t InstallUILanguage, uint32_t SetComittedFlag); +PPP_CB_TYPEDEF(void, on_NtFlushInstructionCache_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtFlushInstructionCache_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtFlushKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle); +PPP_CB_TYPEDEF(void, on_NtFlushKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle); +PPP_CB_TYPEDEF(void, on_NtFlushProcessWriteBuffers_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtFlushProcessWriteBuffers_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtFlushVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t IoStatus); +PPP_CB_TYPEDEF(void, on_NtFlushVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t IoStatus); +PPP_CB_TYPEDEF(void, on_NtFlushWriteBuffer_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtFlushWriteBuffer_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtFreeUserPhysicalPages_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtFreeUserPhysicalPages_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtFreeVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t FreeType); +PPP_CB_TYPEDEF(void, on_NtFreeVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t FreeType); +PPP_CB_TYPEDEF(void, on_NtFreezeRegistry_enter, CPUState* cpu, target_ulong pc, uint32_t TimeOutInSeconds); +PPP_CB_TYPEDEF(void, on_NtFreezeRegistry_return, CPUState* cpu, target_ulong pc, uint32_t TimeOutInSeconds); +PPP_CB_TYPEDEF(void, on_NtFreezeTransactions_enter, CPUState* cpu, target_ulong pc, uint32_t FreezeTimeout, uint32_t ThawTimeout); +PPP_CB_TYPEDEF(void, on_NtFreezeTransactions_return, CPUState* cpu, target_ulong pc, uint32_t FreezeTimeout, uint32_t ThawTimeout); +PPP_CB_TYPEDEF(void, on_NtFsControlFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); +PPP_CB_TYPEDEF(void, on_NtFsControlFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t IoControlCode, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); +PPP_CB_TYPEDEF(void, on_NtGetContextThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); +PPP_CB_TYPEDEF(void, on_NtGetContextThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); +PPP_CB_TYPEDEF(void, on_NtGetCurrentProcessorNumber_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtGetCurrentProcessorNumber_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtGetDevicePowerState_enter, CPUState* cpu, target_ulong pc, uint32_t Device, uint32_t State); +PPP_CB_TYPEDEF(void, on_NtGetDevicePowerState_return, CPUState* cpu, target_ulong pc, uint32_t Device, uint32_t State); +PPP_CB_TYPEDEF(void, on_NtGetMUIRegistryInfo_enter, CPUState* cpu, target_ulong pc, uint32_t Flags, uint32_t DataSize, uint32_t Data); +PPP_CB_TYPEDEF(void, on_NtGetMUIRegistryInfo_return, CPUState* cpu, target_ulong pc, uint32_t Flags, uint32_t DataSize, uint32_t Data); +PPP_CB_TYPEDEF(void, on_NtGetNextProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewProcessHandle); +PPP_CB_TYPEDEF(void, on_NtGetNextProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewProcessHandle); +PPP_CB_TYPEDEF(void, on_NtGetNextThread_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewThreadHandle); +PPP_CB_TYPEDEF(void, on_NtGetNextThread_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t Flags, uint32_t NewThreadHandle); +PPP_CB_TYPEDEF(void, on_NtGetNlsSectionPtr_enter, CPUState* cpu, target_ulong pc, uint32_t SectionType, uint32_t SectionData, uint32_t ContextData, uint32_t SectionPointer, uint32_t SectionSize); +PPP_CB_TYPEDEF(void, on_NtGetNlsSectionPtr_return, CPUState* cpu, target_ulong pc, uint32_t SectionType, uint32_t SectionData, uint32_t ContextData, uint32_t SectionPointer, uint32_t SectionSize); +PPP_CB_TYPEDEF(void, on_NtGetNotificationResourceManager_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t TransactionNotification, uint32_t NotificationLength, uint32_t Timeout, uint32_t ReturnLength, uint32_t Asynchronous, uint32_t AsynchronousContext); +PPP_CB_TYPEDEF(void, on_NtGetNotificationResourceManager_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t TransactionNotification, uint32_t NotificationLength, uint32_t Timeout, uint32_t ReturnLength, uint32_t Asynchronous, uint32_t AsynchronousContext); +PPP_CB_TYPEDEF(void, on_NtGetPlugPlayEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t Context, uint32_t EventBlock, uint32_t EventBufferSize); +PPP_CB_TYPEDEF(void, on_NtGetPlugPlayEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t Context, uint32_t EventBlock, uint32_t EventBufferSize); +PPP_CB_TYPEDEF(void, on_NtGetWriteWatch_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t Flags, uint32_t BaseAddress, uint32_t RegionSize, uint32_t UserAddressArray, uint32_t EntriesInUserAddressArray, uint32_t Granularity); +PPP_CB_TYPEDEF(void, on_NtGetWriteWatch_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t Flags, uint32_t BaseAddress, uint32_t RegionSize, uint32_t UserAddressArray, uint32_t EntriesInUserAddressArray, uint32_t Granularity); +PPP_CB_TYPEDEF(void, on_NtImpersonateAnonymousToken_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); +PPP_CB_TYPEDEF(void, on_NtImpersonateAnonymousToken_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle); +PPP_CB_TYPEDEF(void, on_NtImpersonateClientOfPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message); +PPP_CB_TYPEDEF(void, on_NtImpersonateClientOfPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message); +PPP_CB_TYPEDEF(void, on_NtImpersonateThread_enter, CPUState* cpu, target_ulong pc, uint32_t ServerThreadHandle, uint32_t ClientThreadHandle, uint32_t SecurityQos); +PPP_CB_TYPEDEF(void, on_NtImpersonateThread_return, CPUState* cpu, target_ulong pc, uint32_t ServerThreadHandle, uint32_t ClientThreadHandle, uint32_t SecurityQos); +PPP_CB_TYPEDEF(void, on_NtInitializeNlsFiles_enter, CPUState* cpu, target_ulong pc, uint32_t BaseAddress, uint32_t DefaultLocaleId, uint32_t DefaultCasingTableSize); +PPP_CB_TYPEDEF(void, on_NtInitializeNlsFiles_return, CPUState* cpu, target_ulong pc, uint32_t BaseAddress, uint32_t DefaultLocaleId, uint32_t DefaultCasingTableSize); +PPP_CB_TYPEDEF(void, on_NtInitializeRegistry_enter, CPUState* cpu, target_ulong pc, uint32_t BootCondition); +PPP_CB_TYPEDEF(void, on_NtInitializeRegistry_return, CPUState* cpu, target_ulong pc, uint32_t BootCondition); +PPP_CB_TYPEDEF(void, on_NtInitiatePowerAction_enter, CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags, uint32_t Asynchronous); +PPP_CB_TYPEDEF(void, on_NtInitiatePowerAction_return, CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags, uint32_t Asynchronous); +PPP_CB_TYPEDEF(void, on_NtIsProcessInJob_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t JobHandle); +PPP_CB_TYPEDEF(void, on_NtIsProcessInJob_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t JobHandle); +PPP_CB_TYPEDEF(void, on_NtIsSystemResumeAutomatic_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtIsSystemResumeAutomatic_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtIsUILanguageComitted_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtIsUILanguageComitted_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtListenPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionRequest); +PPP_CB_TYPEDEF(void, on_NtListenPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ConnectionRequest); +PPP_CB_TYPEDEF(void, on_NtLoadDriver_enter, CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); +PPP_CB_TYPEDEF(void, on_NtLoadDriver_return, CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); +PPP_CB_TYPEDEF(void, on_NtLoadKey_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile); +PPP_CB_TYPEDEF(void, on_NtLoadKey_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile); +PPP_CB_TYPEDEF(void, on_NtLoadKey2_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtLoadKey2_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtLoadKeyEx_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags, uint32_t TrustClassKey); +PPP_CB_TYPEDEF(void, on_NtLoadKeyEx_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t SourceFile, uint32_t Flags, uint32_t TrustClassKey); +PPP_CB_TYPEDEF(void, on_NtLockFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key, uint32_t FailImmediately, uint32_t ExclusiveLock); +PPP_CB_TYPEDEF(void, on_NtLockFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key, uint32_t FailImmediately, uint32_t ExclusiveLock); +PPP_CB_TYPEDEF(void, on_NtLockProductActivationKeys_enter, CPUState* cpu, target_ulong pc, uint32_t pPrivateVer, uint32_t pSafeMode); +PPP_CB_TYPEDEF(void, on_NtLockProductActivationKeys_return, CPUState* cpu, target_ulong pc, uint32_t pPrivateVer, uint32_t pSafeMode); +PPP_CB_TYPEDEF(void, on_NtLockRegistryKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle); +PPP_CB_TYPEDEF(void, on_NtLockRegistryKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle); +PPP_CB_TYPEDEF(void, on_NtLockVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); +PPP_CB_TYPEDEF(void, on_NtLockVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); +PPP_CB_TYPEDEF(void, on_NtMakePermanentObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle); +PPP_CB_TYPEDEF(void, on_NtMakePermanentObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle); +PPP_CB_TYPEDEF(void, on_NtMakeTemporaryObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle); +PPP_CB_TYPEDEF(void, on_NtMakeTemporaryObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle); +PPP_CB_TYPEDEF(void, on_NtMapCMFModule_enter, CPUState* cpu, target_ulong pc, uint32_t What, uint32_t Index, uint32_t CacheIndexOut, uint32_t CacheFlagsOut, uint32_t ViewSizeOut, uint32_t BaseAddress); +PPP_CB_TYPEDEF(void, on_NtMapCMFModule_return, CPUState* cpu, target_ulong pc, uint32_t What, uint32_t Index, uint32_t CacheIndexOut, uint32_t CacheFlagsOut, uint32_t ViewSizeOut, uint32_t BaseAddress); +PPP_CB_TYPEDEF(void, on_NtMapUserPhysicalPages_enter, CPUState* cpu, target_ulong pc, uint32_t VirtualAddress, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtMapUserPhysicalPages_return, CPUState* cpu, target_ulong pc, uint32_t VirtualAddress, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtMapUserPhysicalPagesScatter_enter, CPUState* cpu, target_ulong pc, uint32_t VirtualAddresses, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtMapUserPhysicalPagesScatter_return, CPUState* cpu, target_ulong pc, uint32_t VirtualAddresses, uint32_t NumberOfPages, uint32_t UserPfnArray); +PPP_CB_TYPEDEF(void, on_NtMapViewOfSection_enter, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t CommitSize, uint32_t SectionOffset, uint32_t ViewSize, uint32_t InheritDisposition, uint32_t AllocationType, uint32_t Win32Protect); +PPP_CB_TYPEDEF(void, on_NtMapViewOfSection_return, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t ZeroBits, uint32_t CommitSize, uint32_t SectionOffset, uint32_t ViewSize, uint32_t InheritDisposition, uint32_t AllocationType, uint32_t Win32Protect); +PPP_CB_TYPEDEF(void, on_NtModifyBootEntry_enter, CPUState* cpu, target_ulong pc, uint32_t BootEntry); +PPP_CB_TYPEDEF(void, on_NtModifyBootEntry_return, CPUState* cpu, target_ulong pc, uint32_t BootEntry); +PPP_CB_TYPEDEF(void, on_NtModifyDriverEntry_enter, CPUState* cpu, target_ulong pc, uint32_t DriverEntry); +PPP_CB_TYPEDEF(void, on_NtModifyDriverEntry_return, CPUState* cpu, target_ulong pc, uint32_t DriverEntry); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeDirectoryFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t CompletionFilter, uint32_t WatchTree); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeDirectoryFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t CompletionFilter, uint32_t WatchTree); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeMultipleKeys_enter, CPUState* cpu, target_ulong pc, uint32_t MasterKeyHandle, uint32_t Count, uint32_t SlaveObjects, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeMultipleKeys_return, CPUState* cpu, target_ulong pc, uint32_t MasterKeyHandle, uint32_t Count, uint32_t SlaveObjects, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t CompletionFilter, uint32_t WatchTree, uint32_t Buffer, uint32_t BufferSize, uint32_t Asynchronous); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeSession_enter, CPUState* cpu, target_ulong pc, uint32_t Session, uint32_t IoStateSequence, uint32_t Reserved, uint32_t Action, uint32_t IoState, uint32_t IoState2, uint32_t Buffer, uint32_t BufferSize); +PPP_CB_TYPEDEF(void, on_NtNotifyChangeSession_return, CPUState* cpu, target_ulong pc, uint32_t Session, uint32_t IoStateSequence, uint32_t Reserved, uint32_t Action, uint32_t IoState, uint32_t IoState2, uint32_t Buffer, uint32_t BufferSize); +PPP_CB_TYPEDEF(void, on_NtOpenDirectoryObject_enter, CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenDirectoryObject_return, CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t EnlistmentGuid, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t DesiredAccess, uint32_t ResourceManagerHandle, uint32_t EnlistmentGuid, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t OpenOptions); +PPP_CB_TYPEDEF(void, on_NtOpenFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t IoStatusBlock, uint32_t ShareAccess, uint32_t OpenOptions); +PPP_CB_TYPEDEF(void, on_NtOpenIoCompletion_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenIoCompletion_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenJobObject_enter, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenJobObject_return, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenKeyedEvent_enter, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenKeyedEvent_return, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenKeyEx_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions); +PPP_CB_TYPEDEF(void, on_NtOpenKeyEx_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions); +PPP_CB_TYPEDEF(void, on_NtOpenKeyTransacted_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TransactionHandle); +PPP_CB_TYPEDEF(void, on_NtOpenKeyTransacted_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t TransactionHandle); +PPP_CB_TYPEDEF(void, on_NtOpenKeyTransactedEx_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions, uint32_t TransactionHandle); +PPP_CB_TYPEDEF(void, on_NtOpenKeyTransactedEx_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t OpenOptions, uint32_t TransactionHandle); +PPP_CB_TYPEDEF(void, on_NtOpenMutant_enter, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenMutant_return, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenObjectAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GrantedAccess, uint32_t Privileges, uint32_t ObjectCreation, uint32_t AccessGranted, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtOpenObjectAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ObjectTypeName, uint32_t ObjectName, uint32_t SecurityDescriptor, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t GrantedAccess, uint32_t Privileges, uint32_t ObjectCreation, uint32_t AccessGranted, uint32_t GenerateOnClose); +PPP_CB_TYPEDEF(void, on_NtOpenPrivateNamespace_enter, CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); +PPP_CB_TYPEDEF(void, on_NtOpenPrivateNamespace_return, CPUState* cpu, target_ulong pc, uint32_t NamespaceHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t BoundaryDescriptor); +PPP_CB_TYPEDEF(void, on_NtOpenProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); +PPP_CB_TYPEDEF(void, on_NtOpenProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); +PPP_CB_TYPEDEF(void, on_NtOpenProcessToken_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenProcessToken_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenProcessTokenEx_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenProcessTokenEx_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DesiredAccess, uint32_t HandleAttributes, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenResourceManager_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t ResourceManagerGuid, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenResourceManager_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t DesiredAccess, uint32_t TmHandle, uint32_t ResourceManagerGuid, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSection_enter, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSection_return, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSemaphore_enter, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSemaphore_return, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSession_enter, CPUState* cpu, target_ulong pc, uint32_t SessionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSession_return, CPUState* cpu, target_ulong pc, uint32_t SessionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSymbolicLinkObject_enter, CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenSymbolicLinkObject_return, CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); +PPP_CB_TYPEDEF(void, on_NtOpenThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t ClientId); +PPP_CB_TYPEDEF(void, on_NtOpenThreadToken_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenThreadToken_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenThreadTokenEx_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t HandleAttributes, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenThreadTokenEx_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t DesiredAccess, uint32_t OpenAsSelf, uint32_t HandleAttributes, uint32_t TokenHandle); +PPP_CB_TYPEDEF(void, on_NtOpenTimer_enter, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenTimer_return, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes); +PPP_CB_TYPEDEF(void, on_NtOpenTransaction_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle); +PPP_CB_TYPEDEF(void, on_NtOpenTransaction_return, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t Uow, uint32_t TmHandle); +PPP_CB_TYPEDEF(void, on_NtOpenTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t TmIdentity, uint32_t OpenOptions); +PPP_CB_TYPEDEF(void, on_NtOpenTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t DesiredAccess, uint32_t ObjectAttributes, uint32_t LogFileName, uint32_t TmIdentity, uint32_t OpenOptions); +PPP_CB_TYPEDEF(void, on_NtPlugPlayControl_enter, CPUState* cpu, target_ulong pc, uint32_t PnPControlClass, uint32_t PnPControlData, uint32_t PnPControlDataLength); +PPP_CB_TYPEDEF(void, on_NtPlugPlayControl_return, CPUState* cpu, target_ulong pc, uint32_t PnPControlClass, uint32_t PnPControlData, uint32_t PnPControlDataLength); +PPP_CB_TYPEDEF(void, on_NtPowerInformation_enter, CPUState* cpu, target_ulong pc, uint32_t InformationLevel, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); +PPP_CB_TYPEDEF(void, on_NtPowerInformation_return, CPUState* cpu, target_ulong pc, uint32_t InformationLevel, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength); +PPP_CB_TYPEDEF(void, on_NtPrepareComplete_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrepareComplete_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrepareEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrepareEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrePrepareComplete_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrePrepareComplete_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrePrepareEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrePrepareEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtPrivilegeCheck_enter, CPUState* cpu, target_ulong pc, uint32_t ClientToken, uint32_t RequiredPrivileges, uint32_t Result); +PPP_CB_TYPEDEF(void, on_NtPrivilegeCheck_return, CPUState* cpu, target_ulong pc, uint32_t ClientToken, uint32_t RequiredPrivileges, uint32_t Result); +PPP_CB_TYPEDEF(void, on_NtPrivilegedServiceAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t ServiceName, uint32_t ClientToken, uint32_t Privileges, uint32_t AccessGranted); +PPP_CB_TYPEDEF(void, on_NtPrivilegedServiceAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t ServiceName, uint32_t ClientToken, uint32_t Privileges, uint32_t AccessGranted); +PPP_CB_TYPEDEF(void, on_NtPrivilegeObjectAuditAlarm_enter, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t Privileges, uint32_t AccessGranted); +PPP_CB_TYPEDEF(void, on_NtPrivilegeObjectAuditAlarm_return, CPUState* cpu, target_ulong pc, uint32_t SubsystemName, uint32_t HandleId, uint32_t ClientToken, uint32_t DesiredAccess, uint32_t Privileges, uint32_t AccessGranted); +PPP_CB_TYPEDEF(void, on_NtPropagationComplete_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t BufferLength, uint32_t Buffer); +PPP_CB_TYPEDEF(void, on_NtPropagationComplete_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t BufferLength, uint32_t Buffer); +PPP_CB_TYPEDEF(void, on_NtPropagationFailed_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t PropStatus); +PPP_CB_TYPEDEF(void, on_NtPropagationFailed_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t RequestCookie, uint32_t PropStatus); +PPP_CB_TYPEDEF(void, on_NtProtectVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t NewProtectWin32, uint32_t OldProtect); +PPP_CB_TYPEDEF(void, on_NtProtectVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t NewProtectWin32, uint32_t OldProtect); +PPP_CB_TYPEDEF(void, on_NtPulseEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtPulseEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtQueryAttributesFile_enter, CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); +PPP_CB_TYPEDEF(void, on_NtQueryAttributesFile_return, CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); +PPP_CB_TYPEDEF(void, on_NtQueryBootEntryOrder_enter, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtQueryBootEntryOrder_return, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtQueryBootOptions_enter, CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t BootOptionsLength); +PPP_CB_TYPEDEF(void, on_NtQueryBootOptions_return, CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t BootOptionsLength); +PPP_CB_TYPEDEF(void, on_NtQueryDebugFilterState_enter, CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level); +PPP_CB_TYPEDEF(void, on_NtQueryDebugFilterState_return, CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level); +PPP_CB_TYPEDEF(void, on_NtQueryDefaultLocale_enter, CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); +PPP_CB_TYPEDEF(void, on_NtQueryDefaultLocale_return, CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); +PPP_CB_TYPEDEF(void, on_NtQueryDefaultUILanguage_enter, CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); +PPP_CB_TYPEDEF(void, on_NtQueryDefaultUILanguage_return, CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); +PPP_CB_TYPEDEF(void, on_NtQueryDirectoryFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass, uint32_t ReturnSingleEntry, uint32_t FileName, uint32_t RestartScan); +PPP_CB_TYPEDEF(void, on_NtQueryDirectoryFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass, uint32_t ReturnSingleEntry, uint32_t FileName, uint32_t RestartScan); +PPP_CB_TYPEDEF(void, on_NtQueryDirectoryObject_enter, CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t RestartScan, uint32_t Context, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryDirectoryObject_return, CPUState* cpu, target_ulong pc, uint32_t DirectoryHandle, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t RestartScan, uint32_t Context, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryDriverEntryOrder_enter, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtQueryDriverEntryOrder_return, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtQueryEaFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t EaList, uint32_t EaListLength, uint32_t EaIndex, uint32_t RestartScan); +PPP_CB_TYPEDEF(void, on_NtQueryEaFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t EaList, uint32_t EaListLength, uint32_t EaIndex, uint32_t RestartScan); +PPP_CB_TYPEDEF(void, on_NtQueryEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t EventInformationClass, uint32_t EventInformation, uint32_t EventInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t EventInformationClass, uint32_t EventInformation, uint32_t EventInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryFullAttributesFile_enter, CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); +PPP_CB_TYPEDEF(void, on_NtQueryFullAttributesFile_return, CPUState* cpu, target_ulong pc, uint32_t ObjectAttributes, uint32_t FileInformation); +PPP_CB_TYPEDEF(void, on_NtQueryInformationAtom_enter, CPUState* cpu, target_ulong pc, uint32_t Atom, uint32_t InformationClass, uint32_t AtomInformation, uint32_t AtomInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationAtom_return, CPUState* cpu, target_ulong pc, uint32_t Atom, uint32_t InformationClass, uint32_t AtomInformation, uint32_t AtomInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); +PPP_CB_TYPEDEF(void, on_NtQueryInformationFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); +PPP_CB_TYPEDEF(void, on_NtQueryInformationJobObject_enter, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationJobObject_return, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortInformationClass, uint32_t PortInformation, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationResourceManager_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationResourceManager_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationToken_enter, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationToken_return, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationTransaction_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationTransaction_return, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationWorkerFactory_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInformationWorkerFactory_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryInstallUILanguage_enter, CPUState* cpu, target_ulong pc, uint32_t InstallUILanguageId); +PPP_CB_TYPEDEF(void, on_NtQueryInstallUILanguage_return, CPUState* cpu, target_ulong pc, uint32_t InstallUILanguageId); +PPP_CB_TYPEDEF(void, on_NtQueryIntervalProfile_enter, CPUState* cpu, target_ulong pc, uint32_t ProfileSource, uint32_t Interval); +PPP_CB_TYPEDEF(void, on_NtQueryIntervalProfile_return, CPUState* cpu, target_ulong pc, uint32_t ProfileSource, uint32_t Interval); +PPP_CB_TYPEDEF(void, on_NtQueryIoCompletion_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformationClass, uint32_t IoCompletionInformation, uint32_t IoCompletionInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryIoCompletion_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformationClass, uint32_t IoCompletionInformation, uint32_t IoCompletionInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtQueryKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeyInformationClass, uint32_t KeyInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtQueryLicenseValue_enter, CPUState* cpu, target_ulong pc, uint32_t Name, uint32_t Type, uint32_t Buffer, uint32_t Length, uint32_t ReturnedLength); +PPP_CB_TYPEDEF(void, on_NtQueryLicenseValue_return, CPUState* cpu, target_ulong pc, uint32_t Name, uint32_t Type, uint32_t Buffer, uint32_t Length, uint32_t ReturnedLength); +PPP_CB_TYPEDEF(void, on_NtQueryMultipleValueKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueEntries, uint32_t EntryCount, uint32_t ValueBuffer, uint32_t BufferLength, uint32_t RequiredBufferLength); +PPP_CB_TYPEDEF(void, on_NtQueryMultipleValueKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueEntries, uint32_t EntryCount, uint32_t ValueBuffer, uint32_t BufferLength, uint32_t RequiredBufferLength); +PPP_CB_TYPEDEF(void, on_NtQueryMutant_enter, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t MutantInformationClass, uint32_t MutantInformation, uint32_t MutantInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryMutant_return, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t MutantInformationClass, uint32_t MutantInformation, uint32_t MutantInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryOpenSubKeys_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t HandleCount); +PPP_CB_TYPEDEF(void, on_NtQueryOpenSubKeys_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t HandleCount); +PPP_CB_TYPEDEF(void, on_NtQueryOpenSubKeysEx_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t BufferLength, uint32_t Buffer, uint32_t RequiredSize); +PPP_CB_TYPEDEF(void, on_NtQueryOpenSubKeysEx_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t BufferLength, uint32_t Buffer, uint32_t RequiredSize); +PPP_CB_TYPEDEF(void, on_NtQueryPerformanceCounter_enter, CPUState* cpu, target_ulong pc, uint32_t PerformanceCounter, uint32_t PerformanceFrequency); +PPP_CB_TYPEDEF(void, on_NtQueryPerformanceCounter_return, CPUState* cpu, target_ulong pc, uint32_t PerformanceCounter, uint32_t PerformanceFrequency); +PPP_CB_TYPEDEF(void, on_NtQueryPortInformationProcess_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtQueryPortInformationProcess_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtQueryQuotaInformationFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t SidList, uint32_t SidListLength, uint32_t StartSid, uint32_t RestartScan); +PPP_CB_TYPEDEF(void, on_NtQueryQuotaInformationFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ReturnSingleEntry, uint32_t SidList, uint32_t SidListLength, uint32_t StartSid, uint32_t RestartScan); +PPP_CB_TYPEDEF(void, on_NtQuerySection_enter, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t SectionInformationClass, uint32_t SectionInformation, uint32_t SectionInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySection_return, CPUState* cpu, target_ulong pc, uint32_t SectionHandle, uint32_t SectionInformationClass, uint32_t SectionInformation, uint32_t SectionInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySecurityAttributesToken_enter, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t Attributes, uint32_t NumberOfAttributes, uint32_t Buffer, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySecurityAttributesToken_return, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t Attributes, uint32_t NumberOfAttributes, uint32_t Buffer, uint32_t Length, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySecurityObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor, uint32_t Length, uint32_t LengthNeeded); +PPP_CB_TYPEDEF(void, on_NtQuerySecurityObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor, uint32_t Length, uint32_t LengthNeeded); +PPP_CB_TYPEDEF(void, on_NtQuerySemaphore_enter, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t SemaphoreInformationClass, uint32_t SemaphoreInformation, uint32_t SemaphoreInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySemaphore_return, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, uint32_t SemaphoreInformationClass, uint32_t SemaphoreInformation, uint32_t SemaphoreInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySymbolicLinkObject_enter, CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t LinkTarget, uint32_t ReturnedLength); +PPP_CB_TYPEDEF(void, on_NtQuerySymbolicLinkObject_return, CPUState* cpu, target_ulong pc, uint32_t LinkHandle, uint32_t LinkTarget, uint32_t ReturnedLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemEnvironmentValue_enter, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue, uint32_t ValueLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemEnvironmentValue_return, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue, uint32_t ValueLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemEnvironmentValueEx_enter, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); +PPP_CB_TYPEDEF(void, on_NtQuerySystemEnvironmentValueEx_return, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); +PPP_CB_TYPEDEF(void, on_NtQuerySystemInformation_enter, CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemInformation_return, CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemInformationEx_enter, CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t QueryInformation, uint32_t QueryInformationLength, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemInformationEx_return, CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t QueryInformation, uint32_t QueryInformationLength, uint32_t SystemInformation, uint32_t SystemInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQuerySystemTime_enter, CPUState* cpu, target_ulong pc, uint32_t SystemTime); +PPP_CB_TYPEDEF(void, on_NtQuerySystemTime_return, CPUState* cpu, target_ulong pc, uint32_t SystemTime); +PPP_CB_TYPEDEF(void, on_NtQueryTimer_enter, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerInformationClass, uint32_t TimerInformation, uint32_t TimerInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryTimer_return, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerInformationClass, uint32_t TimerInformation, uint32_t TimerInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryTimerResolution_enter, CPUState* cpu, target_ulong pc, uint32_t MaximumTime, uint32_t MinimumTime, uint32_t CurrentTime); +PPP_CB_TYPEDEF(void, on_NtQueryTimerResolution_return, CPUState* cpu, target_ulong pc, uint32_t MaximumTime, uint32_t MinimumTime, uint32_t CurrentTime); +PPP_CB_TYPEDEF(void, on_NtQueryValueKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtQueryValueKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t KeyValueInformationClass, uint32_t KeyValueInformation, uint32_t Length, uint32_t ResultLength); +PPP_CB_TYPEDEF(void, on_NtQueryVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t MemoryInformationClass, uint32_t MemoryInformation, uint32_t MemoryInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t MemoryInformationClass, uint32_t MemoryInformation, uint32_t MemoryInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtQueryVolumeInformationFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); +PPP_CB_TYPEDEF(void, on_NtQueryVolumeInformationFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); +PPP_CB_TYPEDEF(void, on_NtQueueApcThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); +PPP_CB_TYPEDEF(void, on_NtQueueApcThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); +PPP_CB_TYPEDEF(void, on_NtQueueApcThreadEx_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t UserApcReserveHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); +PPP_CB_TYPEDEF(void, on_NtQueueApcThreadEx_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t UserApcReserveHandle, uint32_t ApcRoutine, uint32_t ApcArgument1, uint32_t ApcArgument2, uint32_t ApcArgument3); +PPP_CB_TYPEDEF(void, on_NtRaiseException_enter, CPUState* cpu, target_ulong pc, uint32_t ExceptionRecord, uint32_t ContextRecord, uint32_t FirstChance); +PPP_CB_TYPEDEF(void, on_NtRaiseException_return, CPUState* cpu, target_ulong pc, uint32_t ExceptionRecord, uint32_t ContextRecord, uint32_t FirstChance); +PPP_CB_TYPEDEF(void, on_NtRaiseHardError_enter, CPUState* cpu, target_ulong pc, uint32_t ErrorStatus, uint32_t NumberOfParameters, uint32_t UnicodeStringParameterMask, uint32_t Parameters, uint32_t ValidResponseOptions, uint32_t Response); +PPP_CB_TYPEDEF(void, on_NtRaiseHardError_return, CPUState* cpu, target_ulong pc, uint32_t ErrorStatus, uint32_t NumberOfParameters, uint32_t UnicodeStringParameterMask, uint32_t Parameters, uint32_t ValidResponseOptions, uint32_t Response); +PPP_CB_TYPEDEF(void, on_NtReadFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtReadFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtReadFileScatter_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtReadFileScatter_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtReadOnlyEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtReadOnlyEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtReadRequestData_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); +PPP_CB_TYPEDEF(void, on_NtReadRequestData_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); +PPP_CB_TYPEDEF(void, on_NtReadVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); +PPP_CB_TYPEDEF(void, on_NtReadVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesRead); +PPP_CB_TYPEDEF(void, on_NtRecoverEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentKey); +PPP_CB_TYPEDEF(void, on_NtRecoverEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentKey); +PPP_CB_TYPEDEF(void, on_NtRecoverResourceManager_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle); +PPP_CB_TYPEDEF(void, on_NtRecoverResourceManager_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle); +PPP_CB_TYPEDEF(void, on_NtRecoverTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle); +PPP_CB_TYPEDEF(void, on_NtRecoverTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle); +PPP_CB_TYPEDEF(void, on_NtRegisterProtocolAddressInformation_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManager, uint32_t ProtocolId, uint32_t ProtocolInformationSize, uint32_t ProtocolInformation, uint32_t CreateOptions); +PPP_CB_TYPEDEF(void, on_NtRegisterProtocolAddressInformation_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManager, uint32_t ProtocolId, uint32_t ProtocolInformationSize, uint32_t ProtocolInformation, uint32_t CreateOptions); +PPP_CB_TYPEDEF(void, on_NtRegisterThreadTerminatePort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle); +PPP_CB_TYPEDEF(void, on_NtRegisterThreadTerminatePort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle); +PPP_CB_TYPEDEF(void, on_NtReleaseKeyedEvent_enter, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtReleaseKeyedEvent_return, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtReleaseMutant_enter, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t PreviousCount); +PPP_CB_TYPEDEF(void, on_NtReleaseMutant_return, CPUState* cpu, target_ulong pc, uint32_t MutantHandle, uint32_t PreviousCount); +PPP_CB_TYPEDEF(void, on_NtReleaseSemaphore_enter, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, int32_t ReleaseCount, uint32_t PreviousCount); +PPP_CB_TYPEDEF(void, on_NtReleaseSemaphore_return, CPUState* cpu, target_ulong pc, uint32_t SemaphoreHandle, int32_t ReleaseCount, uint32_t PreviousCount); +PPP_CB_TYPEDEF(void, on_NtReleaseWorkerFactoryWorker_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); +PPP_CB_TYPEDEF(void, on_NtReleaseWorkerFactoryWorker_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); +PPP_CB_TYPEDEF(void, on_NtRemoveIoCompletion_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtRemoveIoCompletion_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtRemoveIoCompletionEx_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformation, uint32_t Count, uint32_t NumEntriesRemoved, uint32_t Timeout, uint32_t Alertable); +PPP_CB_TYPEDEF(void, on_NtRemoveIoCompletionEx_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionInformation, uint32_t Count, uint32_t NumEntriesRemoved, uint32_t Timeout, uint32_t Alertable); +PPP_CB_TYPEDEF(void, on_NtRemoveProcessDebug_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); +PPP_CB_TYPEDEF(void, on_NtRemoveProcessDebug_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t DebugObjectHandle); +PPP_CB_TYPEDEF(void, on_NtRenameKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t NewName); +PPP_CB_TYPEDEF(void, on_NtRenameKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t NewName); +PPP_CB_TYPEDEF(void, on_NtRenameTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t LogFileName, uint32_t ExistingTransactionManagerGuid); +PPP_CB_TYPEDEF(void, on_NtRenameTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t LogFileName, uint32_t ExistingTransactionManagerGuid); +PPP_CB_TYPEDEF(void, on_NtReplaceKey_enter, CPUState* cpu, target_ulong pc, uint32_t NewFile, uint32_t TargetHandle, uint32_t OldFile); +PPP_CB_TYPEDEF(void, on_NtReplaceKey_return, CPUState* cpu, target_ulong pc, uint32_t NewFile, uint32_t TargetHandle, uint32_t OldFile); +PPP_CB_TYPEDEF(void, on_NtReplacePartitionUnit_enter, CPUState* cpu, target_ulong pc, uint32_t TargetInstancePath, uint32_t SpareInstancePath, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtReplacePartitionUnit_return, CPUState* cpu, target_ulong pc, uint32_t TargetInstancePath, uint32_t SpareInstancePath, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtReplyPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); +PPP_CB_TYPEDEF(void, on_NtReplyPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); +PPP_CB_TYPEDEF(void, on_NtReplyWaitReceivePort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage); +PPP_CB_TYPEDEF(void, on_NtReplyWaitReceivePort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage); +PPP_CB_TYPEDEF(void, on_NtReplyWaitReceivePortEx_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtReplyWaitReceivePortEx_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortContext, uint32_t ReplyMessage, uint32_t ReceiveMessage, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtReplyWaitReplyPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); +PPP_CB_TYPEDEF(void, on_NtReplyWaitReplyPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t ReplyMessage); +PPP_CB_TYPEDEF(void, on_NtRequestPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage); +PPP_CB_TYPEDEF(void, on_NtRequestPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage); +PPP_CB_TYPEDEF(void, on_NtRequestWaitReplyPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage, uint32_t ReplyMessage); +PPP_CB_TYPEDEF(void, on_NtRequestWaitReplyPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t RequestMessage, uint32_t ReplyMessage); +PPP_CB_TYPEDEF(void, on_NtResetEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtResetEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtResetWriteWatch_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize); +PPP_CB_TYPEDEF(void, on_NtResetWriteWatch_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize); +PPP_CB_TYPEDEF(void, on_NtRestoreKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtRestoreKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtResumeProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); +PPP_CB_TYPEDEF(void, on_NtResumeProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); +PPP_CB_TYPEDEF(void, on_NtResumeThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); +PPP_CB_TYPEDEF(void, on_NtResumeThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); +PPP_CB_TYPEDEF(void, on_NtRollbackComplete_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtRollbackComplete_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtRollbackEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtRollbackEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtRollbackTransaction_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); +PPP_CB_TYPEDEF(void, on_NtRollbackTransaction_return, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t Wait); +PPP_CB_TYPEDEF(void, on_NtRollforwardTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtRollforwardTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t TransactionManagerHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtSaveKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle); +PPP_CB_TYPEDEF(void, on_NtSaveKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle); +PPP_CB_TYPEDEF(void, on_NtSaveKeyEx_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Format); +PPP_CB_TYPEDEF(void, on_NtSaveKeyEx_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t FileHandle, uint32_t Format); +PPP_CB_TYPEDEF(void, on_NtSaveMergedKeys_enter, CPUState* cpu, target_ulong pc, uint32_t HighPrecedenceKeyHandle, uint32_t LowPrecedenceKeyHandle, uint32_t FileHandle); +PPP_CB_TYPEDEF(void, on_NtSaveMergedKeys_return, CPUState* cpu, target_ulong pc, uint32_t HighPrecedenceKeyHandle, uint32_t LowPrecedenceKeyHandle, uint32_t FileHandle); +PPP_CB_TYPEDEF(void, on_NtSecureConnectPort_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t RequiredServerSid, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); +PPP_CB_TYPEDEF(void, on_NtSecureConnectPort_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t PortName, uint32_t SecurityQos, uint32_t ClientView, uint32_t RequiredServerSid, uint32_t ServerView, uint32_t MaxMessageLength, uint32_t ConnectionInformation, uint32_t ConnectionInformationLength); +PPP_CB_TYPEDEF(void, on_NtSerializeBoot_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtSerializeBoot_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtSetBootEntryOrder_enter, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtSetBootEntryOrder_return, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtSetBootOptions_enter, CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t FieldsToChange); +PPP_CB_TYPEDEF(void, on_NtSetBootOptions_return, CPUState* cpu, target_ulong pc, uint32_t BootOptions, uint32_t FieldsToChange); +PPP_CB_TYPEDEF(void, on_NtSetContextThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); +PPP_CB_TYPEDEF(void, on_NtSetContextThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadContext); +PPP_CB_TYPEDEF(void, on_NtSetDebugFilterState_enter, CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level, uint32_t State); +PPP_CB_TYPEDEF(void, on_NtSetDebugFilterState_return, CPUState* cpu, target_ulong pc, uint32_t ComponentId, uint32_t Level, uint32_t State); +PPP_CB_TYPEDEF(void, on_NtSetDefaultHardErrorPort_enter, CPUState* cpu, target_ulong pc, uint32_t DefaultHardErrorPort); +PPP_CB_TYPEDEF(void, on_NtSetDefaultHardErrorPort_return, CPUState* cpu, target_ulong pc, uint32_t DefaultHardErrorPort); +PPP_CB_TYPEDEF(void, on_NtSetDefaultLocale_enter, CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); +PPP_CB_TYPEDEF(void, on_NtSetDefaultLocale_return, CPUState* cpu, target_ulong pc, uint32_t UserProfile, uint32_t DefaultLocaleId); +PPP_CB_TYPEDEF(void, on_NtSetDefaultUILanguage_enter, CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); +PPP_CB_TYPEDEF(void, on_NtSetDefaultUILanguage_return, CPUState* cpu, target_ulong pc, uint32_t DefaultUILanguageId); +PPP_CB_TYPEDEF(void, on_NtSetDriverEntryOrder_enter, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtSetDriverEntryOrder_return, CPUState* cpu, target_ulong pc, uint32_t Ids, uint32_t Count); +PPP_CB_TYPEDEF(void, on_NtSetEaFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtSetEaFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtSetEvent_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtSetEvent_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtSetEventBoostPriority_enter, CPUState* cpu, target_ulong pc, uint32_t EventHandle); +PPP_CB_TYPEDEF(void, on_NtSetEventBoostPriority_return, CPUState* cpu, target_ulong pc, uint32_t EventHandle); +PPP_CB_TYPEDEF(void, on_NtSetHighEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetHighEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetHighWaitLowEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetHighWaitLowEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetInformationDebugObject_enter, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DebugObjectInformationClass, uint32_t DebugInformation, uint32_t DebugInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationDebugObject_return, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t DebugObjectInformationClass, uint32_t DebugInformation, uint32_t DebugInformationLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationEnlistment_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationEnlistment_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t EnlistmentInformationClass, uint32_t EnlistmentInformation, uint32_t EnlistmentInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); +PPP_CB_TYPEDEF(void, on_NtSetInformationFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FileInformation, uint32_t Length, uint32_t FileInformationClass); +PPP_CB_TYPEDEF(void, on_NtSetInformationJobObject_enter, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationJobObject_return, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t JobObjectInformationClass, uint32_t JobObjectInformation, uint32_t JobObjectInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeySetInformationClass, uint32_t KeySetInformation, uint32_t KeySetInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t KeySetInformationClass, uint32_t KeySetInformation, uint32_t KeySetInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t ObjectInformationClass, uint32_t ObjectInformation, uint32_t ObjectInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ProcessInformationClass, uint32_t ProcessInformation, uint32_t ProcessInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationResourceManager_enter, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationResourceManager_return, CPUState* cpu, target_ulong pc, uint32_t ResourceManagerHandle, uint32_t ResourceManagerInformationClass, uint32_t ResourceManagerInformation, uint32_t ResourceManagerInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ThreadInformationClass, uint32_t ThreadInformation, uint32_t ThreadInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationToken_enter, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationToken_return, CPUState* cpu, target_ulong pc, uint32_t TokenHandle, uint32_t TokenInformationClass, uint32_t TokenInformation, uint32_t TokenInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationTransaction_enter, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationTransaction_return, CPUState* cpu, target_ulong pc, uint32_t TransactionHandle, uint32_t TransactionInformationClass, uint32_t TransactionInformation, uint32_t TransactionInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationTransactionManager_enter, CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationTransactionManager_return, CPUState* cpu, target_ulong pc, uint32_t TmHandle, uint32_t TransactionManagerInformationClass, uint32_t TransactionManagerInformation, uint32_t TransactionManagerInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationWorkerFactory_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetInformationWorkerFactory_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t WorkerFactoryInformationClass, uint32_t WorkerFactoryInformation, uint32_t WorkerFactoryInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetIntervalProfile_enter, CPUState* cpu, target_ulong pc, uint32_t Interval, uint32_t Source); +PPP_CB_TYPEDEF(void, on_NtSetIntervalProfile_return, CPUState* cpu, target_ulong pc, uint32_t Interval, uint32_t Source); +PPP_CB_TYPEDEF(void, on_NtSetIoCompletion_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); +PPP_CB_TYPEDEF(void, on_NtSetIoCompletion_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); +PPP_CB_TYPEDEF(void, on_NtSetIoCompletionEx_enter, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionReserveHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); +PPP_CB_TYPEDEF(void, on_NtSetIoCompletionEx_return, CPUState* cpu, target_ulong pc, uint32_t IoCompletionHandle, uint32_t IoCompletionReserveHandle, uint32_t KeyContext, uint32_t ApcContext, uint32_t IoStatus, uint32_t IoStatusInformation); +PPP_CB_TYPEDEF(void, on_NtSetLdtEntries_enter, CPUState* cpu, target_ulong pc, uint32_t Selector0, uint32_t Entry0Low, uint32_t Entry0Hi, uint32_t Selector1, uint32_t Entry1Low, uint32_t Entry1Hi); +PPP_CB_TYPEDEF(void, on_NtSetLdtEntries_return, CPUState* cpu, target_ulong pc, uint32_t Selector0, uint32_t Entry0Low, uint32_t Entry0Hi, uint32_t Selector1, uint32_t Entry1Low, uint32_t Entry1Hi); +PPP_CB_TYPEDEF(void, on_NtSetLowEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetLowEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetLowWaitHighEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetLowWaitHighEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtSetQuotaInformationFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtSetQuotaInformationFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length); +PPP_CB_TYPEDEF(void, on_NtSetSecurityObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor); +PPP_CB_TYPEDEF(void, on_NtSetSecurityObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t SecurityInformation, uint32_t SecurityDescriptor); +PPP_CB_TYPEDEF(void, on_NtSetSystemEnvironmentValue_enter, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue); +PPP_CB_TYPEDEF(void, on_NtSetSystemEnvironmentValue_return, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VariableValue); +PPP_CB_TYPEDEF(void, on_NtSetSystemEnvironmentValueEx_enter, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); +PPP_CB_TYPEDEF(void, on_NtSetSystemEnvironmentValueEx_return, CPUState* cpu, target_ulong pc, uint32_t VariableName, uint32_t VendorGuid, uint32_t Value, uint32_t ValueLength, uint32_t Attributes); +PPP_CB_TYPEDEF(void, on_NtSetSystemInformation_enter, CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetSystemInformation_return, CPUState* cpu, target_ulong pc, uint32_t SystemInformationClass, uint32_t SystemInformation, uint32_t SystemInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetSystemPowerState_enter, CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtSetSystemPowerState_return, CPUState* cpu, target_ulong pc, uint32_t SystemAction, uint32_t MinSystemState, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtSetSystemTime_enter, CPUState* cpu, target_ulong pc, uint32_t SystemTime, uint32_t PreviousTime); +PPP_CB_TYPEDEF(void, on_NtSetSystemTime_return, CPUState* cpu, target_ulong pc, uint32_t SystemTime, uint32_t PreviousTime); +PPP_CB_TYPEDEF(void, on_NtSetThreadExecutionState_enter, CPUState* cpu, target_ulong pc, uint32_t esFlags, uint32_t PreviousFlags); +PPP_CB_TYPEDEF(void, on_NtSetThreadExecutionState_return, CPUState* cpu, target_ulong pc, uint32_t esFlags, uint32_t PreviousFlags); +PPP_CB_TYPEDEF(void, on_NtSetTimer_enter, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DueTime, uint32_t TimerApcRoutine, uint32_t TimerContext, uint32_t WakeTimer, int32_t Period, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtSetTimer_return, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t DueTime, uint32_t TimerApcRoutine, uint32_t TimerContext, uint32_t WakeTimer, int32_t Period, uint32_t PreviousState); +PPP_CB_TYPEDEF(void, on_NtSetTimerEx_enter, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerSetInformationClass, uint32_t TimerSetInformation, uint32_t TimerSetInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetTimerEx_return, CPUState* cpu, target_ulong pc, uint32_t TimerHandle, uint32_t TimerSetInformationClass, uint32_t TimerSetInformation, uint32_t TimerSetInformationLength); +PPP_CB_TYPEDEF(void, on_NtSetTimerResolution_enter, CPUState* cpu, target_ulong pc, uint32_t DesiredTime, uint32_t SetResolution, uint32_t ActualTime); +PPP_CB_TYPEDEF(void, on_NtSetTimerResolution_return, CPUState* cpu, target_ulong pc, uint32_t DesiredTime, uint32_t SetResolution, uint32_t ActualTime); +PPP_CB_TYPEDEF(void, on_NtSetUuidSeed_enter, CPUState* cpu, target_ulong pc, uint32_t Seed); +PPP_CB_TYPEDEF(void, on_NtSetUuidSeed_return, CPUState* cpu, target_ulong pc, uint32_t Seed); +PPP_CB_TYPEDEF(void, on_NtSetValueKey_enter, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t TitleIndex, uint32_t Type, uint32_t Data, uint32_t DataSize); +PPP_CB_TYPEDEF(void, on_NtSetValueKey_return, CPUState* cpu, target_ulong pc, uint32_t KeyHandle, uint32_t ValueName, uint32_t TitleIndex, uint32_t Type, uint32_t Data, uint32_t DataSize); +PPP_CB_TYPEDEF(void, on_NtSetVolumeInformationFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); +PPP_CB_TYPEDEF(void, on_NtSetVolumeInformationFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t FsInformation, uint32_t Length, uint32_t FsInformationClass); +PPP_CB_TYPEDEF(void, on_NtShutdownSystem_enter, CPUState* cpu, target_ulong pc, uint32_t Action); +PPP_CB_TYPEDEF(void, on_NtShutdownSystem_return, CPUState* cpu, target_ulong pc, uint32_t Action); +PPP_CB_TYPEDEF(void, on_NtShutdownWorkerFactory_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t PendingWorkerCount); +PPP_CB_TYPEDEF(void, on_NtShutdownWorkerFactory_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t PendingWorkerCount); +PPP_CB_TYPEDEF(void, on_NtSignalAndWaitForSingleObject_enter, CPUState* cpu, target_ulong pc, uint32_t SignalHandle, uint32_t WaitHandle, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtSignalAndWaitForSingleObject_return, CPUState* cpu, target_ulong pc, uint32_t SignalHandle, uint32_t WaitHandle, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtSinglePhaseReject_enter, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtSinglePhaseReject_return, CPUState* cpu, target_ulong pc, uint32_t EnlistmentHandle, uint32_t TmVirtualClock); +PPP_CB_TYPEDEF(void, on_NtStartProfile_enter, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); +PPP_CB_TYPEDEF(void, on_NtStartProfile_return, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); +PPP_CB_TYPEDEF(void, on_NtStopProfile_enter, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); +PPP_CB_TYPEDEF(void, on_NtStopProfile_return, CPUState* cpu, target_ulong pc, uint32_t ProfileHandle); +PPP_CB_TYPEDEF(void, on_NtSuspendProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); +PPP_CB_TYPEDEF(void, on_NtSuspendProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle); +PPP_CB_TYPEDEF(void, on_NtSuspendThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); +PPP_CB_TYPEDEF(void, on_NtSuspendThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t PreviousSuspendCount); +PPP_CB_TYPEDEF(void, on_NtSystemDebugControl_enter, CPUState* cpu, target_ulong pc, uint32_t Command, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtSystemDebugControl_return, CPUState* cpu, target_ulong pc, uint32_t Command, uint32_t InputBuffer, uint32_t InputBufferLength, uint32_t OutputBuffer, uint32_t OutputBufferLength, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtTerminateJobObject_enter, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ExitStatus); +PPP_CB_TYPEDEF(void, on_NtTerminateJobObject_return, CPUState* cpu, target_ulong pc, uint32_t JobHandle, uint32_t ExitStatus); +PPP_CB_TYPEDEF(void, on_NtTerminateProcess_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ExitStatus); +PPP_CB_TYPEDEF(void, on_NtTerminateProcess_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t ExitStatus); +PPP_CB_TYPEDEF(void, on_NtTerminateThread_enter, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ExitStatus); +PPP_CB_TYPEDEF(void, on_NtTerminateThread_return, CPUState* cpu, target_ulong pc, uint32_t ThreadHandle, uint32_t ExitStatus); +PPP_CB_TYPEDEF(void, on_NtTestAlert_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtTestAlert_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtThawRegistry_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtThawRegistry_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtThawTransactions_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtThawTransactions_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtTraceControl_enter, CPUState* cpu, target_ulong pc, uint32_t FunctionCode, uint32_t InBuffer, uint32_t InBufferLen, uint32_t OutBuffer, uint32_t OutBufferLen, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtTraceControl_return, CPUState* cpu, target_ulong pc, uint32_t FunctionCode, uint32_t InBuffer, uint32_t InBufferLen, uint32_t OutBuffer, uint32_t OutBufferLen, uint32_t ReturnLength); +PPP_CB_TYPEDEF(void, on_NtTraceEvent_enter, CPUState* cpu, target_ulong pc, uint32_t TraceHandle, uint32_t Flags, uint32_t FieldSize, uint32_t Fields); +PPP_CB_TYPEDEF(void, on_NtTraceEvent_return, CPUState* cpu, target_ulong pc, uint32_t TraceHandle, uint32_t Flags, uint32_t FieldSize, uint32_t Fields); +PPP_CB_TYPEDEF(void, on_NtTranslateFilePath_enter, CPUState* cpu, target_ulong pc, uint32_t InputFilePath, uint32_t OutputType, uint32_t OutputFilePath, uint32_t OutputFilePathLength); +PPP_CB_TYPEDEF(void, on_NtTranslateFilePath_return, CPUState* cpu, target_ulong pc, uint32_t InputFilePath, uint32_t OutputType, uint32_t OutputFilePath, uint32_t OutputFilePathLength); +PPP_CB_TYPEDEF(void, on_NtUmsThreadYield_enter, CPUState* cpu, target_ulong pc, uint32_t SchedulerParam); +PPP_CB_TYPEDEF(void, on_NtUmsThreadYield_return, CPUState* cpu, target_ulong pc, uint32_t SchedulerParam); +PPP_CB_TYPEDEF(void, on_NtUnloadDriver_enter, CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); +PPP_CB_TYPEDEF(void, on_NtUnloadDriver_return, CPUState* cpu, target_ulong pc, uint32_t DriverServiceName); +PPP_CB_TYPEDEF(void, on_NtUnloadKey_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey); +PPP_CB_TYPEDEF(void, on_NtUnloadKey_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey); +PPP_CB_TYPEDEF(void, on_NtUnloadKey2_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtUnloadKey2_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Flags); +PPP_CB_TYPEDEF(void, on_NtUnloadKeyEx_enter, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Event); +PPP_CB_TYPEDEF(void, on_NtUnloadKeyEx_return, CPUState* cpu, target_ulong pc, uint32_t TargetKey, uint32_t Event); +PPP_CB_TYPEDEF(void, on_NtUnlockFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtUnlockFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t IoStatusBlock, uint32_t ByteOffset, uint32_t Length, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtUnlockVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); +PPP_CB_TYPEDEF(void, on_NtUnlockVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t RegionSize, uint32_t MapType); +PPP_CB_TYPEDEF(void, on_NtUnmapViewOfSection_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress); +PPP_CB_TYPEDEF(void, on_NtUnmapViewOfSection_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress); +PPP_CB_TYPEDEF(void, on_NtVdmControl_enter, CPUState* cpu, target_ulong pc, uint32_t Service, uint32_t ServiceData); +PPP_CB_TYPEDEF(void, on_NtVdmControl_return, CPUState* cpu, target_ulong pc, uint32_t Service, uint32_t ServiceData); +PPP_CB_TYPEDEF(void, on_NtWaitForDebugEvent_enter, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t Alertable, uint32_t Timeout, uint32_t WaitStateChange); +PPP_CB_TYPEDEF(void, on_NtWaitForDebugEvent_return, CPUState* cpu, target_ulong pc, uint32_t DebugObjectHandle, uint32_t Alertable, uint32_t Timeout, uint32_t WaitStateChange); +PPP_CB_TYPEDEF(void, on_NtWaitForKeyedEvent_enter, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForKeyedEvent_return, CPUState* cpu, target_ulong pc, uint32_t KeyedEventHandle, uint32_t KeyValue, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForMultipleObjects_enter, CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForMultipleObjects_return, CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForMultipleObjects32_enter, CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForMultipleObjects32_return, CPUState* cpu, target_ulong pc, uint32_t Count, uint32_t Handles, uint32_t WaitType, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForSingleObject_enter, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForSingleObject_return, CPUState* cpu, target_ulong pc, uint32_t Handle, uint32_t Alertable, uint32_t Timeout); +PPP_CB_TYPEDEF(void, on_NtWaitForWorkViaWorkerFactory_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t MiniPacket); +PPP_CB_TYPEDEF(void, on_NtWaitForWorkViaWorkerFactory_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle, uint32_t MiniPacket); +PPP_CB_TYPEDEF(void, on_NtWaitHighEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtWaitHighEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtWaitLowEventPair_enter, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtWaitLowEventPair_return, CPUState* cpu, target_ulong pc, uint32_t EventPairHandle); +PPP_CB_TYPEDEF(void, on_NtWorkerFactoryWorkerReady_enter, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); +PPP_CB_TYPEDEF(void, on_NtWorkerFactoryWorkerReady_return, CPUState* cpu, target_ulong pc, uint32_t WorkerFactoryHandle); +PPP_CB_TYPEDEF(void, on_NtWriteFile_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtWriteFile_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t Buffer, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtWriteFileGather_enter, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtWriteFileGather_return, CPUState* cpu, target_ulong pc, uint32_t FileHandle, uint32_t Event, uint32_t ApcRoutine, uint32_t ApcContext, uint32_t IoStatusBlock, uint32_t SegmentArray, uint32_t Length, uint32_t ByteOffset, uint32_t Key); +PPP_CB_TYPEDEF(void, on_NtWriteRequestData_enter, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); +PPP_CB_TYPEDEF(void, on_NtWriteRequestData_return, CPUState* cpu, target_ulong pc, uint32_t PortHandle, uint32_t Message, uint32_t DataEntryIndex, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); +PPP_CB_TYPEDEF(void, on_NtWriteVirtualMemory_enter, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); +PPP_CB_TYPEDEF(void, on_NtWriteVirtualMemory_return, CPUState* cpu, target_ulong pc, uint32_t ProcessHandle, uint32_t BaseAddress, uint32_t Buffer, uint32_t BufferSize, uint32_t NumberOfBytesWritten); +PPP_CB_TYPEDEF(void, on_NtYieldExecution_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_NtYieldExecution_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_accept4_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_accept4_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, int32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_access_enter, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_access_return, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_acct_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_acct_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_add_key_enter, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_add_key_return, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _payload, uint32_t plen, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_enter, CPUState* cpu, target_ulong pc, uint32_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_adjtimex_return, CPUState* cpu, target_ulong pc, uint32_t txc_p); +PPP_CB_TYPEDEF(void, on_sys_alarm_enter, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_alarm_return, CPUState* cpu, target_ulong pc, uint32_t seconds); +PPP_CB_TYPEDEF(void, on_sys_arch_prctl_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_arch_prctl_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_bdflush_enter, CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); +PPP_CB_TYPEDEF(void, on_sys_bdflush_return, CPUState* cpu, target_ulong pc, int32_t func, int32_t _data); +PPP_CB_TYPEDEF(void, on_sys_bind_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bind_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_bpf_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_bpf_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t attr, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_brk_enter, CPUState* cpu, target_ulong pc, uint32_t brk); +PPP_CB_TYPEDEF(void, on_sys_brk_return, CPUState* cpu, target_ulong pc, uint32_t brk); +PPP_CB_TYPEDEF(void, on_sys_capget_enter, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capget_return, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t dataptr); +PPP_CB_TYPEDEF(void, on_sys_capset_enter, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_capset_return, CPUState* cpu, target_ulong pc, uint32_t header, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_chdir_enter, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chdir_return, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chmod_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chmod_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_chown_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown16_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chown16_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_chroot_enter, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_chroot_return, CPUState* cpu, target_ulong pc, uint32_t filename); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_adjtime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tx); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_getres_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_gettime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, int32_t flags, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clock_settime_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t tp); +PPP_CB_TYPEDEF(void, on_sys_clone_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_clone_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_close_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_close_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_connect_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_connect_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_copy_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_creat_enter, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_creat_return, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_delete_module_enter, CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_delete_module_return, CPUState* cpu, target_ulong pc, uint32_t name_user, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_dup2_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup2_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd); +PPP_CB_TYPEDEF(void, on_sys_dup3_enter, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_dup3_return, CPUState* cpu, target_ulong pc, uint32_t oldfd, uint32_t newfd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_enter, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create_return, CPUState* cpu, target_ulong pc, int32_t size); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_create1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_enter, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_ctl_return, CPUState* cpu, target_ulong pc, int32_t epfd, int32_t op, int32_t fd, uint32_t event); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_pwait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout, uint32_t sigmask, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_enter, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_epoll_wait_return, CPUState* cpu, target_ulong pc, int32_t epfd, uint32_t events, int32_t maxevents, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_eventfd_enter, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd_return, CPUState* cpu, target_ulong pc, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_enter, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_eventfd2_return, CPUState* cpu, target_ulong pc, uint32_t count, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execve_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); +PPP_CB_TYPEDEF(void, on_sys_execve_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t argv, uint32_t envp); +PPP_CB_TYPEDEF(void, on_sys_execveat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_execveat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t argv, uint32_t envp, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_exit_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_enter, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_exit_group_return, CPUState* cpu, target_ulong pc, int32_t error_code); +PPP_CB_TYPEDEF(void, on_sys_faccessat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_faccessat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_64_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fadvise64_64_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t len, int32_t advice); +PPP_CB_TYPEDEF(void, on_sys_fallocate_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fallocate_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t mode, uint64_t offset, uint64_t len); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_init_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t event_f_flags); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_enter, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fanotify_mark_return, CPUState* cpu, target_ulong pc, int32_t fanotify_fd, uint32_t flags, uint64_t mask, int32_t fd, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_fchdir_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchdir_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fchmod_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmod_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchmodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_fchown_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown16_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchown16_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_fchownat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fchownat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t user, uint32_t group, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fcntl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fcntl64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fdatasync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_fgetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_finit_module_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_finit_module_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t uargs, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flistxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_flock_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_flock_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd); +PPP_CB_TYPEDEF(void, on_sys_fork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_fremovexattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fsetxattr_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_fstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstat64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_fstatat64_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fstatat64_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t statbuf, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fstatfs64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_fsync_enter, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_fsync_return, CPUState* cpu, target_ulong pc, uint32_t fd); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_ftruncate64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_futex_enter, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futex_return, CPUState* cpu, target_ulong pc, uint32_t uaddr, int32_t op, uint32_t val, uint32_t utime, uint32_t uaddr2, uint32_t val3); +PPP_CB_TYPEDEF(void, on_sys_futimesat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_futimesat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_enter, CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_mempolicy_return, CPUState* cpu, target_ulong pc, uint32_t policy, uint32_t nmask, uint32_t maxnode, uint32_t addr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_get_robust_list_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t head_ptr, uint32_t len_ptr); +PPP_CB_TYPEDEF(void, on_sys_get_thread_area_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_get_thread_area_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_getcpu_enter, CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcpu_return, CPUState* cpu, target_ulong pc, uint32_t _cpu, uint32_t node, uint32_t cache); +PPP_CB_TYPEDEF(void, on_sys_getcwd_enter, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getcwd_return, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getdents_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getdents64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t dirent, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_getegid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getegid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_geteuid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups16_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getgroups16_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_getitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); +PPP_CB_TYPEDEF(void, on_sys_getitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value); +PPP_CB_TYPEDEF(void, on_sys_getpeername_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpeername_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpgrp_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getppid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_getrandom_enter, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getrandom_return, CPUState* cpu, target_ulong pc, uint32_t buf, uint32_t count, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_getresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid16_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresgid16_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid16_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getresuid16_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_getrusage_enter, CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_getrusage_return, CPUState* cpu, target_ulong pc, int32_t who, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_getsid_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsid_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_getsockname_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockname_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_getsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, uint32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_gettid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_enter, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_gettimeofday_return, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_getuid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid16_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getuid16_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_getxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_getxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_init_module_enter, CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_init_module_return, CPUState* cpu, target_ulong pc, uint32_t umod, uint32_t len, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_add_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t path, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_init1_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_inotify_rm_watch_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t wd); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); +PPP_CB_TYPEDEF(void, on_sys_io_cancel_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, uint32_t iocb, uint32_t result); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_enter, CPUState* cpu, target_ulong pc, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_destroy_return, CPUState* cpu, target_ulong pc, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_enter, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_getevents_return, CPUState* cpu, target_ulong pc, uint32_t ctx_id, int32_t min_nr, int32_t nr, uint32_t events, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_io_setup_enter, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_setup_return, CPUState* cpu, target_ulong pc, uint32_t nr_reqs, uint32_t ctx); +PPP_CB_TYPEDEF(void, on_sys_io_submit_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_io_submit_return, CPUState* cpu, target_ulong pc, uint32_t arg0, int32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_ioctl_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioctl_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_ioperm_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_ioperm_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_iopl_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_iopl_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_get_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ioprio_set_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t ioprio); +PPP_CB_TYPEDEF(void, on_sys_ipc_enter, CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); +PPP_CB_TYPEDEF(void, on_sys_ipc_return, CPUState* cpu, target_ulong pc, uint32_t call, int32_t first, uint32_t second, uint32_t third, uint32_t ptr, int32_t fifth); +PPP_CB_TYPEDEF(void, on_sys_kcmp_enter, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kcmp_return, CPUState* cpu, target_ulong pc, int32_t pid1, int32_t pid2, int32_t type, uint32_t idx1, uint32_t idx2); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_enter, CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_kexec_load_return, CPUState* cpu, target_ulong pc, uint32_t entry, uint32_t nr_segments, uint32_t segments, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_keyctl_enter, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_keyctl_return, CPUState* cpu, target_ulong pc, int32_t cmd, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_kill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_kill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_lchown_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown16_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lchown16_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t user, uint32_t group); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_lgetxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_link_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_link_return, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_linkat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_linkat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_listen_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listen_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_listxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_listxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llistxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t list, uint32_t size); +PPP_CB_TYPEDEF(void, on_sys_llseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_llseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset_high, uint32_t offset_low, uint32_t result, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_enter, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lookup_dcookie_return, CPUState* cpu, target_ulong pc, uint64_t cookie64, uint32_t buf, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_lremovexattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_lseek_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lseek_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t offset, uint32_t whence); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lsetxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_lstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat64_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_lstat64_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_madvise_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_madvise_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t behavior); +PPP_CB_TYPEDEF(void, on_sys_mbind_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mbind_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t mode, uint32_t nmask, uint32_t maxnode, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_enter, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_membarrier_return, CPUState* cpu, target_ulong pc, int32_t cmd, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_enter, CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_memfd_create_return, CPUState* cpu, target_ulong pc, uint32_t uname_ptr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); +PPP_CB_TYPEDEF(void, on_sys_migrate_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t maxnode, uint32_t from, uint32_t to); +PPP_CB_TYPEDEF(void, on_sys_mincore_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); +PPP_CB_TYPEDEF(void, on_sys_mincore_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t vec); +PPP_CB_TYPEDEF(void, on_sys_mkdir_enter, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdir_return, CPUState* cpu, target_ulong pc, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mkdirat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_mknod_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknod_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mknodat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t mode, uint32_t dev); +PPP_CB_TYPEDEF(void, on_sys_mlock_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_mlock2_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlock2_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mlockall_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mmap_pgoff_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); +PPP_CB_TYPEDEF(void, on_sys_mmap_pgoff_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len, uint32_t prot, uint32_t flags, uint32_t fd, uint32_t pgoff); +PPP_CB_TYPEDEF(void, on_sys_modify_ldt_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_modify_ldt_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_mount_enter, CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_mount_return, CPUState* cpu, target_ulong pc, uint32_t dev_name, uint32_t dir_name, uint32_t type, uint32_t flags, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_move_pages_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_move_pages_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t nr_pages, uint32_t pages, uint32_t nodes, uint32_t status, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_mprotect_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); +PPP_CB_TYPEDEF(void, on_sys_mprotect_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_getsetattr_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t mqstat, uint32_t omqstat); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_notify_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t notification); +PPP_CB_TYPEDEF(void, on_sys_mq_open_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_open_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t oflag, uint32_t mode, uint32_t attr); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedreceive_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_enter, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_timedsend_return, CPUState* cpu, target_ulong pc, uint32_t mqdes, uint32_t msg_ptr, uint32_t msg_len, uint32_t msg_prio, uint32_t abs_timeout); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_mq_unlink_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_mremap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_mremap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t old_len, uint32_t new_len, uint32_t flags, uint32_t new_addr); +PPP_CB_TYPEDEF(void, on_sys_msync_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_msync_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_munlock_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlock_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munlockall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munlockall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_munmap_enter, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_munmap_return, CPUState* cpu, target_ulong pc, uint32_t addr, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_name_to_handle_at_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t name, uint32_t handle, uint32_t mnt_id, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_enter, CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_nanosleep_return, CPUState* cpu, target_ulong pc, uint32_t rqtp, uint32_t rmtp); +PPP_CB_TYPEDEF(void, on_sys_newfstat_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newfstat_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newlstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newstat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_newuname_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_newuname_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_nice_enter, CPUState* cpu, target_ulong pc, int32_t increment); +PPP_CB_TYPEDEF(void, on_sys_nice_return, CPUState* cpu, target_ulong pc, int32_t increment); +PPP_CB_TYPEDEF(void, on_sys_old_getrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_old_getrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_old_mmap_enter, CPUState* cpu, target_ulong pc, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_old_mmap_return, CPUState* cpu, target_ulong pc, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_old_readdir_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_old_readdir_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_old_select_enter, CPUState* cpu, target_ulong pc, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_old_select_return, CPUState* cpu, target_ulong pc, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_oldumount_enter, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_oldumount_return, CPUState* cpu, target_ulong pc, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_olduname_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_olduname_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_open_enter, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_return, CPUState* cpu, target_ulong pc, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_enter, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_open_by_handle_at_return, CPUState* cpu, target_ulong pc, int32_t mountdirfd, uint32_t handle, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_openat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_openat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, int32_t flags, uint32_t mode); +PPP_CB_TYPEDEF(void, on_sys_pause_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_pause_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_enter, CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_perf_event_open_return, CPUState* cpu, target_ulong pc, uint32_t attr_uptr, int32_t pid, int32_t _cpu, int32_t group_fd, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_personality_enter, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_personality_return, CPUState* cpu, target_ulong pc, uint32_t personality); +PPP_CB_TYPEDEF(void, on_sys_pipe_enter, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe_return, CPUState* cpu, target_ulong pc, uint32_t fildes); +PPP_CB_TYPEDEF(void, on_sys_pipe2_enter, CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pipe2_return, CPUState* cpu, target_ulong pc, uint32_t fildes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_enter, CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pivot_root_return, CPUState* cpu, target_ulong pc, uint32_t new_root, uint32_t put_old); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_enter, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_alloc_return, CPUState* cpu, target_ulong pc, uint32_t flags, uint32_t init_val); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_enter, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_free_return, CPUState* cpu, target_ulong pc, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_pkey_mprotect_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t len, uint32_t prot, int32_t pkey); +PPP_CB_TYPEDEF(void, on_sys_poll_enter, CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_poll_return, CPUState* cpu, target_ulong pc, uint32_t ufds, uint32_t nfds, int32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_ppoll_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_ppoll_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4); +PPP_CB_TYPEDEF(void, on_sys_prctl_enter, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_prctl_return, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pread64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pread64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_preadv_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_preadv2_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_preadv2_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_prlimit64_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t resource, uint32_t new_rlim, uint32_t old_rlim); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_readv_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_process_vm_writev_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t lvec, uint32_t liovcnt, uint32_t rvec, uint32_t riovcnt, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pselect6_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_pselect6_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_ptrace_enter, CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_ptrace_return, CPUState* cpu, target_ulong pc, int32_t request, int32_t pid, uint32_t addr, uint32_t _data); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwrite64_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count, uint64_t pos); +PPP_CB_TYPEDEF(void, on_sys_pwritev_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_pwritev2_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen, uint32_t pos_l, uint32_t pos_h, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_quotactl_enter, CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); +PPP_CB_TYPEDEF(void, on_sys_quotactl_return, CPUState* cpu, target_ulong pc, uint32_t cmd, uint32_t special, uint32_t id, uint32_t addr); +PPP_CB_TYPEDEF(void, on_sys_read_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_read_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readahead_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_readlink_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlink_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t buf, int32_t bufsiz); +PPP_CB_TYPEDEF(void, on_sys_readv_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_readv_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_reboot_enter, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_reboot_return, CPUState* cpu, target_ulong pc, int32_t magic1, int32_t magic2, uint32_t cmd, uint32_t arg); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvfrom_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, uint32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags, uint32_t timeout); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_recvmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_enter, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_remap_file_pages_return, CPUState* cpu, target_ulong pc, uint32_t start, uint32_t size, uint32_t prot, uint32_t pgoff, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_removexattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_removexattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name); +PPP_CB_TYPEDEF(void, on_sys_rename_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_rename_return, CPUState* cpu, target_ulong pc, uint32_t oldname, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_renameat2_enter, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_renameat2_return, CPUState* cpu, target_ulong pc, int32_t olddfd, uint32_t oldname, int32_t newdfd, uint32_t newname, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_request_key_enter, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_request_key_return, CPUState* cpu, target_ulong pc, uint32_t _type, uint32_t _description, uint32_t _callout_info, uint32_t destringid); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_restart_syscall_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rmdir_enter, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rmdir_return, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_enter, CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigpending_return, CPUState* cpu, target_ulong pc, uint32_t set, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigreturn_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_enter, CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigsuspend_return, CPUState* cpu, target_ulong pc, uint32_t unewset, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_enter, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_sigtimedwait_return, CPUState* cpu, target_ulong pc, uint32_t uthese, uint32_t uinfo, uint32_t uts, uint32_t sigsetsize); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_rt_tgsigqueueinfo_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig, uint32_t uinfo); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_max_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_enter, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_get_priority_min_return, CPUState* cpu, target_ulong pc, int32_t policy); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t size, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_getscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_rr_get_interval_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t interval); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setaffinity_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t len, uint32_t user_mask_ptr); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setattr_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t attr, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setparam_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_setscheduler_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t policy, uint32_t param); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sched_yield_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_seccomp_enter, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_seccomp_return, CPUState* cpu, target_ulong pc, uint32_t op, uint32_t flags, uint32_t uargs); +PPP_CB_TYPEDEF(void, on_sys_select_enter, CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); +PPP_CB_TYPEDEF(void, on_sys_select_return, CPUState* cpu, target_ulong pc, int32_t n, uint32_t inp, uint32_t outp, uint32_t exp, uint32_t tvp); +PPP_CB_TYPEDEF(void, on_sys_sendfile_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_enter, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendfile64_return, CPUState* cpu, target_ulong pc, int32_t out_fd, int32_t in_fd, uint32_t offset, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t vlen, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendmsg_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t msg, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sendto_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_sendto_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2, uint32_t arg3, uint32_t arg4, int32_t arg5); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_enter, CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_mempolicy_return, CPUState* cpu, target_ulong pc, int32_t mode, uint32_t nmask, uint32_t maxnode); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_enter, CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_robust_list_return, CPUState* cpu, target_ulong pc, uint32_t head, uint32_t len); +PPP_CB_TYPEDEF(void, on_sys_set_thread_area_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_set_thread_area_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_enter, CPUState* cpu, target_ulong pc, uint32_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_set_tid_address_return, CPUState* cpu, target_ulong pc, uint32_t tidptr); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setdomainname_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid16_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsgid16_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid16_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setfsuid16_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setgid_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid16_enter, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgid16_return, CPUState* cpu, target_ulong pc, uint32_t gid); +PPP_CB_TYPEDEF(void, on_sys_setgroups_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups16_enter, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_setgroups16_return, CPUState* cpu, target_ulong pc, int32_t gidsetsize, uint32_t grouplist); +PPP_CB_TYPEDEF(void, on_sys_sethostname_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_sethostname_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_setitimer_enter, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setitimer_return, CPUState* cpu, target_ulong pc, int32_t which, uint32_t value, uint32_t ovalue); +PPP_CB_TYPEDEF(void, on_sys_setns_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setns_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t nstype); +PPP_CB_TYPEDEF(void, on_sys_setpgid_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpgid_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t pgid); +PPP_CB_TYPEDEF(void, on_sys_setpriority_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setpriority_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t who, int32_t niceval); +PPP_CB_TYPEDEF(void, on_sys_setregid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid16_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setregid16_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid16_enter, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresgid16_return, CPUState* cpu, target_ulong pc, uint32_t rgid, uint32_t egid, uint32_t sgid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid16_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setresuid16_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid, uint32_t suid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid16_enter, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setreuid16_return, CPUState* cpu, target_ulong pc, uint32_t ruid, uint32_t euid); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_enter, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setrlimit_return, CPUState* cpu, target_ulong pc, uint32_t resource, uint32_t rlim); +PPP_CB_TYPEDEF(void, on_sys_setsid_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsid_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_enter, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_setsockopt_return, CPUState* cpu, target_ulong pc, int32_t fd, int32_t level, int32_t optname, uint32_t optval, int32_t optlen); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_enter, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_settimeofday_return, CPUState* cpu, target_ulong pc, uint32_t tv, uint32_t tz); +PPP_CB_TYPEDEF(void, on_sys_setuid_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid16_enter, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setuid16_return, CPUState* cpu, target_ulong pc, uint32_t uid); +PPP_CB_TYPEDEF(void, on_sys_setxattr_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_setxattr_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t name, uint32_t value, uint32_t size, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sgetmask_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sgetmask_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_shutdown_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_shutdown_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_sigaction_enter, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sigaction_return, CPUState* cpu, target_ulong pc, int32_t arg0, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_enter, CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); +PPP_CB_TYPEDEF(void, on_sys_sigaltstack_return, CPUState* cpu, target_ulong pc, uint32_t uss, uint32_t uoss); +PPP_CB_TYPEDEF(void, on_sys_signal_enter, CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); +PPP_CB_TYPEDEF(void, on_sys_signal_return, CPUState* cpu, target_ulong pc, int32_t sig, uint32_t handler); +PPP_CB_TYPEDEF(void, on_sys_signalfd_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_signalfd4_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t user_mask, uint32_t sizemask, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sigpending_enter, CPUState* cpu, target_ulong pc, uint32_t set); +PPP_CB_TYPEDEF(void, on_sys_sigpending_return, CPUState* cpu, target_ulong pc, uint32_t set); +PPP_CB_TYPEDEF(void, on_sys_sigprocmask_enter, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); +PPP_CB_TYPEDEF(void, on_sys_sigprocmask_return, CPUState* cpu, target_ulong pc, int32_t how, uint32_t set, uint32_t oset); +PPP_CB_TYPEDEF(void, on_sys_sigreturn_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sigreturn_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sigsuspend_enter, CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_sigsuspend_return, CPUState* cpu, target_ulong pc, int32_t unused1, int32_t unused2, uint32_t mask); +PPP_CB_TYPEDEF(void, on_sys_socket_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socket_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_socketcall_enter, CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_socketcall_return, CPUState* cpu, target_ulong pc, int32_t call, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_socketpair_enter, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_socketpair_return, CPUState* cpu, target_ulong pc, int32_t arg0, int32_t arg1, int32_t arg2, uint32_t arg3); +PPP_CB_TYPEDEF(void, on_sys_splice_enter, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_splice_return, CPUState* cpu, target_ulong pc, int32_t fd_in, uint32_t off_in, int32_t fd_out, uint32_t off_out, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_ssetmask_enter, CPUState* cpu, target_ulong pc, int32_t newmask); +PPP_CB_TYPEDEF(void, on_sys_ssetmask_return, CPUState* cpu, target_ulong pc, int32_t newmask); +PPP_CB_TYPEDEF(void, on_sys_stat_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat64_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_stat64_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t statbuf); +PPP_CB_TYPEDEF(void, on_sys_statfs_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs64_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statfs64_return, CPUState* cpu, target_ulong pc, uint32_t path, uint32_t sz, uint32_t buf); +PPP_CB_TYPEDEF(void, on_sys_statx_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); +PPP_CB_TYPEDEF(void, on_sys_statx_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t path, uint32_t flags, uint32_t mask, uint32_t buffer); +PPP_CB_TYPEDEF(void, on_sys_stime_enter, CPUState* cpu, target_ulong pc, uint32_t tptr); +PPP_CB_TYPEDEF(void, on_sys_stime_return, CPUState* cpu, target_ulong pc, uint32_t tptr); +PPP_CB_TYPEDEF(void, on_sys_swapoff_enter, CPUState* cpu, target_ulong pc, uint32_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapoff_return, CPUState* cpu, target_ulong pc, uint32_t specialfile); +PPP_CB_TYPEDEF(void, on_sys_swapon_enter, CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_swapon_return, CPUState* cpu, target_ulong pc, uint32_t specialfile, int32_t swap_flags); +PPP_CB_TYPEDEF(void, on_sys_symlink_enter, CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlink_return, CPUState* cpu, target_ulong pc, uint32_t old, uint32_t _new); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_enter, CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_symlinkat_return, CPUState* cpu, target_ulong pc, uint32_t oldname, int32_t newdfd, uint32_t newname); +PPP_CB_TYPEDEF(void, on_sys_sync_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_sync_file_range_return, CPUState* cpu, target_ulong pc, int32_t fd, uint64_t offset, uint64_t nbytes, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_syncfs_enter, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_syncfs_return, CPUState* cpu, target_ulong pc, int32_t fd); +PPP_CB_TYPEDEF(void, on_sys_sysctl_enter, CPUState* cpu, target_ulong pc, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_sysctl_return, CPUState* cpu, target_ulong pc, uint32_t args); +PPP_CB_TYPEDEF(void, on_sys_sysfs_enter, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysfs_return, CPUState* cpu, target_ulong pc, int32_t option, uint32_t arg1, uint32_t arg2); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_enter, CPUState* cpu, target_ulong pc, uint32_t info); +PPP_CB_TYPEDEF(void, on_sys_sysinfo_return, CPUState* cpu, target_ulong pc, uint32_t info); +PPP_CB_TYPEDEF(void, on_sys_syslog_enter, CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_syslog_return, CPUState* cpu, target_ulong pc, int32_t type, uint32_t buf, int32_t len); +PPP_CB_TYPEDEF(void, on_sys_tee_enter, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tee_return, CPUState* cpu, target_ulong pc, int32_t fdin, int32_t fdout, uint32_t len, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_tgkill_enter, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tgkill_return, CPUState* cpu, target_ulong pc, int32_t tgid, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_time_enter, CPUState* cpu, target_ulong pc, uint32_t tloc); +PPP_CB_TYPEDEF(void, on_sys_time_return, CPUState* cpu, target_ulong pc, uint32_t tloc); +PPP_CB_TYPEDEF(void, on_sys_timer_create_enter, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_create_return, CPUState* cpu, target_ulong pc, uint32_t which_clock, uint32_t timer_event_spec, uint32_t created_timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_delete_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_getoverrun_return, CPUState* cpu, target_ulong pc, uint32_t timer_id); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_gettime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, uint32_t setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_enter, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timer_settime_return, CPUState* cpu, target_ulong pc, uint32_t timer_id, int32_t flags, uint32_t new_setting, uint32_t old_setting); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_enter, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_create_return, CPUState* cpu, target_ulong pc, int32_t clockid, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_gettime_return, CPUState* cpu, target_ulong pc, int32_t ufd, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_enter, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_timerfd_settime_return, CPUState* cpu, target_ulong pc, int32_t ufd, int32_t flags, uint32_t utmr, uint32_t otmr); +PPP_CB_TYPEDEF(void, on_sys_times_enter, CPUState* cpu, target_ulong pc, uint32_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_times_return, CPUState* cpu, target_ulong pc, uint32_t tbuf); +PPP_CB_TYPEDEF(void, on_sys_tkill_enter, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_tkill_return, CPUState* cpu, target_ulong pc, int32_t pid, int32_t sig); +PPP_CB_TYPEDEF(void, on_sys_truncate_enter, CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate_return, CPUState* cpu, target_ulong pc, uint32_t path, int32_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate64_enter, CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_truncate64_return, CPUState* cpu, target_ulong pc, uint32_t path, uint64_t length); +PPP_CB_TYPEDEF(void, on_sys_umask_enter, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umask_return, CPUState* cpu, target_ulong pc, int32_t mask); +PPP_CB_TYPEDEF(void, on_sys_umount_enter, CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_umount_return, CPUState* cpu, target_ulong pc, uint32_t name, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_uname_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_uname_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_unlink_enter, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlink_return, CPUState* cpu, target_ulong pc, uint32_t pathname); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unlinkat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t pathname, int32_t flag); +PPP_CB_TYPEDEF(void, on_sys_unshare_enter, CPUState* cpu, target_ulong pc, uint32_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_unshare_return, CPUState* cpu, target_ulong pc, uint32_t unshare_flags); +PPP_CB_TYPEDEF(void, on_sys_uselib_enter, CPUState* cpu, target_ulong pc, uint32_t library); +PPP_CB_TYPEDEF(void, on_sys_uselib_return, CPUState* cpu, target_ulong pc, uint32_t library); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_enter, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_userfaultfd_return, CPUState* cpu, target_ulong pc, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_ustat_enter, CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_ustat_return, CPUState* cpu, target_ulong pc, uint32_t dev, uint32_t ubuf); +PPP_CB_TYPEDEF(void, on_sys_utime_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); +PPP_CB_TYPEDEF(void, on_sys_utime_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t times); +PPP_CB_TYPEDEF(void, on_sys_utimensat_enter, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimensat_return, CPUState* cpu, target_ulong pc, int32_t dfd, uint32_t filename, uint32_t utimes, int32_t flags); +PPP_CB_TYPEDEF(void, on_sys_utimes_enter, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_utimes_return, CPUState* cpu, target_ulong pc, uint32_t filename, uint32_t utimes); +PPP_CB_TYPEDEF(void, on_sys_vfork_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vfork_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_enter, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vhangup_return, CPUState* cpu, target_ulong pc); +PPP_CB_TYPEDEF(void, on_sys_vm86_enter, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_vm86_return, CPUState* cpu, target_ulong pc, uint32_t arg0, uint32_t arg1); +PPP_CB_TYPEDEF(void, on_sys_vm86old_enter, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_vm86old_return, CPUState* cpu, target_ulong pc, uint32_t arg0); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_enter, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_vmsplice_return, CPUState* cpu, target_ulong pc, int32_t fd, uint32_t iov, uint32_t nr_segs, uint32_t flags); +PPP_CB_TYPEDEF(void, on_sys_wait4_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_wait4_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_enter, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitid_return, CPUState* cpu, target_ulong pc, int32_t which, int32_t pid, uint32_t infop, int32_t options, uint32_t ru); +PPP_CB_TYPEDEF(void, on_sys_waitpid_enter, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); +PPP_CB_TYPEDEF(void, on_sys_waitpid_return, CPUState* cpu, target_ulong pc, int32_t pid, uint32_t stat_addr, int32_t options); +PPP_CB_TYPEDEF(void, on_sys_write_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_write_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t buf, uint32_t count); +PPP_CB_TYPEDEF(void, on_sys_writev_enter, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); +PPP_CB_TYPEDEF(void, on_sys_writev_return, CPUState* cpu, target_ulong pc, uint32_t fd, uint32_t vec, uint32_t vlen); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! diff --git a/panda/plugins/syscalls2/scripts/syscall_parser.py b/panda/plugins/syscalls2/scripts/syscall_parser.py index 1e204fb5ecc..53f179db9a7 100755 --- a/panda/plugins/syscalls2/scripts/syscall_parser.py +++ b/panda/plugins/syscalls2/scripts/syscall_parser.py @@ -268,7 +268,7 @@ def emit_temp_declaration(self): ''' Returns a snippet declaring an appropriate temp variable for this argument. ''' - return '{0} arg{1};'.format(self.ctype, self.no) + return '{0} arg{1} = 0;'.format(self.ctype, self.no) def emit_temp_assignment(self): ''' Returns a snippet declaring an appropriate temp diff --git a/panda/plugins/taint2/taint2.h b/panda/plugins/taint2/taint2.h index 104357c5889..6661ca3b81e 100644 --- a/panda/plugins/taint2/taint2.h +++ b/panda/plugins/taint2/taint2.h @@ -36,14 +36,14 @@ typedef const std::set *LabelSetP; // api autogen needs it. And don't put any compiler directives // between this and END_PYPANDA_NEEDS_THIS except includes of other // files in this directory that contain subsections like this one. -typedef void (*on_branch2_t) (Addr, uint64_t, bool, bool*); -typedef void (*on_indirect_jump_t) (Addr, uint64_t, bool, bool*); -typedef void (*on_taint_change_t) (Addr, uint64_t); -typedef void (*on_taint_prop_t) (Addr, Addr, uint64_t); -typedef void (*on_ptr_load_t) (Addr, uint64_t, uint64_t); -typedef void (*on_ptr_store_t) (Addr, uint64_t, uint64_t); -typedef void (*on_after_load_t) (Addr, uint64_t, uint64_t); -typedef void (*on_after_store_t) (Addr, uint64_t, uint64_t); +PPP_CB_TYPEDEF(void, on_branch2, Addr, uint64_t, bool, bool*); +PPP_CB_TYPEDEF(void, on_indirect_jump, Addr, uint64_t, bool, bool*); +PPP_CB_TYPEDEF(void, on_taint_change, Addr, uint64_t); +PPP_CB_TYPEDEF(void, on_taint_prop, Addr, Addr, uint64_t); +PPP_CB_TYPEDEF(void, on_ptr_load, Addr, uint64_t, uint64_t); +PPP_CB_TYPEDEF(void, on_ptr_store, Addr, uint64_t, uint64_t); +PPP_CB_TYPEDEF(void, on_after_load, Addr, uint64_t, uint64_t); +PPP_CB_TYPEDEF(void, on_after_store, Addr, uint64_t, uint64_t); // END_PYPANDA_NEEDS_THIS -- do not delete this comment! From 995f800dcb15016846bd97174ac0d11af978d8cb Mon Sep 17 00:00:00 2001 From: jamcleod Date: Fri, 22 Oct 2021 17:28:00 -0400 Subject: [PATCH 3/5] Add docs for new PPP definitions --- panda/docs/manual.md | 3 +++ panda/python/core/create_panda_datatypes.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/panda/docs/manual.md b/panda/docs/manual.md index 4a3270928e4..ddebfad5b4b 100644 --- a/panda/docs/manual.md +++ b/panda/docs/manual.md @@ -793,6 +793,9 @@ following. 2. Create a type for the callback function. Put this in the .h file for Plugin A. If the callback's name is `foo`, then this type has to be called `foo_t`. + This type shold be generated using the `PPP_CB_TYPEDEF` macro in the form of + `PPP_CB_TYPEDEF(return_type, name, arguments...);`. For example + `PPP_CB_TYPEDEF(void, foo, CPUState *env, target_ptr_t pc);`. 3. Use the macro `PPP_RUN_CB` at the line chosen in 1. This macro takes all the arguments you want the callback to get, so it will look like a function call. diff --git a/panda/python/core/create_panda_datatypes.py b/panda/python/core/create_panda_datatypes.py index f0696020c97..a4797b61b9c 100755 --- a/panda/python/core/create_panda_datatypes.py +++ b/panda/python/core/create_panda_datatypes.py @@ -84,7 +84,7 @@ def copy_ppp_header(filename): pypanda_h = os.path.join(INCLUDE_DIR_PYP, os.path.split(filename)[-1]) print("Creating pypanda PPP header [%s] for [%s]" % (pypanda_h, filename)) new_contents = [f"//Autogenerated PPP header from {filename}"] - reg = re.compile(r"typedef (void|bool) \(\*([a-zA-Z0-9_-]+)_t\).*") + reg = re.compile(r"PPP_CB_TYPEDEF\( *(void|bool) *, *\* *([a-zA-Z0-9_-]+)_t,.*\).*") contents = open(filename).read() subcontents = trim_pypanda(contents) for line in subcontents.split("\n"): From 8d7778060d3e0eb8d8d0bf114002c2719582a86b Mon Sep 17 00:00:00 2001 From: jamcleod Date: Fri, 22 Oct 2021 18:18:01 -0400 Subject: [PATCH 4/5] Fix pypanda PPP callback parsing --- panda/python/core/create_panda_datatypes.py | 30 +++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/panda/python/core/create_panda_datatypes.py b/panda/python/core/create_panda_datatypes.py index a4797b61b9c..9b27feb18f9 100755 --- a/panda/python/core/create_panda_datatypes.py +++ b/panda/python/core/create_panda_datatypes.py @@ -77,6 +77,12 @@ def trim_pypanda(contents): else: return contents[a:b] +def ppp_cb_typedef_regex(): + return re.compile(r"PPP_CB_TYPEDEF\( *(void|bool|int) *, *([a-zA-Z0-9_-]+) *, *(.*)\).*") + +def typedef(ret_type, name, args): + return f"typedef {ret_type} (*{name}_t)({args});" + def copy_ppp_header(filename): # For the PPP-like headers we look for typedefs and then make the void ppp_add_cb(name)(name_t); functions # and the bool ppp_remove_cb(name)(name_t) @@ -84,18 +90,24 @@ def copy_ppp_header(filename): pypanda_h = os.path.join(INCLUDE_DIR_PYP, os.path.split(filename)[-1]) print("Creating pypanda PPP header [%s] for [%s]" % (pypanda_h, filename)) new_contents = [f"//Autogenerated PPP header from {filename}"] - reg = re.compile(r"PPP_CB_TYPEDEF\( *(void|bool) *, *\* *([a-zA-Z0-9_-]+)_t,.*\).*") + reg = ppp_cb_typedef_regex() contents = open(filename).read() subcontents = trim_pypanda(contents) for line in subcontents.split("\n"): - new_contents.append(line.strip()) # now add void ppp_add_cb_{cb_name}({cb_name}_t); m = reg.match(line) if m: + ret_type = m.groups(1)[0] name = m.groups(1)[1] + args = m.groups(1)[2] + new_contents.append(typedef(ret_type, name, args)) new_contents.append(f"void ppp_add_cb_{name}({name}_t);") new_contents.append(f"bool ppp_remove_cb_{name}({name}_t);") # void ppp_add_cb_{cb_name}(void (*)({cb_args})) + elif "PPP_CB_TYPEDEF" in line: + raise Exception(f"Failed to parse: {line}") + else: + new_contents.append(line.strip()) with open(pypanda_h, "w") as outfile: outfile.write("\n".join(new_contents)) @@ -190,6 +202,20 @@ def define_clean_header(ffi, fname): for line in r.split("\n"): assert("extern \"C\" {" not in line), "Externs unsupported by CFFI. Change {} to a single line without braces".format(r) r = r.replace("extern \"C\" ", "") # This allows inline externs like 'extern "C" void foo(...)' + + reg = ppp_cb_typedef_regex() + def expand_ppp_def(line): + nonlocal reg + m = reg.match(line) + if m: + ret_type = m.groups(1)[0] + name = m.groups(1)[1] + args = m.groups(1)[2] + return typedef(ret_type, name, args) + else: + return line + + r = "\n".join([expand_ppp_def(line) for line in r.split("\n")]) try: ffi.cdef(r) except Exception as e: # it's a cffi.CDefError, but cffi isn't imported From 79d29b94209392d53a78ba33a7599c918e6bf4cf Mon Sep 17 00:00:00 2001 From: Andrew Fasano Date: Mon, 25 Oct 2021 10:57:22 -0400 Subject: [PATCH 5/5] Bugfix for mips64 build: generate llvm helpers --- panda/Makefile.panda.target | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/panda/Makefile.panda.target b/panda/Makefile.panda.target index 5c265261c6e..34a71ce5a8e 100644 --- a/panda/Makefile.panda.target +++ b/panda/Makefile.panda.target @@ -211,6 +211,14 @@ else llvmmorph-$(TARGET_MIPS) += llvm-helpers-mips.bc endif +MIPS64_HELPERS = dsp_helper.bc2 helper.bc2 lmi_helper.bc2 msa_helper.bc2 +MIPS64_HELPERS += op_helper.bc2 +llvm-$(TARGET_MIPS64) += fpu/softfloat.bc2 +llvm-$(TARGET_MIPS64) += $(addprefix target/mips/,$(MIPS64_HELPERS)) + +# only support mips64, not mipsel64 +llvmmorph-$(TARGET_MIPS64) += llvm-helpers-mips64.bc + CLANG_FILTER = -Wold-style-declaration -fstack-protector-strong -Wno-error=cpp -g -O0 -O1 -O2 -O3 -mcx16 -Wno-shift-negative-value QEMU_BC2FLAGS:=$(filter-out $(CLANG_FILTER),$(QEMU_CFLAGS) $(CFLAGS)) -O1 -I../target/$(TARGET_BASE_ARCH) %.bc2: %.c $(GENERATED_FILES)