DynamoRIO / DynamoRIO/dynamorio

Repeat drmemtrace physical address markers in new chunks

Open
#6,654 1 comment 0 reactions 0 assignees View on GitHub
Component-DrMemtrace
Dominant language
C
Stars
3.2k
Forks
629
Avg merge
2d 18h
Merged PRs (30d)
30

Description

We have two marker types which are not output for every address record they correspond to (if the virtual-to-physical mapping hasn't changed) which we do not repeat across chunks and which would thus be missing on a fast skip: `TRACE_MARKER_TYPE_PHYSICAL_ADDRESS` and `TRACE_MARKER_TYPE_PHYSICAL_ADDRESS_NOT_AVAILABLE`. We need both raw2trace and record_filter to repeat these in the same way they repeat encoding records.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how raw2trace and record_filter repeat encoding records when chunks are created or skipped. Compare that behavior with TRACE_MARKER_TYPE_PHYSICAL_ADDRESS and TRACE_MARKER_TYPE_PHYSICAL_ADDRESS_NOT_AVAILABLE, then verify that both marker types are repeated across chunks so fast skips retain the physical-address state.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.