[−][src]Struct solana_libra_bytecode_verifier::type_memory_safety::TypeAndMemorySafetyAnalysis
Methods
impl<'a> TypeAndMemorySafetyAnalysis<'a>
[src]
pub fn verify(
module: &'a CompiledModule,
function_definition: &'a FunctionDefinition,
cfg: &'a VMControlFlowGraph
) -> Vec<VMStatus>
[src]
module: &'a CompiledModule,
function_definition: &'a FunctionDefinition,
cfg: &'a VMControlFlowGraph
) -> Vec<VMStatus>
Trait Implementations
impl<'a> AbstractInterpreter for TypeAndMemorySafetyAnalysis<'a>
[src]
fn analyze_function(
&mut self,
initial_state: Self::State,
function_view: &FunctionDefinitionView<CompiledModule>,
cfg: &dyn ControlFlowGraph
) -> InvariantMap<Self::State>
[src]
&mut self,
initial_state: Self::State,
function_view: &FunctionDefinitionView<CompiledModule>,
cfg: &dyn ControlFlowGraph
) -> InvariantMap<Self::State>
fn execute_block(
&mut self,
block_id: BlockId,
state: &mut Self::State,
function_view: &FunctionDefinitionView<CompiledModule>,
cfg: &dyn ControlFlowGraph
) -> Result<(), Self::AnalysisError>
[src]
&mut self,
block_id: BlockId,
state: &mut Self::State,
function_view: &FunctionDefinitionView<CompiledModule>,
cfg: &dyn ControlFlowGraph
) -> Result<(), Self::AnalysisError>
impl<'a> TransferFunctions for TypeAndMemorySafetyAnalysis<'a>
[src]
type State = AbstractState
type AnalysisError = VMStatus
fn execute(
&mut self,
state: &mut Self::State,
bytecode: &Bytecode,
index: usize,
last_index: usize
) -> Result<(), Self::AnalysisError>
[src]
&mut self,
state: &mut Self::State,
bytecode: &Bytecode,
index: usize,
last_index: usize
) -> Result<(), Self::AnalysisError>
Auto Trait Implementations
impl<'a> RefUnwindSafe for TypeAndMemorySafetyAnalysis<'a>
impl<'a> Send for TypeAndMemorySafetyAnalysis<'a>
impl<'a> Sync for TypeAndMemorySafetyAnalysis<'a>
impl<'a> Unpin for TypeAndMemorySafetyAnalysis<'a>
impl<'a> UnwindSafe for TypeAndMemorySafetyAnalysis<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
T: Send + Sync + UnwindSafe + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,