rars icon indicating copy to clipboard operation
rars copied to clipboard

Memory Changes (second edition)

Open TheThirdOne opened this issue 4 years ago • 4 comments

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.

TheThirdOne avatar Sep 02 '20 22:09 TheThirdOne

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.

TheThirdOne avatar Sep 02 '20 22:09 TheThirdOne

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)

TheThirdOne avatar Sep 02 '20 22:09 TheThirdOne

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 avatar Apr 13 '21 13:04 zhijieshi

@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.

TheThirdOne avatar Apr 13 '21 16:04 TheThirdOne