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

i#4070 drwrap-site: Add flag to skip retaddr examination

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4070-drwrap-call-site into master Mar 18, 2020
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 6

Adds DRWRAP_NO_DYNAMIC_RETADDRS which instructs drwrap to not look for post-call points by examining the return address and comparing to known sites while in the callee. This incurs overhead, mostly due to the locks and shared data structures, in large many-threaded applications. The downside is that the only post-call points in place are those for direct calls, which drwrap always looks for with the recent PR #4186. Future work could add identification of PLT-or-IAT-style indirect calls, or explore more scalable data structures.

Adds testing to drwrap-test.

Issue: #4070 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4070-drwrap-call-site