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

Method set_interval

src/analysis/numerical/interval_domain.rs:439–450  ·  view source on GitHub ↗
(&mut self, var: &Rc<Path>, itv: Interval)

Source from the content-addressed store, hash-verified

437 }
438
439 fn set_interval(&mut self, var: &Rc<Path>, itv: Interval) {
440 if self.is_bottom() {
441 return;
442 }
443 if itv.is_bottom() {
444 self.set_to_bottom();
445 } else if itv.is_top() {
446 self.intervals.remove(var);
447 } else {
448 self.intervals.insert(var.clone(), itv);
449 }
450 }
451}
452
453impl<Type> Debug for IntervalAbstractDomain<Type>

Callers 9

assign_intervalMethod · 0.80
widening_withMethod · 0.80
joinMethod · 0.80
meetMethod · 0.80
apply_un_op_placeMethod · 0.80
refine_path_intervalMethod · 0.80

Calls 5

set_to_bottomMethod · 0.80
removeMethod · 0.80
is_bottomMethod · 0.45
is_topMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected