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

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
0 7 1 :

['readstat_parser_free']

0 7 readstat_parser_init call site: 00005 /src/readstat/src/readstat_parser.c:9
0 0 None 0 0 unistd_io_init call site: 00007 /src/readstat/src/readstat_io_unistd.c:125
0 0 None 0 0 unistd_io_init call site: 00011 /src/readstat/src/readstat_io_unistd.c:128
0 0 None 0 0 unistd_io_init call site: 00014 /src/readstat/src/readstat_io_unistd.c:131
0 0 None 0 0 unistd_io_init call site: 00017 /src/readstat/src/readstat_io_unistd.c:134
0 0 None 0 0 unistd_io_init call site: 00020 /src/readstat/src/readstat_io_unistd.c:137
0 0 None 0 0 rt_seek_handler call site: 00031 /src/readstat/src/test/test_buffer_io.c:22
0 0 None 0 0 rt_seek_handler call site: 00031 /src/readstat/src/test/test_buffer_io.c:28
0 0 None 0 0 rt_seek_handler call site: 00031 /src/readstat/src/test/test_buffer_io.c:31

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 fuzzer_parser_init [function] [call site] 00001
2 readstat_parser_init [function] [call site] 00002
3 calloc [call site] 00003
3 calloc [call site] 00004
3 unistd_io_init [function] [call site] 00005
4 readstat_set_open_handler [function] [call site] 00006
4 unistd_open_handler [function] [call site] 00007
5 open_with_unicode [function] [call site] 00008
6 open [call site] 00009
4 readstat_set_close_handler [function] [call site] 00010
4 unistd_close_handler [function] [call site] 00011
5 close [call site] 00012
4 readstat_set_seek_handler [function] [call site] 00013
4 unistd_seek_handler [function] [call site] 00014
5 lseek [call site] 00015
4 readstat_set_read_handler [function] [call site] 00016
4 unistd_read_handler [function] [call site] 00017
5 read [call site] 00018
4 readstat_set_update_handler [function] [call site] 00019
4 unistd_update_handler [function] [call site] 00020
5 lseek [call site] 00021
4 calloc [call site] 00022
4 readstat_set_io_ctx [function] [call site] 00023
3 readstat_parser_free [function] [call site] 00024
4 readstat_set_io_ctx [function] [call site] 00025
2 readstat_set_open_handler [function] [call site] 00026
2 rt_open_handler [function] [call site] 00027
2 readstat_set_close_handler [function] [call site] 00028
2 rt_close_handler [function] [call site] 00029
2 readstat_set_seek_handler [function] [call site] 00030
2 rt_seek_handler [function] [call site] 00031
2 readstat_set_read_handler [function] [call site] 00032
2 rt_read_handler [function] [call site] 00033
2 readstat_set_update_handler [function] [call site] 00034
2 rt_update_handler [function] [call site] 00035
2 readstat_set_metadata_handler [function] [call site] 00036
2 handle_metadata [function] [call site] 00037
2 readstat_set_note_handler [function] [call site] 00038
2 handle_note [function] [call site] 00039
2 readstat_set_variable_handler [function] [call site] 00040
2 handle_variable [function] [call site] 00041
2 readstat_set_fweight_handler [function] [call site] 00042
2 handle_fweight [function] [call site] 00043
2 readstat_set_value_handler [function] [call site] 00044
2 handle_value [function] [call site] 00045
2 readstat_set_value_label_handler [function] [call site] 00046
2 handle_value_label [function] [call site] 00047
1 readstat_set_io_ctx [function] [call site] 00048
1 readstat_parse_stata_dictionary [function] [call site] 00049
2 calloc [call site] 00050
2 realloc [call site] 00051
2 readstat_copy [function] [call site] 00052
2 readstat_copy [function] [call site] 00053
2 readstat_copy [function] [call site] 00054
2 snprintf [call site] 00055
2 snprintf [call site] 00056
2 readstat_schema_free [function] [call site] 00057
1 readstat_schema_free [function] [call site] 00058
1 readstat_parser_free [function] [call site] 00059