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

Method get_arg_tuple

src/program/infer/mod.rs:61–73  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

59 }
60
61 pub fn get_arg_tuple(&self) -> Option<&ArgTuple> {
62 match self {
63 Constraint::ArrayLen(tuple) => Some(tuple),
64 Constraint::ArrayIndex(tuple) => Some(tuple),
65 Constraint::Invalid(tuple) => Some(tuple),
66 Constraint::WeakArrayLen(tuple) => Some(tuple),
67 Constraint::FileName(_) => None,
68 Constraint::FileDesc(_) => None,
69 Constraint::Format(_) => None,
70 Constraint::AllocSize(_) => None,
71 Constraint::LoopCount(_) => None,
72 }
73 }
74}
75
76/// Retrieve the constraint on the arg_pos of the func call.

Callers 3

find_exploitable_funcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected