diff options
author | iximeow <me@iximeow.net> | 2021-07-04 15:21:01 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2021-07-04 15:21:01 -0700 |
commit | bb2870e56d6c9a0a7b96be8287193a753e3a4391 (patch) | |
tree | 20cbc157d57ad6fc57a18392a3eec4a4f6b8d57c /ffi/protected_mode | |
parent | 6f91a743a8e6bf720abdb0748bc6755f280b59de (diff) |
add ffi wrappers for real mode, protected mode, and a multiarch build
Diffstat (limited to 'ffi/protected_mode')
-rw-r--r-- | ffi/protected_mode/Cargo.toml | 2 | ||||
-rw-r--r-- | ffi/protected_mode/src/lib.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ffi/protected_mode/Cargo.toml b/ffi/protected_mode/Cargo.toml index 95e8bf4..164c0de 100644 --- a/ffi/protected_mode/Cargo.toml +++ b/ffi/protected_mode/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" [dependencies] yaxpeax-x86 = { path = "../../", default-features = false } -yaxpeax-arch = { version = "0.0.4", default-features = false } +yaxpeax-arch = { version = "0.1.0", default-features = false } [lib] name = "yaxpeax_x86_ffi_protected_mode" diff --git a/ffi/protected_mode/src/lib.rs b/ffi/protected_mode/src/lib.rs index 368f8a9..95fed67 100644 --- a/ffi/protected_mode/src/lib.rs +++ b/ffi/protected_mode/src/lib.rs @@ -5,7 +5,7 @@ fn panic(_info: &core::panic::PanicInfo) -> ! { loop {} } -#[path = "../../src/long_mode.rs"] -mod long_mode; +#[path = "../../src/protected_mode.rs"] +mod protected_mode; -pub use long_mode::*; +pub use protected_mode::*; |