pub struct ObjDiff {
pub sections: Vec<ObjSectionDiff>,
pub common: Vec<ObjSymbolDiff>,
pub mapping_symbols: Vec<ObjSymbolDiff>,
}
Fields§
§sections: Vec<ObjSectionDiff>
A list of all section diffs in the object.
common: Vec<ObjSymbolDiff>
Common BSS symbols don’t live in a section, so they’re stored separately.
mapping_symbols: Vec<ObjSymbolDiff>
If selecting_left
or selecting_right
is set, this is the list of symbols
that are being mapped to the other object.
Implementations§
source§impl ObjDiff
impl ObjDiff
pub fn new_from_obj(obj: &ObjInfo) -> Self
pub fn section_diff(&self, section_idx: usize) -> &ObjSectionDiff
pub fn section_diff_mut(&mut self, section_idx: usize) -> &mut ObjSectionDiff
pub fn symbol_diff(&self, symbol_ref: SymbolRef) -> &ObjSymbolDiff
pub fn symbol_diff_mut(&mut self, symbol_ref: SymbolRef) -> &mut ObjSymbolDiff
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ObjDiff
impl RefUnwindSafe for ObjDiff
impl Send for ObjDiff
impl Sync for ObjDiff
impl Unpin for ObjDiff
impl UnwindSafe for ObjDiff
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