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

Method _get_api_nodes

src/analysis/fdsan.rs:134–142  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

132 }
133
134 fn _get_api_nodes(&self) -> Vec<NodeIndex> {
135 let mut nodes = Vec::new();
136 for (node, idx) in self.node_map.iter() {
137 if is_library_api(&node.get_name()) {
138 nodes.push(*idx);
139 }
140 }
141 nodes
142 }
143
144 fn detect_double_close(&self) -> bool {
145 let close_nodes = self.get_close_nodes();

Callers 1

Calls 3

is_library_apiFunction · 0.85
get_nameMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected