diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-04-24 17:46:25 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-04-24 17:46:25 +0200 |
| commit | 009ffd609d6477031676e535218bc9df2b184aed (patch) | |
| tree | 4028bd734d95efc132274c6d5a9b96d2d66a14c9 | |
| parent | 50044f2f1378aa58e75f68d819ed100a542a3b34 (diff) | |
| download | box64-009ffd609d6477031676e535218bc9df2b184aed.tar.gz box64-009ffd609d6477031676e535218bc9df2b184aed.zip | |
Used wrapperhelper on wrapped liblzma
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 6 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.c | 18 | ||||
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 6 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlzma_private.h | 82 |
4 files changed, 71 insertions, 41 deletions
diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index ecfef837..3c3f5ae6 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -207,6 +207,7 @@ #() CFuL #() CFpi #() CFpu +#() CFpL #() CFpp #() WFpp #() uFEp @@ -543,6 +544,7 @@ #() uFpup #() uFpfu #() uFpLu +#() uFpLL #() uFpLp #() uFppi #() uFppu @@ -591,6 +593,7 @@ #() LFpuL #() LFpup #() LFpLi +#() LFpLL #() LFpLp #() LFppi #() LFppu @@ -1479,6 +1482,7 @@ #() uFipipp #() uFipLpp #() uFuiiii +#() uFLpppL #() uFpCCCC #() uFpWuip #() uFpuuuu @@ -1491,6 +1495,7 @@ #() uFpplip #() uFppLpp #() uFppppu +#() uFppppL #() uFppppp #() UFuiiii #() lFipili @@ -1863,6 +1868,7 @@ #() uFppippp #() uFppuuup #() uFppuupu +#() uFppLppL #() uFpppppi #() uFpppppp #() UFpippup diff --git a/src/wrapped/generated/wrapper.c b/src/wrapped/generated/wrapper.c index 5335efc6..0fba23ad 100644 --- a/src/wrapped/generated/wrapper.c +++ b/src/wrapped/generated/wrapper.c @@ -243,6 +243,7 @@ typedef uint8_t (*CFuu_t)(uint32_t, uint32_t); typedef uint8_t (*CFuL_t)(uint32_t, uintptr_t); typedef uint8_t (*CFpi_t)(void*, int32_t); typedef uint8_t (*CFpu_t)(void*, uint32_t); +typedef uint8_t (*CFpL_t)(void*, uintptr_t); typedef uint8_t (*CFpp_t)(void*, void*); typedef uint16_t (*WFpp_t)(void*, void*); typedef uint32_t (*uFEp_t)(x64emu_t*, void*); @@ -579,6 +580,7 @@ typedef uint32_t (*uFpuL_t)(void*, uint32_t, uintptr_t); typedef uint32_t (*uFpup_t)(void*, uint32_t, void*); typedef uint32_t (*uFpfu_t)(void*, float, uint32_t); typedef uint32_t (*uFpLu_t)(void*, uintptr_t, uint32_t); +typedef uint32_t (*uFpLL_t)(void*, uintptr_t, uintptr_t); typedef uint32_t (*uFpLp_t)(void*, uintptr_t, void*); typedef uint32_t (*uFppi_t)(void*, void*, int32_t); typedef uint32_t (*uFppu_t)(void*, void*, uint32_t); @@ -627,6 +629,7 @@ typedef uintptr_t (*LFpii_t)(void*, int32_t, int32_t); typedef uintptr_t (*LFpuL_t)(void*, uint32_t, uintptr_t); typedef uintptr_t (*LFpup_t)(void*, uint32_t, void*); typedef uintptr_t (*LFpLi_t)(void*, uintptr_t, int32_t); +typedef uintptr_t (*LFpLL_t)(void*, uintptr_t, uintptr_t); typedef uintptr_t (*LFpLp_t)(void*, uintptr_t, void*); typedef uintptr_t (*LFppi_t)(void*, void*, int32_t); typedef uintptr_t (*LFppu_t)(void*, void*, uint32_t); @@ -1515,6 +1518,7 @@ typedef uint32_t (*uFiuuuu_t)(int32_t, uint32_t, uint32_t, uint32_t, uint32_t); typedef uint32_t (*uFipipp_t)(int32_t, void*, int32_t, void*, void*); typedef uint32_t (*uFipLpp_t)(int32_t, void*, uintptr_t, void*, void*); typedef uint32_t (*uFuiiii_t)(uint32_t, int32_t, int32_t, int32_t, int32_t); +typedef uint32_t (*uFLpppL_t)(uintptr_t, void*, void*, void*, uintptr_t); typedef uint32_t (*uFpCCCC_t)(void*, uint8_t, uint8_t, uint8_t, uint8_t); typedef uint32_t (*uFpWuip_t)(void*, uint16_t, uint32_t, int32_t, void*); typedef uint32_t (*uFpuuuu_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t); @@ -1527,6 +1531,7 @@ typedef uint32_t (*uFppupp_t)(void*, void*, uint32_t, void*, void*); typedef uint32_t (*uFpplip_t)(void*, void*, intptr_t, int32_t, void*); typedef uint32_t (*uFppLpp_t)(void*, void*, uintptr_t, void*, void*); typedef uint32_t (*uFppppu_t)(void*, void*, void*, void*, uint32_t); +typedef uint32_t (*uFppppL_t)(void*, void*, void*, void*, uintptr_t); typedef uint32_t (*uFppppp_t)(void*, void*, void*, void*, void*); typedef uint64_t (*UFuiiii_t)(uint32_t, int32_t, int32_t, int32_t, int32_t); typedef intptr_t (*lFipili_t)(int32_t, void*, int32_t, intptr_t, int32_t); @@ -1899,6 +1904,7 @@ typedef uint32_t (*uFpuuuup_t)(void*, uint32_t, uint32_t, uint32_t, uint32_t, vo typedef uint32_t (*uFppippp_t)(void*, void*, int32_t, void*, void*, void*); typedef uint32_t (*uFppuuup_t)(void*, void*, uint32_t, uint32_t, uint32_t, void*); typedef uint32_t (*uFppuupu_t)(void*, void*, uint32_t, uint32_t, void*, uint32_t); +typedef uint32_t (*uFppLppL_t)(void*, void*, uintptr_t, void*, void*, uintptr_t); typedef uint32_t (*uFpppppi_t)(void*, void*, void*, void*, void*, int32_t); typedef uint32_t (*uFpppppp_t)(void*, void*, void*, void*, void*, void*); typedef uint64_t (*UFpippup_t)(void*, int32_t, void*, void*, uint32_t, void*); @@ -2928,6 +2934,7 @@ void CFuu(x64emu_t *emu, uintptr_t fcn) { CFuu_t fn = (CFuu_t)fcn; R_RAX=(unsign void CFuL(x64emu_t *emu, uintptr_t fcn) { CFuL_t fn = (CFuL_t)fcn; R_RAX=(unsigned char)fn((uint32_t)R_RDI, (uintptr_t)R_RSI); } void CFpi(x64emu_t *emu, uintptr_t fcn) { CFpi_t fn = (CFpi_t)fcn; R_RAX=(unsigned char)fn((void*)R_RDI, (int32_t)R_RSI); } void CFpu(x64emu_t *emu, uintptr_t fcn) { CFpu_t fn = (CFpu_t)fcn; R_RAX=(unsigned char)fn((void*)R_RDI, (uint32_t)R_RSI); } +void CFpL(x64emu_t *emu, uintptr_t fcn) { CFpL_t fn = (CFpL_t)fcn; R_RAX=(unsigned char)fn((void*)R_RDI, (uintptr_t)R_RSI); } void CFpp(x64emu_t *emu, uintptr_t fcn) { CFpp_t fn = (CFpp_t)fcn; R_RAX=(unsigned char)fn((void*)R_RDI, (void*)R_RSI); } void WFpp(x64emu_t *emu, uintptr_t fcn) { WFpp_t fn = (WFpp_t)fcn; R_RAX=(unsigned short)fn((void*)R_RDI, (void*)R_RSI); } void uFEp(x64emu_t *emu, uintptr_t fcn) { uFEp_t fn = (uFEp_t)fcn; R_RAX=(uint32_t)fn(emu, (void*)R_RDI); } @@ -3264,6 +3271,7 @@ void uFpuL(x64emu_t *emu, uintptr_t fcn) { uFpuL_t fn = (uFpuL_t)fcn; R_RAX=(uin void uFpup(x64emu_t *emu, uintptr_t fcn) { uFpup_t fn = (uFpup_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX); } void uFpfu(x64emu_t *emu, uintptr_t fcn) { uFpfu_t fn = (uFpfu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, emu->xmm[0].f[0], (uint32_t)R_RSI); } void uFpLu(x64emu_t *emu, uintptr_t fcn) { uFpLu_t fn = (uFpLu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (uint32_t)R_RDX); } +void uFpLL(x64emu_t *emu, uintptr_t fcn) { uFpLL_t fn = (uFpLL_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (uintptr_t)R_RDX); } void uFpLp(x64emu_t *emu, uintptr_t fcn) { uFpLp_t fn = (uFpLp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX); } void uFppi(x64emu_t *emu, uintptr_t fcn) { uFppi_t fn = (uFppi_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX); } void uFppu(x64emu_t *emu, uintptr_t fcn) { uFppu_t fn = (uFppu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX); } @@ -3312,6 +3320,7 @@ void LFpii(x64emu_t *emu, uintptr_t fcn) { LFpii_t fn = (LFpii_t)fcn; R_RAX=(uin void LFpuL(x64emu_t *emu, uintptr_t fcn) { LFpuL_t fn = (LFpuL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uintptr_t)R_RDX); } void LFpup(x64emu_t *emu, uintptr_t fcn) { LFpup_t fn = (LFpup_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uint32_t)R_RSI, (void*)R_RDX); } void LFpLi(x64emu_t *emu, uintptr_t fcn) { LFpLi_t fn = (LFpLi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (int32_t)R_RDX); } +void LFpLL(x64emu_t *emu, uintptr_t fcn) { LFpLL_t fn = (LFpLL_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (uintptr_t)R_RDX); } void LFpLp(x64emu_t *emu, uintptr_t fcn) { LFpLp_t fn = (LFpLp_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (uintptr_t)R_RSI, (void*)R_RDX); } void LFppi(x64emu_t *emu, uintptr_t fcn) { LFppi_t fn = (LFppi_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX); } void LFppu(x64emu_t *emu, uintptr_t fcn) { LFppu_t fn = (LFppu_t)fcn; R_RAX=(uintptr_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX); } @@ -4200,6 +4209,7 @@ void uFiuuuu(x64emu_t *emu, uintptr_t fcn) { uFiuuuu_t fn = (uFiuuuu_t)fcn; R_RA void uFipipp(x64emu_t *emu, uintptr_t fcn) { uFipipp_t fn = (uFipipp_t)fcn; R_RAX=(uint32_t)fn((int32_t)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8); } void uFipLpp(x64emu_t *emu, uintptr_t fcn) { uFipLpp_t fn = (uFipLpp_t)fcn; R_RAX=(uint32_t)fn((int32_t)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8); } void uFuiiii(x64emu_t *emu, uintptr_t fcn) { uFuiiii_t fn = (uFuiiii_t)fcn; R_RAX=(uint32_t)fn((uint32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8); } +void uFLpppL(x64emu_t *emu, uintptr_t fcn) { uFLpppL_t fn = (uFLpppL_t)fcn; R_RAX=(uint32_t)fn((uintptr_t)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (uintptr_t)R_R8); } void uFpCCCC(x64emu_t *emu, uintptr_t fcn) { uFpCCCC_t fn = (uFpCCCC_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint8_t)R_RSI, (uint8_t)R_RDX, (uint8_t)R_RCX, (uint8_t)R_R8); } void uFpWuip(x64emu_t *emu, uintptr_t fcn) { uFpWuip_t fn = (uFpWuip_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint16_t)R_RSI, (uint32_t)R_RDX, (int32_t)R_RCX, (void*)R_R8); } void uFpuuuu(x64emu_t *emu, uintptr_t fcn) { uFpuuuu_t fn = (uFpuuuu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (uint32_t)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8); } @@ -4212,6 +4222,7 @@ void uFppupp(x64emu_t *emu, uintptr_t fcn) { uFppupp_t fn = (uFppupp_t)fcn; R_RA void uFpplip(x64emu_t *emu, uintptr_t fcn) { uFpplip_t fn = (uFpplip_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (intptr_t)R_RDX, (int32_t)R_RCX, (void*)R_R8); } void uFppLpp(x64emu_t *emu, uintptr_t fcn) { uFppLpp_t fn = (uFppLpp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8); } void uFppppu(x64emu_t *emu, uintptr_t fcn) { uFppppu_t fn = (uFppppu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (uint32_t)R_R8); } +void uFppppL(x64emu_t *emu, uintptr_t fcn) { uFppppL_t fn = (uFppppL_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (uintptr_t)R_R8); } void uFppppp(x64emu_t *emu, uintptr_t fcn) { uFppppp_t fn = (uFppppp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8); } void UFuiiii(x64emu_t *emu, uintptr_t fcn) { UFuiiii_t fn = (UFuiiii_t)fcn; R_RAX=fn((uint32_t)R_RDI, (int32_t)R_RSI, (int32_t)R_RDX, (int32_t)R_RCX, (int32_t)R_R8); } void lFipili(x64emu_t *emu, uintptr_t fcn) { lFipili_t fn = (lFipili_t)fcn; R_RAX=(intptr_t)fn((int32_t)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (intptr_t)R_RCX, (int32_t)R_R8); } @@ -4584,6 +4595,7 @@ void uFpuuuup(x64emu_t *emu, uintptr_t fcn) { uFpuuuup_t fn = (uFpuuuup_t)fcn; R void uFppippp(x64emu_t *emu, uintptr_t fcn) { uFppippp_t fn = (uFppippp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (int32_t)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void uFppuuup(x64emu_t *emu, uintptr_t fcn) { uFppuuup_t fn = (uFppuuup_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (uint32_t)R_R8, (void*)R_R9); } void uFppuupu(x64emu_t *emu, uintptr_t fcn) { uFppuupu_t fn = (uFppuupu_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uint32_t)R_RDX, (uint32_t)R_RCX, (void*)R_R8, (uint32_t)R_R9); } +void uFppLppL(x64emu_t *emu, uintptr_t fcn) { uFppLppL_t fn = (uFppLppL_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (uintptr_t)R_RDX, (void*)R_RCX, (void*)R_R8, (uintptr_t)R_R9); } void uFpppppi(x64emu_t *emu, uintptr_t fcn) { uFpppppi_t fn = (uFpppppi_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (int32_t)R_R9); } void uFpppppp(x64emu_t *emu, uintptr_t fcn) { uFpppppp_t fn = (uFpppppp_t)fcn; R_RAX=(uint32_t)fn((void*)R_RDI, (void*)R_RSI, (void*)R_RDX, (void*)R_RCX, (void*)R_R8, (void*)R_R9); } void UFpippup(x64emu_t *emu, uintptr_t fcn) { UFpippup_t fn = (UFpippup_t)fcn; R_RAX=fn((void*)R_RDI, (int32_t)R_RSI, (void*)R_RDX, (void*)R_RCX, (uint32_t)R_R8, (void*)R_R9); } @@ -5597,6 +5609,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &CFuL) return 1; if (fun == &CFpi) return 1; if (fun == &CFpu) return 1; + if (fun == &CFpL) return 1; if (fun == &CFpp) return 1; if (fun == &WFpp) return 1; if (fun == &uFii) return 1; @@ -5877,6 +5890,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFpup) return 1; if (fun == &uFpfu) return 2; if (fun == &uFpLu) return 1; + if (fun == &uFpLL) return 1; if (fun == &uFpLp) return 1; if (fun == &uFppi) return 1; if (fun == &uFppu) return 1; @@ -5921,6 +5935,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &LFpuL) return 1; if (fun == &LFpup) return 1; if (fun == &LFpLi) return 1; + if (fun == &LFpLL) return 1; if (fun == &LFpLp) return 1; if (fun == &LFppi) return 1; if (fun == &LFppu) return 1; @@ -6659,6 +6674,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFipipp) return 1; if (fun == &uFipLpp) return 1; if (fun == &uFuiiii) return 1; + if (fun == &uFLpppL) return 1; if (fun == &uFpCCCC) return 1; if (fun == &uFpWuip) return 1; if (fun == &uFpuuuu) return 1; @@ -6671,6 +6687,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFpplip) return 1; if (fun == &uFppLpp) return 1; if (fun == &uFppppu) return 1; + if (fun == &uFppppL) return 1; if (fun == &uFppppp) return 1; if (fun == &UFuiiii) return 1; if (fun == &lFipili) return 1; @@ -6984,6 +7001,7 @@ int isSimpleWrapper(wrapper_t fun) { if (fun == &uFppippp) return 1; if (fun == &uFppuuup) return 1; if (fun == &uFppuupu) return 1; + if (fun == &uFppLppL) return 1; if (fun == &uFpppppi) return 1; if (fun == &uFpppppp) return 1; if (fun == &UFpippup) return 1; diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h index eb04b21d..cd2d4a3e 100644 --- a/src/wrapped/generated/wrapper.h +++ b/src/wrapped/generated/wrapper.h @@ -244,6 +244,7 @@ void CFuu(x64emu_t *emu, uintptr_t fnc); void CFuL(x64emu_t *emu, uintptr_t fnc); void CFpi(x64emu_t *emu, uintptr_t fnc); void CFpu(x64emu_t *emu, uintptr_t fnc); +void CFpL(x64emu_t *emu, uintptr_t fnc); void CFpp(x64emu_t *emu, uintptr_t fnc); void WFpp(x64emu_t *emu, uintptr_t fnc); void uFEp(x64emu_t *emu, uintptr_t fnc); @@ -580,6 +581,7 @@ void uFpuL(x64emu_t *emu, uintptr_t fnc); void uFpup(x64emu_t *emu, uintptr_t fnc); void uFpfu(x64emu_t *emu, uintptr_t fnc); void uFpLu(x64emu_t *emu, uintptr_t fnc); +void uFpLL(x64emu_t *emu, uintptr_t fnc); void uFpLp(x64emu_t *emu, uintptr_t fnc); void uFppi(x64emu_t *emu, uintptr_t fnc); void uFppu(x64emu_t *emu, uintptr_t fnc); @@ -628,6 +630,7 @@ void LFpii(x64emu_t *emu, uintptr_t fnc); void LFpuL(x64emu_t *emu, uintptr_t fnc); void LFpup(x64emu_t *emu, uintptr_t fnc); void LFpLi(x64emu_t *emu, uintptr_t fnc); +void LFpLL(x64emu_t *emu, uintptr_t fnc); void LFpLp(x64emu_t *emu, uintptr_t fnc); void LFppi(x64emu_t *emu, uintptr_t fnc); void LFppu(x64emu_t *emu, uintptr_t fnc); @@ -1516,6 +1519,7 @@ void uFiuuuu(x64emu_t *emu, uintptr_t fnc); void uFipipp(x64emu_t *emu, uintptr_t fnc); void uFipLpp(x64emu_t *emu, uintptr_t fnc); void uFuiiii(x64emu_t *emu, uintptr_t fnc); +void uFLpppL(x64emu_t *emu, uintptr_t fnc); void uFpCCCC(x64emu_t *emu, uintptr_t fnc); void uFpWuip(x64emu_t *emu, uintptr_t fnc); void uFpuuuu(x64emu_t *emu, uintptr_t fnc); @@ -1528,6 +1532,7 @@ void uFppupp(x64emu_t *emu, uintptr_t fnc); void uFpplip(x64emu_t *emu, uintptr_t fnc); void uFppLpp(x64emu_t *emu, uintptr_t fnc); void uFppppu(x64emu_t *emu, uintptr_t fnc); +void uFppppL(x64emu_t *emu, uintptr_t fnc); void uFppppp(x64emu_t *emu, uintptr_t fnc); void UFuiiii(x64emu_t *emu, uintptr_t fnc); void lFipili(x64emu_t *emu, uintptr_t fnc); @@ -1900,6 +1905,7 @@ void uFpuuuup(x64emu_t *emu, uintptr_t fnc); void uFppippp(x64emu_t *emu, uintptr_t fnc); void uFppuuup(x64emu_t *emu, uintptr_t fnc); void uFppuupu(x64emu_t *emu, uintptr_t fnc); +void uFppLppL(x64emu_t *emu, uintptr_t fnc); void uFpppppi(x64emu_t *emu, uintptr_t fnc); void uFpppppp(x64emu_t *emu, uintptr_t fnc); void UFpippup(x64emu_t *emu, uintptr_t fnc); diff --git a/src/wrapped/wrappedlzma_private.h b/src/wrapped/wrappedlzma_private.h index 5dff2439..274bf88a 100755 --- a/src/wrapped/wrappedlzma_private.h +++ b/src/wrapped/wrappedlzma_private.h @@ -5,34 +5,34 @@ GOM(lzma_alone_decoder, iFEpU) GOM(lzma_alone_encoder, iFEpp) GO(lzma_auto_decoder, iFpUu) -//GO(lzma_block_buffer_bound, +GO(lzma_block_buffer_bound, LFL) //GO(lzma_block_buffer_decode, //GO(lzma_block_buffer_encode, -//GO(lzma_block_compressed_size, +GO(lzma_block_compressed_size, uFpL) //GO(lzma_block_decoder, //GO(lzma_block_encoder, //GO(lzma_block_header_decode, -//GO(lzma_block_header_encode, -//GO(lzma_block_header_size, -//GO(lzma_block_total_size, -//GO(lzma_block_uncomp_encode, +GO(lzma_block_header_encode, uFpp) +GO(lzma_block_header_size, uFp) +GO(lzma_block_total_size, LFp) +GO(lzma_block_uncomp_encode, uFppLppL) //GO(lzma_block_unpadded_size, -GO(lzma_check_is_supported, iFi) -//GO(lzma_check_size, +GO(lzma_check_is_supported, CFu) +GO(lzma_check_size, uFu) GO(lzma_code, iFpi) GO(lzma_cputhreads, uFv) GO(lzma_crc32, uFpLu) -//GO(lzma_crc64, +GO(lzma_crc64, LFpLL) //GO(lzma_easy_buffer_encode, -//GO(lzma_easy_decoder_memusage, +GO(lzma_easy_decoder_memusage, LFu) GOM(lzma_easy_encoder, iFEpui) //GO(lzma_easy_encoder_memusage, GO(lzma_end, vFp) -//GO(lzma_filter_decoder_is_supported, +GO(lzma_filter_decoder_is_supported, CFL) //GO(lzma_filter_encoder_is_supported, //GO(lzma_filter_flags_decode, -//GO(lzma_filter_flags_encode, -//GO(lzma_filter_flags_size, +GO(lzma_filter_flags_encode, uFpppL) +GO(lzma_filter_flags_size, uFpp) //GO(lzma_filters_copy, //GO(lzma_filters_update, GO(lzma_get_check, iFp) @@ -40,47 +40,47 @@ GO(lzma_get_check, iFp) //GO(lzma_index_append, //GO(lzma_index_block_count, GOM(lzma_index_buffer_decode, iFEpppppL) -//GO(lzma_index_buffer_encode, +GO(lzma_index_buffer_encode, uFpppL) //GO(lzma_index_cat, -//GO(lzma_index_checks, +GO(lzma_index_checks, uFp) //GO(lzma_index_decoder, //GO(lzma_index_dup, //GO(lzma_index_encoder, GOM(lzma_index_end, vFEpp) //GO(lzma_index_file_size, -//GO(lzma_index_hash_append, -//GO(lzma_index_hash_decode, +GO(lzma_index_hash_append, uFpLL) +GO(lzma_index_hash_decode, uFpppL) //GO(lzma_index_hash_end, //GO(lzma_index_hash_init, -//GO(lzma_index_hash_size, +GO(lzma_index_hash_size, LFp) //GO(lzma_index_init, -//GO(lzma_index_iter_init, -//GO(lzma_index_iter_locate, -//GO(lzma_index_iter_next, -//GO(lzma_index_iter_rewind, -//GO(lzma_index_memusage, -//GO(lzma_index_memused, +GO(lzma_index_iter_init, vFpp) +GO(lzma_index_iter_locate, CFpL) +GO(lzma_index_iter_next, CFpu) +GO(lzma_index_iter_rewind, vFp) +GO(lzma_index_memusage, LFLL) +GO(lzma_index_memused, LFp) GO(lzma_index_size, UFp) //GO(lzma_index_stream_count, -//GO(lzma_index_stream_flags, -//GO(lzma_index_stream_padding, +GO(lzma_index_stream_flags, uFpp) +GO(lzma_index_stream_padding, uFpL) //GO(lzma_index_stream_size, //GO(lzma_index_total_size, -GO(lzma_index_uncompressed_size, UFp) -GO(lzma_lzma_preset, iFpu) +GO(lzma_index_uncompressed_size, LFp) +GO(lzma_lzma_preset, CFpu) //GO(lzma_memlimit_get, //GO(lzma_memlimit_set, GO(lzma_memusage, UFp) -//GO(lzma_mf_is_supported, -//GO(lzma_mode_is_supported, -//GO(lzma_physmem, +GO(lzma_mf_is_supported, CFu) +GO(lzma_mode_is_supported, CFu) +GO(lzma_physmem, LFv) GOM(lzma_properties_decode, iFEpppL) -GO(lzma_properties_encode, iFpp) +GO(lzma_properties_encode, uFpp) GO(lzma_properties_size, iFpp) //GO(lzma_raw_buffer_decode, //GO(lzma_raw_buffer_encode, GOM(lzma_raw_decoder, iFEpp) -//GO(lzma_raw_decoder_memusage, +GO(lzma_raw_decoder_memusage, LFp) GOM(lzma_raw_encoder, iFEpp) //GO(lzma_raw_encoder_memusage, //GO(lzma_stream_buffer_bound, @@ -89,14 +89,14 @@ GOM(lzma_stream_buffer_decode, iFEpupppLppL) GOM(lzma_stream_decoder, iFEpUi) GOM(lzma_stream_encoder, iFEppi) GOM(lzma_stream_encoder_mt, iFEpp) -//GO(lzma_stream_encoder_mt_memusage, -//GO(lzma_stream_flags_compare, -GO(lzma_stream_footer_decode, iFpp) -//GO(lzma_stream_footer_encode, +GO(lzma_stream_encoder_mt_memusage, LFp) +GO(lzma_stream_flags_compare, uFpp) +GO(lzma_stream_footer_decode, uFpp) +GO(lzma_stream_footer_encode, uFpp) //GO(lzma_stream_header_decode, //GO(lzma_stream_header_encode, //GO(lzma_version_number, -//GO(lzma_version_string, -//GO(lzma_vli_decode, -//GO(lzma_vli_encode, -//GO(lzma_vli_size, +GO(lzma_version_string, pFv) +GO(lzma_vli_decode, uFppppL) +GO(lzma_vli_encode, uFLpppL) +GO(lzma_vli_size, uFL) |