search for: dexexpectwatchvalu

Displaying 1 result from an estimated 1 matches for "dexexpectwatchvalu".

Did you mean: dexexpectwatchvalue
2019 Oct 09
3
[RFC] Adopt Dexter and use it to run debuginfo-tests
...GER: p s.a[7] ``` Dexter: ``` struct S { int a[8]; }; int f(struct S s, unsigned i) { return s.a[i]; // DexLabel('f_ret') } int main(int argc, const char **argv) { struct S s = {{0, 1, 2, 3, 4, 5, 6, 7}}; if (f(s, 4) == 4) return f(s, 0); return 0; } // DexExpectWatchValue('s.a[0]', '0', on_line='f_ret') // DexExpectWatchValue('s.a[1]', '1', on_line='f_ret') // DexExpectWatchValue('s.a[7]', '7', on_line='f_ret') ``` Currently Dexter has commands which can be used to cover most of the existi...