Fuzz introspector
For issues and ideas: https://github.com/ossf/fuzz-introspector/issues
Report generation date: 2026-12-01

Project overview: jpegoptim

High level conclusions

Reachability and coverage overview

Functions statically reachable by fuzzers
70.0%
54 / 77
Cyclomatic complexity statically reachable by fuzzers
78.0%
629 / 806
Runtime code coverage of functions
78.0%
60 / 77

Warning: The number of runtime covered functions are larger than the number of reachable functions. This means that Fuzz Introspector found there are more functions covered at runtime than what is considered reachable based on the static analysis. This is a limitation in the analysis as anything covered at runtime is by definition reachable by the fuzzers.
This is likely due to a limitation in the static analysis. In this case, the count of functions covered at runtime is the true value, which means this is what should be considered "achieved" by the fuzzer.

Use the project functions table below to query all functions that were not covered at runtime.

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: libjpeg_compression_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 207 63.3%
gold [1:9] 11 3.36%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 109 33.3%
All colors 327 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
41 112 optimize call site: 00112 strip_ai_markers
31 236 optimize call site: 00236 copy_file
26 83 parse_markers call site: 00083 valid_mpf_marker
16 301 rename_file call site: 00301 delete_file
14 211 optimize call site: 00211 patch_mpf_marker
8 38 optimize call site: 00038 fprint_csv_field
7 176 optimize call site: 00176 fatal
6 154 optimize call site: 00154 strncopy
6 227 optimize call site: 00227 fprintf
5 23 optimize call site: 00023 warn
5 292 set_file_owner call site: 00292 warn
4 162 optimize call site: 00162 strncopy

Runtime coverage analysis

Covered functions
33
Functions that are reachable but not covered
99
Reachable functions
121
Percentage of reachable functions covered
18.18%
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
fuzz/fuzz_compression.c 1
fuzz/fuzz_manager.c 2
jpegoptim.c 5
misc.c 16
jpegsrc.c 2
jpegmarker.c 4
jpegmpf.c 8
/usr/include/x86_64-linux-gnu/bits/byteswap.h 2
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h 2
stripai.c 9
jpegdest.c 2

Fuzzer: libjpegturbo_compression_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 209 63.9%
gold [1:9] 16 4.89%
yellow [10:29] 8 2.44%
greenyellow [30:49] 20 6.11%
lawngreen 50+ 74 22.6%
All colors 327 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
41 112 optimize call site: 00112 strip_ai_markers
31 236 optimize call site: 00236 copy_file
26 83 parse_markers call site: 00083 valid_mpf_marker
16 301 rename_file call site: 00301 delete_file
14 211 optimize call site: 00211 patch_mpf_marker
8 38 optimize call site: 00038 fprint_csv_field
7 176 optimize call site: 00176 fatal
6 154 optimize call site: 00154 strncopy
6 227 optimize call site: 00227 fprintf
5 23 optimize call site: 00023 warn
5 292 set_file_owner call site: 00292 warn
4 162 optimize call site: 00162 strncopy

Runtime coverage analysis

Covered functions
33
Functions that are reachable but not covered
99
Reachable functions
121
Percentage of reachable functions covered
18.18%
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
fuzz/fuzz_compression.c 1
fuzz/fuzz_manager.c 2
jpegoptim.c 5
misc.c 16
jpegsrc.c 2
jpegmarker.c 4
jpegmpf.c 8
/usr/include/x86_64-linux-gnu/bits/byteswap.h 2
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h 2
stripai.c 9
jpegdest.c 2

Fuzzer: mozjpeg_compression_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 207 62.5%
gold [1:9] 10 3.02%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 114 34.4%
All colors 331 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
41 112 optimize call site: 00112 strip_ai_markers
31 240 optimize call site: 00240 copy_file
26 83 parse_markers call site: 00083 valid_mpf_marker
16 305 rename_file call site: 00305 delete_file
14 215 optimize call site: 00215 patch_mpf_marker
8 38 optimize call site: 00038 fprint_csv_field
7 176 optimize call site: 00176 fatal
6 154 optimize call site: 00154 strncopy
6 231 optimize call site: 00231 fprintf
5 23 optimize call site: 00023 warn
5 296 set_file_owner call site: 00296 warn
4 162 optimize call site: 00162 strncopy

Runtime coverage analysis

Covered functions
33
Functions that are reachable but not covered
101
Reachable functions
123
Percentage of reachable functions covered
17.89%
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
fuzz/fuzz_compression.c 1
fuzz/fuzz_manager.c 2
jpegoptim.c 5
misc.c 16
jpegsrc.c 2
jpegmarker.c 4
jpegmpf.c 8
/usr/include/x86_64-linux-gnu/bits/byteswap.h 2
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h 2
stripai.c 9
jpegdest.c 2

Fuzzer: mozjpeg_metadata_modes_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 75 21.6%
gold [1:9] 12 3.46%
yellow [10:29] 11 3.17%
greenyellow [30:49] 5 1.44%
lawngreen 50+ 243 70.2%
All colors 346 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
8 319 rename_file call site: 00319 delete_file
7 190 optimize call site: 00190 fatal
4 55 fprint_csv_field call site: 00055 fputc
4 254 optimize call site: 00254 fatal
4 338 optimize call site: 00338 fatal
3 269 create_file call site: 00269 warn
3 276 copy_file call site: 00276 warn
2 7 generate_temp_file_name call site: 00007 perror
2 27 LLVMFuzzerTestOneInput call site: 00027 close
2 45 file_size call site: 00045 warn
2 187 optimize call site: 00187 warn
2 293 create_temp_file call site: 00293 fatal

Runtime coverage analysis

Covered functions
61
Functions that are reachable but not covered
76
Reachable functions
126
Percentage of reachable functions covered
39.68%
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
fuzz/fuzz_metadata_modes.c 3
fuzz/fuzz_manager.c 2
jpegoptim.c 5
misc.c 16
jpegsrc.c 2
jpegmarker.c 4
jpegmpf.c 8
/usr/include/x86_64-linux-gnu/bits/byteswap.h 2
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h 2
stripai.c 9
jpegdest.c 2

Fuzzer: libjpeg_metadata_modes_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 75 21.9%
gold [1:9] 12 3.50%
yellow [10:29] 10 2.92%
greenyellow [30:49] 16 4.67%
lawngreen 50+ 229 66.9%
All colors 342 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
8 315 rename_file call site: 00315 delete_file
7 190 optimize call site: 00190 fatal
4 55 fprint_csv_field call site: 00055 fputc
4 250 optimize call site: 00250 fatal
4 334 optimize call site: 00334 fatal
3 265 create_file call site: 00265 warn
3 272 copy_file call site: 00272 warn
2 7 generate_temp_file_name call site: 00007 perror
2 27 LLVMFuzzerTestOneInput call site: 00027 close
2 45 file_size call site: 00045 warn
2 187 optimize call site: 00187 warn
2 289 create_temp_file call site: 00289 fatal

Runtime coverage analysis

Covered functions
61
Functions that are reachable but not covered
74
Reachable functions
124
Percentage of reachable functions covered
40.32%
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
fuzz/fuzz_metadata_modes.c 3
fuzz/fuzz_manager.c 2
jpegoptim.c 5
misc.c 16
jpegsrc.c 2
jpegmarker.c 4
jpegmpf.c 8
/usr/include/x86_64-linux-gnu/bits/byteswap.h 2
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h 2
stripai.c 9
jpegdest.c 2

Fuzzer: libjpegturbo_metadata_modes_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 75 21.9%
gold [1:9] 14 4.09%
yellow [10:29] 8 2.33%
greenyellow [30:49] 20 5.84%
lawngreen 50+ 225 65.7%
All colors 342 100

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
8 315 rename_file call site: 00315 delete_file
7 190 optimize call site: 00190 fatal
4 55 fprint_csv_field call site: 00055 fputc
4 250 optimize call site: 00250 fatal
4 334 optimize call site: 00334 fatal
3 265 create_file call site: 00265 warn
3 272 copy_file call site: 00272 warn
2 7 generate_temp_file_name call site: 00007 perror
2 27 LLVMFuzzerTestOneInput call site: 00027 close
2 45 file_size call site: 00045 warn
2 187 optimize call site: 00187 warn
2 289 create_temp_file call site: 00289 fatal

Runtime coverage analysis

Covered functions
61
Functions that are reachable but not covered
74
Reachable functions
124
Percentage of reachable functions covered
40.32%
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
fuzz/fuzz_metadata_modes.c 3
fuzz/fuzz_manager.c 2
jpegoptim.c 5
misc.c 16
jpegsrc.c 2
jpegmarker.c 4
jpegmpf.c 8
/usr/include/x86_64-linux-gnu/bits/byteswap.h 2
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h 2
stripai.c 9
jpegdest.c 2

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.

fuzz/fuzz_compression.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=['optimize', 'parse_markers', 'rename_file']

fuzz/fuzz_compression.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=['optimize', 'parse_markers', 'rename_file']

fuzz/fuzz_compression.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=['optimize', 'parse_markers', 'rename_file']

fuzz/fuzz_metadata_modes.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=['rename_file', 'optimize', 'fprint_csv_field', 'create_file', 'copy_file', 'generate_temp_file_name', 'LLVMFuzzerTestOneInput', 'file_size']

fuzz/fuzz_metadata_modes.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=['rename_file', 'optimize', 'fprint_csv_field', 'create_file', 'copy_file', 'generate_temp_file_name', 'LLVMFuzzerTestOneInput', 'file_size']

fuzz/fuzz_metadata_modes.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=['rename_file', 'optimize', 'fprint_csv_field', 'create_file', 'copy_file', 'generate_temp_file_name', 'LLVMFuzzerTestOneInput', 'file_size']

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/jpegoptim/fuzz/fuzz_compression.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer']
/src/jpegoptim/jpegsrc.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/fuzz/fuzz_manager.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/fuzz/fuzz_metadata_modes.c ['mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/usr/include/x86_64-linux-gnu/bits/byteswap.h ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] []
/usr/include/x86_64-linux-gnu/bits/uintn-identity.h ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] []
/src/jpegoptim/jpegoptim.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/stripai.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/jpegmarker.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/jpegmpf.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/misc.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']
/src/jpegoptim/jpegdest.c ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer'] ['libjpeg_compression_fuzzer', 'libjpegturbo_compression_fuzzer', 'mozjpeg_compression_fuzzer', 'mozjpeg_metadata_modes_fuzzer', 'libjpeg_metadata_modes_fuzzer', 'libjpegturbo_metadata_modes_fuzzer']

Directories in report

Directory
/src/jpegoptim/fuzz/
/usr/include/x86_64-linux-gnu/bits/
/src/jpegoptim/