This patch adds a new Dexter command, DexDeclareAddress, which is used to test the relative values of pointer variables. The motivation for adding this command is to allow meaningful assertions to be made about pointers that go beyond checking variable availability and null equality.
The full explanation and syntax is given in Commands.md, but as an example the following code tests that the pointer foo is equal to bar, and baz is equal to foo + 16:
DexDeclareAddress('my_addr') DexExpectWatchValue('foo', address('my_addr')) DexExpectWatchValue('bar', address('my_addr')) DexExpectWatchValue('baz', address('my_addr', 16))
Imo this test should be a regression test in the dexter/feature_tests directory, and this RUN line should become:
IIRC this substitution should allow the test to run on all systems, so you can also remove REQUIRES: system-windows.
wdyt?