diff options
| author | iximeow <me@iximeow.net> | 2026-02-19 02:14:57 +0000 |
|---|---|---|
| committer | iximeow <me@iximeow.net> | 2026-05-25 04:31:49 +0000 |
| commit | 87dc48adcce4e80aa98a2867edacc023579fc4c4 (patch) | |
| tree | 940bf543d76b8d294f3d2abb792fb0ff6fa7e296 /src/lib.rs | |
| parent | 0ec3011a3d04de741be642e4d36e826174657fdc (diff) | |
add behavior information for x86_64 instructions
this is a squash of a few months' hacking, including but not limited to
what eventually got extracted into
https://git.iximeow.net/asmlinator/about/
the path here is generally not historically interesting, and the vast
majority of this diff is very particular static data tables
(BehaviorDigests and implicit operand lists)
`src/long_mode/behavior.rs` will more or less be directly adapted into
versions for x86-32 and x86-16, similar to the instruction decoders.
Diffstat (limited to 'src/lib.rs')
| -rw-r--r-- | src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -128,6 +128,11 @@ extern crate serde; #[cfg(feature="std")] extern crate alloc; +#[cfg(feature="behavior")] +mod behavior; +#[cfg(feature="behavior")] +pub use behavior::{Access, Exception, ExceptionInfo, PrivilegeLevel}; + #[macro_use] mod isa_settings; |
