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/cqrlib-1.1.4/CPPQRTest.cpp
Examining data/cqrlib-1.1.4/CQRlibTest.c
Examining data/cqrlib-1.1.4/cqrlib.c
Examining data/cqrlib-1.1.4/cqrlib.h

FINAL RESULTS:

data/cqrlib-1.1.4/CQRlibTest.c:56:17:  [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.
#define rand(x) random(x)
data/cqrlib-1.1.4/CQRlibTest.c:57:9:  [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.
#define srand(x) srandom(x)
data/cqrlib-1.1.4/CQRlibTest.c:57:18:  [3] (random) srandom:
  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.
#define srand(x) srandom(x)

ANALYSIS SUMMARY:

Hits = 3
Lines analyzed = 3727 in approximately 0.16 seconds (22986 lines/second)
Physical Source Lines of Code (SLOC) = 2429
Hits@level = [0]  96 [1]   0 [2]   0 [3]   3 [4]   0 [5]   0
Hits@level+ = [0+]  99 [1+]   3 [2+]   3 [3+]   3 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 40.7575 [1+] 1.23508 [2+] 1.23508 [3+] 1.23508 [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.