Fuzz introspector: libfwnt_security_identifier_fuzzer
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
16 16 5 :

['free', 'libcerror_error_resize', 'libcerror_error_initialize', 'strlen', 'realloc']

16 16 libcerror_error_set call site: 00002 /src/libcaes/libcerror/libcerror_error.c:328
0 32 2 :

['free', 'libcerror_error_set']

0 32 libfwnt_security_identifier_initialize call site: 00011 /src/libevt/libfwnt/libfwnt_security_identifier.c:79
0 32 1 :

['libcerror_error_set']

0 32 libfwnt_security_identifier_free call site: 00023 /src/libevt/libfwnt/libfwnt_security_identifier.c:134
0 32 1 :

['libcerror_error_set']

0 32 libfwnt_internal_security_identifier_free call site: 00023 /src/libevt/libfwnt/libfwnt_security_identifier.c:162
0 0 None 0 32 libfwnt_security_identifier_initialize call site: 00001 /src/libevt/libfwnt/libfwnt_security_identifier.c:43
0 0 None 0 32 libfwnt_security_identifier_initialize call site: 00002 /src/libevt/libfwnt/libfwnt_security_identifier.c:54
0 0 None 0 32 libfwnt_security_identifier_initialize call site: 00010 /src/libevt/libfwnt/libfwnt_security_identifier.c:68
0 0 None 0 32 libfwnt_security_identifier_free call site: 00021 /src/libevt/libfwnt/libfwnt_security_identifier.c:117
0 0 None 0 32 libfwnt_security_identifier_copy_from_byte_stream call site: 00013 /src/libevt/libfwnt/libfwnt_security_identifier.c:198
0 0 None 0 32 libfwnt_security_identifier_copy_from_byte_stream call site: 00014 /src/libevt/libfwnt/libfwnt_security_identifier.c:211
0 0 None 0 32 libfwnt_security_identifier_copy_from_byte_stream call site: 00016 /src/libevt/libfwnt/libfwnt_security_identifier.c:233
0 0 None 0 32 libfwnt_security_identifier_copy_from_byte_stream call site: 00017 /src/libevt/libfwnt/libfwnt_security_identifier.c:244

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 libfwnt_security_identifier_initialize [function] [call site] 00001
2 libcerror_error_set [function] [call site] 00002
3 strlen [call site] 00003
3 libcerror_error_initialize [function] [call site] 00004
3 libcerror_error_resize [function] [call site] 00005
4 realloc [call site] 00006
4 realloc [call site] 00007
3 realloc [call site] 00008
3 vsnprintf [call site] 00009
2 libcerror_error_set [function] [call site] 00010
2 libcerror_error_set [function] [call site] 00011
2 libcerror_error_set [function] [call site] 00012
1 libfwnt_security_identifier_copy_from_byte_stream [function] [call site] 00013
2 libcerror_error_set [function] [call site] 00014
2 libcerror_error_set [function] [call site] 00015
2 libcerror_error_set [function] [call site] 00016
2 libcerror_error_set [function] [call site] 00017
2 libcerror_error_set [function] [call site] 00018
2 libcerror_error_set [function] [call site] 00019
2 libcerror_error_set [function] [call site] 00020
1 libfwnt_security_identifier_free [function] [call site] 00021
2 libcerror_error_set [function] [call site] 00022
2 libfwnt_internal_security_identifier_free [function] [call site] 00023
3 libcerror_error_set [function] [call site] 00024
2 libcerror_error_set [function] [call site] 00025