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

Method is_arg_alloc

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

Does (F) allocate a new object and assign it to one of its arguments?

Source from the content-addressed store, hash-verified

1564
1565// Does (F) allocate a new object and assign it to one of its arguments?
1566bool LLVMModuleSet::is_arg_alloc(const Function* F)
1567{
1568 return F && hasExtFuncAnnotation(F, "ALLOC_HEAP_ARG");
1569}
1570
1571bool LLVMModuleSet::is_alloc_stack_ret(const Function* F)
1572{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected