Closed thestr4ng3r closed 2 years ago
I have one question though, how will it affect other architectures? Do we plan to emit the modes at all, for example, for x86?
The mode field in bap-frames is optional, so I would only emit modes when they can change dynamically during the trace. So for x86 probably not, unless there is a way to switch between 32-bit and 64-bit.
Depends on https://github.com/BinaryAnalysisPlatform/bap-frames/pull/17
This stores, for each frame, the information whether thumb mode is used, so tools reading the traces will be able to select the right disassembler to use for each individual instruction when interworking code is traced.