Struct minidump::format::CV_INFO_ELF
source · pub struct CV_INFO_ELF {
pub cv_signature: u32,
pub build_id: Vec<u8>,
}
Expand description
An ELF Build ID.
Modern ELF toolchains insert a “build id” into the ELF headers that typically contains a hash of some ELF headers and sections to uniquely identify a binary. The Build ID is allowed to be an arbitrary number of bytes however, and GNU binutils allows creating ELF binaries with Build IDs of various formats.
Fields§
§cv_signature: u32
This will always be CvSignature::Elf
build_id: Vec<u8>
The build id, a variable number of bytes
Trait Implementations§
source§impl Clone for CV_INFO_ELF
impl Clone for CV_INFO_ELF
source§fn clone(&self) -> CV_INFO_ELF
fn clone(&self) -> CV_INFO_ELF
Returns a copy 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 moresource§impl Debug for CV_INFO_ELF
impl Debug for CV_INFO_ELF
source§impl<'a> TryFromCtx<'a, Endian> for CV_INFO_ELF
impl<'a> TryFromCtx<'a, Endian> for CV_INFO_ELF
type Error = Error
fn try_from_ctx( src: &'a [u8], endian: Endian ) -> Result<(CV_INFO_ELF, usize), <CV_INFO_ELF as TryFromCtx<'a, Endian>>::Error>
Auto Trait Implementations§
impl Freeze for CV_INFO_ELF
impl RefUnwindSafe for CV_INFO_ELF
impl Send for CV_INFO_ELF
impl Sync for CV_INFO_ELF
impl Unpin for CV_INFO_ELF
impl UnwindSafe for CV_INFO_ELF
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