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

Method get_integeral_pointer_pos

src/program/gadget.rs:626–634  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

624 }
625
626 pub fn get_integeral_pointer_pos(&self) -> Vec<usize> {
627 let mut pos = Vec::new();
628 for (i, param) in self.arg_types.iter().enumerate() {
629 if is_integeral_pointer(param) {
630 pos.push(i);
631 }
632 }
633 pos
634 }
635
636 /// get the positiions of integer parameters of this API call.
637 pub fn get_floating_params(&self) -> Vec<usize> {

Callers 1

Calls 2

is_integeral_pointerFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected