Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues

Project functions overview

The following table shows data about each function in the project. The functions included in this table correspond to all functions that exist in the executables of the fuzzers. As such, there may be functions that are from third-party libraries.

For further technical details on the meaning of columns in the below table, please see the Glossary .

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzzer details

Fuzzer: compile_fuzzer

Call tree

The calltree shows the control flow of the fuzzer. This is overlaid with coverage information to display how much of the potential code a fuzzer can reach is in fact covered at runtime. In the following there is a link to a detailed calltree visualisation as well as a bitmap showing a high-level view of the calltree. For further information about these topics please see the glossary for full calltree and calltree overview

Call tree overview bitmap:

The distribution of callsites in terms of coloring is
Color Runtime hitcount Callsite count Percentage
red 0 246 45.4%
gold [1:9] 5 0.92%
yellow [10:29] 18 3.32%
greenyellow [30:49] 5 0.92%
lawngreen 50+ 267 49.3%
All colors 541 100

Fuzz blockers

The followings are the branches where fuzzer fails to bypass.

Unique non-covered Complexity Unique Reachable Complexities Unique Reachable Functions All non-covered Complexity All Reachable Complexity Function Name Function Callsite Blocked Branch
646 648 4 :

['glslang::TIntermTyped::getCompleteString(bool) const', 'std::__1::basic_string , glslang::pool_allocator >::~basic_string()', 'glslang::TParseContext::assignError(glslang::TSourceLoc const&, char const*, std::__1::basic_string , glslang::pool_allocator >, std::__1::basic_string , glslang::pool_allocator >)', 'glslang::TIntermediate::getEnhancedMsgs() const']

648 650 glslang::TParseContext::executeInitializer(glslang::TSourceLocconst&,glslang::TIntermTyped*,glslang::TVariable*) call site: 00000 /src/glslang/glslang/MachineIndependent/ParseHelper.cpp:8964
522 1837 21 :

['TIntermNode::operator new(unsigned long)', 'glslang::TVector ::TVector(glslang::TVector const&)', 'std::__1::function ::function (glslang::HlslParseContext::findFunction(glslang::TSourceLoc const&, glslang::TFunction&, bool&, int&, glslang::TIntermTyped*&)::$_0)', 'glslang::TFunction::addParameter(glslang::TParameter&)', 'glslang::TType::shallowCopy(glslang::TType const&)', 'std::__1::vector >::swap(std::__1::vector >&)', 'glslang::TIntermediate::promote(glslang::TIntermOperator*)', 'glslang::TFunction::~TFunction()', 'glslang::HlslParseContext::handleFunctionArgument(glslang::TFunction*, glslang::TIntermTyped*&, glslang::TIntermTyped*)', 'std::__1::vector >::operator[][abi:nn180100](unsigned long)', 'glslang::TType::TType(glslang::TBasicType, glslang::TStorageQualifier, int, int, int, bool)', 'glslang::TIntermAggregate::TIntermAggregate(glslang::TOperator)', 'std::__1::function ::function (glslang::HlslParseContext::findFunction(glslang::TSourceLoc const&, glslang::TFunction&, bool&, int&, glslang::TIntermTyped*&)::$_1)', 'std::__1::vector >::size[abi:nn180100]() const', 'glslang::TIntermUnary::TIntermUnary(glslang::TOperator)', 'std::__1::function ::~function()', 'glslang::TType::operator new(unsigned long)', 'glslang::TParseContextBase::selectFunction(glslang::TVector , glslang::TFunction const&, std::__1::function , std::__1::function , bool&)', 'glslang::TFunction::TFunction(std::__1::basic_string , glslang::pool_allocator > const*, glslang::TType const&, glslang::TOperator)', 'std::__1::function ::~function()', 'bool std::__1::operator==[abi:nn180100] >(std::__1::basic_string , glslang::pool_allocator > const&, std::__1::basic_string , glslang::pool_allocator > const&)']

522 1837 glslang::HlslParseContext::findFunction(glslang::TSourceLocconst&,glslang::TFunction&,bool&,int&,glslang::TIntermTyped*&) call site: 00000 /src/glslang/glslang/HLSL/hlslParseHelper.cpp:7743
327 327 2 :

['glslang::HlslParseContext::flatten(glslang::TVariable const&, bool, bool)', 'glslang::TSymbolTable::atGlobalLevel()']

329 2704 glslang::HlslParseContext::declareVariable(glslang::TSourceLocconst&,std::__1::basic_string ,glslang::pool_allocator >const&,glslang::TType&,glslang::TIntermTyped*) call site: 00000 /src/glslang/glslang/HLSL/hlslParseHelper.cpp:8038
316 316 3 :

['_ZNSt3__112basic_stringIcNS_11char_traitsIcEEN7glslang14pool_allocatorIcEEEC2B8nn180100ILi0EEEPKc', 'glslang::TType::getCompleteString(bool, bool, bool, bool, std::__1::basic_string , glslang::pool_allocator >, std::__1::basic_string , glslang::pool_allocator >) const', 'std::__1::basic_string , glslang::pool_allocator >::append[abi:nn180100](std::__1::basic_string , glslang::pool_allocator > const&)']

531 728 glslang::TParseContext::constructorError(glslang::TSourceLocconst&,TIntermNode*,glslang::TFunction&,glslang::TOperator,glslang::TType&) call site: 00000 /src/glslang/glslang/MachineIndependent/ParseHelper.cpp:3896
316 316 4 :

['_ZNSt3__112basic_stringIcNS_11char_traitsIcEEN7glslang14pool_allocatorIcEEEC2B8nn180100ILi0EEEPKc', 'std::__1::basic_string , glslang::pool_allocator >::~basic_string()', 'glslang::TType::getCompleteString(bool, bool, bool, bool, std::__1::basic_string , glslang::pool_allocator >, std::__1::basic_string , glslang::pool_allocator >) const', 'std::__1::basic_string , glslang::pool_allocator >::c_str[abi:nn180100]() const']

318 318 glslang::HlslParseContext::handleFunctionCall(glslang::TSourceLocconst&,glslang::TFunction*,glslang::TIntermTyped*) call site: 00000 /src/glslang/glslang/HLSL/hlslParseHelper.cpp:5498
278 278 5 :

['glslang::TIntermediate::addUsedLocation(glslang::TQualifier const&, glslang::TType const&, bool&)', 'glslang::TType::getBasicTypeString() const', 'glslang::TQualifier::isTaskMemory() const', 'glslang::TQualifier::hasLocation() const', 'glslang::TQualifier::hasComponent() const']

432 673 glslang::TParseContext::layoutTypeCheck(glslang::TSourceLocconst&,glslang::TTypeconst&) call site: 00000 /src/glslang/glslang/MachineIndependent/ParseHelper.cpp:7111
190 261 5 :

['glslang::TParseContext::arrayLimitCheck(glslang::TSourceLoc const&, std::__1::basic_string , glslang::pool_allocator > const&, int)', 'glslang::TType::sameInnerArrayness(glslang::TType const&) const', 'glslang::TType::sameElementType(glslang::TType const&, int*, int*) const', 'std::__1::basic_string , glslang::pool_allocator >::c_str[abi:nn180100]() const', 'glslang::TType::updateArraySizes(glslang::TType const&)']

190 340 glslang::TParseContext::declareArray(glslang::TSourceLocconst&,std::__1::basic_string ,glslang::pool_allocator >const&,glslang::TTypeconst&,glslang::TSymbol*&) call site: 00000 /src/glslang/glslang/MachineIndependent/ParseHelper.cpp:5181
151 151 12 :

['std::__1::operator!=[abi:nn180100](std::__1::__list_const_iterator const&, std::__1::__list_const_iterator const&)', 'glslang::TSourceLoc::init()', 'glslang::TAttributeArgs::getInt(int&, int) const', 'std::__1::basic_string , glslang::pool_allocator >::~basic_string()', 'std::__1::__list_const_iterator ::operator++[abi:nn180100]()', 'glslang::TAttributeArgs::getString(std::__1::basic_string , glslang::pool_allocator >&, int, bool) const', 'std::__1::list >::begin[abi:nn180100]() const', 'glslang::HlslParseContext::setSpecConstantId(glslang::TSourceLoc const&, glslang::TQualifier&, int)', 'std::__1::list >::end[abi:nn180100]() const', 'std::__1::__list_const_iterator ::operator->[abi:nn180100]() const', 'bool std::__1::operator==[abi:nn180100] , glslang::pool_allocator >(std::__1::basic_string , glslang::pool_allocator > const&, char const*)', 'std::__1::basic_string , glslang::pool_allocator >::basic_string[abi:nn180100]()']

151 151 glslang::HlslParseContext::transferTypeAttributes(glslang::TSourceLocconst&,glslang::TList const&,glslang::TType&,bool) call site: 00000 /src/glslang/glslang/HLSL/hlslParseHelper.cpp:1911
132 132 3 :

['glslang::ProfileName(EProfile)', 'glslang::TInfoSinkBase::operator<<(char const*)', 'glslang::TInfoSinkBase::operator<<(int)']

237 1757 bool(anonymousnamespace)::ProcessDeferred<(anonymousnamespace)::DoFullParse>(TCompiler*,charconst*const*,int,intconst*,charconst*const*,charconst*,EShOptimizationLevel,TBuiltInResourceconst*,int,EProfile,bool,int,bool,EShMessages,glslang::TIntermediate&,(anonymousnamespace)::DoFullParse&,bool,glslang::TShader::Includer&,std::__1::basic_string ,std::__1::allocator >,glslang::TEnvironmentconst*,bool) call site: 00000 /src/glslang/glslang/MachineIndependent/ShaderLang.cpp:881
129 129 7 :

['std::__1::vector >::size[abi:nn180100]() const', 'glslang::TQualifier::hasAnyLocation() const', 'glslang::TIntermediate::computeTypeLocationSize(glslang::TType const&, EShLanguage)', 'std::__1::vector >::operator[][abi:nn180100](unsigned long)', 'glslang::TQualifier::hasIndex() const', 'glslang::TQualifier::hasComponent() const', 'glslang::TQualifier::hasLocation() const']

129 129 glslang::TParseContext::fixBlockLocations(glslang::TSourceLocconst&,glslang::TQualifier&,glslang::TVector &,bool,bool) call site: 00000 /src/glslang/glslang/MachineIndependent/ParseHelper.cpp:10105
92 295 4 :

['glslang::TType::TType(glslang::TType const&, int, bool)', 'glslang::TIntermediate::addIndex(glslang::TOperator, glslang::TIntermTyped*, glslang::TIntermTyped*, glslang::TSourceLoc const&)', 'glslang::TIntermediate::addConstantUnion(int, glslang::TSourceLoc const&, bool) const', 'glslang::TType::~TType()']

92 1767 glslang::HlslParseContext::handleAssign(glslang::TSourceLocconst&,glslang::TOperator,glslang::TIntermTyped*,glslang::TIntermTyped*) call site: 00000 /src/glslang/glslang/HLSL/hlslParseHelper.cpp:2901
90 90 1 :

['glslang::TType::TType(glslang::TType const&, int, bool)']

96 9833 glslang::HlslParseContext::addConstructor(glslang::TSourceLocconst&,glslang::TIntermTyped*,glslang::TTypeconst&) call site: 00000 /src/glslang/glslang/HLSL/hlslParseHelper.cpp:8458

Runtime coverage analysis

Covered functions
636
Functions that are reachable but not covered
340
Reachable functions
508
Percentage of reachable functions covered
33.07%
NB: The sum of covered functions and functions that are reachable but not covered need not be equal to Reachable functions . This is because the reachability analysis is an approximation and thus at runtime some functions may be covered that are not included in the reachability analysis. This is a limitation of our static analysis capabilities.
Warning: The number of covered functions are larger than the number of reachable functions. This means that there are more functions covered at runtime than are extracted using static analysis. This is likely a result of the static analysis component failing to extract the right call graph or the coverage runtime being compiled with sanitizers in code that the static analysis has not analysed. This can happen if lto/gold is not used in all places that coverage instrumentation is used.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/compile_fuzzer.cc 1
/src/glslang/glslang/MachineIndependent/ShaderLang.cpp 29
/src/glslang/glslang/MachineIndependent/PoolAlloc.cpp 7
/src/glslang/glslang/MachineIndependent/../Include/InfoSink.h 11
/src/glslang/glslang/MachineIndependent/../Include/ShHandle.h 3
/src/glslang/glslang/MachineIndependent/localintermediate.h 29
/src/glslang/glslang/MachineIndependent/../Include/../Public/../MachineIndependent/Versions.h 2
/src/glslang/glslang/ResourceLimits/ResourceLimits.cpp 1
/src/glslang/glslang/../glslang/Public/ShaderLang.h 6
/src/glslang/glslang/MachineIndependent/../Include/PoolAlloc.h 6
/src/glslang/glslang/MachineIndependent/Scan.h 6
/src/glslang/glslang/MachineIndependent/../Include/Common.h 32
/src/glslang/glslang/MachineIndependent/InfoSink.cpp 3
/src/glslang/glslang/MachineIndependent/Scan.cpp 4
/src/glslang/glslang/MachineIndependent/SymbolTable.h 25
/src/glslang/glslang/MachineIndependent/../HLSL/../MachineIndependent/Initialize.h 1
/src/glslang/glslang/MachineIndependent/Initialize.cpp 2
/src/glslang/glslang/MachineIndependent/../HLSL/hlslParseables.h 1
/src/glslang/glslang/HLSL/hlslParseables.cpp 1
/src/glslang/glslang/MachineIndependent/ParseHelper.cpp 3
/src/glslang/glslang/MachineIndependent/ParseHelper.h 10
/src/glslang/glslang/MachineIndependent/parseVersions.h 4
/src/glslang/glslang/MachineIndependent/../Include/Types.h 25
/src/glslang/glslang/HLSL/hlslParseHelper.cpp 1
/src/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp 2
/src/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp 1
/src/glslang/glslang/MachineIndependent/preprocessor/PpContext.h 3
/src/glslang/glslang/MachineIndependent/ScanContext.h 2
/src/glslang/glslang/MachineIndependent/SymbolTable.cpp 6
/src/glslang/glslang/MachineIndependent/Versions.cpp 1
/src/glslang/glslang/MachineIndependent/Intermediate.cpp 3
/src/glslang/glslang/MachineIndependent/../Include/intermediate.h 4
/src/glslang/glslang/MachineIndependent/propagateNoContraction.cpp 14
/src/glslang/glslang/MachineIndependent/intermOut.cpp 3

Analyses and suggestions

Optimal target analysis

Remaining optimal interesting functions

The following table shows a list of functions that are optimal targets. Optimal targets are identified by finding the functions that in combination, yield a high code coverage.

Func name Functions filename Arg count Args Function depth hitcount instr count bb count cyclomatic complexity Reachable functions Incoming references total cyclomatic complexity Unreached complexity
glslang::TParseContext::parseShaderStrings(glslang::TPpContext&,glslang::TInputScanner&,bool) /src/glslang/glslang/MachineIndependent/ParseHelper.cpp 4 ['N/A', 'N/A', 'N/A', 'bool'] 28 0 29 3 2 2139 0 7933 7708
glslang::HlslGrammar::acceptDeclaration(TIntermNode*&) /src/glslang/glslang/HLSL/hlslGrammar.cpp 2 ['N/A', 'N/A'] 89 0 652 119 47 1864 52 5644 2666
glslang::TProgram::link(EShMessages) /src/glslang/glslang/MachineIndependent/ShaderLang.cpp 2 ['N/A', 'int'] 11 0 488 95 34 615 0 1559 747
glslang::TBuiltIns::initialize(int,EProfile,glslang::SpvVersionconst&) /src/glslang/glslang/MachineIndependent/Initialize.cpp 4 ['N/A', 'int', 'int', 'N/A'] 4 0 3561 684 264 78 0 749 692
glslang::TPpContext::TokenizableIncludeFile::scan(glslang::TPpToken*) /src/glslang/glslang/MachineIndependent/preprocessor/PpContext.h 2 ['N/A', 'N/A'] 8 0 15 3 2 53 0 425 348
glslang::TIntermConstantUnion::fold(glslang::TOperator,glslang::TIntermTypedconst*)const /src/glslang/glslang/MachineIndependent/Constant.cpp 3 ['N/A', 'int', 'N/A'] 8 0 1570 232 69 195 0 559 320
glslang::TBuiltIns::identifyBuiltIns(int,EProfile,glslang::SpvVersionconst&,EShLanguage,glslang::TSymbolTable&) /src/glslang/glslang/MachineIndependent/Initialize.cpp 6 ['N/A', 'int', 'int', 'N/A', 'int', 'N/A'] 4 0 3787 575 216 52 0 308 278

Implementing fuzzers that target the above functions will improve reachability such that it becomes:

Functions statically reachable by fuzzers
54.0%
1732 / 3222
Cyclomatic complexity statically reachable by fuzzers
72.0%
13754 / 19159

All functions overview

If you implement fuzzers for these functions, the status of all functions in the project will be:

Func name Functions filename Args Function call depth Reached by Fuzzers Runtime reached by Fuzzers Combined reached by Fuzzers Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

Fuzz engine guidance

This sections provides heuristics that can be used as input to a fuzz engine when running a given fuzz target. The current focus is on providing input that is usable by libFuzzer.

/src/compile_fuzzer.cc

Dictionary

Use this with the libFuzzer -dict=DICT.file flag


Fuzzer function priority

Use one of these functions as input to libfuzzer with flag: -focus_function name

-focus_function=['glslang::TInfoSinkBase::append(std::__1::basic_string, std::__1::allocator > const&)', 'glslang::HlslParseContext::HlslParseContext(glslang::TSymbolTable&, glslang::TIntermediate&, bool, int, EProfile, glslang::SpvVersion const&, EShLanguage, TInfoSink&, std::__1::basic_string, glslang::pool_allocator >, bool, EShMessages)', 'glslang::TSymbolTableLevel::clone() const', 'glslang::TParseContext::TParseContext(glslang::TSymbolTable&, glslang::TIntermediate&, bool, int, EProfile, glslang::SpvVersion const&, EShLanguage, TInfoSink&, bool, EShMessages, std::__1::basic_string, glslang::pool_allocator > const*)', 'glslang::TInfoSinkBase::append(std::__1::basic_string, glslang::pool_allocator > const&)', '(anonymous namespace)::InitializeSymbolTable(std::__1::basic_string, glslang::pool_allocator > const&, int, EProfile, glslang::SpvVersion const&, EShLanguage, glslang::EShSource, TInfoSink&, glslang::TSymbolTable&)', '(anonymous namespace)::isPreciseObjectNode(glslang::TIntermTyped*)', 'glslang::TInputScanner::scanVersion(int&, EProfile&, bool&)', '(anonymous namespace)::SetupBuiltinSymbolTable(int, EProfile, glslang::SpvVersion const&, glslang::EShSource)', '(anonymous namespace)::DoFullParse::operator()(glslang::TParseContextBase&, glslang::TPpContext&, glslang::TInputScanner&, bool, glslang::TSymbolTable&, glslang::TIntermediate&, EShOptimizationLevel, EShMessages)']

Runtime coverage analysis

This section shows analysis of runtime coverage data.

For futher technical details on how this section is generated, please see the Glossary .

Complex functions with low coverage

Func name Function total lines Lines covered at runtime percentage covered Reached by fuzzers
glslang::HlslGrammar::acceptSamplerState() 63 3 4.761% ['compile_fuzzer']
glslang::HlslGrammar::acceptPreQualifier(glslang::TQualifier&) 97 12 12.37% ['compile_fuzzer']
glslang::HlslGrammar::acceptType(glslang::TType&,TIntermNode*&) 839 376 44.81% ['compile_fuzzer']
glslang::HlslGrammar::acceptStatement(TIntermNode*&) 31 15 48.38% ['compile_fuzzer']
glslang::HlslGrammar::acceptIterationStatement(TIntermNode*&,glslang::TList const&) 88 42 47.72% ['compile_fuzzer']
glslang::HlslGrammar::acceptPostDecls(glslang::TQualifier&) 90 9 10.0% ['compile_fuzzer']
glslang::HlslGrammar::getTypeString(glslang::EHlslTokenClass)const 35 7 20.0% ['compile_fuzzer']
glslang::HlslOpMap::precedenceLevel(glslang::TOperator) 36 17 47.22% ['compile_fuzzer']
glslang::HlslParseContext::handleLvalue(glslang::TSourceLocconst&,charconst*,glslang::TIntermTyped*&) 169 15 8.875% ['compile_fuzzer']
glslang::HlslParseContext::handleDotDereference(glslang::TSourceLocconst&,glslang::TIntermTyped*,std::__1::basic_string ,glslang::pool_allocator >const&) 115 17 14.78% ['compile_fuzzer']
glslang::HlslParseContext::handleFunctionDefinition(glslang::TSourceLocconst&,glslang::TFunction&,glslang::TList const&,TIntermNode*&) 55 22 40.0% ['compile_fuzzer']
glslang::HlslParseContext::transferTypeAttributes(glslang::TSourceLocconst&,glslang::TList const&,glslang::TType&,bool) 105 3 2.857% ['compile_fuzzer']
glslang::HlslParseContext::transformEntryPoint(glslang::TSourceLocconst&,glslang::TFunction&,glslang::TList const&) 148 13 8.783% ['compile_fuzzer']
glslang::HlslParseContext::handleAssign(glslang::TSourceLocconst&,glslang::TOperator,glslang::TIntermTyped*,glslang::TIntermTyped*) 254 37 14.56% ['compile_fuzzer']
glslang::HlslParseContext::handleFunctionCall(glslang::TSourceLocconst&,glslang::TFunction*,glslang::TIntermTyped*) 103 30 29.12% ['compile_fuzzer']
glslang::HlslParseContext::constructorError(glslang::TSourceLocconst&,TIntermNode*,glslang::TFunction&,glslang::TOperator,glslang::TType&) 143 37 25.87% ['compile_fuzzer']
glslang::HlslParseContext::executeInitializer(glslang::TSourceLocconst&,glslang::TIntermTyped*,glslang::TVariable*) 57 30 52.63% ['compile_fuzzer']
glslang::HlslParseContext::addConstructor(glslang::TSourceLocconst&,glslang::TIntermTyped*,glslang::TTypeconst&) 57 24 42.10% ['compile_fuzzer']
glslang::HlslParseContext::constructBuiltIn(glslang::TTypeconst&,glslang::TOperator,glslang::TIntermTyped*,glslang::TSourceLocconst&,bool) 119 25 21.00% ['compile_fuzzer']
glslang::HlslParseContext::setTextureReturnType(glslang::TSampler&,glslang::TTypeconst&,glslang::TSourceLocconst&) 54 7 12.96% ['compile_fuzzer']
glslang::HlslParseContext::addPatchConstantInvocation() 218 5 2.293% ['compile_fuzzer']
glslang::TIntermConstantUnion::fold(glslang::TOperator,glslang::TIntermTypedconst*)const 254 48 18.89% ['compile_fuzzer']
glslang::TIntermConstantUnion::fold(glslang::TOperator,glslang::TTypeconst&)const 442 46 10.40% ['compile_fuzzer']
glslang::TIntermediate::fold(glslang::TIntermAggregate*) 329 13 3.951% ['compile_fuzzer']
glslang::TBuiltIns::identifyBuiltIns(int,EProfile,glslang::SpvVersionconst&,EShLanguage,glslang::TSymbolTable&,TBuiltInResourceconst&) 55 13 23.63% ['compile_fuzzer']
glslang::TIntermediate::addBinaryMath(glslang::TOperator,glslang::TIntermTyped*,glslang::TIntermTyped*,glslang::TSourceLocconst&) 69 32 46.37% ['compile_fuzzer']
glslang::TIntermediate::addUniShapeConversion(glslang::TOperator,glslang::TTypeconst&,glslang::TIntermTyped*) 33 16 48.48% ['compile_fuzzer']
glslang::TIntermediate::addShapeConversion(glslang::TTypeconst&,glslang::TIntermTyped*) 49 11 22.44% ['compile_fuzzer']
glslang::TIntermediate::isIntegralConversion(glslang::TBasicType,glslang::TBasicType)const 78 20 25.64% ['compile_fuzzer']
glslang::TIntermediate::isFPIntegralConversion(glslang::TBasicType,glslang::TBasicType)const 36 16 44.44% ['compile_fuzzer']
glslang::TIntermediate::canImplicitlyPromote(glslang::TBasicType,glslang::TBasicType,glslang::TOperator)const 222 65 29.27% ['compile_fuzzer']
glslang::TIntermediate::mapTypeToConstructorOp(glslang::TTypeconst&)const 340 70 20.58% ['compile_fuzzer']
glslang::TIntermediate::traverseLValueBase(glslang::TIntermTypedconst*,bool,bool,std::__1::function ) 31 8 25.80% ['compile_fuzzer']
glslang::TIntermediate::promoteBinary(glslang::TIntermBinary&) 361 116 32.13% ['compile_fuzzer']
glslang::TIntermTyped::propagatePrecision(glslang::TPrecisionQualifier) 40 15 37.5% ['compile_fuzzer']
glslang::canSignedIntTypeRepresentAllUnsignedValues(glslang::TBasicType,glslang::TBasicType) 57 9 15.78% ['compile_fuzzer']
glslang::TParseContextBase::lValueErrorCheck(glslang::TSourceLocconst&,charconst*,glslang::TIntermTyped*) 81 39 48.14% ['compile_fuzzer']
glslang::TParseContextBase::rValueErrorCheck(glslang::TSourceLocconst&,charconst*,glslang::TIntermTyped*) 34 14 41.17% ['compile_fuzzer']
glslang::TParseContextBase::selectFunction(glslang::TVector ,glslang::TFunctionconst&,std::__1::function ,std::__1::function ,bool&) 66 6 9.090% ['compile_fuzzer']
glslang::TParseContextBase::parseSwizzleSelector(glslang::TSourceLocconst&,std::__1::basic_string ,glslang::pool_allocator >const&,int,glslang::TSwizzleSelectors &) 79 25 31.64% ['compile_fuzzer']
glslang::TParseContext::handlePragma(glslang::TSourceLocconst&,glslang::TVector ,glslang::pool_allocator >>const&) 96 14 14.58% ['compile_fuzzer']
glslang::TParseContext::handleVariable(glslang::TSourceLocconst&,glslang::TSymbol*,std::__1::basic_string ,glslang::pool_allocator >const*) 65 35 53.84% ['compile_fuzzer']
glslang::TParseContext::handleDotDereference(glslang::TSourceLocconst&,glslang::TIntermTyped*,std::__1::basic_string ,glslang::pool_allocator >const&) 82 14 17.07% ['compile_fuzzer']
glslang::TParseContext::handleDotSwizzle(glslang::TSourceLocconst&,glslang::TIntermTyped*,std::__1::basic_string ,glslang::pool_allocator >const&) 42 21 50.0% ['compile_fuzzer']
glslang::TParseContext::handleFunctionDefinition(glslang::TSourceLocconst&,glslang::TFunction&) 54 25 46.29% ['compile_fuzzer']
glslang::TParseContext::handleFunctionCall(glslang::TSourceLocconst&,glslang::TFunction*,TIntermNode*) 154 21 13.63% ['compile_fuzzer']
glslang::TParseContext::lValueErrorCheck(glslang::TSourceLocconst&,charconst*,glslang::TIntermTyped*) 86 19 22.09% ['compile_fuzzer']
glslang::TParseContext::constructorError(glslang::TSourceLocconst&,TIntermNode*,glslang::TFunction&,glslang::TOperator,glslang::TType&) 301 102 33.88% ['compile_fuzzer']
glslang::TParseContext::samplerCheck(glslang::TSourceLocconst&,glslang::TTypeconst&,std::__1::basic_string ,glslang::pool_allocator >const&,glslang::TIntermTyped*) 42 9 21.42% ['compile_fuzzer']
glslang::TParseContext::arraySizeCheck(glslang::TSourceLocconst&,glslang::TIntermTyped*,glslang::TArraySize&,charconst*,bool) 50 16 32.0% ['compile_fuzzer']
glslang::TParseContext::arraySizesCheck(glslang::TSourceLocconst&,glslang::TQualifierconst&,glslang::TArraySizes*,glslang::TIntermTypedconst*,bool) 52 4 7.692% ['compile_fuzzer']
glslang::TParseContext::declareArray(glslang::TSourceLocconst&,std::__1::basic_string ,glslang::pool_allocator >const&,glslang::TTypeconst&,glslang::TSymbol*&) 55 13 23.63% ['compile_fuzzer']
glslang::TParseContext::redeclareBuiltinVariable(glslang::TSourceLocconst&,std::__1::basic_string ,glslang::pool_allocator >const&,glslang::TQualifierconst&,glslang::TShaderQualifiersconst&) 142 8 5.633% ['compile_fuzzer']
glslang::TParseContext::finish() 50 11 22.0% ['compile_fuzzer']
glslang::TParseContext::layoutObjectCheck(glslang::TSourceLocconst&,glslang::TSymbolconst&) 69 10 14.49% ['compile_fuzzer']
glslang::TParseContext::layoutTypeCheck(glslang::TSourceLocconst&,glslang::TTypeconst&) 208 29 13.94% ['compile_fuzzer']
glslang::TParseContext::layoutQualifierCheck(glslang::TSourceLocconst&,glslang::TQualifierconst&) 115 18 15.65% ['compile_fuzzer']
glslang::TParseContext::checkNoShaderLayouts(glslang::TSourceLocconst&,glslang::TShaderQualifiersconst&) 59 27 45.76% ['compile_fuzzer']
glslang::TParseContext::findFunction120(glslang::TSourceLocconst&,glslang::TFunctionconst&,bool&) 42 11 26.19% ['compile_fuzzer']
glslang::TParseContext::typeParametersCheck(glslang::TSourceLocconst&,glslang::TPublicTypeconst&) 89 8 8.988% ['compile_fuzzer']
glslang::TParseContext::declareVariable(glslang::TSourceLocconst&,std::__1::basic_string ,glslang::pool_allocator >&,glslang::TPublicTypeconst&,glslang::TArraySizes*,glslang::TIntermTyped*) 180 73 40.55% ['compile_fuzzer']
glslang::TParseContext::executeInitializer(glslang::TSourceLocconst&,glslang::TIntermTyped*,glslang::TVariable*) 112 39 34.82% ['compile_fuzzer']
glslang::TParseContext::convertInitializerList(glslang::TSourceLocconst&,glslang::TTypeconst&,glslang::TIntermTyped*) 69 4 5.797% ['compile_fuzzer']
glslang::TParseContext::constructBuiltIn(glslang::TTypeconst&,glslang::TOperator,glslang::TIntermTyped*,glslang::TSourceLocconst&,bool) 309 39 12.62% ['compile_fuzzer']
glslang::TParseContext::declareBlock(glslang::TSourceLocconst&,glslang::TVector &,std::__1::basic_string ,glslang::pool_allocator >const*,glslang::TArraySizes*) 206 112 54.36% ['compile_fuzzer']
glslang::TParseContext::blockStageIoCheck(glslang::TSourceLocconst&,glslang::TQualifierconst&) 74 20 27.02% ['compile_fuzzer']
glslang::TParseContext::fixBlockLocations(glslang::TSourceLocconst&,glslang::TQualifier&,glslang::TVector &,bool,bool) 31 6 19.35% ['compile_fuzzer']
glslang::TParseContext::fixBlockUniformOffsets(glslang::TQualifier&,glslang::TVector &) 33 3 9.090% ['compile_fuzzer']
glslang::TParseContext::fixBlockUniformLayoutMatrix(glslang::TQualifier&,glslang::TVector *,glslang::TVector *) 39 7 17.94% ['compile_fuzzer']
glslang::TParseContext::fixBlockUniformLayoutPacking(glslang::TQualifier&,glslang::TVector *,glslang::TVector *) 31 7 22.58% ['compile_fuzzer']
(anonymousnamespace)::TranslateEnvironment(glslang::TEnvironmentconst*,EShMessages&,glslang::EShSource&,EShLanguage&,glslang::SpvVersion&) 57 18 31.57% ['compile_fuzzer']
(anonymousnamespace)::DeduceVersionProfile(TInfoSink&,EShLanguage,bool,int,glslang::EShSource,int&,EProfile&,glslang::SpvVersionconst&) 162 70 43.20% ['compile_fuzzer']
glslang::TParseVersions::updateExtensionBehavior(int,charconst*,charconst*) 103 47 45.63% ['compile_fuzzer']
glslang::TPpContext::CPPversion(glslang::TPpToken*) 37 15 40.54% ['compile_fuzzer']
glslang::TPpContext::characterLiteral(glslang::TPpToken*) 58 26 44.82% ['compile_fuzzer']
glslang::PropagateNoContraction(glslang::TIntermediateconst&) 34 12 35.29% ['compile_fuzzer']

Files and Directories in report

This section shows which files and directories are considered in this report. The main reason for showing this is fuzz introspector may include more code in the reasoning than is desired. This section helps identify if too many files/directories are included, e.g. third party code, which may be irrelevant for the threat model. In the event too much is included, fuzz introspector supports a configuration file that can exclude data from the report. See the following link for more information on how to create a config file: link

Files in report

Source file Reached by Covered by
[] []
/src/glslang/glslang/HLSL/hlslGrammar.h [] []
/src/glslang/glslang/MachineIndependent/../Include/ConstantUnion.h [] []
/src/glslang/glslang/MachineIndependent/span.h [] []
/src/glslang/glslang/MachineIndependent/../Include/Types.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/localintermediate.h ['compile_fuzzer'] ['compile_fuzzer']
/usr/include/stdlib.h [] []
/src/glslang/glslang/GenericCodeGen/CodeGen.cpp [] []
/src/glslang/glslang/MachineIndependent/../HLSL/../MachineIndependent/Initialize.h ['compile_fuzzer'] []
/src/glslang/glslang/HLSL/hlslParseHelper.cpp ['compile_fuzzer'] ['compile_fuzzer']
/usr/local/bin/../include/c++/v1/variant [] []
/src/glslang/glslang/MachineIndependent/reflection.cpp [] []
/src/glslang/glslang/MachineIndependent/iomapper.cpp [] []
/src/glslang/glslang/MachineIndependent/parseVersions.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/ParseContextBase.cpp [] []
/src/glslang/glslang/HLSL/hlslGrammar.cpp [] []
/src/glslang/glslang/MachineIndependent/intermOut.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/ResourceLimits/ResourceLimits.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/../Include/SpirvIntrinsics.h [] []
/src/glslang/glslang/MachineIndependent/propagateNoContraction.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/HLSL/hlslParseHelper.h [] []
/src/glslang/glslang/MachineIndependent/linkValidate.cpp [] []
/src/glslang/glslang/MachineIndependent/Versions.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/../Include/intermediate.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/IntermTraverse.cpp [] []
/src/glslang/glslang/HLSL/hlslAttributes.h [] []
/src/glslang/glslang/HLSL/hlslAttributes.cpp [] []
/src/glslang/glslang/MachineIndependent/preprocessor/Pp.cpp [] []
/src/glslang/glslang/MachineIndependent/ShaderLang.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/Scan.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/LiveTraverser.h [] []
/usr/include/ctype.h [] []
/src/compile_fuzzer.cc ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/reflection.h [] []
/src/glslang/glslang/MachineIndependent/ParseHelper.h ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/Intermediate.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/preprocessor/PpScanner.cpp [] []
/src/glslang/glslang/MachineIndependent/preprocessor/PpAtom.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/Constant.cpp [] []
/src/glslang/glslang/MachineIndependent/SymbolTable.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/../Include/../Public/../MachineIndependent/Versions.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/../Include/../Public/ShaderLang.h [] []
/src/glslang/glslang/HLSL/hlslTokenStream.cpp [] []
/src/glslang/glslang/MachineIndependent/ParseHelper.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/RemoveTree.cpp [] []
/src/glslang/glslang/MachineIndependent/../Include/arrays.h [] []
/src/glslang/glslang/HLSL/hlslParseables.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/SymbolTable.h ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/../HLSL/hlslParseables.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/../Include/../Include/BaseTypes.h [] []
/src/glslang/glslang/HLSL/hlslTokenStream.h [] []
/src/glslang/glslang/MachineIndependent/../Include/InfoSink.h ['compile_fuzzer'] []
/src/glslang/glslang/GenericCodeGen/Link.cpp [] []
/src/glslang/glslang/HLSL/hlslParseables.h [] []
/src/glslang/glslang/../glslang/Public/ShaderLang.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/Initialize.h [] []
/src/glslang/build/glslang/MachineIndependent/glslang_tab.cpp [] []
/src/glslang/glslang/MachineIndependent/attribute.cpp [] []
/src/glslang/glslang/MachineIndependent/preprocessor/PpTokens.cpp [] []
/src/glslang/glslang/MachineIndependent/../Include/ShHandle.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/../Include/Common.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/limits.cpp [] []
/src/glslang/glslang/MachineIndependent/preprocessor/PpContext.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/HLSL/hlslOpMap.cpp [] []
/src/glslang/glslang/MachineIndependent/ScanContext.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/../Include/PoolAlloc.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/parseConst.cpp [] []
/src/glslang/glslang/MachineIndependent/PoolAlloc.cpp ['compile_fuzzer'] ['compile_fuzzer']
/usr/local/bin/../include/c++/v1/string [] []
/src/glslang/glslang/MachineIndependent/Initialize.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/HLSL/hlslScanContext.h [] []
/src/glslang/glslang/HLSL/hlslScanContext.cpp [] []
/src/glslang/glslang/MachineIndependent/preprocessor/PpContext.h ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/InfoSink.cpp ['compile_fuzzer'] ['compile_fuzzer']
/src/glslang/glslang/MachineIndependent/Scan.h ['compile_fuzzer'] []
/src/glslang/glslang/MachineIndependent/SpirvIntrinsics.cpp [] []
/src/glslang/glslang/HLSL/../MachineIndependent/Initialize.h [] []
/src/glslang/glslang/MachineIndependent/iomapper.h [] []

Directories in report

Directory
/src/glslang/build/glslang/MachineIndependent/
/src/glslang/glslang/MachineIndependent/
/src/glslang/glslang/HLSL/
/src/glslang/glslang/HLSL/../MachineIndependent/
/usr/local/bin/../include/c++/v1/
/src/glslang/glslang/MachineIndependent/../Include/../Public/
/src/glslang/glslang/MachineIndependent/../Include/
/src/glslang/glslang/MachineIndependent/../HLSL/../MachineIndependent/
/src/glslang/glslang/MachineIndependent/../HLSL/
/src/glslang/glslang/MachineIndependent/preprocessor/
/src/glslang/glslang/../glslang/Public/
/src/
/src/glslang/glslang/GenericCodeGen/
/usr/include/
/src/glslang/glslang/ResourceLimits/
/src/glslang/glslang/MachineIndependent/../Include/../Public/../MachineIndependent/
/src/glslang/glslang/MachineIndependent/../Include/../Include/