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

Function get_pointer_inner

src/program/gadget.rs:921–929  ·  view source on GitHub ↗

get pointer's inner with sized layer stripped

(ty: &str)

Source from the content-addressed store, hash-verified

919
920 /// get pointer's inner with sized layer stripped
921 pub fn get_pointer_inner(ty: &str) -> Option<&str> {
922 if let Some(inner) = get_sized_pointer_inner(ty) {
923 if is_sized_layer(inner) {
924 return Some(strip_sized_layer(inner));
925 }
926 return Some(inner);
927 }
928 None
929 }
930
931 pub fn get_const_pointer_inner(ty: &str) -> Option<&str> {
932 if is_const_pointer_ty(ty) {

Callers 4

is_integeral_pointerFunction · 0.85
is_fuzzable_array_tyFunction · 0.85
get_const_pointer_innerFunction · 0.85

Calls 3

get_sized_pointer_innerFunction · 0.85
is_sized_layerFunction · 0.85
strip_sized_layerFunction · 0.85

Tested by

no test coverage detected