MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / bind_value

Method bind_value

src/analysis/dfa.rs:572–575  ·  view source on GitHub ↗

bind the value to this var. Old value is overwrited.

(&mut self, var: VarName, sym: Symbol<T>)

Source from the content-addressed store, hash-verified

570
571 /// bind the value to this var. Old value is overwrited.
572 fn bind_value(&mut self, var: VarName, sym: Symbol<T>) -> Result<()> {
573 self.get_current_storage_mut().insert(var, sym);
574 Ok(())
575 }
576
577 /// bind the value into var with Static-Single-Assignment (SSA) form.
578 /// The old var is renamed and the new value stores in the new var.

Callers 2

visit_var_declMethod · 0.80
ssa_bind_valueMethod · 0.80

Calls 1

Tested by

no test coverage detected