Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler. Number of rules (primarily dangerous function names) in C/C++ ruleset: 223 Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes.c Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes.h Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes_generic.c Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes_generic.h Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni.c Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni.h Examining data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni_impl.c Examining data/haskell-cipher-aes128-0.7.0.5/cbits/bitfn.h Examining data/haskell-cipher-aes128-0.7.0.5/cbits/block128.h Examining data/haskell-cipher-aes128-0.7.0.5/cbits/cpu.c Examining data/haskell-cipher-aes128-0.7.0.5/cbits/cpu.h Examining data/haskell-cipher-aes128-0.7.0.5/cbits/gf.c Examining data/haskell-cipher-aes128-0.7.0.5/cbits/gf.h FINAL RESULTS: data/haskell-cipher-aes128-0.7.0.5/cbits/aes.c:533:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newCTX, ctx, sizeof(aes_ctx)); data/haskell-cipher-aes128-0.7.0.5/cbits/aes.c:568:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newCTX, ctx, sizeof(aes_ctx)); data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni_impl.c:140:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&block.b, input, part_block_len); data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni_impl.c:148:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(output, &block.b, part_block_len); data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni_impl.c:189:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(newCTX, ctx, sizeof(aes_ctx)); data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni_impl.c:244:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&block.b, input, part_block_len); data/haskell-cipher-aes128-0.7.0.5/cbits/aes_x86ni_impl.c:261:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(output, &block.b, part_block_len); ANALYSIS SUMMARY: Hits = 7 Lines analyzed = 2422 in approximately 0.11 seconds (22361 lines/second) Physical Source Lines of Code (SLOC) = 1696 Hits@level = [0] 2 [1] 0 [2] 7 [3] 0 [4] 0 [5] 0 Hits@level+ = [0+] 9 [1+] 7 [2+] 7 [3+] 0 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 5.3066 [1+] 4.12736 [2+] 4.12736 [3+] 0 [4+] 0 [5+] 0 Dot directories skipped = 1 (--followdotdir overrides) Minimum risk level = 1 Not every hit is necessarily a security vulnerability. There may be other security vulnerabilities; review your code! See 'Secure Programming HOWTO' (https://dwheeler.com/secure-programs) for more information.