From e8e966cd802f94f6b4012c820ad590bbd78b4a55 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 4 Sep 2021 12:19:43 +0200 Subject: Added wrapped iopl that answer 'unsuported operation' for now --- src/wrapped/generated/wrapper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wrapped/generated/wrapper.c') diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index dde83290..60359ed8 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -145,6 +145,7 @@ typedef void (*vFpp_t)(void*, void*); typedef void (*vFpS_t)(void*, void*); typedef void (*vFSi_t)(void*, int64_t); typedef int8_t (*cFpp_t)(void*, void*); +typedef int64_t (*iFEi_t)(x64emu_t*, int64_t); typedef int64_t (*iFEp_t)(x64emu_t*, void*); typedef int64_t (*iFwp_t)(int16_t, void*); typedef int64_t (*iFii_t)(int64_t, int64_t); @@ -1673,6 +1674,7 @@ void vFpp(x64emu_t *emu, uintptr_t fcn) { vFpp_t fn = (vFpp_t)fcn; fn((void*)R_R void vFpS(x64emu_t *emu, uintptr_t fcn) { vFpS_t fn = (vFpS_t)fcn; fn((void*)R_RDI, io_convert((void*)R_RSI)); } void vFSi(x64emu_t *emu, uintptr_t fcn) { vFSi_t fn = (vFSi_t)fcn; fn(io_convert((void*)R_RDI), (int64_t)R_RSI); } void cFpp(x64emu_t *emu, uintptr_t fcn) { cFpp_t fn = (cFpp_t)fcn; R_RAX=fn((void*)R_RDI, (void*)R_RSI); } +void iFEi(x64emu_t *emu, uintptr_t fcn) { iFEi_t fn = (iFEi_t)fcn; R_RAX=(int64_t)fn(emu, (int64_t)R_RDI); } void iFEp(x64emu_t *emu, uintptr_t fcn) { iFEp_t fn = (iFEp_t)fcn; R_RAX=(int64_t)fn(emu, (void*)R_RDI); } void iFwp(x64emu_t *emu, uintptr_t fcn) { iFwp_t fn = (iFwp_t)fcn; R_RAX=(int64_t)fn((int16_t)R_RDI, (void*)R_RSI); } void iFii(x64emu_t *emu, uintptr_t fcn) { iFii_t fn = (iFii_t)fcn; R_RAX=(int64_t)fn((int64_t)R_RDI, (int64_t)R_RSI); } -- cgit 1.4.1