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

Function interval_leq

src/analysis/numerical/interval_domain.rs:485–489  ·  view source on GitHub ↗
(lhs: &Interval, rhs: &Interval)

Source from the content-addressed store, hash-verified

483}
484
485fn interval_leq(lhs: &Interval, rhs: &Interval) -> bool {
486 lhs.is_bottom()
487 || rhs.is_top()
488 || (!rhs.is_bottom() && rhs.low <= lhs.low && lhs.high <= rhs.high)
489}
490
491fn join_interval(lhs: &Interval, rhs: &Interval) -> Interval {
492 if lhs.is_bottom() {

Callers 1

leqMethod · 0.85

Calls 2

is_bottomMethod · 0.45
is_topMethod · 0.45

Tested by

no test coverage detected