pub struct PcodeTheoryBuilder<'lib> { /* private fields */ }Implementations§
Source§impl<'lib> PcodeTheoryBuilder<'lib>
impl<'lib> PcodeTheoryBuilder<'lib>
pub fn new( candidates: Candidates, library: &'lib GadgetLibrary, ) -> PcodeTheoryBuilder<'lib>
pub fn build(self) -> Result<PcodeTheory<ModeledInstruction>, CrackersError>
pub fn build_assignment<T: Borrow<SleighArchInfo>>( &self, info: T, slot_assignments: SlotAssignments, ) -> Result<PcodeAssignment, CrackersError>
pub fn with_templates(self, templates: ReferenceProgram) -> Self
pub fn with_preconditions( self, preconditions: &[Arc<StateConstraintGenerator>], ) -> Self
pub fn with_postconditions( self, postconditions: &[Arc<StateConstraintGenerator>], ) -> Self
pub fn with_pointer_invariants( self, invariants: &[Arc<TransitionConstraintGenerator>], ) -> Self
pub fn with_max_candidates(self, candidates: usize) -> Self
Trait Implementations§
Source§impl<'lib> Clone for PcodeTheoryBuilder<'lib>
impl<'lib> Clone for PcodeTheoryBuilder<'lib>
Source§fn clone(&self) -> PcodeTheoryBuilder<'lib>
fn clone(&self) -> PcodeTheoryBuilder<'lib>
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<'lib> !RefUnwindSafe for PcodeTheoryBuilder<'lib>
impl<'lib> !UnwindSafe for PcodeTheoryBuilder<'lib>
impl<'lib> Freeze for PcodeTheoryBuilder<'lib>
impl<'lib> Send for PcodeTheoryBuilder<'lib>
impl<'lib> Sync for PcodeTheoryBuilder<'lib>
impl<'lib> Unpin for PcodeTheoryBuilder<'lib>
impl<'lib> UnsafeUnpin for PcodeTheoryBuilder<'lib>
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