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

Fuzz blockers

The following nodes represent call sites where fuzz blockers occur.

Amount of callsites blocked Calltree index Parent function Callsite Largest blocked function
17 132 drmp3_decode_next_frame_ex__memory(drmp3*, short*, drmp3dec_frame_info*, unsigned char const**) call site: 00132 drmp3dec_decode_frame
11 7 drmp3_init_internal(drmp3*, unsigned long (*)(void*, void*, unsigned long), unsigned int (*)(void*, int, drmp3_seek_origin), unsigned int (*)(void*, long long*), void (*)(void*, drmp3_metadata const*), void*, void*, drmp3_allocation_callbacks const*) call site: 00007 drmp3_malloc
1 115 drmp3dec_decode_frame call site: 00115
1 154 drmp3_init_internal(drmp3*, unsigned long (*)(void*, void*, unsigned long), unsigned int (*)(void*, int, drmp3_seek_origin), unsigned int (*)(void*, long long*), void (*)(void*, drmp3_metadata const*), void*, void*, drmp3_allocation_callbacks const*) call site: 00154
1 162 drmp3__on_seek_memory(void*, int, drmp3_seek_origin) call site: 00162 __assert_fail
1 176 LLVMFuzzerTestOneInput call site: 00176 fclose

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 drmp3_init_memory [function] [call site] 00001
2 drmp3_init_memory_with_metadata [function] [call site] 00002
3 drmp3_init_internal(drmp3*, unsigned long (*)(void*, void*, unsigned long), unsigned int (*)(void*, int, drmp3_seek_origin), unsigned int (*)(void*, long long*), void (*)(void*, drmp3_metadata const*), void*, void*, drmp3_allocation_callbacks const*) [function] [call site] 00003
4 __assert_fail [call site] 00004
4 __assert_fail [call site] 00005
4 drmp3dec_init [function] [call site] 00006
4 drmp3_copy_allocation_callbacks_or_defaults(drmp3_allocation_callbacks const*) [function] [call site] 00007
4 drmp3__on_meta(drmp3*, drmp3_metadata_type, void const*, unsigned long) [function] [call site] 00008
4 drmp3_malloc [function] [call site] 00009
5 drmp3__malloc_from_callbacks(unsigned long, drmp3_allocation_callbacks const*) [function] [call site] 00010
5 drmp3__malloc_default(unsigned long, void*) [function] [call site] 00011
4 drmp3__on_meta(drmp3*, drmp3_metadata_type, void const*, unsigned long) [function] [call site] 00012
4 drmp3_free [function] [call site] 00013
5 drmp3__free_from_callbacks(void*, drmp3_allocation_callbacks const*) [function] [call site] 00014
5 drmp3__free_default(void*, void*) [function] [call site] 00015
4 drmp3_malloc [function] [call site] 00016
4 drmp3__on_meta(drmp3*, drmp3_metadata_type, void const*, unsigned long) [function] [call site] 00017
4 drmp3_free [function] [call site] 00018
4 drmp3_decode_next_frame_ex(drmp3*, short*, drmp3dec_frame_info*, unsigned char const**) [function] [call site] 00019
5 drmp3_decode_next_frame_ex__memory(drmp3*, short*, drmp3dec_frame_info*, unsigned char const**) [function] [call site] 00020
6 __assert_fail [call site] 00021
6 __assert_fail [call site] 00022
6 drmp3dec_decode_frame [function] [call site] 00023
7 drmp3_hdr_compare(unsigned char const*, unsigned char const*) [function] [call site] 00024
8 drmp3_hdr_valid(unsigned char const*) [function] [call site] 00025
7 drmp3_hdr_frame_bytes(unsigned char const*, int) [function] [call site] 00026
8 drmp3_hdr_frame_samples(unsigned char const*) [function] [call site] 00027
8 drmp3_hdr_bitrate_kbps(unsigned char const*) [function] [call site] 00028
8 drmp3_hdr_sample_rate_hz(unsigned char const*) [function] [call site] 00029
7 drmp3_hdr_padding(unsigned char const*) [function] [call site] 00030
7 drmp3_hdr_compare(unsigned char const*, unsigned char const*) [function] [call site] 00031
7 drmp3d_find_frame(unsigned char const*, int, int*, int*) [function] [call site] 00032
8 drmp3_hdr_valid(unsigned char const*) [function] [call site] 00033
8 drmp3_hdr_frame_bytes(unsigned char const*, int) [function] [call site] 00034
8 drmp3_hdr_padding(unsigned char const*) [function] [call site] 00035
8 drmp3_hdr_compare(unsigned char const*, unsigned char const*) [function] [call site] 00036
8 drmp3_hdr_padding(unsigned char const*) [function] [call site] 00037
8 drmp3_hdr_padding(unsigned char const*) [function] [call site] 00038
8 drmp3_hdr_compare(unsigned char const*, unsigned char const*) [function] [call site] 00039
8 drmp3d_match_frame(unsigned char const*, int, int) [function] [call site] 00040
9 drmp3_hdr_frame_bytes(unsigned char const*, int) [function] [call site] 00041
9 drmp3_hdr_padding(unsigned char const*) [function] [call site] 00042
9 drmp3_hdr_compare(unsigned char const*, unsigned char const*) [function] [call site] 00043
7 drmp3_hdr_sample_rate_hz(unsigned char const*) [function] [call site] 00044
7 drmp3_hdr_bitrate_kbps(unsigned char const*) [function] [call site] 00045
7 drmp3_bs_init(drmp3_bs*, unsigned char const*, int) [function] [call site] 00046
7 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00047
7 drmp3_L3_read_side_info(drmp3_bs*, drmp3_L3_gr_info*, unsigned char const*) [function] [call site] 00048
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00049
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00050
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00051
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00052
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00053
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00054
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00055
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00056
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00057
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00058
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00059
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00060
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00061
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00062
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00063
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00064
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00065
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00066
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00067
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00068
7 drmp3dec_init [function] [call site] 00069
7 drmp3_L3_restore_reservoir(drmp3dec*, drmp3_bs*, drmp3dec_scratch*, int) [function] [call site] 00070
8 drmp3_bs_init(drmp3_bs*, unsigned char const*, int) [function] [call site] 00071
7 drmp3_L3_decode(drmp3dec*, drmp3dec_scratch*, drmp3_L3_gr_info*, int) [function] [call site] 00072
8 drmp3_L3_decode_scalefactors(unsigned char const*, unsigned char*, drmp3_bs*, drmp3_L3_gr_info const*, float*, int) [function] [call site] 00073
9 drmp3_L3_read_scalefactors(unsigned char*, unsigned char*, unsigned char const*, unsigned char const*, drmp3_bs*, int) [function] [call site] 00074
10 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00075
9 drmp3_L3_ldexp_q2(float, int) [function] [call site] 00076
9 drmp3_L3_ldexp_q2(float, int) [function] [call site] 00077
8 drmp3_L3_huffman(float*, drmp3_bs*, drmp3_L3_gr_info const*, float const*, int) [function] [call site] 00078
9 drmp3_L3_pow_43(int) [function] [call site] 00079
8 drmp3_L3_intensity_stereo(float*, unsigned char*, drmp3_L3_gr_info const*, unsigned char const*) [function] [call site] 00080
9 drmp3_L3_stereo_top_band(float const*, unsigned char const*, int, int*) [function] [call site] 00081
9 drmp3_L3_stereo_process(float*, unsigned char const*, unsigned char const*, unsigned char const*, int*, int) [function] [call site] 00082
10 drmp3_L3_ldexp_q2(float, int) [function] [call site] 00083
10 drmp3_L3_intensity_stereo_band(float*, int, float, float) [function] [call site] 00084
10 drmp3_L3_midside_stereo(float*, int) [function] [call site] 00085
11 drmp3_have_simd() [function] [call site] 00086
8 drmp3_L3_midside_stereo(float*, int) [function] [call site] 00087
8 drmp3_L3_reorder(float*, float*, unsigned char const*) [function] [call site] 00088
8 drmp3_L3_antialias(float*, int) [function] [call site] 00089
9 drmp3_have_simd() [function] [call site] 00090
8 drmp3_L3_imdct_gr(float*, float*, unsigned int, unsigned int) [function] [call site] 00091
9 drmp3_L3_imdct36(float*, float*, float const*, int) [function] [call site] 00092
10 drmp3_L3_dct3_9(float*) [function] [call site] 00093
10 drmp3_L3_dct3_9(float*) [function] [call site] 00094
10 drmp3_have_simd() [function] [call site] 00095
9 drmp3_L3_imdct_short(float*, float*, int) [function] [call site] 00096
10 drmp3_L3_imdct12(float*, float*, float*) [function] [call site] 00097
11 drmp3_L3_idct3(float, float, float, float*) [function] [call site] 00098
11 drmp3_L3_idct3(float, float, float, float*) [function] [call site] 00099
10 drmp3_L3_imdct12(float*, float*, float*) [function] [call site] 00100
10 drmp3_L3_imdct12(float*, float*, float*) [function] [call site] 00101
9 drmp3_L3_imdct36(float*, float*, float const*, int) [function] [call site] 00102
8 drmp3_L3_change_sign(float*) [function] [call site] 00103
7 drmp3d_synth_granule(float*, float*, int, int, short*, float*) [function] [call site] 00104
8 drmp3d_DCT_II(float*, int) [function] [call site] 00105
9 drmp3_have_simd() [function] [call site] 00106
8 drmp3d_synth(float*, short*, int, float*) [function] [call site] 00107
9 drmp3d_synth_pair(short*, int, float const*) [function] [call site] 00108
10 drmp3d_scale_pcm(float) [function] [call site] 00109
10 drmp3d_scale_pcm(float) [function] [call site] 00110
9 drmp3d_synth_pair(short*, int, float const*) [function] [call site] 00111
9 drmp3d_synth_pair(short*, int, float const*) [function] [call site] 00112
9 drmp3d_synth_pair(short*, int, float const*) [function] [call site] 00113
9 drmp3_have_simd() [function] [call site] 00114
7 drmp3_L3_save_reservoir(drmp3dec*, drmp3dec_scratch*) [function] [call site] 00115
7 drmp3_hdr_frame_samples(unsigned char const*) [function] [call site] 00116
7 drmp3_L12_read_scale_info(unsigned char const*, drmp3_bs*, drmp3_L12_scale_info*) [function] [call site] 00117
8 drmp3_L12_subband_alloc_table(unsigned char const*, drmp3_L12_scale_info*) [function] [call site] 00118
9 drmp3_hdr_bitrate_kbps(unsigned char const*) [function] [call site] 00119
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00120
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00121
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00122
8 drmp3_L12_read_scalefactors(drmp3_bs*, unsigned char*, unsigned char*, int, float*) [function] [call site] 00123
9 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00124
7 drmp3_L12_dequantize_granule(float*, drmp3_bs*, drmp3_L12_scale_info*, int) [function] [call site] 00125
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00126
8 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00127
7 drmp3_L12_apply_scf_384(drmp3_L12_scale_info*, float const*, float*) [function] [call site] 00128
7 drmp3d_synth_granule(float*, float*, int, int, short*, float*) [function] [call site] 00129
7 drmp3dec_init [function] [call site] 00130
7 drmp3_hdr_frame_samples(unsigned char const*) [function] [call site] 00131
6 drmp3_hdr_frame_samples(unsigned char const*) [function] [call site] 00132
5 drmp3_decode_next_frame_ex__callbacks(drmp3*, short*, drmp3dec_frame_info*, unsigned char const**) [function] [call site] 00133
6 __assert_fail [call site] 00134
6 __assert_fail [call site] 00135
6 drmp3__realloc_from_callbacks(void*, unsigned long, unsigned long, drmp3_allocation_callbacks const*) [function] [call site] 00136
6 drmp3__on_read_clamped(drmp3*, void*, unsigned long) [function] [call site] 00137
7 __assert_fail [call site] 00138
7 __assert_fail [call site] 00139
7 drmp3__on_read(drmp3*, void*, unsigned long) [function] [call site] 00140
8 __assert_fail [call site] 00141
8 __assert_fail [call site] 00142
7 drmp3__on_read(drmp3*, void*, unsigned long) [function] [call site] 00143
6 __assert_fail [call site] 00144
6 __assert_fail [call site] 00145
6 drmp3dec_decode_frame [function] [call site] 00146
6 drmp3_hdr_frame_samples(unsigned char const*) [function] [call site] 00147
6 drmp3__realloc_from_callbacks(void*, unsigned long, unsigned long, drmp3_allocation_callbacks const*) [function] [call site] 00148
6 drmp3__on_read_clamped(drmp3*, void*, unsigned long) [function] [call site] 00149
4 __assert_fail [call site] 00150
4 __assert_fail [call site] 00151
4 drmp3_bs_init(drmp3_bs*, unsigned char const*, int) [function] [call site] 00152
4 drmp3_bs_get_bits(drmp3_bs*, int) [function] [call site] 00153
4 drmp3_L3_read_side_info(drmp3_bs*, drmp3_L3_gr_info*, unsigned char const*) [function] [call site] 00154
4 drmp3__on_meta(drmp3*, drmp3_metadata_type, void const*, unsigned long) [function] [call site] 00155
4 drmp3dec_init [function] [call site] 00156
4 drmp3__free_from_callbacks(void*, drmp3_allocation_callbacks const*) [function] [call site] 00157
3 drmp3__on_read_memory(void*, void*, unsigned long) [function] [call site] 00158
4 __assert_fail [call site] 00159
4 __assert_fail [call site] 00160
3 drmp3__on_seek_memory(void*, int, drmp3_seek_origin) [function] [call site] 00161
4 __assert_fail [call site] 00162
4 __assert_fail [call site] 00163
3 drmp3__on_tell_memory(void*, long long*) [function] [call site] 00164
4 __assert_fail [call site] 00165
4 __assert_fail [call site] 00166
1 drmp3_read_pcm_frames_f32 [function] [call site] 00167
2 drmp3_read_pcm_frames_raw(drmp3*, unsigned long long, void*) [function] [call site] 00168
3 __assert_fail [call site] 00169
3 __assert_fail [call site] 00170
3 __assert_fail [call site] 00171
3 drmp3_decode_next_frame(drmp3*) [function] [call site] 00172
4 __assert_fail [call site] 00173
4 drmp3_decode_next_frame_ex(drmp3*, short*, drmp3dec_frame_info*, unsigned char const**) [function] [call site] 00174
2 drmp3_s16_to_f32(float*, short const*, unsigned long long) [function] [call site] 00175
1 drmp3_uninit [function] [call site] 00176
2 fclose [call site] 00177
2 drmp3__free_from_callbacks(void*, drmp3_allocation_callbacks const*) [function] [call site] 00178