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

Method get_integer_params_pos

src/program/gadget.rs:616–624  ·  view source on GitHub ↗

get the positiions of integer parameters of this API call.

(&self)

Source from the content-addressed store, hash-verified

614
615 /// get the positiions of integer parameters of this API call.
616 pub fn get_integer_params_pos(&self) -> Vec<usize> {
617 let mut pos = Vec::new();
618 for (i, param) in self.arg_types.iter().enumerate() {
619 if is_integer_ty(param) {
620 pos.push(i);
621 }
622 }
623 pos
624 }
625
626 pub fn get_integeral_pointer_pos(&self) -> Vec<usize> {
627 let mut pos = Vec::new();

Callers 4

infer_constraintsFunction · 0.80
find_exploitable_funcFunction · 0.80

Calls 2

is_integer_tyFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected