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
  • #4898
Closed
Open
Issue created May 11, 2021 by Derek Bruening@derekbrueningContributor

Add AArch64 stack pointer elision in drmemtrace offline traces

Offline traces elide addresses that can be reconstructed in post-processing. They also don't bother storing displacements, which simplifies instrumentation. The two go hand in hand and are assumed in the post-processing reconstruction.

However, the AArch64 ISA does not allow directly storing %sp to memory, so we cannot elide stack pointer displacements. Since post-processing assumes that, today we also never elide stack pointer addresses: which is a lot of addresses we needn't record and write out.

This issue covers fixing up raw2trace to store the displacement along with reg_vals so it can adjust displacements even when not elided, allowing us to elide redundant stack addresses.

Split from the too-general #2001.

Assignee
Assign to
Time tracking