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

i#4769: Reset global state of ext libs for re-attaches with static-DR.

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Sotiris Apostolakis requested to merge i4769-reset-ext-global-state into master Mar 22, 2021
  • Overview 35
  • Commits 12
  • Pipelines 0
  • Changes 12

Resets non-previously-reset parts of the global state of several ext libs when detaching is in progress. Also adds a DR API routine to query whether a detach is in progress. For testing, adds a regression test that re-attaches with static-DR 100x and triggers #4769 (closed). This test is based on burst_malloc and it takes 16sec on a debug build (much faster than burst_malloc with 100 reattaches mostly thanks to use of -record_dynsym_only option and simpler do_some_work() functionality).

Fixes: #4769 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4769-reset-ext-global-state