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

Method DefAnalyzer

lib/inputanalysis/DefAnalyzer.cpp:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace ftg {
10
11DefAnalyzer::DefAnalyzer(UTLoader *Loader, std::vector<Unittest> Unittests,
12 std::set<llvm::Function *> TargetFunctions,
13 std::shared_ptr<ASTIRMap> ASTMap)
14 : Loader(Loader), TargetFunctions(TargetFunctions),
15 Finder(std::make_unique<TargetAPIFinder>(TargetFunctions)),
16 ASTMap(ASTMap), Unittests(Unittests) {
17 assert(Loader && "Unexpected Program State");
18 initializeRDAnalyzer(Loader->getSourceCollection(),
19 Loader->getDirectionReport(),
20 Loader->getFilePathReport());
21 analyze();
22}
23
24void DefAnalyzer::analyze() {
25 if (!Loader)

Callers

nothing calls this directly

Calls 1

getSourceCollectionMethod · 0.80

Tested by

no test coverage detected