MCPcopy Create free account
hub / github.com/SVF-tools/SVF / is_alloc

Method is_alloc

svf-llvm/lib/LLVMModule.cpp:1560–1563  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1558}
1559
1560bool LLVMModuleSet::is_alloc(const Function* F)
1561{
1562 return F && hasExtFuncAnnotation(F, "ALLOC_HEAP_RET");
1563}
1564
1565// Does (F) allocate a new object and assign it to one of its arguments?
1566bool LLVMModuleSet::is_arg_alloc(const Function* F)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected