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

i#3937 memtrace sigs: fix missing near-signal instructions

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3937-raw2trace-sigreturn into master Nov 22, 2019
  • Overview 3
  • Commits 4
  • Pipelines 0
  • Changes 15

Adds the module offset of the interruption point PC to the kernel event marker to record when a signal happened. Refactors raw2trace to check for signals after every insruction and not just every memref, and to look at the offset for correct placement.

Adds a new test application signal_invariants which uses assembly for precise control over tests around signal marker placement. Changes the trace_invariants tests to use this new application. The test uses prefetch instructions as annotations to communicate with the trace_invariants reader. Uses the new test to add several additional invariant checks to trace_invariants: signal placement mid-bb, placement mid-memref, handler resumption, handler immediacy.

Updates the docs to show an example of a signal handler interruption in the view tool.

Documents the multi-memref fault issue (#3958) and the online trace missing instruction issue (#3739 (closed)).

Passes -verbose to the IPC reader for online trace debugging.

Solving signal placement in the middle of online trace instruction bundles is left for future work. Comments in the code and docs make this clear.

Issue: #3937

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3937-raw2trace-sigreturn