This commit is contained in:
2023-09-04 06:26:35 -04:00
commit a5fe71ebb3
26 changed files with 1186 additions and 0 deletions

43
src/lib.rs Normal file
View File

@@ -0,0 +1,43 @@
#![feature(decl_macro)]
#![no_std]
/// Virtual Struct Offset
mod vso;
pub use vso::*;
/// upcast trait
mod upcast;
pub use upcast::Upcast;
pub use upcast::IntoUsize;
/// data manipulation utilities
mod data;
pub use data::*;
/// utility macros for branching
/// invoke_once, etc
mod branching;
pub use branching::*;
/// Utility macros for c ffi
mod cffi;
pub use cffi::*;
/// win32 utilities
#[cfg(feature = "win32")]
pub mod win32;
#[cfg(feature = "win32")]
pub use win32::{ image_base, image_header, find_kernel32 };
/// re-export the signature macro
pub use xgen::signature;
mod time;
pub use time::*;
mod hash;
pub use hash::*;