Struct boogie_backend::boogie_wrapper::BoogieWrapper
source · pub struct BoogieWrapper<'env> {
pub env: &'env GlobalEnv,
pub targets: &'env FunctionTargetsHolder,
pub writer: &'env CodeWriter,
pub options: &'env BoogieOptions,
}
Expand description
Represents the boogie wrapper.
Fields§
§env: &'env GlobalEnv
§targets: &'env FunctionTargetsHolder
§writer: &'env CodeWriter
§options: &'env BoogieOptions
Implementations§
source§impl<'env> BoogieWrapper<'env>
impl<'env> BoogieWrapper<'env>
sourcepub fn call_boogie(&self, boogie_file: &str) -> Result<BoogieOutput>
pub fn call_boogie(&self, boogie_file: &str) -> Result<BoogieOutput>
Calls boogie on the given file. On success, returns a struct representing the analyzed output of boogie.
sourcepub fn call_boogie_and_verify_output(&self, boogie_file: &str) -> Result<()>
pub fn call_boogie_and_verify_output(&self, boogie_file: &str) -> Result<()>
Calls boogie and analyzes output.