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

Method _get_open_nodes

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

Source from the content-addressed store, hash-verified

123 }
124
125 fn _get_open_nodes(&self) -> Vec<NodeIndex> {
126 let mut nodes = Vec::new();
127 let open_funcs = ["open", "fopen", "fmemopen"];
128 for func in open_funcs {
129 nodes.extend(self.get_node_with_name(func));
130 }
131 nodes
132 }
133
134 fn _get_api_nodes(&self) -> Vec<NodeIndex> {
135 let mut nodes = Vec::new();

Callers 2

_detect_leakMethod · 0.80

Calls 1

get_node_with_nameMethod · 0.80

Tested by

no test coverage detected