diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2025-04-01 18:36:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-01 12:36:12 +0200 |
| commit | 670876112e3ab4a36205223a6f0c4290a527c4a9 (patch) | |
| tree | 7d13933149ff9b438ae1002621ec7db31676c4ee /src/elfs/elfloader.c | |
| parent | 495d3cc4c0ec521e932677ac3d2fcad2c3d80eca (diff) | |
| download | box64-670876112e3ab4a36205223a6f0c4290a527c4a9.tar.gz box64-670876112e3ab4a36205223a6f0c4290a527c4a9.zip | |
Some cosmetic changes to C header files (#2487)
* [DYNAREC] Move cosim functions to a new header * Moved isNativeCall to elfloader
Diffstat (limited to 'src/elfs/elfloader.c')
| -rw-r--r-- | src/elfs/elfloader.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index b9d1b297..cf00843e 100644 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -45,6 +45,8 @@ void* my__IO_2_1_stderr_ = (void*)1; void* my__IO_2_1_stdin_ = (void*)2; void* my__IO_2_1_stdout_ = (void*)3; +uintptr_t pltResolver64 = ~0LL; + // return the index of header (-1 if it doesn't exist) static int getElfIndex(box64context_t* ctx, elfheader_t* head) { for (int i=0; i<ctx->elfsize; ++i) @@ -1840,7 +1842,6 @@ void* GetNativeSymbolUnversioned(void* lib, const char* name) return s.addr; } -uintptr_t pltResolver64 = ~0LL; EXPORT void PltResolver64(x64emu_t* emu) { uintptr_t addr = Pop64(emu); |