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/bcalm-2.2.3/example/uf/testUF.cpp
Examining data/bcalm-2.2.3/scripts/unitigEvaluator.cpp
Examining data/bcalm-2.2.3/src/bcalm_1.cpp
Examining data/bcalm-2.2.3/src/bcalm_1.hpp
Examining data/bcalm-2.2.3/src/main.cpp
Examining data/bcalm-2.2.3/thirdparty/ThreadPool.h
Examining data/bcalm-2.2.3/thirdparty/concurrentqueue.h
Examining data/bcalm-2.2.3/thirdparty/lockbasedqueue.h
Examining data/bcalm-2.2.3/thirdparty/lockstdqueue.h
Examining data/bcalm-2.2.3/thirdparty/lockstdvector.h

FINAL RESULTS:

data/bcalm-2.2.3/scripts/unitigEvaluator.cpp:102:2:  [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 (time(NULL));
data/bcalm-2.2.3/thirdparty/concurrentqueue.h:1523:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char elements[sizeof(T) * BLOCK_SIZE];

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 4378 in approximately 0.11 seconds (39837 lines/second)
Physical Source Lines of Code (SLOC) = 3132
Hits@level = [0]   0 [1]   0 [2]   1 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   2 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 0.63857 [1+] 0.63857 [2+] 0.63857 [3+] 0.319285 [4+]   0 [5+]   0
Dot directories skipped = 2 (--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.