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

Fuzzer details

Fuzzer: libldac_encode_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 64 30.9%
gold [1:9] 0 0.0%
yellow [10:29] 75 36.2%
greenyellow [30:49] 55 26.5%
lawngreen 50+ 13 6.28%
All colors 207 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
351 351 1 :

['ldaclib_flush_encode']

436 474 ldacBT_encode call site: 00074 /src/libldac/src/ldacBT_api.c:527
85 85 1 :

['ldacBT_update_frmlen']

85 85 ldacBT_encode call site: 00188 /src/libldac/src/ldacBT_api.c:606
45 45 1 :

['increase_qu_low_ldac']

45 121 alloc_bits_ldac call site: 00120 /src/libldac/src/bitalloc_ldac.c:707
7 7 1 :

['encode_scale_factor_2_ldac']

7 17 encode_scale_factor_ldac call site: 00101 /src/libldac/src/bitalloc_sub_ldac.c:237
7 7 1 :

['pack_scale_factor_1_ldac']

7 7 pack_scale_factor_ldac call site: 00157 /src/libldac/src/pack_ldac.c:263
6 6 3 :

['byte_data_to_scalar_s32_ldac', 'byte_data_to_scalar_s24_ldac', 'byte_data_to_scalar_f32_ldac']

6 6 set_input_pcm_ldac call site: 00078 /src/libldac/src/setpcm_ldac.c:121
5 5 1 :

['pack_scale_factor_2_ldac']

5 10 pack_scale_factor_ldac call site: 00157 /src/libldac/src/pack_ldac.c:262
2 2 1 :

['align_ldac']

2 2 calloc_ldac call site: 00044 /src/libldac/src/memory_ldac.c:44
0 18 1 :

['ldacBT_free_handle']

0 18 ldacBT_get_handle call site: 00002 /src/libldac/src/ldacBT_api.c:37
0 9 1 :

['ldaclib_free_encode']

0 13 ldacBT_free_handle call site: 00003 /src/libldac/src/ldacBT_api.c:53
0 0 None 946 1352 ldacBT_encode call site: 00053 /src/libldac/src/ldacBT_api.c:395
0 0 None 946 1352 ldacBT_encode call site: 00053 /src/libldac/src/ldacBT_api.c:399

Runtime coverage analysis

Covered functions
94
Functions that are reachable but not covered
20
Reachable functions
114
Percentage of reachable functions covered
82.46%
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/libldac_encode_fuzzer.cc 1
ldacBT_api.c 8
ldaclib_api.c 28
encode_ldac.c 6
ldacBT_internal.c 14
tables_sigproc_ldac.c 1
memory_ldac.c 2
tables_ldac.c 1
setpcm_ldac.c 5
mdct_ldac.c 2
sigana_ldac.c 4
quant_ldac.c 6
bitalloc_ldac.c 9
bitalloc_sub_ldac.c 9
pack_ldac.c 15

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/libldac/src/mdct_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/tables_sigproc_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/sigana_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/tables_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/pack_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/ldacBT_internal.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/ldacBT_api.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/memory_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/ldaclib_api.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/bitalloc_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac_encode_fuzzer.cc ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/setpcm_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/bitalloc_sub_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/quant_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']
/src/libldac/src/encode_ldac.c ['libldac_encode_fuzzer'] ['libldac_encode_fuzzer']

Directories in report

Directory
/src/
/src/libldac/src/