| 84 | } |
| 85 | |
| 86 | std::string dirFromFullPath(const std::string &path) { |
| 87 | const auto pos = path.rfind(kPathSeparator); |
| 88 | if (pos != std::string::npos) { |
| 89 | return path.substr(0, pos); |
| 90 | } |
| 91 | return ""; |
| 92 | } |
| 93 | |
| 94 | // getInstrumentorAgentPath searches for the fuzzing instrumentation agent and |
| 95 | // returns the location if it is found. Otherwise it calls exit(0). |
no outgoing calls
no test coverage detected