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
  • #4508
Closed
Open
Issue created Nov 01, 2020 by gregcawthorne@gregcawthorneContributor

Dynamorio not loading stolen register value into mcontext on AArch64

On AArch64 the value of the stolen register isn't loaded into the mcontext object for later instrumentation, due to an ifdef only allowing this functionality on ARM (non AArch64), in instrument.c, dr_get_mcontext_priv().

This causes errors when addresses need to be calculated based on the value of contents the stolen register.

Issue is present on the current latest build: cronbuild-8.0.18565

Fix is to change this one line ifdef to #ifdef AARCHXX https://github.com/DynamoRIO/dynamorio/blob/420adb01d466e134037b1db6ed7023749c3f8034/core/lib/instrument.c#L6802

Will submit the fix very soon.

Assignee
Assign to
Time tracking