MCPcopy Create free account
hub / github.com/Samsung/UTopia / FilePathAnalyzer

Method FilePathAnalyzer

lib/propanalysis/FilePathAnalyzer.cpp:10–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace ftg {
9
10FilePathAnalyzer::FilePathAnalyzer(IndCallSolverMgr *Solver,
11 std::vector<const Function *> Funcs,
12 const FilePathAnalysisReport *PreReport)
13 : ArgFlowAnalyzer(Solver, Funcs) {
14 if (Funcs.size() == 0)
15 return;
16
17 if (PreReport) {
18 for (const auto &Iter : PreReport->get())
19 Report.set(Iter.first, Iter.second);
20 }
21
22 analyze(Funcs);
23}
24
25std::unique_ptr<AnalyzerReport> FilePathAnalyzer::getReport() {
26 return std::make_unique<FilePathAnalysisReport>(Report);

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.80
getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected