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
  • #4291
Closed
Open
Issue created May 12, 2020 by Administrator@rootContributor

drrun overwrites LD_PRELOAD when using -late

Created by: mattgreen

Describe the bug When using drrun's -late mode of injection, LD_PRELOAD is employed to load the DR support libraries. In the process of doing so, DR overwrites the existing value of LD_PRELOAD, rather than appending to the existing value.

To Reproduce

$ cd <DR_ROOT>/bin64
$ LD_PRELOAD=libtest.so ./drrun -late -c ../samples/bin64/libbbcount.so -- env

Note that the output does not include libtest.so.

Expected behavior LD_PRELOAD's value should be preserved through invocations of drrun.

Versions Occurs on 7.1 and 8.0 releases on Linux on both 32/64 bit builds.

Additional context PR coming shortly. Issue migrated from Google Groups discussion.

Assignee
Assign to
Time tracking