MCPcopy Create free account
hub / github.com/Rust-API/Rust-API-Bypass-Checker / not_equals

Method not_equals

src/analysis/memory/symbolic_value.rs:1099–1109  ·  view source on GitHub ↗

Returns an element that is "self != other".

(&self, other: Rc<SymbolicValue>)

Source from the content-addressed store, hash-verified

1097
1098 /// Returns an element that is "self != other".
1099 fn not_equals(&self, other: Rc<SymbolicValue>) -> Rc<SymbolicValue> {
1100 if let (Expression::CompileTimeConstant(v1), Expression::CompileTimeConstant(v2)) =
1101 (&self.expression, &other.expression)
1102 {
1103 return Rc::new(v1.not_equals(v2).into());
1104 };
1105 SymbolicValue::make_binary(self.clone(), other, |left, right| Expression::Ne {
1106 left,
1107 right,
1108 })
1109 }
1110
1111 /// Returns the product of two symbolic values.
1112 fn mul(&self, other: Rc<SymbolicValue>) -> Rc<SymbolicValue> {

Callers 4

refine_pathsMethod · 0.45
refine_parametersMethod · 0.45
logical_notMethod · 0.45
refine_withMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected