MCPcopy Index your code
hub / github.com/Rust-API/Rust-API-Bypass-Checker / assert

Method assert

src/analysis/z3_solver.rs:104–109  ·  view source on GitHub ↗

Add a constraint into the solver

(&self, expression: &Z3Expression)

Source from the content-addressed store, hash-verified

102
103 /// Add a constraint into the solver
104 pub fn assert(&self, expression: &Z3Expression) {
105 unsafe {
106 let _guard = Z3_MUTEX.lock().unwrap();
107 z3_sys::Z3_solver_assert(self.z3_context, self.z3_solver, *expression);
108 }
109 }
110
111 pub fn make_or_z3_expression(
112 &self,

Callers 3

solve_expressionMethod · 0.80
solve_conditionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected