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

i#3092 genapi: Split up dr_ir_instr.h

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Derek Bruening requested to merge i3092-genapi-part5 into master Apr 01, 2021
  • Overview 4
  • Commits 1
  • Pipelines 0
  • Changes 10

Renames core/ir/instr_inline.h to core/ir/instr_inline_api.h and makes it directly copyable to the new exported header dr_ir_instr_inline.h. To do this, introduces a new define DYNAMORIO_INTERNAL in order to set macros differently for DR vs clients.

Separates the public parts of core/ir/instr.h (which is most of the file) to a new file core/ir/instr_api.h, which is exported to dr_ir_instr.h. Uses DYNAMORIO_INTERNAL to set inlining and other flags properly for core vs client use.

Moves the PREFIX_ constants from decode.h to instr_api.h.

Updates dcontext_t* types to void* for exposed functions.

Issue: #3092 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: i3092-genapi-part5