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/argh-1.3.1+ds/argh.h
Examining data/argh-1.3.1+ds/example.cpp
Examining data/argh-1.3.1+ds/test_package/test_package.cpp
Examining data/argh-1.3.1+ds/argh_tests.cpp

FINAL RESULTS:

data/argh-1.3.1+ds/argh.h:39:18:  [3] (random) setstate:
  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.
         stream_.setstate(other.stream_.rdstate());
data/argh-1.3.1+ds/argh.h:42:12:  [3] (random) setstate:
  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.
      void setstate(std::ios_base::iostate state) { stream_.setstate(state); }
data/argh-1.3.1+ds/argh.h:42:61:  [3] (random) setstate:
  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.
      void setstate(std::ios_base::iostate state) { stream_.setstate(state); }
data/argh-1.3.1+ds/argh.h:267:11:  [3] (random) setstate:
  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.
      bad.setstate(std::ios_base::failbit);

ANALYSIS SUMMARY:

Hits = 4
Lines analyzed = 1244 in approximately 0.06 seconds (20310 lines/second)
Physical Source Lines of Code (SLOC) = 942
Hits@level = [0]   0 [1]   0 [2]   0 [3]   4 [4]   0 [5]   0
Hits@level+ = [0+]   4 [1+]   4 [2+]   4 [3+]   4 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.24628 [1+] 4.24628 [2+] 4.24628 [3+] 4.24628 [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.