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

Method get_fuzzable_params

src/program/gadget.rs:595–603  ·  view source on GitHub ↗

get the fuzzable parameters of this API call. The parameter should be immutable array.

(&self)

Source from the content-addressed store, hash-verified

593
594 /// get the fuzzable parameters of this API call. The parameter should be immutable array.
595 pub fn get_fuzzable_params(&self) -> Vec<usize> {
596 let mut params = Vec::new();
597 for (i, param) in self.arg_types.iter().enumerate() {
598 if is_fuzzable_array_ty(param) {
599 params.push(i);
600 }
601 }
602 params
603 }
604
605 pub fn get_array_params_pos(&self) -> Vec<usize> {
606 let mut params = Vec::new();

Callers 1

get_fuzzable_funcsFunction · 0.80

Calls 2

is_fuzzable_array_tyFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected