rars
rars copied to clipboard
Memory Changes (second edition)
Previously this was #71.
I making this to give me an easy way to review all the changes I make and make any comments that may be useful for future me.
Some potential correctness tests:
- [ ] make memory configurations that are intended to break most of the assumptions about the layout (but still should work)
- [ ] cross 0x80000000 with a sections
- [ ] reorder the sections dramatically
- [ ] really small sections
- [ ] make memory configurations that should fail to test how errors are displayed.
- [ ] missing sections
- [ ] overlapping sections
- [ ] offsets outside the bounds of the related sections
- [ ] Switch between very different sections to make sure that no caching of memory configurations is happening
- [ ] Swap data and text sections
- [ ] Move gp and sp bases
- [ ] General GUI regression tests
- [ ] write programs that would work in the previous RARS and make sure they still do
- [ ] Make sure the CLI option for memory configs works.
TODOS:
- [ ] Wiki page explaning the format for memory configurations
Things to consider for the future:
- [ ] Rework
addAsObserver
to take a range - [ ] Make memory selections not just use a list of addresses (#41)
Will data segment window show doublewords (64 bits), instead of words, in 64-bit mode?
It would be great if there is an option to select data sizes (byte, half words, words, doublewords).
@zhijieshi, this PR is almost exclusively about the internals of RARS. Changes to the UI of the data view would be beyond the scope of this PR.