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

i#4180: Add non-heap-using instuction structure

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i4180-noheap-ir into master Mar 16, 2020
  • Overview 28
  • Commits 3
  • Pipelines 0
  • Changes 11

Adds instr_noalloc_t, a wrapper around instr_t which contains space for all possible operands and a temporary encoding buffer. Adds support in the core instruction routines for using these internal fields and never using external heap, enabling this structure to be used for decoding in a signal handler.

The encoding buffer, due to reachability issues, cannot be re-relativized, making this structure inefficient for encoding. It is targeted toward decoding only.

Adds a sanity test.

Fixes #4180 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i4180-noheap-ir