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/iat-0.1.3/src/iat.c

FINAL RESULTS:

data/iat-0.1.3/src/iat.c:368:10:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
  for (c=getopt(argc, argv, OPTIONS_LIST);
data/iat-0.1.3/src/iat.c:370:9:  [3] (buffer) getopt:
  Some older implementations do not protect against internal buffer overflows
  (CWE-120, CWE-20). Check implementation on installation, or limit the size
  of all string inputs.
      c=getopt(argc, argv, OPTIONS_LIST))
data/iat-0.1.3/src/iat.c:82:7:  [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.
const char SYNC_RAW[12] = { 
data/iat-0.1.3/src/iat.c:97:7:  [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.
const char SYNC_RAW_2[8] = {
data/iat-0.1.3/src/iat.c:175: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 buf[2448];
data/iat-0.1.3/src/iat.c:218: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 buf[8];
data/iat-0.1.3/src/iat.c:219: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 raw[12];
data/iat-0.1.3/src/iat.c:406:18:  [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).
  if ((fsource = fopen(input_file, "rb")) != NULL)
data/iat-0.1.3/src/iat.c:417:23:  [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).
        if (!(fdest = fopen(output_file, "wb")))

ANALYSIS SUMMARY:

Hits = 9
Lines analyzed = 441 in approximately 0.05 seconds (9790 lines/second)
Physical Source Lines of Code (SLOC) = 319
Hits@level = [0]  34 [1]   0 [2]   7 [3]   2 [4]   0 [5]   0
Hits@level+ = [0+]  43 [1+]   9 [2+]   9 [3+]   2 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 134.796 [1+] 28.2132 [2+] 28.2132 [3+] 6.26959 [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.