Skip to content

Instruction tracing can use wrong encoding mode #255

@arichardson

Description

@arichardson

The problem we see here is that arm_disas_set_info is called after all of the instruction side-effects have taken place, so we disassemble using the mode of the subsequent instruction rather than the current state.

The only real workaround I can think of is eagerly expanding the disassembly and then storing that string in the trace buffer rather than storing the instruction opcode+size.

@qwattash what do you think about this approach?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions