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/qqwing-1.3.4/qqwing.hpp
Examining data/qqwing-1.3.4/main.cpp
Examining data/qqwing-1.3.4/qqwing.cpp

FINAL RESULTS:

data/qqwing-1.3.4/main.cpp:204:3:  [3] (random) srand:
  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.
		srand ( unsigned ( time(0) ) );
data/qqwing-1.3.4/main.cpp:111:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					numberToGenerate = atoi(argv[i+1]);
data/qqwing-1.3.4/main.cpp:175:25:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
					numberToGenerate = atoi(argv[i+1]);
data/qqwing-1.3.4/main.cpp:490:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	while (read < BOARD_SIZE){
data/qqwing-1.3.4/main.cpp:491:12:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
		char c = getchar();
data/qqwing-1.3.4/main.cpp:494:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			puzzle[read] = c-'0';
data/qqwing-1.3.4/main.cpp:498:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			puzzle[read] = 0;

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 2392 in approximately 0.13 seconds (18823 lines/second)
Physical Source Lines of Code (SLOC) = 1793
Hits@level = [0]   0 [1]   4 [2]   2 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   7 [1+]   7 [2+]   3 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 3.90407 [1+] 3.90407 [2+] 1.67317 [3+] 0.557724 [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.