Is it possible to decode x86-64 instructions in reverse?
问题 I was wondering if it is possible to decode x86-64 instructions in reverse? I need this for a runtime dissembler. Users can point to a random location in memory and then should be able to scroll upwards and see what instructions came before the specified address. I want to do this by reverse decoding. 回答1: The basic format of x86 instructions is like this Modern CPUs can support VEX and EVEX prefixes. In x86-64 there might also be the REX prefix at the beginning Looking at the format it can