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

Method var2itv

src/analysis/numerical/interval_domain.rs:428–437  ·  view source on GitHub ↗
(&self, var: &Rc<Path>)

Source from the content-addressed store, hash-verified

426 }
427
428 fn var2itv(&self, var: &Rc<Path>) -> Interval {
429 if self.is_bottom() {
430 Interval::bottom()
431 } else {
432 self.intervals
433 .get(var)
434 .cloned()
435 .unwrap_or_else(Interval::top)
436 }
437 }
438
439 fn set_interval(&mut self, var: &Rc<Path>, itv: Interval) {
440 if self.is_bottom() {

Callers 13

leqMethod · 0.80
get_intervalMethod · 0.80
assign_varMethod · 0.80
widening_withMethod · 0.80
joinMethod · 0.80
meetMethod · 0.80
apply_un_op_placeMethod · 0.80
refine_lower_boundMethod · 0.80
refine_upper_boundMethod · 0.80

Calls 2

is_bottomMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected