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

i#4640 static client: Detect mixing standalone and full DR

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4640-standalone-nodr into master Jan 06, 2021
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 2

Adds a check and a fatal error when calling dr_app_setup() in the middle of standalone library usage (such as from a custom allocator using DR heap outside of DR-managed windows). This is much nicer than a mysterious crash that happens otherwise.

Tested on a proposed #4640 (closed) solution to eliminate application heap from droption where the droption static initializers use DR heap and thus invoke standalone mode behind the scenes, while later the app tries to run dr_app_setup().

Issue: #4640 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4640-standalone-nodr