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
  • #2499
Closed
Open
Issue created Jul 05, 2017 by Derek Bruening@derekbrueningContributor

support using decode routines from the full DR library without initialization

This issue is about having DR's decode routines automatically invoke standalone init if called prior to DR init.

This use case is what's driving this issue: creating a library that uses drdecode only, but that is able to be used both in a native app and in an app running under full DR. This does not work because drdecode relies on replacing heap_alloc with a version that calls malloc.

The initial workaround is to link the library with full DR, but that doesn't work unless the library forces all linking apps that use it but don't themselves run under DR to invoke dr_standalone_init().

Having automated standalone init will also make it easier for other standalone uses of DR.

Assignee
Assign to
Time tracking