ΒΆbool isCallocLikeFn(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI,
bool LookThroughBitCast = false)
bool isCallocLikeFn(
const llvm::Value* V,
const llvm::TargetLibraryInfo* TLI,
bool LookThroughBitCast = false)
Description
Tests if a value is a call or invoke to a library function that allocates zero-filled memory (such as calloc).
Declared at: llvm/include/llvm/Analysis/MemoryBuiltins.h:80
Parameters
- const llvm::Value* V
- const llvm::TargetLibraryInfo* TLI
- bool LookThroughBitCast = false