Git · dadoum.zone
Repositories
Help
Report an Issue
apple-crates
Code
Commits
Branches
Tags
Search
Tree:
a74924e
Branches
Tags
main
apple-crates
elf-loader
src
lib.rs
Refactor and unify a lot of things for another project and implement airdrop support
Dadoum
commited
a74924e
at 2026-10-25 22:15:58
lib.rs
Blame
History
Raw
mod elf_hash_table; mod elf_library; pub use elf_library::*; pub use sysv64::sysv64 as linux_cc; #[cfg(target_arch = "x86_64")] #[macro_export] macro_rules! linux_fn { (unsafe fn ($($args:tt)*) $(-> $ret:ty)?) => { unsafe extern "sysv64" fn($($args)*) $(-> $ret)? }; (fn ($($args:tt)*) $(-> $ret:ty)?) => { extern "sysv64" fn($($args)*) $(-> $ret)? }; } #[cfg(not(target_arch = "x86_64"))] #[macro_export] macro_rules! linux_fn { (unsafe fn ($($args:tt)*) $(-> $ret:ty)?) => { unsafe extern "C" fn($($args)*) $(-> $ret)? }; (fn ($($args:tt)*) $(-> $ret:ty)?) => { extern "C" fn($($args)*) $(-> $ret)? }; }