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

Method get_array_params_pos

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

Source from the content-addressed store, hash-verified

603 }
604
605 pub fn get_array_params_pos(&self) -> Vec<usize> {
606 let mut params = Vec::new();
607 for (i, param) in self.arg_types.iter().enumerate() {
608 if is_array_ty(param) {
609 params.push(i);
610 }
611 }
612 params
613 }
614
615 /// get the positiions of integer parameters of this API call.
616 pub fn get_integer_params_pos(&self) -> Vec<usize> {

Callers 2

infer_constraintsFunction · 0.80

Calls 2

is_array_tyFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected