MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / makeSizeValue

Function makeSizeValue

lib/checkbufferoverrun.cpp:236–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234}
235
236static ValueFlow::Value makeSizeValue(MathLib::bigint size, MathLib::bigint path)
237{
238 ValueFlow::Value v(size);
239 v.path = path;
240 return v;
241}
242
243static std::vector<ValueFlow::Value> getOverrunIndexValues(const Token* tok,
244 const Token* arrayToken,

Callers 2

getOverrunIndexValuesFunction · 0.85
objectIndexMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected