diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-06-05 12:21:40 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2022-06-05 12:21:40 +0200 |
| commit | fbb89dcf1084dd0fb7ecea8e6ff6fb2e7f3b15b4 (patch) | |
| tree | b0f14ba47c94db565f4f5180ddfb822bc5fb33d6 /src/include/elfloader.h | |
| parent | 736552a5599bff6dcb1b7b020ba2679814b83219 (diff) | |
| download | box64-fbb89dcf1084dd0fb7ecea8e6ff6fb2e7f3b15b4.tar.gz box64-fbb89dcf1084dd0fb7ecea8e6ff6fb2e7f3b15b4.zip | |
Added some failsafe on unwind
Diffstat (limited to 'src/include/elfloader.h')
| -rwxr-xr-x | src/include/elfloader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/elfloader.h b/src/include/elfloader.h index 86efe061..2cb90df4 100755 --- a/src/include/elfloader.h +++ b/src/include/elfloader.h @@ -40,7 +40,7 @@ void RunDeferedElfInit(x64emu_t *emu); void* GetBaseAddress(elfheader_t* h); void* GetElfDelta(elfheader_t* h); uint32_t GetBaseSize(elfheader_t* h); -int IsAddressInElfSpace(elfheader_t* h, uintptr_t addr); +int IsAddressInElfSpace(const elfheader_t* h, uintptr_t addr); elfheader_t* FindElfAddress(box64context_t *context, uintptr_t addr); const char* FindNearestSymbolName(elfheader_t* h, void* p, uintptr_t* start, uint64_t* sz); int32_t GetTLSBase(elfheader_t* h); |