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

Method is_signle_layer_pointer

src/program/gadget.rs:651–659  ·  view source on GitHub ↗
(&self, arg_pos: usize)

Source from the content-addressed store, hash-verified

649 }
650
651 pub fn is_signle_layer_pointer(&self, arg_pos: usize) -> bool {
652 let ty = &self.arg_types[arg_pos];
653 if let Some(inner) = get_const_pointer_inner(ty) {
654 if is_primitive_type(inner) {
655 return true;
656 }
657 }
658 false
659 }
660}
661
662pub mod ctype {

Callers 1

makeup_call_list_argMethod · 0.80

Calls 2

get_const_pointer_innerFunction · 0.85
is_primitive_typeFunction · 0.85

Tested by

no test coverage detected