Closed fabianfreyer closed 5 days ago
Closing in favor of #2882
Also, note that we believe that using the open-with-options JSON specification for segments is a temporary work-around in the meantime.
Previously, normalized offsets were based on bv.start
. Now normalized offsets are based on bv.image_base
. This allows us to support adding 'user' segments and/or memory regions before the image base. Now, rebasing and save/load operations preserve the memory map correctly.
Fixed in 4.2.5758
.
Version and Platform (required):
Bug Description: Segment addresses and lengths seem to have a signedness issue.
Steps To Reproduce:
Run the following commands in the python shell:
Segments now look like this:
Open bndb Segments now look like this:
Expected Behavior: Segments should be the same before and after saving.
Screenshots: Before saving:![image](https://user-images.githubusercontent.com/3423837/151235635-3b0be89e-1fe7-4fa6-a681-c370d04beebf.png)
After saving:![image](https://user-images.githubusercontent.com/3423837/151235697-05390570-1e2f-445a-b941-bb27a0f21855.png)