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

set up mcontext for app execution instead of taking over at our return

From [email protected] on November 27, 2011 13:34:33

split from issue #234 for earliest injection:

 * XXX NOCHECKIN TOFILE: app_takeover sets preinjected for rct (should prob. rename)
 * which needs to be done whenever we takeover not at the bottom of the
 * callstack.  For earliest won't need to set this if we takeover
 * in such a way as to handle the return back to our hook code without a
 * violation -- though currently we will see 3 rets (return from
 * dynamorio_app_take_over(), return from here, and return from
 * dynamorio_earliest_init_takeover() to app hook code).
 * Should we have dynamorio_earliest_init_takeover() set up an
 * mcontext that we can go to directly instead of interpreting
 * the returns in our own code?  That would make tools that shadow
 * callstacks simpler too.

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

Assignee
Assign to
Time tracking