DynamoRIO / dynamorio

Dynamic Instrumentation Tool Platform
Other
2.59k stars 552 forks source link

Create drmemtrace trimming tool to remove the start and/or end of a trace #6648

Closed derekbruening closed 5 months ago

derekbruening commented 5 months ago

We would like to create a tool to remove the start and/or end of a drmemtrace to trim away undesirable startup or shutdown sequences.

The plan is to do this with the record_filter which first requires #6593. The base support for removing non-instructions is in place there but we'll need re-chunking.

Once we have that, we just need a simple record filter. My prototype takes in -keep_{start,end}_timestamp.