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

Fuzzers overview

Fuzzer Fuzzer filename Functions Reached Functions unreached Fuzzer depth Files reached Basic blocks reached Cyclomatic complexity Details
xml_parsebuffer_fuzzer_UTF-16LE /src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 86 297 9 6 1351 652 xml_parsebuffer_fuzzer.c
xml_parsebuffer_fuzzer_US-ASCII /src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 86 297 9 6 1351 652 xml_parsebuffer_fuzzer.c
xml_parse_fuzzer_UTF-8 /src/expat/expat/fuzz/xml_parse_fuzzer.c 87 296 9 6 1379 660 xml_parse_fuzzer.c
xml_parse_fuzzer_UTF-16BE /src/expat/expat/fuzz/xml_parse_fuzzer.c 87 296 9 6 1379 660 xml_parse_fuzzer.c
xml_parse_fuzzer_US-ASCII /src/expat/expat/fuzz/xml_parse_fuzzer.c 87 296 9 6 1379 660 xml_parse_fuzzer.c
xml_parse_fuzzer_UTF-16 /src/expat/expat/fuzz/xml_parse_fuzzer.c 87 296 9 6 1379 660 xml_parse_fuzzer.c
xml_parsebuffer_fuzzer_UTF-16BE /src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 86 297 9 6 1351 652 xml_parsebuffer_fuzzer.c
xml_parsebuffer_fuzzer_ISO-8859-1 /src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 86 297 9 6 1351 652 xml_parsebuffer_fuzzer.c
xml_parse_fuzzer_ISO-8859-1 /src/expat/expat/fuzz/xml_parse_fuzzer.c 87 296 9 6 1379 660 xml_parse_fuzzer.c
xml_parse_fuzzer_UTF-16LE /src/expat/expat/fuzz/xml_parse_fuzzer.c 87 296 9 6 1379 660 xml_parse_fuzzer.c
xml_parsebuffer_fuzzer_UTF-16 /src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 86 297 9 6 1351 652 xml_parsebuffer_fuzzer.c
xml_parsebuffer_fuzzer_UTF-8 /src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 86 297 9 6 1351 652 xml_parsebuffer_fuzzer.c
xml_lpm_fuzzer /src/expat/expat/fuzz/xml_lpm_fuzzer.cpp 862 1156 17 48 2569 1632 xml_lpm_fuzzer.cpp

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: xml_parsebuffer_fuzzer_UTF-16LE

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 29 15.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.8%
All colors 191 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00072 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
279
Functions that are reachable but not covered
16
Reachable functions
86
Percentage of reachable functions covered
81.4%
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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 57
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parsebuffer_fuzzer_US-ASCII

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 29 15.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.8%
All colors 191 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00072 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
279
Functions that are reachable but not covered
16
Reachable functions
86
Percentage of reachable functions covered
81.4%
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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 57
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parse_fuzzer_UTF-8

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 30 15.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.3%
All colors 192 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00070 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
280
Functions that are reachable but not covered
16
Reachable functions
87
Percentage of reachable functions covered
81.61%
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/expat/expat/fuzz/xml_parse_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 58
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parse_fuzzer_UTF-16BE

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 30 15.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.3%
All colors 192 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00070 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
280
Functions that are reachable but not covered
16
Reachable functions
87
Percentage of reachable functions covered
81.61%
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/expat/expat/fuzz/xml_parse_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 58
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parse_fuzzer_US-ASCII

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 30 15.6%
gold [1:9] 0 0.0%
yellow [10:29] 1 0.52%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 161 83.8%
All colors 192 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00070 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
280
Functions that are reachable but not covered
16
Reachable functions
87
Percentage of reachable functions covered
81.61%
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/expat/expat/fuzz/xml_parse_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 58
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parse_fuzzer_UTF-16

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 30 15.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.3%
All colors 192 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00070 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
280
Functions that are reachable but not covered
16
Reachable functions
87
Percentage of reachable functions covered
81.61%
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/expat/expat/fuzz/xml_parse_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 58
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parsebuffer_fuzzer_UTF-16BE

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 29 15.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.52%
lawngreen 50+ 161 84.2%
All colors 191 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00072 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
279
Functions that are reachable but not covered
16
Reachable functions
86
Percentage of reachable functions covered
81.4%
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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 57
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parsebuffer_fuzzer_ISO-8859-1

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 29 15.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.8%
All colors 191 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00072 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
279
Functions that are reachable but not covered
16
Reachable functions
86
Percentage of reachable functions covered
81.4%
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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 57
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parse_fuzzer_ISO-8859-1

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 30 15.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.3%
All colors 192 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00070 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
280
Functions that are reachable but not covered
16
Reachable functions
87
Percentage of reachable functions covered
81.61%
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/expat/expat/fuzz/xml_parse_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 58
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parse_fuzzer_UTF-16LE

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 30 15.6%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.52%
lawngreen 50+ 161 83.8%
All colors 192 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00070 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
280
Functions that are reachable but not covered
16
Reachable functions
87
Percentage of reachable functions covered
81.61%
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/expat/expat/fuzz/xml_parse_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 58
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parsebuffer_fuzzer_UTF-16

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 29 15.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 162 84.8%
All colors 191 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00072 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
279
Functions that are reachable but not covered
16
Reachable functions
86
Percentage of reachable functions covered
81.4%
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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 57
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_parsebuffer_fuzzer_UTF-8

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 29 15.1%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 1 0.52%
lawngreen 50+ 161 84.2%
All colors 191 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
493 493 1 :

['entityValueInitProcessor']

493 493 externalParEntInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4647
272 286 2 :

['accountingReportStats', 'accountingReportDiff']

272 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
162 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

162 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00072 /src/expat/expat/lib/xmlparse.c:1092
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00021 /src/expat/expat/lib/xmlparse.c:8842
6 6 1 :

['reportDefault']

6 6 epilogProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:5924
6 6 1 :

['reportDefault']

6 6 doIgnoreSection call site: 00000 /src/expat/expat/lib/xmlparse.c:4427
6 6 1 :

['reportDefault']

6 6 reportProcessingInstruction call site: 00000 /src/expat/expat/lib/xmlparse.c:6709
6 6 1 :

['reportDefault']

6 6 reportComment call site: 00000 /src/expat/expat/lib/xmlparse.c:6734
2 2 1 :

['XmlSizeOfUnknownEncoding']

2 2 handleUnknownEncoding call site: 00000 /src/expat/expat/lib/xmlparse.c:4592
0 1313 1 :

['doProlog']

0 1315 internalEntityProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:6068

Runtime coverage analysis

Covered functions
279
Functions that are reachable but not covered
16
Reachable functions
86
Percentage of reachable functions covered
81.4%
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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c 5
/src/expat/expat/lib/xmlparse.c 57
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 6

Fuzzer: xml_lpm_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 586 63.9%
gold [1:9] 31 3.38%
yellow [10:29] 1 0.10%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 298 32.5%
All colors 916 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
974 974 1 :

['externalEntityContentProcessor']

974 974 cdataSectionProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4223
438 438 1 :

['entityValueProcessor']

438 438 entityValueInitProcessor call site: 00000 /src/expat/expat/lib/xmlparse.c:4693
286 286 2 :

['accountingReportStats', 'accountingReportDiff']

286 286 accountingDiffTolerated call site: 00000 /src/expat/expat/lib/xmlparse.c:8223
153 452 3 :

['dtdCopy', 'setContext', 'XML_ParserFree']

153 452 XML_ExternalEntityParserCreate call site: 00754 /src/expat/expat/lib/xmlparse.c:1581
94 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

94 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3213
94 2845 15 :

['accountingOnAbort', 'lookup', 'reportComment', 'storeAtts', 'accountingDiffTolerated', 'freeBindings', 'XmlUtf8Encode', 'processEntity', 'poolStoreString', 'reportProcessingInstruction', 'reportDefault', 'getContext', 'poolClear', 'memcmp', 'doCdataSection']

94 3561 doContent call site: 00000 /src/expat/expat/lib/xmlparse.c:3276
50 50 1 :

['generate_hash_secret_salt']

50 315 startParsing call site: 00820 /src/expat/expat/lib/xmlparse.c:1092
48 436 13 :

['protobuf_mutator::(anonymous namespace)::PostProcessing::Run(google::protobuf::Message*, int)', 'google::protobuf::Any::Clear()', 'bool std::__detail::operator!= > >, false>(std::__detail::_Node_iterator_base > >, false> const&, std::__detail::_Node_iterator_base > >, false> const&)', 'std::unique_ptr >::operator->() const', 'std::unordered_map >, std::hash , std::equal_to , std::allocator > > > >::end() const', 'std::unordered_map >, std::hash , std::equal_to , std::allocator > > > >::find(google::protobuf::Message const* const&) const', 'google::protobuf::MessageLite::SerializePartialToString(std::__cxx11::basic_string , std::allocator >*) const', 'std::unique_ptr >::get() const', 'std::__cxx11::basic_string , std::allocator >::operator=(std::__cxx11::basic_string , std::allocator >&&)', 'std::__detail::_Node_const_iterator > >, false, false>::operator->() const', 'std::__cxx11::basic_string , std::allocator >::basic_string()', 'std::__cxx11::basic_string , std::allocator >::~basic_string()', 'google::protobuf::Any::mutable_value[abi:cxx11]()']

60 448 protobuf_mutator::(anonymousnamespace)::PostProcessing::Run(google::protobuf::Message*,int) call site: 00000 /src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/mutator.cc:495
8 8 2 :

['__errno_location', 'strtoul']

8 8 getDebugLevel call site: 00627 /src/expat/expat/lib/xmlparse.c:8842
4 4 1 :

['google::protobuf::internal::GetEmptyStringAlreadyInited[abi:cxx11]()']

4 4 xml_lpm_fuzzer::Action::chunk[abi:cxx11]()const call site: 00000 /src/expat/build/xml_lpm_fuzzer.pb.h:436
4 4 1 :

['google::protobuf::internal::GetEmptyStringAlreadyInited[abi:cxx11]()']

4 4 xml_lpm_fuzzer::Action::last_chunk[abi:cxx11]()const call site: 00000 /src/expat/build/xml_lpm_fuzzer.pb.h:529
4 4 1 :

['google::protobuf::internal::GetEmptyStringAlreadyInited[abi:cxx11]()']

4 4 xml_lpm_fuzzer::Action::external_entity[abi:cxx11]()const call site: 00000 /src/expat/build/xml_lpm_fuzzer.pb.h:651

Runtime coverage analysis

Covered functions
367
Functions that are reachable but not covered
615
Reachable functions
862
Percentage of reachable functions covered
28.65%
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.
Function name source code lines source lines hit percentage hit

Files reached

filename functions hit
/src/expat/expat/fuzz/xml_lpm_fuzzer.cpp 28
/src/expat/build/xml_lpm_fuzzer.pb.cc 4
/usr/include/google/protobuf/message.h 4
/usr/include/google/protobuf/message_lite.h 4
/usr/include/google/protobuf/metadata.h 2
/usr/include/google/protobuf/metadata_lite.h 5
/usr/include/google/protobuf/generated_message_util.h 2
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/atomic 1
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/atomic_base.h 1
/usr/include/google/protobuf/repeated_field.h 18
/usr/include/google/protobuf/unknown_field_set.h 2
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/libfuzzer_macro.cc 6
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h 22
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h 9
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h 23
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h 12
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/tuple 10
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h 12
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_iterator.h 8
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/binary_format.cc 2
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/text_format.cc 2
/usr/include/google/protobuf/text_format.h 1
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/libfuzzer_mutator.h 2
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/mutator.h 2
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/random.h 7
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/random.tcc 1
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unordered_map.h 5
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/hashtable.h 17
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/hashtable_policy.h 37
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/aligned_buffer.h 4
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/std_function.h 2
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/ptr_traits.h 3
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/mutator.cc 21
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/port/protobuf.h 2
/usr/include/google/protobuf/any.pb.h 3
/usr/include/google/protobuf/arenastring.h 3
/usr/include/google/protobuf/descriptor.h 22
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_pair.h 1
/usr/include/google/protobuf/stubs/once.h 2
/usr/include/google/protobuf/descriptor.pb.h 1
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/field_instance.h 58
/src/expat/build/xml_lpm_fuzzer.pb.h 12
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc 2
/src/expat/expat/lib/xmlparse.c 71
/src/expat/expat/lib/xmlrole.c 2
/src/expat/expat/lib/xmltok_ns.c 3
/src/expat/expat/lib/xmltok.c 2
/src/expat/expat/lib/siphash.h 4

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
externalParEntInitProcessor /src/expat/expat/lib/xmlparse.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 10 0 78 8 4 69 0 1340 1102
protobuf_mutator::libfuzzer::(anonymousnamespace)::CrossOverMessages(unsignedint,protobuf_mutator::libfuzzer::(anonymousnamespace)::InputReaderconst&,protobuf_mutator::libfuzzer::(anonymousnamespace)::InputReaderconst&,protobuf_mutator::libfuzzer::(anonymousnamespace)::OutputWriter*,google::protobuf::Message*,google::protobuf::Message*) /src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/libfuzzer_macro.cc 6 ['int', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 15 0 80 8 2 1185 2 1535 878
xml_lpm_fuzzer::Testcase::MergePartialFromCodedStream(google::protobuf::io::CodedInputStream*) /src/expat/build/xml_lpm_fuzzer.pb.cc 2 ['N/A', 'N/A'] 13 0 385 64 21 233 0 383 251
normal_contentTok /src/expat/expat/lib/xmltok_impl.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 571 86 24 10 0 241 241
big2_contentTok /src/expat/expat/lib/xmltok_impl.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 6 0 629 97 27 11 0 188 188
little2_contentTok /src/expat/expat/lib/xmltok_impl.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 6 0 626 97 27 11 0 188 170
protobuf_xml_5flpm_5ffuzzer_2eproto::StaticDescriptorInitializer::StaticDescriptorInitializer() /src/expat/build/xml_lpm_fuzzer.pb.cc 1 ['N/A'] 11 0 16 3 2 72 0 122 96
normal_prologTok /src/expat/expat/lib/xmltok_impl.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 2 0 1335 206 40 7 0 155 91
XmlParseXmlDeclNS /src/expat/expat/lib/xmltok_ns.c 10 ['int', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A', 'N/A'] 3 0 52 3 2 7 0 84 72
big2_prologTok /src/expat/expat/lib/xmltok_impl.c 4 ['N/A', 'N/A', 'N/A', 'N/A'] 3 0 1299 194 33 8 0 130 70

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

Functions statically reachable by fuzzers
63.0%
956 / 1522
Cyclomatic complexity statically reachable by fuzzers
68.0%
4702 / 6884

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/expat/expat/fuzz/xml_parsebuffer_fuzzer.c

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=['XML_ParseBuffer', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c

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=['XML_ParseBuffer', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parse_fuzzer.c

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=['XML_Parse', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parse_fuzzer.c

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=['XML_Parse', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parse_fuzzer.c

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=['XML_Parse', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parse_fuzzer.c

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=['XML_Parse', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c

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=['XML_ParseBuffer', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c

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=['XML_ParseBuffer', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parse_fuzzer.c

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=['XML_Parse', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parse_fuzzer.c

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=['XML_Parse', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c

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=['XML_ParseBuffer', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c

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=['XML_ParseBuffer', 'getDebugLevel', 'parserInit', 'may_stop_character_handler', 'LLVMFuzzerTestOneInput', 'dtdCopy', 'copyEntityTable', 'XML_ExternalEntityParserCreate']

/src/expat/expat/fuzz/xml_lpm_fuzzer.cpp

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=['protobuf_mutator::ConstFieldInstance::reflection() const', 'protobuf_mutator::(anonymous namespace)::UnpackIfAny(google::protobuf::Message const&)', 'protobuf_mutator::FieldInstance::Store(protobuf_mutator::ConstFieldInstance::Enum const&) const', 'xml_lpm_fuzzer::Testcase::Testcase()', 'protobuf_mutator::Mutator::~Mutator()', 'TestOneProtoInput(xml_lpm_fuzzer::Testcase const&)', 'lookup', 'protobuf_mutator::(anonymous namespace)::UnpackIfAny(google::protobuf::Message const&)', 'XML_Parse', 'protobuf_mutator::(anonymous namespace)::CastToAny(google::protobuf::Message*)']

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
[] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.h [] []
/usr/include/google/protobuf/descriptor.pb.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/repeated_field.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/std_function.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/message_lite.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/char_traits.h [] []
/usr/include/google/protobuf/arena_impl.h [] []
/src/expat/expat/lib/xmlparse.c ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer'] ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer']
/usr/include/google/protobuf/wire_format.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/hashtable.h ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bitset [] []
/usr/include/google/protobuf/any.pb.h ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/uniform_int_dist.h [] []
/src/expat/expat/fuzz/xml_parse_fuzzer.c ['xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE'] ['xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE']
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/text_format.cc ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/include/google/protobuf/wire_format_lite_inl.h [] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/binary_format.cc ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/field_instance.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/src/expat/expat/lib/xmltok.c ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer'] ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_uninitialized.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/atomic_base.h ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/ptr_traits.h ['xml_lpm_fuzzer'] []
/src/expat/expat/lib/xmltok_impl.c [] []
/usr/include/google/protobuf/arenastring.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/iostream [] []
/usr/include/google/protobuf/stubs/once.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/src/expat/expat/fuzz/xml_parsebuffer_fuzzer.c ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8'] ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8']
/usr/include/google/protobuf/metadata.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_algobase.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/basic_string.tcc [] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/mutator.cc ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/vector.tcc ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/descriptor.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/random.h ['xml_lpm_fuzzer'] []
/src/expat/expat/fuzz/xml_lpm_fuzzer.cpp ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_construct.h [] []
/src/expat/expat/lib/xmlrole.c ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer'] ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer']
/usr/include/google/protobuf/arena.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/functional [] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/weighted_reservoir_sampler.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/type_traits.h [] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/port/protobuf.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/new_allocator.h ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unordered_map.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/generated_message_reflection.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/gthr-default.h [] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/libfuzzer_mutator.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/unique_ptr.h ['xml_lpm_fuzzer'] []
/src/expat/build/xml_lpm_fuzzer.pb.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/include/google/protobuf/wire_format_lite.h [] []
/src/expat/build/xml_lpm_fuzzer.pb.cc ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/hashtable_policy.h ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/random.tcc ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/utility [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_vector.h ['xml_lpm_fuzzer'] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/libfuzzer_macro.cc ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/utf8_fix.cc [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_iterator.h ['xml_lpm_fuzzer'] []
/src/expat/expat/lib/siphash.h ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer'] ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer']
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/libfuzzer_mutator.cc [] []
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/mutator.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/include/google/protobuf/stubs/port.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/limits [] []
/usr/include/google/protobuf/generated_message_util.h ['xml_lpm_fuzzer'] []
/src/expat/expat/lib/xmltok_ns.c ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer'] ['xml_parsebuffer_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-8', 'xml_parse_fuzzer_UTF-16BE', 'xml_parse_fuzzer_US-ASCII', 'xml_parse_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-16BE', 'xml_parsebuffer_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_ISO-8859-1', 'xml_parse_fuzzer_UTF-16LE', 'xml_parsebuffer_fuzzer_UTF-16', 'xml_parsebuffer_fuzzer_UTF-8', 'xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/atomic ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/aligned_buffer.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/text_format.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/message.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/metadata_lite.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/stl_pair.h ['xml_lpm_fuzzer'] []
/usr/include/google/protobuf/io/coded_stream.h [] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/mutex [] []
/usr/include/google/protobuf/unknown_field_set.h ['xml_lpm_fuzzer'] ['xml_lpm_fuzzer']
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/tuple ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/allocator.h ['xml_lpm_fuzzer'] []
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/alloc_traits.h ['xml_lpm_fuzzer'] []

Directories in report

Directory
/src/expat/expat/lib/
/usr/include/google/protobuf/stubs/
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/port/
/src/expat/build/
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/ext/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/
/usr/include/google/protobuf/io/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/bits/
/usr/include/google/protobuf/
/src/expat/expat/fuzz/
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/
/src/expat/build/libprotobuf-mutator/src/libprotobuf-mutator/src/libfuzzer/

Metadata section

This sections shows the raw data that is used to produce this report. This is mainly used for further processing and developer debugging.

Fuzzer Calltree file Program data file Coverage file
xml_parsebuffer_fuzzer_UTF-16LE fuzzerLogFile-0-klTOpeFzPF.data fuzzerLogFile-0-klTOpeFzPF.data.yaml xml_parsebuffer_fuzzer_UTF-16LE.covreport
xml_parsebuffer_fuzzer_US-ASCII fuzzerLogFile-0-4DS2jzSj6h.data fuzzerLogFile-0-4DS2jzSj6h.data.yaml xml_parsebuffer_fuzzer_US-ASCII.covreport
xml_parse_fuzzer_UTF-8 fuzzerLogFile-0-n3f9q2b8rs.data fuzzerLogFile-0-n3f9q2b8rs.data.yaml xml_parse_fuzzer_UTF-8.covreport
xml_parse_fuzzer_UTF-16BE fuzzerLogFile-0-kE8Z5RqtHm.data fuzzerLogFile-0-kE8Z5RqtHm.data.yaml xml_parse_fuzzer_UTF-16BE.covreport
xml_parse_fuzzer_US-ASCII fuzzerLogFile-0-AQn3yFoINn.data fuzzerLogFile-0-AQn3yFoINn.data.yaml xml_parse_fuzzer_US-ASCII.covreport
xml_parse_fuzzer_UTF-16 fuzzerLogFile-0-w20f7VRkYz.data fuzzerLogFile-0-w20f7VRkYz.data.yaml xml_parse_fuzzer_UTF-16.covreport
xml_parsebuffer_fuzzer_UTF-16BE fuzzerLogFile-0-ZBSh64sUMr.data fuzzerLogFile-0-ZBSh64sUMr.data.yaml xml_parsebuffer_fuzzer_UTF-16BE.covreport
xml_parsebuffer_fuzzer_ISO-8859-1 fuzzerLogFile-0-cltbpq2C4N.data fuzzerLogFile-0-cltbpq2C4N.data.yaml xml_parsebuffer_fuzzer_ISO-8859-1.covreport
xml_parse_fuzzer_ISO-8859-1 fuzzerLogFile-0-wHzmfKCMT0.data fuzzerLogFile-0-wHzmfKCMT0.data.yaml xml_parse_fuzzer_ISO-8859-1.covreport
xml_parse_fuzzer_UTF-16LE fuzzerLogFile-0-SjczeN0YmS.data fuzzerLogFile-0-SjczeN0YmS.data.yaml xml_parse_fuzzer_UTF-16LE.covreport
xml_parsebuffer_fuzzer_UTF-16 fuzzerLogFile-0-VnWtwfTzRc.data fuzzerLogFile-0-VnWtwfTzRc.data.yaml xml_parsebuffer_fuzzer_UTF-16.covreport
xml_parsebuffer_fuzzer_UTF-8 fuzzerLogFile-0-wZVyTj9ADe.data fuzzerLogFile-0-wZVyTj9ADe.data.yaml xml_parsebuffer_fuzzer_UTF-8.covreport
xml_lpm_fuzzer fuzzerLogFile-0-ulFWqso9Cs.data fuzzerLogFile-0-ulFWqso9Cs.data.yaml xml_lpm_fuzzer.covreport