pub struct ContainerProbe {
pub container: &'static str,
pub arch: String,
pub bits: u32,
pub little_endian: bool,
pub file_size: usize,
pub file_entropy: f64,
pub sections: Vec<SectionInfo>,
pub overlay_size: usize,
pub has_go_pclntab: bool,
pub packer: Option<String>,
}Expand description
A container-level summary that does not depend on any Go metadata.
Fields§
§container: &'static str§arch: String§bits: u32§little_endian: bool§file_size: usize§file_entropy: f64Shannon entropy of the whole file, 0.0..=8.0 bits per byte.
sections: Vec<SectionInfo>§overlay_size: usizeBytes after the end of the last section’s file range (a PE overlay, an appended archive, a second-stage payload).
has_go_pclntab: boolWhether a Go pclntab section is present by name (it may still be findable by magic scan even when this is false).
packer: Option<String>A short verdict when the layout looks packed/obfuscated, else None.
Trait Implementations§
Source§impl Clone for ContainerProbe
impl Clone for ContainerProbe
Source§fn clone(&self) -> ContainerProbe
fn clone(&self) -> ContainerProbe
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ContainerProbe
impl RefUnwindSafe for ContainerProbe
impl Send for ContainerProbe
impl Sync for ContainerProbe
impl Unpin for ContainerProbe
impl UnsafeUnpin for ContainerProbe
impl UnwindSafe for ContainerProbe
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