pub enum Object<'a> {
Elf(Elf<'a>),
PE(PE<'a>),
Mach(Mach<'a>),
Archive(Archive<'a>),
Unknown(u64),
}
Expand description
A parseable object that goblin understands
Variants§
Elf(Elf<'a>)
An ELF32/ELF64!
PE(PE<'a>)
A PE32/PE32+!
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
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Object<'a>
impl<'a> RefUnwindSafe for Object<'a>
impl<'a> Send for Object<'a>
impl<'a> Sync for Object<'a>
impl<'a> Unpin for Object<'a>
impl<'a> UnwindSafe for Object<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more