pub struct ChainOutcome {
pub chain: RopChain,
pub outcome: ScanOutcome,
pub assumptions: Option<WinAssumptions>,
}Expand description
A generated chain plus the scan it was built from.
Fields§
§chain: RopChainThe chain itself, as the Chain IR.
outcome: ScanOutcomeThe scan the chain was built from.
assumptions: Option<WinAssumptions>CHWIN-04: what the Windows builder assumed about the world the
chain will run in — the chain-base parity, the API recipe, and the
two addresses CHWIN-02 keeps apart. None for a Linux chain, which
makes none of these assumptions.
Auto Trait Implementations§
impl Freeze for ChainOutcome
impl RefUnwindSafe for ChainOutcome
impl Send for ChainOutcome
impl Sync for ChainOutcome
impl Unpin for ChainOutcome
impl UnsafeUnpin for ChainOutcome
impl UnwindSafe for ChainOutcome
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more