diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2023-11-13 12:53:09 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2023-11-13 12:53:09 +0100 |
| commit | e071406829e5301aab5f53c4a9084aca302bb976 (patch) | |
| tree | 3d16cb36061f89e856069ea537eae635258efb67 /src/include | |
| parent | 590429d10456b346f56114563caac39dfb43c485 (diff) | |
| download | box64-e071406829e5301aab5f53c4a9084aca302bb976.tar.gz box64-e071406829e5301aab5f53c4a9084aca302bb976.zip | |
[ELFLOADER] Small changes on elf memory managment
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/custommem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/custommem.h b/src/include/custommem.h index 76157123..60fabcea 100644 --- a/src/include/custommem.h +++ b/src/include/custommem.h @@ -78,6 +78,7 @@ uintptr_t getJumpAddress64(uintptr_t addr); void updateProtection(uintptr_t addr, size_t size, uint32_t prot); void setProtection(uintptr_t addr, size_t size, uint32_t prot); void setProtection_mmap(uintptr_t addr, size_t size, uint32_t prot); +void setProtection_elf(uintptr_t addr, size_t size, uint32_t prot); void freeProtection(uintptr_t addr, size_t size); void refreshProtection(uintptr_t addr); uint32_t getProtection(uintptr_t addr); |