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

Method get_close_nodes

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

Source from the content-addressed store, hash-verified

114 }
115
116 fn get_close_nodes(&self) -> Vec<NodeIndex> {
117 let mut nodes = Vec::new();
118 let close_funcs = ["close", "fclose"];
119 for func in close_funcs {
120 nodes.extend(self.get_node_with_name(func));
121 }
122 nodes
123 }
124
125 fn _get_open_nodes(&self) -> Vec<NodeIndex> {
126 let mut nodes = Vec::new();

Callers 4

detect_double_closeMethod · 0.80
_detect_leakMethod · 0.80

Calls 1

get_node_with_nameMethod · 0.80

Tested by

no test coverage detected