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
  • #1550
Closed
Open
Issue created Nov 28, 2014 by Derek Bruening@derekbrueningContributor

extend "x86_mode" to support multiple modes

From [email protected] on October 08, 2014 00:04:22

Even if for ARM there is no mixed-mode in user-mode and we wouldn't care about it in regular DR unless we do whole-OS, for drdecodelib we do want to support multiple modes, or possibly for a tool who wants to go decode a file.

The proposal is to deprecate {get,set}_x86_mode() and replace them with {get,set}_isa_mode(dcontext, enum) where the enum can be extended for each mode: IA-32 vs AMD64, ARM vs Thumb, etc.

We'll move set_x86_mode will be moved to core/arch/x86/decode_private.h and swap all internal uses to the new routine as well.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=1550

Assignee
Assign to
Time tracking