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/apertium-separable-0.3.3/src/lsx_comp.cc
Examining data/apertium-separable-0.3.3/src/lsx_compiler.cc
Examining data/apertium-separable-0.3.3/src/lsx_compiler.h
Examining data/apertium-separable-0.3.3/src/lsx_processor.cc
Examining data/apertium-separable-0.3.3/src/processor.cc
Examining data/apertium-separable-0.3.3/src/transducer2.cc

FINAL RESULTS:

data/apertium-separable-0.3.3/src/lsx_comp.cc:45:15:  [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).
  FILE* fst = fopen(argv[3], "w+");
data/apertium-separable-0.3.3/src/lsx_compiler.cc:343:57:  [2] (misc) open:
  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).
Compiler::skip(wstring &name, wstring const &elem, bool open)
data/apertium-separable-0.3.3/src/lsx_compiler.cc:349:9:  [2] (misc) open:
  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(!open)
data/apertium-separable-0.3.3/src/lsx_compiler.h:228:56:  [2] (misc) open:
  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).
    void skip(wstring &name, wstring const &elem, bool open);
data/apertium-separable-0.3.3/src/lsx_processor.cc:35:15:  [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).
  FILE *fst = fopen(fname, "r");
data/apertium-separable-0.3.3/src/processor.cc:47:17:  [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).
    FILE *fst = fopen(argv[1], "r");
data/apertium-separable-0.3.3/src/transducer2.cc:180:21:  [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).
        FILE* fst = fopen(filename.c_str(), "w+");
data/apertium-separable-0.3.3/src/processor.cc:57:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    alphabet.read(fst);
data/apertium-separable-0.3.3/src/processor.cc:71:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    transducer.read(fst, alphabet);

ANALYSIS SUMMARY:

Hits = 9
Lines analyzed = 1649 in approximately 0.05 seconds (34130 lines/second)
Physical Source Lines of Code (SLOC) = 1142
Hits@level = [0]   1 [1]   2 [2]   7 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]  10 [1+]   9 [2+]   7 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 8.75657 [1+] 7.88091 [2+] 6.1296 [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.