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
  • #731
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

auto-re-relativize level 1-3 ctis when encoding

From rnk@google.com on April 12, 2012 13:50:34

This came up on our users mailing list (titled "enabling fixups of relatives jmps "), but we didn't file a bug about it: https://groups.google.com/forum/#!topic/dynamorio-users/lGQralbJg_U Our response: """ Force a re-encode: instr_set_raw_bits_valid(instr, false).

Note that when not in standalone mode all branches are mangled and thus this is never an issue. """

We need to at least document this somewhere. The better solution is to add a check in our encoder for if the instruction takes a relative offset and assume that those bits are invalid. 99% of the time users will want to re-encode decoded instructions to a different pc, so we can't use the current offset.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=731

Assignee
Assign to
Time tracking