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/runcircos-gui-0.0+git20200528.82dda8c/src/aboutbox.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/aboutbox.h
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/iconloader.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/iconloader.h
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/main.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.h
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/moduleinstaller.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/moduleinstaller.h
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/setbindir.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/setbindir.h
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/utils.cpp
Examining data/runcircos-gui-0.0+git20200528.82dda8c/src/utils.h

FINAL RESULTS:

data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.cpp:649:15:  [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 ( file.open(QIODevice::ReadWrite| QIODevice::Truncate | QIODevice::Text) )
data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.cpp:755:18:  [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 (inputFile.open(QIODevice::ReadOnly))
data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.cpp:770:15:  [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 ( file.open(QIODevice::ReadWrite| QIODevice::Truncate | QIODevice::Text) )
data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.cpp:789:15:  [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 ( file.open(QIODevice::ReadOnly) )
data/runcircos-gui-0.0+git20200528.82dda8c/src/mainwindow.cpp:1056:13:  [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 ( file.open(QIODevice::ReadWrite| QIODevice::Truncate
data/runcircos-gui-0.0+git20200528.82dda8c/src/moduleinstaller.cpp:79:14:  [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 (file.open(QIODevice::ReadWrite| QIODevice::Truncate
data/runcircos-gui-0.0+git20200528.82dda8c/src/moduleinstaller.cpp:165:16:  [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 (file.open(QIODevice::ReadWrite| QIODevice::Truncate |

ANALYSIS SUMMARY:

Hits = 7
Lines analyzed = 2074 in approximately 0.08 seconds (26912 lines/second)
Physical Source Lines of Code (SLOC) = 1546
Hits@level = [0]   0 [1]   0 [2]   7 [3]   0 [4]   0 [5]   0
Hits@level+ = [0+]   7 [1+]   7 [2+]   7 [3+]   0 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 4.52781 [1+] 4.52781 [2+] 4.52781 [3+]   0 [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.