ΒΆuint64_t GetStringLength(
const llvm::Value* V,
unsigned int CharSize = 8)
uint64_t GetStringLength(
const llvm::Value* V,
unsigned int CharSize = 8)
Description
If we can compute the length of the string pointed to by the specified pointer, return 'len+1'. If we can't, return 0.
Declared at: llvm/include/llvm/Analysis/ValueTracking.h:315
Parameters
- const llvm::Value* V
- unsigned int CharSize = 8