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

i#2007 A64 static DR: Fix TLS setup with no private loader

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i2007-a64-static-tls into master Dec 12, 2019
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 1

For static DR, there is no private loader segment, and AArch64 was writing NULL into the TLS register, causing crashes. We fix that by using the app's segment in the same way that non-static DR uses the private segment.

Tested by locally enabling the drcachesim static tests. We cannot yet enable them permanently due to Travis build errors.

Issue: #2007 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i2007-a64-static-tls