pub struct Checker<'a, F: Function> { /* private fields */ }

Implementations

Create a new checker for the given function, initializing CFG info immediately. The client should call the add_*() methods to add abstract instructions to each BB before invoking run() to check for errors.

Build the list of checker instructions based on the given func and allocation results.

Find any errors, returning Err(CheckerErrors) with all errors found or Ok(()) otherwise.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.