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

Method get_init

src/ast/kind.rs:91–95  ·  view source on GitHub ↗
(&self, node: &'a Node)

Source from the content-addressed store, hash-verified

89 }
90
91 pub fn get_init(&self, node: &'a Node) -> &'a Node {
92 assert!(self.has_init(node));
93 assert_eq!(node.inner.len(), 1);
94 node.inner.first().unwrap()
95 }
96
97 /// get the var declaration of this var, e.g., const char* name.
98 pub fn get_var_decl_name(&self) -> String {

Callers 7

visit_var_declMethod · 0.80
get_var_initMethod · 0.80
is_var_fuzzableFunction · 0.80
fuzzable_var_get_initFunction · 0.80
is_format_stringFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected