MCPcopy Create free account
hub / github.com/CodeIntelligenceTesting/jazzer / dirFromFullPath

Function dirFromFullPath

launcher/jvm_tooling.cpp:86–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86std::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).

Callers 1

getInstrumentorAgentPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected