Fuzz introspector: libfwnt_security_descriptor_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 libcdata_array_initialize call site: 00065 /src/libfplist/libcdata/libcdata_array.c:162
0 32 1 :

['libcerror_error_set']

0 32 libcdata_array_free call site: 00103 /src/libfplist/libcdata/libcdata_array.c:260
0 32 1 :

['libcerror_error_set']

0 32 libcdata_array_set_entry_by_index call site: 00094 /src/libfplist/libcdata/libcdata_array.c:1367
0 32 2 :

['free', 'libcerror_error_set']

0 32 libfwnt_access_control_entry_initialize call site: 00071 /src/libfwnt/libfwnt/libfwnt_access_control_entry.c:85
0 32 1 :

['libcerror_error_set']

0 32 libfwnt_internal_access_control_entry_free call site: 00099 /src/libfwnt/libfwnt/libfwnt_access_control_entry.c:164
0 32 2 :

['free', 'libcerror_error_set']

0 32 libfwnt_access_control_list_initialize call site: 00049 /src/libfwnt/libfwnt/libfwnt_access_control_list.c:81
0 32 1 :

['libcerror_error_set']

0 32 libfwnt_internal_access_control_list_free call site: 00117 /src/libfwnt/libfwnt/libfwnt_access_control_list.c:160
0 32 2 :

['free', 'libcerror_error_set']

0 32 libfwnt_security_descriptor_initialize call site: 00011 /src/libfwnt/libfwnt/libfwnt_security_descriptor.c:86
0 32 1 :

['libcerror_error_set']

0 32 libfwnt_security_descriptor_free call site: 00129 /src/libfwnt/libfwnt/libfwnt_security_descriptor.c:190
0 32 2 :

['free', 'libcerror_error_set']

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

['libcerror_error_set']

0 32 libfwnt_internal_security_identifier_free call site: 00088 /src/libevt/libfwnt/libfwnt_security_identifier.c:162

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 libfwnt_security_descriptor_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_descriptor_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
2 libcerror_error_set [function] [call site] 00021
2 libcerror_error_set [function] [call site] 00022
2 libcerror_error_set [function] [call site] 00023
2 libfwnt_security_identifier_initialize [function] [call site] 00024
3 libcerror_error_set [function] [call site] 00025
3 libcerror_error_set [function] [call site] 00026
3 libcerror_error_set [function] [call site] 00027
3 libcerror_error_set [function] [call site] 00028
2 libcerror_error_set [function] [call site] 00029
2 libcerror_error_set [function] [call site] 00030
2 libfwnt_security_identifier_copy_from_byte_stream [function] [call site] 00031
3 libcerror_error_set [function] [call site] 00032
3 libcerror_error_set [function] [call site] 00033
3 libcerror_error_set [function] [call site] 00034
3 libcerror_error_set [function] [call site] 00035
3 libcerror_error_set [function] [call site] 00036
3 libcerror_error_set [function] [call site] 00037
2 libcerror_error_set [function] [call site] 00038
2 libcerror_error_set [function] [call site] 00039
2 libfwnt_security_identifier_initialize [function] [call site] 00040
2 libcerror_error_set [function] [call site] 00041
2 libcerror_error_set [function] [call site] 00042
2 libfwnt_security_identifier_copy_from_byte_stream [function] [call site] 00043
2 libcerror_error_set [function] [call site] 00044
2 libcerror_error_set [function] [call site] 00045
2 libfwnt_access_control_list_initialize [function] [call site] 00046
3 libcerror_error_set [function] [call site] 00047
3 libcerror_error_set [function] [call site] 00048
3 libcerror_error_set [function] [call site] 00049
3 libcerror_error_set [function] [call site] 00050
2 libcerror_error_set [function] [call site] 00051
2 libfwnt_access_control_list_copy_from_byte_stream [function] [call site] 00052
3 libcerror_error_set [function] [call site] 00053
3 libcerror_error_set [function] [call site] 00054
3 libcerror_error_set [function] [call site] 00055
3 libcerror_error_set [function] [call site] 00056
3 libcerror_error_set [function] [call site] 00057
3 libcerror_error_set [function] [call site] 00058
3 libcdata_array_initialize [function] [call site] 00059
4 libcerror_error_set [function] [call site] 00060
4 libcerror_error_set [function] [call site] 00061
4 libcerror_error_set [function] [call site] 00062
4 libcerror_error_set [function] [call site] 00063
4 libcerror_error_set [function] [call site] 00064
4 libcerror_error_set [function] [call site] 00065
4 libcerror_error_set [function] [call site] 00066
3 libcerror_error_set [function] [call site] 00067
3 libfwnt_access_control_entry_initialize [function] [call site] 00068
4 libcerror_error_set [function] [call site] 00069
4 libcerror_error_set [function] [call site] 00070
4 libcerror_error_set [function] [call site] 00071
4 libcerror_error_set [function] [call site] 00072
3 libcerror_error_set [function] [call site] 00073
3 libfwnt_access_control_entry_copy_from_byte_stream [function] [call site] 00074
4 libcerror_error_set [function] [call site] 00075
4 libcerror_error_set [function] [call site] 00076
4 libcerror_error_set [function] [call site] 00077
4 libcerror_error_set [function] [call site] 00078
4 libcerror_error_set [function] [call site] 00079
4 libcerror_error_set [function] [call site] 00080
4 libcerror_error_set [function] [call site] 00081
4 libcerror_error_set [function] [call site] 00082
4 libfwnt_security_identifier_initialize [function] [call site] 00083
4 libcerror_error_set [function] [call site] 00084
4 libcerror_error_set [function] [call site] 00085
4 libfwnt_security_identifier_copy_from_byte_stream [function] [call site] 00086
4 libcerror_error_set [function] [call site] 00087
4 libfwnt_internal_security_identifier_free [function] [call site] 00088
5 libcerror_error_set [function] [call site] 00089
3 libcerror_error_set [function] [call site] 00090
3 libcerror_error_set [function] [call site] 00091
3 libcdata_array_set_entry_by_index [function] [call site] 00092
4 libcerror_error_set [function] [call site] 00093
4 libcerror_error_set [function] [call site] 00094
4 libcerror_error_set [function] [call site] 00095
3 libcerror_error_set [function] [call site] 00096
3 libfwnt_internal_access_control_entry_free [function] [call site] 00097
4 libcerror_error_set [function] [call site] 00098
4 libfwnt_internal_security_identifier_free [function] [call site] 00099
4 libcerror_error_set [function] [call site] 00100
3 libcdata_array_free [function] [call site] 00101
4 libcerror_error_set [function] [call site] 00102
4 libcdata_internal_array_clear [function] [call site] 00103
5 libcerror_error_set [function] [call site] 00104
5 libcerror_error_set [function] [call site] 00105
4 libcerror_error_set [function] [call site] 00106
3 libfwnt_internal_access_control_entry_free [function] [call site] 00107
2 libcerror_error_set [function] [call site] 00108
2 libcerror_error_set [function] [call site] 00109
2 libfwnt_access_control_list_initialize [function] [call site] 00110
2 libcerror_error_set [function] [call site] 00111
2 libfwnt_access_control_list_copy_from_byte_stream [function] [call site] 00112
2 libcerror_error_set [function] [call site] 00113
2 libfwnt_internal_access_control_list_free [function] [call site] 00114
3 libcerror_error_set [function] [call site] 00115
3 libcdata_array_free [function] [call site] 00116
3 libfwnt_internal_access_control_entry_free [function] [call site] 00117
3 libcerror_error_set [function] [call site] 00118
2 libfwnt_internal_access_control_list_free [function] [call site] 00119
2 libfwnt_internal_security_identifier_free [function] [call site] 00120
2 libfwnt_internal_security_identifier_free [function] [call site] 00121
1 libfwnt_security_descriptor_free [function] [call site] 00122
2 libfwnt_internal_security_identifier_free [function] [call site] 00123
2 libcerror_error_set [function] [call site] 00124
2 libfwnt_internal_security_identifier_free [function] [call site] 00125
2 libcerror_error_set [function] [call site] 00126
2 libfwnt_internal_access_control_list_free [function] [call site] 00127
2 libcerror_error_set [function] [call site] 00128
2 libfwnt_internal_access_control_list_free [function] [call site] 00129
2 libcerror_error_set [function] [call site] 00130