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
  • #4159
Closed
Open
Issue created Mar 04, 2020 by Derek Bruening@derekbrueningContributor

CRASH post-processing a trace with many markers

I recorded a drcachesim trace with -record_function and a hacked drwrap where post-call hooks were sometimes missed. I hit a crash in post-processing where drwrap detected that a bunch of post-call callbacks had been missed and it caught up, resulting in a long series of function tracing markers. raw2trace has a 64-entry array for each insruction, under the invariant that one instruction couldn't possibly have that many entries. It gets overflowed, clobbering subsequent memory.

I think the marker loop in handle_kernel_interrupt_and_markers() should have its own output, to solve this and make the code more robust.

Assignee
Assign to
Time tracking