MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / IsNullTerminatedString

Function IsNullTerminatedString

lib/Target/TargetLoweringObjectFile.cpp:80–101  ·  view source on GitHub ↗

IsNullTerminatedString - Return true if the specified constant (which is known to have a type that is an array of 1/2/4 byte elements) ends with a nul value and contains no other nuls in it. Note that this is more general than ConstantDataSequential::isString because we allow 2 & 4 byte strings.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

getKindForGlobalMethod · 0.85

Calls 4

getElementAsIntegerMethod · 0.80
assertFunction · 0.50
getNumElementsMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected