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

Method add_node

src/analysis/adg.rs:661–668  ·  view source on GitHub ↗
(&mut self, data: &TaintData)

Source from the content-addressed store, hash-verified

659 }
660
661 fn add_node(&mut self, data: &TaintData) {
662 let node = if self.dense {
663 Node::new(data)
664 } else {
665 Node::from(data)
666 };
667 self.adg.get_or_add_node(node);
668 }
669
670 /// the minimal subseq in symbol data that begin with [Merge] token and ends with [Join] token.
671 /// A merge_idx is additional returned, which is the previous one token before the [Merge] token.

Callers 5

get_or_add_nodeMethod · 0.80
compute_densityMethod · 0.80
construct_nodesMethod · 0.80
get_or_add_nodeMethod · 0.80

Calls 1

get_or_add_nodeMethod · 0.45

Tested by

no test coverage detected