pub struct PcodeTheory<S: ModelingContext> { /* private fields */ }Implementations§
Source§impl<S: ModelingContext> PcodeTheory<S>
impl<S: ModelingContext> PcodeTheory<S>
pub fn new<R: Borrow<SleighArchInfo>>( info: R, templates: Vec<S>, initial_memory: MemoryValuation, gadget_candidates: Vec<Vec<ModeledBlock>>, preconditions: Vec<Arc<StateConstraintGenerator>>, postconditions: Vec<Arc<StateConstraintGenerator>>, pointer_invariants: Vec<Arc<TransitionConstraintGenerator>>, ) -> Result<Self, CrackersError>
pub fn check_assignment( &self, slot_assignments: &SlotAssignments, ) -> Result<Option<ConflictClause>, CrackersError>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for PcodeTheory<S>
impl<S> !Send for PcodeTheory<S>
impl<S> !Sync for PcodeTheory<S>
impl<S> !UnwindSafe for PcodeTheory<S>
impl<S> Freeze for PcodeTheory<S>
impl<S> Unpin for PcodeTheory<S>where
S: Unpin,
impl<S> UnsafeUnpin for PcodeTheory<S>
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