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

Function strip_prefix

src/program/infer/static_infer.rs:767–769  ·  view source on GitHub ↗
(node: &Node)

Source from the content-addressed store, hash-verified

765}
766
767fn strip_prefix(node: &Node) -> &Node {
768 node.ignore_parent().ignore_cast().ignore_prefix()
769}
770
771#[test]
772fn test_static_infer() -> Result<()> {

Callers 11

infer_constraintsFunction · 0.85
is_file_nameFunction · 0.85
is_file_descriptorFunction · 0.85
is_format_stringFunction · 0.85
is_null_ptrFunction · 0.85
is_macro_literalFunction · 0.85
is_data_and_sizeFunction · 0.85
is_sizeof_expr_of_varFunction · 0.85
is_size_of_varFunction · 0.85
is_alloc_size_of_varFunction · 0.85
is_strlen_of_varFunction · 0.85

Calls 3

ignore_prefixMethod · 0.80
ignore_castMethod · 0.80
ignore_parentMethod · 0.80

Tested by

no test coverage detected