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
  • #3116
Closed
Open
Issue created Aug 03, 2018 by Derek Bruening@derekbrueningContributor

app sigaltstack is thrown away when attaching

DR's signal code copies the entire thread_sig_info_t from the parent (or takeover thread) and then signal_thread_inherit goes and clears non-inherited fields like the sigaltstack. This works fine when DR controls the app from the beginning. However, on attach we're sharing every thread's signal info and we're querying the app's sigaltstack prior to the call to signal_thread_inherit. The end result is that we discard the stored app sigaltstack, not using it when emulating signal delivery, and not restoring it on detach.

Assignee
Assign to
Time tracking