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

Fuzzer details

Fuzzer: av1_dec_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 1 10.0%
gold [1:9] 0 0.0%
yellow [10:29] 0 0.0%
greenyellow [30:49] 0 0.0%
lawngreen 50+ 9 90.0%
All colors 10 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
3733 9017 13 :

['get_last_nonzero_byte', 'read_padding', 'av1_init_read_bit_buffer', 'av1_set_single_tile_decoding_mode', 'read_sequence_header_obu', 'memcmp', 'byte_alignment', 'read_and_decode_one_tile_list', 'read_frame_header_obu', 'read_one_tile_group_obu', 'read_metadata', 'is_obu_in_current_operating_point', 'aom_read_obu_header_and_size']

3733 9017 aom_decode_frame_from_obus call site: 00000 /src/aom/av1/decoder/obu.c:1054
83 83 1 :

['av1_convolve_2d_sr_general_avx2']

83 83 av1_convolve_2d_sr_avx2 call site: 00000 /src/aom/av1/common/x86/convolve_2d_avx2.c:152
69 69 1 :

['av1_convolve_x_sr_general_avx2']

69 69 av1_convolve_x_sr_avx2 call site: 00000 /src/aom/av1/common/x86/convolve_avx2.c:908
61 61 1 :

['av1_convolve_y_sr_general_avx2']

61 61 av1_convolve_y_sr_avx2 call site: 00000 /src/aom/av1/common/x86/convolve_avx2.c:518
38 38 4 :

['aom_lpf_vertical_14_dual_sse2', 'aom_lpf_vertical_4_dual_sse2', 'aom_lpf_vertical_6_dual_sse2', 'aom_lpf_vertical_8_dual_sse2']

38 38 filter_vert call site: 00000 /src/aom/av1/common/av1_loopfilter.c:1053
32 32 1 :

['av1_highbd_convolve_2d_sr_ssse3']

32 32 av1_highbd_convolve_2d_sr_avx2 call site: 00000 /src/aom/av1/common/x86/highbd_convolve_2d_avx2.c:36
28 28 1 :

['av1_highbd_convolve_x_sr_ssse3']

28 28 av1_highbd_convolve_x_sr_avx2 call site: 00000 /src/aom/aom_dsp/x86/highbd_convolve_avx2.c:191
26 26 1 :

['av1_highbd_convolve_y_sr_ssse3']

26 26 av1_highbd_convolve_y_sr_avx2 call site: 00000 /src/aom/aom_dsp/x86/highbd_convolve_avx2.c:45
23 23 3 :

['aom_lpf_vertical_8_quad_sse2', 'aom_lpf_vertical_6_quad_sse2', 'aom_lpf_vertical_4_quad_sse2']

23 23 filter_vert call site: 00000 /src/aom/av1/common/av1_loopfilter.c:1025
20 34 5 :

['xy_x_round_store_2x2_sse2', 'x_convolve_6tap_4x2_ssse3', 'xy_x_round_store_4x2_sse2', 'x_convolve_6tap_2x2_ssse3', 'prepare_half_coeffs_6tap_ssse3']

20 34 convolve_2d_sr_hor_6tap_avx2 call site: 00000 /src/aom/third_party/SVT-AV1/convolve_2d_avx2.h:200
20 20 4 :

['aom_lpf_horizontal_8_dual_sse2', 'aom_lpf_horizontal_6_dual_sse2', 'aom_lpf_horizontal_14_dual_sse2', 'aom_lpf_horizontal_4_dual_sse2']

20 20 filter_horz call site: 00000 /src/aom/av1/common/av1_loopfilter.c:1654
19 19 1 :

['aom_highbd_lpf_vertical_6_dual_sse2']

19 19 filter_vert call site: 00000 /src/aom/av1/common/av1_loopfilter.c:964

Runtime coverage analysis

Covered functions
2332
Functions that are reachable but not covered
0
Reachable functions
9
Percentage of reachable functions covered
100.0%
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/aom/examples/av1_dec_fuzzer.cc 1
/src/aom/av1/av1_dx_iface.c 1
/src/aom/aom/src/aom_decoder.c 4
/src/aom/aom/src/aom_codec.c 1
/src/aom/aom_ports/mem_ops.h 1

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
decoder_decode /src/aom/av1/av1_dx_iface.c 4 ['struct.aom_codec_alg_priv *', 'char *', 'size_t ', 'char *'] 13 0 267 48 19 770 0 5593 5593
parse_decode_block /src/aom/av1/decoder/decodeframe.c 7 ['struct.AV1Decoder *', 'struct.ThreadData *', 'int ', 'int ', 'struct.aom_reader *', 'char ', 'char '] 9 0 366 49 19 277 0 1783 1518
av1_highbd_dr_prediction_z3_avx2 /src/aom/aom_dsp/x86/intrapred_avx2.c 10 ['N/A', 'size_t ', 'int ', 'int ', 'N/A', 'N/A', 'int ', 'int ', 'int ', 'int '] 3 0 185 40 41 35 0 537 523
av1_dr_prediction_z3_avx2 /src/aom/aom_dsp/x86/intrapred_avx2.c 9 ['char *', 'size_t ', 'int ', 'int ', 'char *', 'char *', 'int ', 'int ', 'int '] 2 0 184 40 41 33 0 459 445
av1_inv_txfm_add_avx2 /src/aom/av1/common/x86/av1_inv_txfm_avx2.c 4 ['int *', 'char *', 'int ', 'struct.txfm_param *'] 5 0 38 6 3 60 0 404 402
decoder_get_frame /src/aom/av1/av1_dx_iface.c 2 ['struct.aom_codec_alg_priv *', 'char **'] 7 0 447 58 23 51 0 433 349
av1_realloc_and_scale_if_required /src/aom/av1/common/resize.c 9 ['struct.AV1Common *', 'struct.yv12_buffer_config *', 'struct.yv12_buffer_config *', 'char ', 'int ', 'N/A', 'N/A', 'int ', 'int '] 5 0 161 27 11 46 0 450 341

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

Functions statically reachable by fuzzers
32.0%
1125 / 3462
Cyclomatic complexity statically reachable by fuzzers
47.0%
9149 / 19546

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 Fuzzers runtime hit Func lines hit % I Count BB Count Cyclomatic complexity Functions reached Reached by functions Accumulated cyclomatic complexity Undiscovered complexity

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/aom/av1/common/x86/av1_txfm_sse2.h [] []
/src/aom/third_party/SVT-AV1/convolve_2d_avx2.h [] []
/src/aom/av1/decoder/grain_synthesis.c [] []
/src/aom/av1/common/cdef_block.c [] []
/src/aom/aom_dsp/binary_codes_reader.c [] []
/src/aom/aom_ports/x86.h [] []
/src/aom/aom_dsp/x86/transpose_sse2.h [] []
/src/aom/av1/common/entropymv.h [] []
/src/aom/av1/common/x86/cfl_ssse3.c [] []
/src/aom/aom_dsp/bitreader_buffer.c [] []
/src/aom/av1/common/warped_motion.h [] []
/src/aom/av1/common/av1_inv_txfm2d.c [] []
/src/aom/av1/common/reconinter.h [] []
/src/aom/av1/common/x86/highbd_inv_txfm_avx2.c [] []
/src/aom/av1/common/timing.c [] []
/src/aom/third_party/SVT-AV1/convolve_avx2.h [] []
/src/aom/aom_dsp/x86/mem_sse2.h [] []
/src/aom/av1/common/x86/highbd_warp_affine_avx2.c [] []
/work/build/config/av1_rtcd.h [] []
/src/aom/aom_dsp/x86/convolve_sse4_1.h [] []
/src/aom/av1/common/x86/cdef_block_sse2.c [] []
/src/aom/av1/common/convolve.c [] []
/src/aom/aom_util/aom_thread.c [] []
/src/aom/av1/common/x86/reconinter_avx2.c [] []
/src/aom/aom_dsp/x86/synonyms.h [] []
/src/aom/av1/common/x86/highbd_wiener_convolve_avx2.c [] []
/src/aom/av1/common/pred_common.c [] []
/src/aom/av1/common/obu_util.c [] []
/src/aom/aom_dsp/x86/intrapred_avx2.c [] []
/src/aom/av1/av1_iface_common.h [] []
/src/aom/av1/common/warped_motion.c [] []
/src/aom/aom_scale/yv12config.h [] []
/src/aom/av1/common/x86/highbd_convolve_2d_sse4.c [] []
/src/aom/av1/common/x86/highbd_jnt_convolve_sse4.c [] []
/src/aom/av1/common/frame_buffers.c [] []
/src/aom/aom_scale/generic/yv12extend.c [] []
/src/aom/aom_dsp/entcode.c [] []
/src/aom/av1/common/entropy.h [] []
/src/aom/av1/common/av1_common_int.h [] []
/src/aom/aom_dsp/x86/highbd_convolve_ssse3.c [] []
/src/aom/av1/common/scale.h [] []
/src/aom/av1/common/cfl.h [] []
/src/aom/aom_dsp/blend_a64_vmask.c [] []
/src/aom/aom_dsp/aom_convolve.c [] []
/src/aom/av1/common/av1_inv_txfm1d.h [] []
/src/aom/aom_mem/aom_mem.h [] []
/src/aom/av1/common/x86/convolve_sse2.c [] []
/src/aom/aom_dsp/x86/blend_a64_hmask_sse4.c [] []
/src/aom/aom_dsp/x86/blend_a64_vmask_sse4.c [] []
/src/aom/aom_dsp/x86/intrapred_x86.h [] []
/src/aom/av1/common/cfl.c [] []
/src/aom/av1/common/entropy.c [] []
/src/aom/third_party/SVT-AV1/EbMemory_SSE4_1.h [] []
/src/aom/av1/common/x86/highbd_txfm_utility_sse4.h [] []
/src/aom/aom_dsp/bitreader.h [] []
/src/aom/av1/common/x86/convolve_2d_avx2.c [] []
/src/aom/aom_dsp/x86/aom_subpixel_8t_intrin_sse2.c [] []
/src/aom/aom_dsp/x86/convolve_sse2.h [] []
/src/aom/aom_dsp/x86/intrapred_sse4.c [] []
/src/aom/av1/av1_dx_iface.c ['av1_dec_fuzzer'] ['av1_dec_fuzzer']
/src/aom/aom_dsp/blend_a64_hmask.c [] []
/src/aom/av1/decoder/decoder.c [] []
/src/aom/av1/common/x86/av1_inv_txfm_avx2.h [] []
/src/aom/av1/common/x86/cfl_avx2.c [] []
/src/aom/av1/common/pred_common.h [] []
/src/aom/aom_dsp/x86/convolve_ssse3.h [] []
/src/aom/av1/common/reconinter_template.inc [] []
/src/aom/aom_scale/generic/yv12config.c [] []
/src/aom/aom_dsp/x86/intrapred_utils.h [] []
/src/aom/av1/common/alloccommon.c [] []
/src/aom/av1/common/x86/cdef_block_sse4.c [] []
/src/aom/aom_dsp/x86/highbd_convolve_avx2.c [] []
/src/aom/av1/decoder/decodetxb.c [] []
/src/aom/aom_dsp/x86/intrapred_sse2.c [] []
/src/aom/av1/common/scan.h [] []
/src/aom/aom_dsp/x86/highbd_convolve_sse2.c [] []
/src/aom/av1/common/x86/cfl_sse2.c [] []
/src/aom/av1/common/x86/resize_ssse3.c [] []
/src/aom/av1/common/filter.h [] []
/src/aom/aom_dsp/recenter.h [] []
/src/aom/aom_dsp/x86/synonyms_avx2.h [] []
/src/aom/av1/common/x86/av1_txfm_sse4.h [] []
/src/aom/av1/common/txb_common.h [] []
/src/aom/av1/decoder/detokenize.c [] []
/src/aom/aom_dsp/x86/txfm_common_avx2.h [] []
/src/aom/aom_mem/aom_mem.c [] []
/src/aom/av1/common/obmc.h [] []
/src/aom/av1/common/x86/convolve_avx2.c [] []
/src/aom/aom_dsp/blend_a64_mask.c [] []
/src/aom/aom_dsp/x86/blend_sse4.h [] []
/src/aom/av1/decoder/obu.c [] []
/src/aom/av1/common/blockd.c [] []
/src/aom/av1/common/entropymode.h [] []
/src/aom/av1/common/cdef_block_simd.h [] []
/src/aom/av1/common/mv.h [] []
/src/aom/av1/common/x86/av1_inv_txfm_ssse3.c [] []
/src/aom/third_party/SVT-AV1/EbMemory_AVX2.h [] []
/src/aom/av1/common/reconintra.c [] []
/src/aom/av1/common/x86/cdef_block_ssse3.c [] []
/src/aom/av1/common/x86/jnt_convolve_ssse3.c [] []
/src/aom/aom_dsp/x86/blend_a64_mask_avx2.c [] []
/src/aom/av1/common/x86/reconinter_sse4.c [] []
/src/aom/av1/common/x86/jnt_convolve_avx2.c [] []
/src/aom/aom_dsp/x86/aom_convolve_copy_sse2.c [] []
/src/aom/av1/common/reconintra.h [] []
/src/aom/aom_dsp/intrapred.c [] []
/src/aom/av1/common/x86/highbd_wiener_convolve_ssse3.c [] []
/src/aom/av1/common/cdef.c [] []
/src/aom/aom_dsp/bitreader.c [] []
/src/aom/av1/common/av1_loopfilter.c [] []
/src/aom/aom_dsp/x86/aom_convolve_copy_avx2.c [] []
/src/aom/aom_dsp/x86/convolve_common_intrin.h [] []
/src/aom/av1/common/x86/av1_convolve_scale_sse4.c [] []
/src/aom/av1/common/x86/warp_plane_sse2.c [] []
/src/aom/av1/common/x86/highbd_convolve_2d_ssse3.c [] []
/src/aom/av1/common/x86/highbd_inv_txfm_sse4.c [] []
/src/aom/av1/common/x86/cdef_block_avx2.c [] []
/src/aom/aom_dsp/x86/blend_a64_mask_sse4.c [] []
/src/aom/av1/common/common.h [] []
/src/aom/aom_dsp/x86/loopfilter_sse2.c [] []
/src/aom/av1/common/x86/av1_inv_txfm_ssse3.h [] []
/src/aom/aom/src/aom_decoder.c ['av1_dec_fuzzer'] ['av1_dec_fuzzer']
/src/aom/av1/decoder/decoder.h [] []
/src/aom/av1/decoder/decodeframe.c [] []
/src/aom/aom_dsp/entdec.c [] []
/src/aom/av1/common/restoration.h [] []
/src/aom/av1/common/av1_inv_txfm1d.c [] []
/src/aom/aom_dsp/x86/lpf_common_sse2.h [] []
/src/aom/av1/common/x86/wiener_convolve_avx2.c [] []
/src/aom/av1/common/mvref_common.h [] []
/src/aom/av1/common/x86/highbd_warp_plane_sse4.c [] []
/src/aom/aom_dsp/x86/highbd_intrapred_sse2.c [] []
/src/aom/aom_dsp/x86/aom_subpixel_8t_intrin_ssse3.c [] []
/src/aom/third_party/SVT-AV1/synonyms.h [] []
/src/aom/aom_dsp/x86/convolve_avx2.h [] []
/src/aom/av1/common/x86/av1_txfm_sse4.c [] []
/src/aom/av1/common/x86/warp_plane_avx2.c [] []
/src/aom/av1/common/scale.c [] []
/src/aom/aom_ports/bitops.h [] []
/src/aom/av1/common/convolve.h [] []
/src/aom/aom_dsp/x86/aom_asm_stubs.c [] []
/src/aom/aom_dsp/x86/highbd_loopfilter_sse2.c [] []
/src/aom/av1/common/cdef.h [] []
/src/aom/av1/common/x86/convolve_2d_sse2.c [] []
/src/aom/aom/src/aom_codec.c ['av1_dec_fuzzer'] ['av1_dec_fuzzer']
/src/aom/aom/internal/aom_codec_internal.h [] []
/src/aom/aom_dsp/x86/highbd_loopfilter_avx2.c [] []
/src/aom/aom_dsp/x86/blend_mask_sse4.h [] []
/src/aom/av1/common/seg_common.h [] []
/src/aom/av1/common/resize.c [] []
/src/aom/av1/common/thread_common.h [] []
/src/aom/aom_dsp/x86/aom_subpixel_8t_intrin_avx2.c [] []
/src/aom/aom_scale/aom_scale_rtcd.c [] []
/src/aom/examples/av1_dec_fuzzer.cc ['av1_dec_fuzzer'] ['av1_dec_fuzzer']
/src/aom/av1/common/restoration.c [] []
/src/aom/av1/common/x86/highbd_convolve_2d_avx2.c [] []
/src/aom/av1/decoder/decodemv.c [] []
/src/aom/aom_dsp/prob.h [] []
/src/aom/av1/common/x86/filterintra_sse4.c [] []
/src/aom/aom/src/aom_integer.c [] []
/src/aom/av1/common/entropymode.c [] []
/src/aom/av1/common/x86/highbd_jnt_convolve_avx2.c [] []
/src/aom/av1/common/seg_common.c [] []
/src/aom/aom_dsp/aom_dsp_rtcd.c [] []
/src/aom/aom_dsp/aom_dsp_common.h [] []
/src/aom/aom_dsp/x86/intrapred_ssse3.c [] []
/src/aom/av1/common/reconinter.c [] []
/src/aom/av1/common/entropymv.c [] []
/src/aom/av1/common/x86/reconinter_ssse3.c [] []
/src/aom/av1/common/cdef_block.h [] []
/src/aom/av1/common/thread_common.c [] []
/src/aom/av1/common/av1_txfm.h [] []
/src/aom/av1/common/blockd.h [] []
/src/aom/av1/common/tile_common.c [] []
/src/aom/av1/common/x86/jnt_convolve_sse2.c [] []
/src/aom/av1/common/x86/intra_edge_sse4.c [] []
/src/aom/av1/common/quant_common.c [] []
/src/aom/av1/common/x86/selfguided_sse4.c [] []
/src/aom/av1/common/av1_rtcd.c [] []
/src/aom/av1/common/x86/warp_plane_sse4.c [] []
/src/aom/aom_ports/aom_once.h [] []
/src/aom/aom_dsp/x86/loopfilter_avx2.c [] []
/src/aom/av1/common/av1_txfm.c [] []
/src/aom/av1/common/idct.c [] []
/src/aom/av1/common/x86/av1_convolve_horiz_rs_sse4.c [] []
/src/aom/av1/common/x86/wiener_convolve_sse2.c [] []
/src/aom/aom_ports/mem_ops.h ['av1_dec_fuzzer'] ['av1_dec_fuzzer']
/src/aom/av1/common/x86/av1_inv_txfm_avx2.c [] []
/src/aom/aom/src/aom_image.c [] []
/src/aom/av1/common/mvref_common.c [] []
/src/aom/av1/common/resize.h [] []
/src/aom/av1/common/x86/selfguided_avx2.c [] []

Directories in report

Directory
/src/aom/aom_dsp/
/src/aom/aom_dsp/x86/
/src/aom/aom/internal/
/src/aom/aom_ports/
/src/aom/aom_util/
/src/aom/aom_scale/generic/
/src/aom/av1/common/x86/
/src/aom/aom/src/
/src/aom/av1/common/
/src/aom/examples/
/work/build/config/
/src/aom/av1/
/src/aom/aom_mem/
/src/aom/av1/decoder/
/src/aom/aom_scale/
/src/aom/third_party/SVT-AV1/