* Trace backward using use-def chains until we reach argument definition(s). */
| 324 | * Trace backward using use-def chains until we reach argument definition(s). |
| 325 | */ |
| 326 | void ArgFlow::collectRelatedLengthArg(Value &V) { |
| 327 | std::set<llvm::Value *> Visit; |
| 328 | if (auto *RelatedArg = findRelatedArg(V, Visit)) |
| 329 | this->SizeArgs.insert(RelatedArg); |
| 330 | } |
| 331 | |
| 332 | ArgFlow &ArgFlow::operator|=(const ArgDir &ArgDir) { |
| 333 | Direction |= ArgDir; |
no outgoing calls
no test coverage detected