1 2 3 4 5 6 7 8 9 10
// if the no_endian feature flag is set the libary will only be able to // process files with the same endianess as the machine. #[cfg(not(feature = "no_endian_fd"))] extern crate byteorder; // for now only switches on elf 64 bit variants; need to figure that out // do _not_ want namespaced elf::elf64::header nonsense, just want // this kind of nonsense: elf::header32 #[cfg(not(feature = "no_elf"))] pub mod elf;