Skip to content

Update mnemonic and operand string when REAL detail is used #2529

@FinnWilkinson

Description

@FinnWilkinson

Feature

  • New architecture module
  • Support for processor extension
  • Add more instruction details (elaborated below)
  • Binding support for: language
  • Other (elaborated below)

Describe the feature you'd like
@Rot127 and I have discussed this before, but I can't see an issue for this and wanted to make sure it wasn't lost!

Essentially, when disassembling with real detail (i.e. using the -r flag for cstool, or CS_OPT_DETAIL_REAL) the mnemonic and operand string are not updated to match the real detail - they are still that of the alias.

I think it would add clarity to also revert the opcode mnemonic and operand string (perhaps alongside the alias) so that one can align each Capstone operand "object" with the diassembled string.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions