diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-04-09 15:19:45 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-04-09 15:19:45 +0200 |
| commit | 8c991cb6762d3a1384cec16d6e54402ce276ea9e (patch) | |
| tree | 3d109e77532ce32822efec69950b7db787368fcc /src/tools/env.c | |
| parent | 70770db8bec892e66fa8b6834f1ea4a8f27325b6 (diff) | |
| download | box64-8c991cb6762d3a1384cec16d6e54402ce276ea9e.tar.gz box64-8c991cb6762d3a1384cec16d6e54402ce276ea9e.zip | |
[DYNAREC] Better handling of self-loop and added CALLRET=2 settings (ARM64 only, RV64 and LA64 todo)
Diffstat (limited to 'src/tools/env.c')
| -rw-r--r-- | src/tools/env.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/env.c b/src/tools/env.c index f1390fbe..00e116f3 100644 --- a/src/tools/env.c +++ b/src/tools/env.c @@ -627,6 +627,7 @@ void RecordEnvMappings(uintptr_t addr, size_t length, int fd) if (k != kh_end(box64env_entries)) mapping->env = &kh_value(box64env_entries, k); } + dynarec_log(LOG_INFO, "Mapping %s (%s) in %p-%p\n", fullname, lowercase_filename, (void*)addr, (void*)(addr+length)); } else mapping = kh_value(mapping_entries, k); @@ -659,6 +660,7 @@ void RemoveMapping(uintptr_t addr, size_t length) start = end; } while(end!=UINTPTR_MAX); // no occurence found, delete mapping + dynarec_log(LOG_INFO, "Delete Mapping %s (%s) in %p(%p)-%p\n", mapping->fullname, mapping->filename, (void*)addr, (void*)mapping->start, (void*)(addr+length)); khint_t k = kh_get(mapping_entry, mapping_entries, mapping->filename); if(k!=kh_end(mapping_entries)) kh_del(mapping_entry, mapping_entries, k); |