Debugger does not show memory bytes if no file is opened before debugging
xusheng6 opened this issue · 1 comments
xusheng6 commented
In normal cases, we would open a file and then debug it. However, binja also supports debugging without first opening a file. This is now broken with the memory map change since -- I believe -- the memory map does not work on the raw view. Repro steps:
- Open binja
- Go to settings, set
debugger.stopAtSystemEntryPoint
to true - Press Ctrl+N to create a new empty file
- Open the debugger sidebar, press the config button
- Set the executable path and then click OK
- Click Launch
- Observe while the debugging works, the memory bytes are not displayed.
bv.memory_map
returns{'MemoryMap': []}
xusheng6 commented
Fixed in https://github.com/Vector35/binaryninja/commit/890be615cf65f1536851691ccff7f239b002141c. Also see docs: 82b91c6