Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
767
fn strip_prefix(node: &Node) -> &Node {
768
node.ignore_parent().ignore_cast().ignore_prefix()
769
}
770
771
#[test]
772
fn test_static_infer() -> Result<()> {
Callers
11
infer_constraints
Function · 0.85
is_file_name
Function · 0.85
is_file_descriptor
Function · 0.85
is_format_string
Function · 0.85
is_null_ptr
Function · 0.85
is_macro_literal
Function · 0.85
is_data_and_size
Function · 0.85
is_sizeof_expr_of_var
Function · 0.85
is_size_of_var
Function · 0.85
is_alloc_size_of_var
Function · 0.85
is_strlen_of_var
Function · 0.85
Calls
3
ignore_prefix
Method · 0.80
ignore_cast
Method · 0.80
ignore_parent
Method · 0.80
Tested by
no test coverage detected