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
  • !5617

i#2062 memtrace nonmod: Emit encodings for non-module code

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i2062-emit-nonmod-encodings into master Aug 16, 2022
  • Overview 22
  • Commits 7
  • Pipelines 0
  • Changes 16

Augments drmemtrace to emit the instruction encodings for non-module code while tracing. The instru_offline_t class emits them into a global buffer and from there into a new file in the raw/ subdirectory. Encodings are obtained by encoding each app or emulated instruction in the block.

Adds a new drmemtrace interface function drmemtrace_get_encoding_path() to obtain the path to the file where the encodings are stored. Adds a sanity check that the file exists to the gencode test.

The file reader and raw2trace_directory_t are updated to be aware of the encoding file.

Raw2trace support for parsing the encoding file will be added in a separate commit to keep things small and incremental.

Issue: #2062

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2062-emit-nonmod-encodings