pub struct StaticAnalysis<Instruction> {
pub offset: usize,
pub reason: &'static str,
/* private fields */
}Expand description
Result of a static analysis pass. Explains why a code sequence has been found to be illogical or unsuitable, and provides a way to prune such a sequence from the search.
Fields§
§offset: usizeSpecifies at what offset into this sequence the problem was found
reason: &'static strHuman-readable description of the problem
Implementations§
Source§impl<Instruction> StaticAnalysis<Instruction>
impl<Instruction> StaticAnalysis<Instruction>
Sourcepub fn set_offset(&self, offset: usize) -> Self
pub fn set_offset(&self, offset: usize) -> Self
Constructs a new StaticAnalysis object, replacing the offset value.
Trait Implementations§
Auto Trait Implementations§
impl<Instruction> Freeze for StaticAnalysis<Instruction>
impl<Instruction> RefUnwindSafe for StaticAnalysis<Instruction>
impl<Instruction> Send for StaticAnalysis<Instruction>
impl<Instruction> Sync for StaticAnalysis<Instruction>
impl<Instruction> Unpin for StaticAnalysis<Instruction>
impl<Instruction> UnwindSafe for StaticAnalysis<Instruction>
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