NationalSecurityAgency / ghidra

Ghidra is a software reverse engineering (SRE) framework
https://www.nsa.gov/ghidra
Apache License 2.0
50.65k stars 5.79k forks source link

Support alias/pure Byte-Mapped Memory Blocks #2038

Open VelocityRa opened 4 years ago

VelocityRa commented 4 years ago

Is your feature request related to a problem? Please describe. Creating mirrors currently creates entirely separate address spaces. No work done on the original address space is preserved/shared. Therefore, the current feature of Byte Mapped regions is useless for many purposes (certainly all my purposes).

Describe the solution you'd like A toggle that makes Byte Mapping regions behave as if they are the original address space (which is what I'd expect by default). I know there are reasons for not doing this, but I would expect it to be default or at least there to be an option for properly aliased regions.

Describe alternatives you've considered Byte Mapped regions in their current state. Not usable for me.


Related issue: #1956. The present issue is specifically for memory mirrors (I made a separate one just so it's easier to track).

brainstorm commented 3 years ago

I second this feature request... I guess it'd also support "wrapping-around" and 26-bit architectures?

Skärmavbild 2021-03-13 kl  11 36 09 Skärmavbild 2021-03-13 kl  11 35 51

Tangentially related with https://github.com/NationalSecurityAgency/ghidra/issues/2530

redfast00 commented 1 year ago

This would also be useful for reverse engineering ESP32 peripherals: image