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/blinken-20.04.3/src/blinkengame.cpp Examining data/blinken-20.04.3/src/blinken.cpp Examining data/blinken-20.04.3/src/button.cpp Examining data/blinken-20.04.3/src/soundsplayer.cpp Examining data/blinken-20.04.3/src/blinken.h Examining data/blinken-20.04.3/src/button.h Examining data/blinken-20.04.3/src/main.cpp Examining data/blinken-20.04.3/src/counter.cpp Examining data/blinken-20.04.3/src/number.cpp Examining data/blinken-20.04.3/src/soundsplayer.h Examining data/blinken-20.04.3/src/counter.h Examining data/blinken-20.04.3/src/highscoredialog.cpp Examining data/blinken-20.04.3/src/number.h Examining data/blinken-20.04.3/src/blinkengame.h Examining data/blinken-20.04.3/src/highscoredialog.h FINAL RESULTS: data/blinken-20.04.3/src/blinkengame.cpp:159:31: [3] (random) random: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. r = 1 + (int)(4.0 * KRandom::random() / (RAND_MAX + 1.0)); ANALYSIS SUMMARY: Hits = 1 Lines analyzed = 2276 in approximately 0.08 seconds (29376 lines/second) Physical Source Lines of Code (SLOC) = 1779 Hits@level = [0] 0 [1] 0 [2] 0 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 1 [1+] 1 [2+] 1 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.562114 [1+] 0.562114 [2+] 0.562114 [3+] 0.562114 [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.