Enum mach_object::OFile [] [src]

pub enum OFile {
    MachFile {
        header: MachHeader,
        commands: Vec<MachCommand>,
    },
    FatFile {
        magic: u32,
        files: Vec<(FatArch, OFile)>,
    },
    ArFile {
        files: Vec<(ArHeader, OFile)>,
    },
    SymDef {
        ranlibs: Vec<RanLib>,
    },
}

The abstract file block, including mach-o file, fat/universal file, archive file and symdef block

Variants

Fields of MachFile

Fields of FatFile

Fields of ArFile

Fields of SymDef

Methods

impl OFile
[src]

[src]

Parse a file base on its magic number

Trait Implementations

impl Debug for OFile
[src]

[src]

Formats the value using the given formatter.

impl Clone for OFile
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> SymbolReader<'a> for OFile
[src]

[src]

Read symbols from Mach-O file