mod arch;
mod error;
mod types;
#[cfg(any(
windows,
target_os = "linux",
target_os = "macos",
target_os = "ios",
test
))]
mod import;
#[cfg(any(target_os = "linux", test))]
mod elf;
#[cfg(any(target_os = "macos", target_os = "ios", test))]
mod macho;
#[cfg(any(windows, test))]
mod pe;
pub use error::{Error, Result};
pub use types::{ImportKind, Symbol};
#[cfg(windows)]
mod sys;
#[cfg(target_os = "linux")]
#[path = "sys_unix.rs"]
mod sys;
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[path = "sys_macos.rs"]
mod sys;
#[cfg(target_os = "linux")]
mod dlpi;
#[cfg(windows)]
mod module;
#[cfg(target_os = "linux")]
#[path = "module_elf.rs"]
mod module;
#[cfg(any(target_os = "macos", target_os = "ios"))]
#[path = "module_macho.rs"]
mod module;
#[cfg(any(windows, target_os = "linux", target_os = "macos", target_os = "ios"))]
mod slot;
#[cfg(any(windows, target_os = "linux", target_os = "macos", target_os = "ios"))]
pub use module::Module;
#[cfg(any(windows, target_os = "linux", target_os = "macos", target_os = "ios"))]
pub use slot::{HookGuard, ImportSlot, InstalledHook, Replacement, install};