(&self)
| 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. |
no outgoing calls
no test coverage detected