pub struct ExceptionTableData {
pub flag_val: u16,
pub has_elf_vector: bool,
pub large_frame: bool,
pub has_frame_pointer: bool,
pub saved_cr: bool,
pub fpr_save_range: u32,
pub gpr_save_range: u32,
pub et_field: u16,
pub pc_actions: Vec<PCAction>,
pub exception_actions: Vec<ExceptionAction>,
pub relocations: Vec<Relocation>,
}
Expand description
Struct containing all the data from the decoded exception table.
Fields§
§flag_val: u16
§has_elf_vector: bool
§large_frame: bool
§has_frame_pointer: bool
§saved_cr: bool
§fpr_save_range: u32
§gpr_save_range: u32
§et_field: u16
§pc_actions: Vec<PCAction>
§exception_actions: Vec<ExceptionAction>
§relocations: Vec<Relocation>
Implementations§
Source§impl ExceptionTableData
impl ExceptionTableData
Sourcepub fn has_uninitialized_action_padding(&self) -> bool
pub fn has_uninitialized_action_padding(&self) -> bool
Determines if this table has any actions that have uninitialized padding.
Sourcepub fn get_table_data(&self, clear_padding: bool) -> Vec<u8>
pub fn get_table_data(&self, clear_padding: bool) -> Vec<u8>
Returns the raw data for this exception table. If clear_padding is set to true, any uninitialized padding bytes in exception actions is cleared.
Trait Implementations§
Source§impl Clone for ExceptionTableData
impl Clone for ExceptionTableData
Source§fn clone(&self) -> ExceptionTableData
fn clone(&self) -> ExceptionTableData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ExceptionTableData
impl RefUnwindSafe for ExceptionTableData
impl Send for ExceptionTableData
impl Sync for ExceptionTableData
impl Unpin for ExceptionTableData
impl UnwindSafe for ExceptionTableData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more