(&self)
| 45 | } |
| 46 | |
| 47 | pub fn get_integer_arg(&self) -> usize { |
| 48 | match self { |
| 49 | Constraint::ArrayLen(tuple) => tuple.1, |
| 50 | Constraint::ArrayIndex(tuple) => tuple.1, |
| 51 | Constraint::WeakArrayLen(tuple) => tuple.1, |
| 52 | Constraint::AllocSize(pos) => *pos, |
| 53 | Constraint::FileName(pos) => *pos, |
| 54 | Constraint::FileDesc(pos) => *pos, |
| 55 | Constraint::Format(pos) => *pos, |
| 56 | Constraint::Invalid(tuple) => tuple.1, |
| 57 | Constraint::LoopCount(pos) => *pos, |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | pub fn get_arg_tuple(&self) -> Option<&ArgTuple> { |
| 62 | match self { |
no outgoing calls
no test coverage detected