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/utfcheck-1.2/test/samples/gen-utf.c

FINAL RESULTS:

data/utfcheck-1.2/test/samples/gen-utf.c:25:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-ascii.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:33:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-utf8-bom-begin.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:43:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-utf8-bom-end.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:53:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-utf8.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:70:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-utf16-be.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:83:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-utf16-le.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:96:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-binary.txt", "w");
data/utfcheck-1.2/test/samples/gen-utf.c:105:12:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
   utffp = fopen ("sample-utf8-surrogate.txt", "w");

ANALYSIS SUMMARY:

Hits = 8
Lines analyzed = 213 in approximately 0.02 seconds (12993 lines/second)
Physical Source Lines of Code (SLOC) = 130
Hits@level = [0]   0 [1]   0 [2]   8 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   8 [1+]   8 [2+]   8 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 61.5385 [1+] 61.5385 [2+] 61.5385 [3+]   0 [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.