lief::dwarf::parameters

Trait Parameter

pub trait Parameter {
    // Provided methods
    fn name(&self) -> String { ... }
    fn get_type(&self) -> Option<Type<'_>> { ... }
    fn location(&self) -> Option<Location<'_>> { ... }
    fn location_at(&self, pc: u64) -> Option<Location<'_>> { ... }
    fn locations(&self) -> LocationEntries<'_> ⓘ { ... }
}

Provided Methods§

fn name(&self) -> String

The name of the parameter

fn get_type(&self) -> Option<Type<'_>>

Return the type of the parameter

fn location(&self) -> Option<Location<'_>>

Location of this parameter. For instance it can be a specific register that is not following the calling convention.

fn location_at(&self, pc: u64) -> Option<Location<'_>>

Location of this parameter when PC is at the given address.

fn locations(&self) -> LocationEntries<'_> ⓘ

All the location entries of this parameter

Implementors§