pub struct PlanOperation {
pub address: Address,
pub strategy: PatchStrategy,
pub kind: FindingKind,
pub confidence: Confidence,
pub size: usize,
pub new_bytes: Vec<u8>,
pub rationale: String,
}Expand description
A single ready-to-execute patch operation.
Fields§
§address: AddressAddress of the patched instruction.
strategy: PatchStrategyStrategy that produced this operation.
kind: FindingKindFinding kind that motivated it.
confidence: ConfidenceConfidence forwarded from the finding.
size: usizeSize, in bytes, of the original instruction.
new_bytes: Vec<u8>Bytes to write at address.
rationale: StringHuman-readable rationale forwarded for the manifest.
Trait Implementations§
Source§impl Clone for PlanOperation
impl Clone for PlanOperation
Source§fn clone(&self) -> PlanOperation
fn clone(&self) -> PlanOperation
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 moreSource§impl Debug for PlanOperation
impl Debug for PlanOperation
impl Eq for PlanOperation
Source§impl PartialEq for PlanOperation
impl PartialEq for PlanOperation
impl StructuralPartialEq for PlanOperation
Auto Trait Implementations§
impl Freeze for PlanOperation
impl RefUnwindSafe for PlanOperation
impl Send for PlanOperation
impl Sync for PlanOperation
impl Unpin for PlanOperation
impl UnsafeUnpin for PlanOperation
impl UnwindSafe for PlanOperation
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