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

Method isexecutableblock

lib/library.cpp:1845–1849  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1843}
1844
1845bool Library::isexecutableblock(const std::string &file, const std::string &token) const
1846{
1847 const auto it = utils::as_const(mData->mExecutableBlocks).find(Path::getFilenameExtensionInLowerCase(file));
1848 return (it != mData->mExecutableBlocks.cend() && it->second.isBlock(token));
1849}
1850
1851int Library::blockstartoffset(const std::string &file) const
1852{

Callers 1

parseTokensMethod · 0.80

Calls 2

isBlockMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected