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

Method join

src/analysis/numerical/interval_domain.rs:261–274  ·  view source on GitHub ↗
(&self, rhs: &Self)

Source from the content-addressed store, hash-verified

259 }
260
261 pub fn join(&self, rhs: &Self) -> Self {
262 if self.is_bottom() || rhs.is_top() {
263 return rhs.clone();
264 }
265 if rhs.is_bottom() || self.is_top() {
266 return self.clone();
267 }
268 let mut res = Self::top();
269 for path in union_paths(self, rhs) {
270 let joined = join_interval(&self.var2itv(&path), &rhs.var2itv(&path));
271 res.set_interval(&path, joined);
272 }
273 res
274 }
275
276 pub fn meet(&self, rhs: &Self) -> Self {
277 if self.is_bottom() || rhs.is_bottom() {

Callers 1

lubMethod · 0.45

Calls 6

union_pathsFunction · 0.85
join_intervalFunction · 0.85
var2itvMethod · 0.80
set_intervalMethod · 0.80
is_bottomMethod · 0.45
is_topMethod · 0.45

Tested by

no test coverage detected