Struct BytecodeProgram
pub struct BytecodeProgram {
pub spec: ProgramSpec,
pub code: Vec<Instr>,
pub strings: Vec<String>,
pub payloads: Vec<Vec<u8>>,
pub matchers: Vec<QualifiedMatch>,
pub extracts: Vec<ExtractSource>,
pub evidence: Vec<EvidenceKind>,
}Expand description
Compiled script ready for the executor (probes, metadata, and instruction stream).
Fields§
§spec: ProgramSpec§code: Vec<Instr>§strings: Vec<String>§payloads: Vec<Vec<u8>>Binary payloads referenced by Send.payload (override bytes).
matchers: Vec<QualifiedMatch>§extracts: Vec<ExtractSource>§evidence: Vec<EvidenceKind>Implementations§
§impl BytecodeProgram
impl BytecodeProgram
pub fn instr_count(&self) -> usize
Trait Implementations§
§impl Clone for BytecodeProgram
impl Clone for BytecodeProgram
§fn clone(&self) -> BytecodeProgram
fn clone(&self) -> BytecodeProgram
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 BytecodeProgram
impl RefUnwindSafe for BytecodeProgram
impl Send for BytecodeProgram
impl Sync for BytecodeProgram
impl Unpin for BytecodeProgram
impl UnsafeUnpin for BytecodeProgram
impl UnwindSafe for BytecodeProgram
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