diff options
author | iximeow <me@iximeow.net> | 2022-08-27 17:11:19 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2023-01-02 08:50:23 -0800 |
commit | 789797accee0caa6580fbba650c719a952945ac6 (patch) | |
tree | 85fffbcc13a525bbea1df0464a85096744f0b3de /test/long_mode/reuse_test.rs | |
parent | d2b4f3d1a454c7bbcc487ddfb2839b01dc1c9c9e (diff) |
add a `generic` module for x86 disassembly
this module generally attempts to decode as 64-bit x86 instructions, on
the assumption they are the most likely-desired instructions, falling
back to 32-bit and then 16-bit decoding, in order.
translation from a 64-bit `long_mode::Instruction` to
`generic::Instruction` is close to free, where
`protected_mode::Instruction` and `real_mode::Instruction` may be a
little more costly in time but should still not be too bad.
docs still need much touching up. most docs reference the `long_mode`
structures and enums they're strongly inspired by.
Diffstat (limited to 'test/long_mode/reuse_test.rs')
0 files changed, 0 insertions, 0 deletions