diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-25 11:15:42 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-25 11:15:42 +0200 |
| commit | 1c26df2a908863ba69f602178e8aaf6be37e8851 (patch) | |
| tree | 3f6e08fcfeb381508cd8650909219731ec4277e2 /src/wrapped/generated/wrapper.c | |
| parent | c60e4839ebde63937d37aa751235c86a00379f7c (diff) | |
| download | box64-1c26df2a908863ba69f602178e8aaf6be37e8851.tar.gz box64-1c26df2a908863ba69f602178e8aaf6be37e8851.zip | |
Added getauxval wrapped function
Diffstat (limited to 'src/wrapped/generated/wrapper.c')
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 185d2ad8..14861a6c 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -199,6 +199,7 @@ typedef double (*dFpp_t)(void*, void*); typedef intptr_t (*lFll_t)(intptr_t, intptr_t); typedef intptr_t (*lFpi_t)(void*, int64_t); typedef intptr_t (*lFpp_t)(void*, void*); +typedef uintptr_t (*LFEL_t)(x64emu_t*, uintptr_t); typedef uintptr_t (*LFii_t)(int64_t, int64_t); typedef uintptr_t (*LFLi_t)(uintptr_t, int64_t); typedef uintptr_t (*LFLp_t)(uintptr_t, void*); @@ -1496,6 +1497,7 @@ void dFpp(x64emu_t *emu, uintptr_t fcn) { dFpp_t fn = (dFpp_t)fcn; emu->xmm[0].d void lFll(x64emu_t *emu, uintptr_t fcn) { lFll_t fn = (lFll_t)fcn; R_RAX=(intptr_t)fn((intptr_t)R_RDI, (intptr_t)R_RSI); } void lFpi(x64emu_t *emu, uintptr_t fcn) { lFpi_t fn = (lFpi_t)fcn; R_RAX=(intptr_t)fn((void*)R_RDI, (int64_t)R_RSI); } void lFpp(x64emu_t *emu, uintptr_t fcn) { lFpp_t fn = (lFpp_t)fcn; R_RAX=(intptr_t)fn((void*)R_RDI, (void*)R_RSI); } +void LFEL(x64emu_t *emu, uintptr_t fcn) { LFEL_t fn = (LFEL_t)fcn; R_RAX=(uintptr_t)fn(emu, (uintptr_t)R_RDI); } void LFii(x64emu_t *emu, uintptr_t fcn) { LFii_t fn = (LFii_t)fcn; R_RAX=(uintptr_t)fn((int64_t)R_RDI, (int64_t)R_RSI); } void LFLi(x64emu_t *emu, uintptr_t fcn) { LFLi_t fn = (LFLi_t)fcn; R_RAX=(uintptr_t)fn((uintptr_t)R_RDI, (int64_t)R_RSI); } void LFLp(x64emu_t *emu, uintptr_t fcn) { LFLp_t fn = (LFLp_t)fcn; R_RAX=(uintptr_t)fn((uintptr_t)R_RDI, (void*)R_RSI); } |