[][src]Struct kdump::CodeSection

pub struct CodeSection { /* fields omitted */ }

Implementations

impl CodeSection[src]

pub fn new(
    section_type: SectionType,
    instructions: Vec<Instr>,
    size: u32
) -> CodeSection
[src]

pub fn read(reader: &mut KSMFileReader) -> Result<CodeSection, Box<dyn Error>>[src]

pub fn read_section_type(
    reader: &mut KSMFileReader
) -> Result<SectionType, Box<dyn Error>>
[src]

pub fn get_type(&self) -> SectionType[src]

pub fn get_instructions(&self) -> &Vec<Instr>[src]

pub fn size(&self) -> u32[src]

pub fn get_offset(&self, index: usize) -> u32[src]

pub fn contains(
    &self,
    symbol: &String,
    argument_section: &ArgumentSection
) -> bool
[src]

pub fn get_function_name(&self, argument_section: &ArgumentSection) -> String[src]

pub fn dump(
    &self,
    global_offset: u32,
    show_addr: bool,
    show_raw: bool,
    show_line_numbers: bool,
    argument_section: &ArgumentSection,
    debug_section: &DebugSection
) -> Result<(), Box<dyn Error>>
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.