diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-09-22 18:23:50 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-09-22 18:23:50 +0200 |
| commit | fa93803b452c31d58e03d18442853cdbe5695734 (patch) | |
| tree | 1243ea4830bdeddb695e5d3518099007fd823823 /src/wrapped/generated/wrapper.c | |
| parent | 7201dbd4779dc8132314960e2943a8d727d6c94a (diff) | |
| download | box64-fa93803b452c31d58e03d18442853cdbe5695734.tar.gz box64-fa93803b452c31d58e03d18442853cdbe5695734.zip | |
Added __pread_chk wrapped function to libc
Diffstat (limited to 'src/wrapped/generated/wrapper.c')
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 74866d6e..2301dbf9 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -1276,6 +1276,7 @@ typedef uint64_t (*uFppppp_t)(void*, void*, void*, void*, void*); typedef uint64_t (*UFuiiii_t)(uint64_t, int64_t, int64_t, int64_t, int64_t); typedef intptr_t (*lFipili_t)(int64_t, void*, int64_t, intptr_t, int64_t); typedef intptr_t (*lFipLli_t)(int64_t, void*, uintptr_t, intptr_t, int64_t); +typedef intptr_t (*lFipLlL_t)(int64_t, void*, uintptr_t, intptr_t, uintptr_t); typedef intptr_t (*lFipLLi_t)(int64_t, void*, uintptr_t, uintptr_t, int64_t); typedef intptr_t (*lFipLpp_t)(int64_t, void*, uintptr_t, void*, void*); typedef uintptr_t (*LFELppi_t)(x64emu_t*, uintptr_t, void*, void*, int64_t); @@ -3469,6 +3470,7 @@ void uFppppp(x64emu_t *emu, uintptr_t fcn) { uFppppp_t fn = (uFppppp_t)fcn; R_RA void UFuiiii(x64emu_t *emu, uintptr_t fcn) { UFuiiii_t fn = (UFuiiii_t)fcn; R_RAX=fn((uint64_t)R_RDI, (int64_t)R_RSI, (int64_t)R_RDX, (int64_t)R_RCX, (int64_t)R_R8); } void lFipili(x64emu_t *emu, uintptr_t fcn) { lFipili_t fn = (lFipili_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (int64_t)R_RDX, (intptr_t)R_RCX, (int64_t)R_R8); } void lFipLli(x64emu_t *emu, uintptr_t fcn) { lFipLli_t fn = (lFipLli_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (intptr_t)R_RCX, (int64_t)R_R8); } +void lFipLlL(x64emu_t *emu, uintptr_t fcn) { lFipLlL_t fn = (lFipLlL_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (intptr_t)R_RCX, (uintptr_t)R_R8); } void lFipLLi(x64emu_t *emu, uintptr_t fcn) { lFipLLi_t fn = (lFipLLi_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (uintptr_t)R_RCX, (int64_t)R_R8); } void lFipLpp(x64emu_t *emu, uintptr_t fcn) { lFipLpp_t fn = (lFipLpp_t)fcn; R_RAX=(intptr_t)fn((int64_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8); } void LFELppi(x64emu_t *emu, uintptr_t fcn) { LFELppi_t fn = (LFELppi_t)fcn; R_RAX=(uintptr_t)fn(emu, (uintptr_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (int64_t)R_RCX); } @@ -5485,6 +5487,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &UFuiiii) return 1; if (fun == &lFipili) return 1; if (fun == &lFipLli) return 1; + if (fun == &lFipLlL) return 1; if (fun == &lFipLLi) return 1; if (fun == &lFipLpp) return 1; if (fun == &LFpuipp) return 1; |