Fuzz introspector: libfcrypto_crypt_serpent_ecb_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 libfcrypto_serpent_context_initialize call site: 00011 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:609
0 32 1 :

['libcerror_error_set']

0 32 libfcrypto_serpent_context_free call site: 00042 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:663
0 32 1 :

['libcerror_error_set']

0 32 libfcrypto_serpent_context_set_key call site: 00018 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:775
0 32 1 :

['libcerror_error_set']

0 32 libfcrypto_internal_serpent_context_encrypt_block call site: 00031 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:1541
0 0 None 41 146 libfcrypto_serpent_crypt_ecb call site: 00026 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:2684
0 0 None 0 32 libfcrypto_serpent_context_initialize call site: 00001 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:573
0 0 None 0 32 libfcrypto_serpent_context_initialize call site: 00002 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:584
0 0 None 0 32 libfcrypto_serpent_context_initialize call site: 00010 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:598
0 0 None 0 32 libfcrypto_serpent_context_free call site: 00041 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:647
0 0 None 0 32 libfcrypto_serpent_context_set_key call site: 00013 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:706
0 0 None 0 32 libfcrypto_serpent_context_set_key call site: 00014 /src/libfcrypto/libfcrypto/libfcrypto_serpent_context.c:719

Fuzzer calltree

0 LLVMFuzzerTestOneInput [function] [call site] 00000
1 libfcrypto_serpent_context_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 libfcrypto_serpent_context_set_key [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
1 libfcrypto_serpent_crypt_ecb [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 libcerror_error_set [function] [call site] 00024
2 libcerror_error_set [function] [call site] 00025
2 libcerror_error_set [function] [call site] 00026
2 libfcrypto_internal_serpent_context_encrypt_block [function] [call site] 00027
3 libcerror_error_set [function] [call site] 00028
3 libcerror_error_set [function] [call site] 00029
3 libcerror_error_set [function] [call site] 00030
3 libcerror_error_set [function] [call site] 00031
3 libcerror_error_set [function] [call site] 00032
2 libcerror_error_set [function] [call site] 00033
2 libfcrypto_internal_serpent_context_decrypt_block [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
3 libcerror_error_set [function] [call site] 00038
3 libcerror_error_set [function] [call site] 00039
2 libcerror_error_set [function] [call site] 00040
1 libfcrypto_serpent_context_free [function] [call site] 00041
2 libcerror_error_set [function] [call site] 00042
2 libcerror_error_set [function] [call site] 00043