#[non_exhaustive]pub enum Object<'a> {
Elf(Elf<'a>),
PE(PE<'a>),
TE(TE<'a>),
COFF(Coff<'a>),
Mach(Mach<'a>),
Archive(Archive<'a>),
Unknown(u64),
}Expand description
A parseable object that goblin understands
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Elf(Elf<'a>)
An ELF32/ELF64!
PE(PE<'a>)
A PE32/PE32+!
TE(TE<'a>)
A TE!
COFF(Coff<'a>)
A COFF
Mach(Mach<'a>)
A 32/64-bit Mach-o binary OR it is a multi-architecture binary container!
Archive(Archive<'a>)
A Unix archive
Unknown(u64)
None of the above, with the given magic value