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

Fuzzer details

Fuzzer: esi_parse_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 162 47.7%
gold [1:9] 1 0.29%
yellow [10:29] 0 0.0%
greenyellow [30:49] 2 0.58%
lawngreen 50+ 174 51.3%
All colors 339 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
17 17 1 :

['WS_Overflowed']

33 35 WS_Reset call site: 00323 /src/varnish-cache/bin/varnishd/cache/cache_ws_emu.c:205
16 16 1 :

['WS_MarkOverflow']

16 16 ws_emu_alloc call site: 00057 /src/varnish-cache/bin/varnishd/cache/cache_ws_emu.c:282
14 14 1 :

['VAS_Fail']

14 32 VSB_newbuf call site: 00069 /src/varnish-cache/lib/libvarnish/vsb.c:193
14 14 2 :

['crc_word_big', 'byte_swap']

14 14 z_crc32_z call site: 00092 /src/varnish-cache/lib/libvgz/crc32.c:794
0 117 1 :

['vep_mark_skip']

0 117 VEP_Parse call site: 00301 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:1041
0 26 1 :

['VSB_extend']

0 26 _vsb_indent call site: 00080 /src/varnish-cache/lib/libvarnish/vsb.c:166
0 2 1 :

['VSLb']

0 2 VEP_Init call site: 00051 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:1075
0 0 None 261 2275 VEP_Parse call site: 00168 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:773
0 0 None 261 2275 VEP_Parse call site: 00172 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:796
0 0 None 261 2275 VEP_Parse call site: 00175 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:811
0 0 None 261 2275 VEP_Parse call site: 00244 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:814
0 0 None 261 2275 VEP_Parse call site: 00254 /src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c:837

Runtime coverage analysis

Covered functions
53
Functions that are reachable but not covered
30
Reachable functions
83
Percentage of reachable functions covered
63.86%
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
bin/varnishd/fuzzers/esi_parse_fuzzer.c 3
lib/libvarnish/vas.c 1
bin/varnishd/cache/cache_ws_emu.c 7
bin/varnishd/./common/common_param.h 2
bin/varnishd/../../include/vas.h 1
bin/varnishd/cache/cache_esi_parse.c 20
bin/varnishd/cache/cache_ws_common.c 4
lib/libvarnish/vsb.c 16
lib/libvgz/crc32.c 9
bin/varnishd/../../include/vend.h 6
bin/varnishd/../../include/vct.h 1

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/varnish-cache/lib/libvgz/crc32.c ['esi_parse_fuzzer'] ['esi_parse_fuzzer']
/src/varnish-cache/bin/varnishd/cache/cache.h [] []
/src/varnish-cache/bin/varnishd/fuzzers/esi_parse_fuzzer.c ['esi_parse_fuzzer'] ['esi_parse_fuzzer']
/src/varnish-cache/bin/varnishd/cache/cache_esi_parse.c ['esi_parse_fuzzer'] ['esi_parse_fuzzer']
/src/varnish-cache/lib/libvarnish/vsb.c ['esi_parse_fuzzer'] ['esi_parse_fuzzer']
/src/varnish-cache/lib/libvarnish/vct.c [] []
/src/varnish-cache/bin/varnishd/../../include/vas.h ['esi_parse_fuzzer'] []
/src/varnish-cache/bin/varnishd/./common/common_param.h ['esi_parse_fuzzer'] []
/src/varnish-cache/bin/varnishd/../../include/vend.h ['esi_parse_fuzzer'] []
/src/varnish-cache/bin/varnishd/cache/cache_ws_common.c ['esi_parse_fuzzer'] ['esi_parse_fuzzer']
/src/varnish-cache/lib/libvarnish/../../include/vct.h [] []
/src/varnish-cache/lib/libvarnish/vas.c ['esi_parse_fuzzer'] []
/src/varnish-cache/bin/varnishd/cache/cache_ws_emu.c ['esi_parse_fuzzer'] ['esi_parse_fuzzer']

Directories in report

Directory
/src/varnish-cache/bin/varnishd/fuzzers/
/src/varnish-cache/bin/varnishd/cache/
/src/varnish-cache/bin/varnishd/./common/
/src/varnish-cache/lib/libvgz/
/src/varnish-cache/bin/varnishd/../../include/
/src/varnish-cache/lib/libvarnish/
/src/varnish-cache/lib/libvarnish/../../include/