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

Method less_than

src/analysis/memory/symbolic_value.rs:1034–1044  ·  view source on GitHub ↗

Returns an element that is self < other

(&self, other: Rc<SymbolicValue>)

Source from the content-addressed store, hash-verified

1032
1033 /// Returns an element that is self < other
1034 fn less_than(&self, other: Rc<SymbolicValue>) -> Rc<SymbolicValue> {
1035 if let (Expression::CompileTimeConstant(v1), Expression::CompileTimeConstant(v2)) =
1036 (&self.expression, &other.expression)
1037 {
1038 return Rc::new(v1.less_than(v2).into());
1039 };
1040 SymbolicValue::make_binary(self.clone(), other, |left, right| Expression::LessThan {
1041 left,
1042 right,
1043 })
1044 }
1045
1046 /// Returns an element that is "!self" where self is a bool.
1047 fn logical_not(&self) -> 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