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

i#4719 qemu: Add xarch_root option for QEMU

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4719-xarch-root into master Feb 09, 2021
  • Overview 4
  • Commits 6
  • Pipelines 0
  • Changes 8

Adds a new option -xarch_root which sets a path that is prepended to:

  • The application executable's interpreter, if the original does not exist.
  • SYS_openat paths, if the original does not exist.
  • System paths ued for loading private libraries: here the prefix is prepended before checking whether the original exists.

Splits dynamorio_app_init() into two pieces in order to have the options set up at the time the loader maps the interpreter, while avoiding ordering problems with the rest of the initialization.

The new option also auto-sets -ignore_takeover_timeout for convenience, as that is always needed when running under QEMU.

Manually tested in cross-compile AArchXX setups on a Debian system. Test suite integration is forthcoming.

Issue: #4719

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4719-xarch-root