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

i#4679: Rip-relative push translation

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4679-riprel-push-xl8 into master Jan 20, 2021
  • Overview 2
  • Commits 2
  • Pipelines 0
  • Changes 2

Fixes two issues with rip-relative push translation:

  1. The push must be cleared on the first instruction of a subsequent consecutive mangling region. For this we split translate_walk_state() into pre_instr and post_instr versions.

    This split then raises an assert due to recreate_fragment_ilist() changing an exit jump's target without re-instating the instr_set_our_mangling(), which we also fix here.

  2. The assert about stack changes in the epilogue must be relaxed.

Tested on the decode-stress test on Linux x86, which is not yet fully enabled in the suite as it needs more work: that's #1025 (closed).

Issue: #1025 (closed), #4679 (closed) Fixes #4679 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4679-riprel-push-xl8