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
  • Issues
  • #5067
Closed
Open
Issue created Sep 01, 2021 by Derek Bruening@derekbrueningContributor

drcachesim view tool skips version with -skip_refs

The drcachesim view tool incorrectly skips over key metadata like the version when -skip_refs is used. This causes it to misinterpret trace data as shown here where it thinks the kernel xfer value is an offset rather than absolute:

$ bin64/drrun -t drcachesim -simulator_type view -sim_refs 10 -indir drmemtrace.linux.infloop.*.dir/ 
T444096 <marker: version 3>

$ bin64/drrun -t drcachesim -simulator_type view -skip_refs 44000111 -indir drmemtrace.linux.infloop.*.dir/ 
T444096   0x00007f3e83b0b7f2  48 83 45 f0 01       addq   $0x01, -0x10(%rbp)
T444096     read  8 byte(s) @ 0x7ffc4c720190
T444096 <marker: kernel xfer from module offset +0x7f3e83b0b7f2 to handler>
Assignee
Assign to
Time tracking