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

Method update_nullness_at

src/analysis/abstract_domain.rs:151–157  ·  view source on GitHub ↗
(&mut self, path: &Rc<Path>, value: Option<PointerNullness>)

Source from the content-addressed store, hash-verified

149 }
150
151 fn update_nullness_at(&mut self, path: &Rc<Path>, value: Option<PointerNullness>) {
152 if let Some(nullness) = value {
153 self.nullness_domain.set(path.clone(), nullness);
154 } else {
155 self.nullness_domain.forget(path);
156 }
157 }
158
159 fn infer_reference_nullness(&self, value: &Rc<SymbolicValue>) -> Option<PointerNullness> {
160 match &value.expression {

Callers 1

update_value_atMethod · 0.80

Calls 2

setMethod · 0.80
forgetMethod · 0.45

Tested by

no test coverage detected