Trait lief::macho::commands::Command

pub trait Command {
    // Provided methods
    fn size(&self) -> u32 { ... }
    fn offset(&self) -> u64 { ... }
    fn command_type(&self) -> LoadCommandTypes { ... }
    fn data(&self) -> &[u8]  { ... }
}

Provided Methods§

fn size(&self) -> u32

fn offset(&self) -> u64

fn command_type(&self) -> LoadCommandTypes

fn data(&self) -> &[u8]

Trait Implementations§

§

impl Debug for &dyn Command

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§

§

impl Command for BuildVersion<'_>

§

impl Command for CodeSignature<'_>

§

impl Command for CodeSignatureDir<'_>

§

impl Command for DataInCode<'_>

§

impl Command for DyldChainedFixups<'_>

§

impl Command for DyldEnvironment<'_>

§

impl Command for DyldExportsTrie<'_>

§

impl Command for DyldInfo<'_>

§

impl Command for Dylib<'_>

§

impl Command for Dylinker<'_>

§

impl Command for DynamicSymbolCommand<'_>

§

impl Command for EncryptionInfo<'_>

§

impl Command for FunctionStarts<'_>

§

impl Command for LinkerOptHint<'_>

§

impl Command for Main<'_>

§

impl Command for RPath<'_>

§

impl Command for Segment<'_>

§

impl Command for SegmentSplitInfo<'_>

§

impl Command for SourceVersion<'_>

§

impl Command for Generic<'_>

§

impl Command for SubFramework<'_>

§

impl Command for SymbolCommand<'_>

§

impl Command for ThreadCommand<'_>

§

impl Command for TwoLevelHints<'_>

§

impl Command for UUID<'_>

§

impl Command for VersionMin<'_>