Enum goblin::Object[][src]

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

Tries to parse an Object from bytes

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.