Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Merge requests
  • !5682

i#5520 memtrace encodings: Add online encodings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i5520-online-encodings into master Oct 11, 2022
  • Overview 11
  • Commits 4
  • Pipelines 0
  • Changes 13

Adds a new option -instr_encodings which enables instruction encoding records for online traces. This is under this off-by-default option as it adds significant overhead to online tracing and is only needed for some tools.

Updates the launcher and docs.

Adds an online opcode_mix test and adds encodings to a basic_counts online test.

Manually tested the view tool with and without -instr_encodings:

$ bin64/drrun -t drcachesim -instr_encodings -simulator_type view -- suite/tests/bin/allasm_x86_64 ... 166: T1718245 ifetch 4 byte(s) @ 0x0000000000401028 48 83 eb 01 sub $0x0000000000000001 %rbx -> %rbx 167: T1718245 ifetch 4 byte(s) @ 0x000000000040102c 48 83 fb 00 cmp %rbx $0x0000000000000000 168: T1718245 ifetch 2 byte(s) @ 0x0000000000401030 75 d9 jnz $0x000000000040100b ...

$ bin64/drrun -t drcachesim -simulator_type view -- suite/tests/bin/allasm_x86_64 ... 126: T1933188 ifetch 4 byte(s) @ 0x0000000000401028 non-branch 127: T1933188 ifetch 4 byte(s) @ 0x000000000040102c non-branch 128: T1933188 ifetch 2 byte(s) @ 0x0000000000401030 conditional jump ...

Fixes #5520 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i5520-online-encodings