diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-03 16:43:42 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-03 16:43:42 +0100 |
| commit | f4829a8ce42b1abbcc8621802d6c6fad3a56cd5d (patch) | |
| tree | 211276c3587721126ded00be46487bf23b605591 /src/wrapped/generated/wrapper.h | |
| parent | f73fbd3cee38b4c0086c934d73972375c9c8c7d6 (diff) | |
| download | box64-f4829a8ce42b1abbcc8621802d6c6fad3a56cd5d.tar.gz box64-f4829a8ce42b1abbcc8621802d6c6fad3a56cd5d.zip | |
More infrastructure added to elf and x64 emu
Diffstat (limited to 'src/wrapped/generated/wrapper.h')
| -rw-r--r-- | src/wrapped/generated/wrapper.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/src/wrapped/generated/wrapper.h b/src/wrapped/generated/wrapper.h new file mode 100644 index 00000000..19ccf6b3 --- /dev/null +++ b/src/wrapped/generated/wrapper.h @@ -0,0 +1,50 @@ +/***************************************************************** + * File automatically generated by rebuild_wrappers.py (v1.2.0.09) + *****************************************************************/ +#ifndef __WRAPPER_H_ +#define __WRAPPER_H_ +#include <stdint.h> +#include <string.h> + +typedef struct x64emu_s x64emu_t; + +// the generic wrapper pointer functions +typedef void (*wrapper_t)(x64emu_t* emu, uintptr_t fnc); + +// list of defined wrapper +// v = void, i = int32, u = uint32, U/I= (u)int64 +// l = signed long, L = unsigned long (long is an int with the size of a pointer) +// p = pointer, P = callback +// f = float, d = double, D = long double, K = fake long double +// V = vaargs, E = current x86emu struct, e = ref to current x86emu struct +// 0 = constant 0, 1 = constant 1 +// o = stdout +// C = unsigned byte c = char +// W = unsigned short w = short +// O = libc O_ flags bitfield +// S = _IO_2_1_stdXXX_ pointer (or FILE*) +// Q = ... +// 2 = struct of 2 uint +// P = Vulkan struture pointer +// G = a single GValue pointer +// N = ... automatically sending 1 arg +// M = ... automatically sending 2 args + +void vFE(x64emu_t *emu, uintptr_t fnc); +void vFv(x64emu_t *emu, uintptr_t fnc); +void pFE(x64emu_t *emu, uintptr_t fnc); +void pFp(x64emu_t *emu, uintptr_t fnc); +void vFpp(x64emu_t *emu, uintptr_t fnc); +void iFEp(x64emu_t *emu, uintptr_t fnc); +void pFEp(x64emu_t *emu, uintptr_t fnc); +void iFEpp(x64emu_t *emu, uintptr_t fnc); +void pFEpi(x64emu_t *emu, uintptr_t fnc); +void pFEpp(x64emu_t *emu, uintptr_t fnc); +void iFEpip(x64emu_t *emu, uintptr_t fnc); +void pFEppi(x64emu_t *emu, uintptr_t fnc); +void pFEppp(x64emu_t *emu, uintptr_t fnc); +void iFipppi(x64emu_t *emu, uintptr_t fnc); + +void pFEv(x64emu_t *emu, uintptr_t fnc); + +#endif //__WRAPPER_H_ |