[−][src]Struct kdump::CodeSection
Implementations
impl CodeSection
[src]
pub fn new(
section_type: SectionType,
instructions: Vec<Instr>,
size: u32
) -> CodeSection
[src]
section_type: SectionType,
instructions: Vec<Instr>,
size: u32
) -> CodeSection
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]
reader: &mut KSMFileReader
) -> Result<SectionType, Box<dyn Error>>
pub fn get_type(&self) -> SectionType
[src]
pub fn get_instructions(&self) -> &Vec<Instr>
[src]
pub fn size(&self) -> u32
[src]
pub fn number_real_instructions(&self) -> u32
[src]
pub fn get_offset(&self, index: usize) -> u32
[src]
pub fn contains(
&self,
symbol: &String,
argument_section: &ArgumentSection
) -> Result<bool, Box<dyn Error>>
[src]
&self,
symbol: &String,
argument_section: &ArgumentSection
) -> Result<bool, Box<dyn Error>>
pub fn get_function_name(
&self,
argument_section: &ArgumentSection
) -> Result<String, Box<dyn Error>>
[src]
&self,
argument_section: &ArgumentSection
) -> Result<String, Box<dyn Error>>
pub fn dump(
&self,
global_offset: u32,
global_instruction_index: u32,
show_labels: bool,
show_raw: bool,
show_line_numbers: bool,
argument_section: &ArgumentSection,
debug_section: &DebugSection
) -> Result<(), Box<dyn Error>>
[src]
&self,
global_offset: u32,
global_instruction_index: u32,
show_labels: bool,
show_raw: bool,
show_line_numbers: bool,
argument_section: &ArgumentSection,
debug_section: &DebugSection
) -> Result<(), Box<dyn Error>>
Auto Trait Implementations
impl RefUnwindSafe for CodeSection
[src]
impl Send for CodeSection
[src]
impl Sync for CodeSection
[src]
impl Unpin for CodeSection
[src]
impl UnwindSafe for CodeSection
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,