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

Method isAllocFunction

lib/utils/ManualAllocLoader.cpp:6–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4using namespace ftg;
5
6bool ManualAllocLoader::isAllocFunction(const llvm::Function &F) const {
7 auto AllocSizeArgs = getAllocSizeArgNo(F);
8 return !AllocSizeArgs.empty();
9}
10
11std::set<unsigned>
12ManualAllocLoader::getAllocSizeArgNo(const llvm::Function &F) const {

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected