diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-12 14:27:12 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-12 14:27:12 +0200 |
| commit | 2976bf5e6abda3f16ab86e29a2c6916a187d5612 (patch) | |
| tree | 7371975688b9e3ab305598bf58d228e7f2f27017 /src/dynarec | |
| parent | b370540447780896d234d7ecbbf08e84c303b358 (diff) | |
| download | box64-2976bf5e6abda3f16ab86e29a2c6916a187d5612.tar.gz box64-2976bf5e6abda3f16ab86e29a2c6916a187d5612.zip | |
Added some more libc wrapped functions
Diffstat (limited to 'src/dynarec')
| -rwxr-xr-x | src/dynarec/dynarec_arm64_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dynarec/dynarec_arm64_functions.c b/src/dynarec/dynarec_arm64_functions.c index 9333d2b4..d2e4493e 100755 --- a/src/dynarec/dynarec_arm64_functions.c +++ b/src/dynarec/dynarec_arm64_functions.c @@ -326,7 +326,7 @@ int isNativeCall(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t* calladdress, int uintptr_t a1 = addr + 6 + (PK32(2)); // need to add a check to see if the address is from the GOT ! addr = *(uintptr_t*)a1; } - if(addr<0x10000) // too low, that is suspicious + if(addr<0x20000) // too low, that is suspicious return 0; onebridge_t *b = (onebridge_t*)(addr); if(b->CC==0xCC && b->S=='S' && b->C=='C' && b->w!=(wrapper_t)0 && b->f!=(uintptr_t)PltResolver) { |