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
  • #1835
Closed
Open
Issue created Dec 11, 2015 by Derek Bruening@derekbrueningContributor

PC-relative operand support on ARM broken

For the ARM port (#1551 (closed)) we half-added PC-relative operand support, changing the headers to say that opnd_create_rel_addr() works on ARM, when in fact it will fail to encode. Plus, we never made opnd_is_rel_addr() supported on ARM in the headers or implementation.

We should either change the headers to not support REL_ADDR_kind at all, or we should implement full support via the query routines and in the encoder. The encoder already handles opnd_is_mem_instr() and rel addr opnd support is very, very similar, so I would vote for adding it.

Note that trying to auto-magically take a tool opnd marked as base-disp that has a PC base and re-relativize it is a whole other kettle of fish as that requires register spilling and is covered by #1834.

Assignee
Assign to
Time tracking