DynamoRIO / DynamoRIO/dynamorio
Add a complete set of drcachesim unit tests
Open
Component-DrMemtrace
Component-Tests
help wanted
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 629
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 31
Description
Copying from https://github.com/DynamoRIO/dynamorio/issues/4841#issuecomment-814452409
Unfortunately drcachesim does not have good unit tests today: mostly it has end-to-end tests comparing golden output with broad regexes to account for system differences, which are not ideal. Xref #3195, though simple tests could be created just using short local arrays of memref_t.
This issue covers adding such unit tests to provide better confidence and regression testing of simulator features than the end-to-end broad regexes provide.
Contributor guide
Assessment
This issue has not been assessed yet.