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/screengrab-2.0.0/src/common/qkeysequencewidget/src/qkeysequencewidget.cpp
Examining data/screengrab-2.0.0/src/common/qkeysequencewidget/src/qkeysequencewidget.h
Examining data/screengrab-2.0.0/src/common/qkeysequencewidget/src/qkeysequencewidget_p.h
Examining data/screengrab-2.0.0/src/core/config.cpp
Examining data/screengrab-2.0.0/src/core/config.h
Examining data/screengrab-2.0.0/src/core/core.cpp
Examining data/screengrab-2.0.0/src/core/core.h
Examining data/screengrab-2.0.0/src/core/dbusnotifier.cpp
Examining data/screengrab-2.0.0/src/core/dbusnotifier.h
Examining data/screengrab-2.0.0/src/core/main.cpp
Examining data/screengrab-2.0.0/src/core/modulemanager.cpp
Examining data/screengrab-2.0.0/src/core/modulemanager.h
Examining data/screengrab-2.0.0/src/core/regionselect.cpp
Examining data/screengrab-2.0.0/src/core/regionselect.h
Examining data/screengrab-2.0.0/src/core/shortcutmanager.cpp
Examining data/screengrab-2.0.0/src/core/shortcutmanager.h
Examining data/screengrab-2.0.0/src/core/singleapp.cpp
Examining data/screengrab-2.0.0/src/core/singleapp.h
Examining data/screengrab-2.0.0/src/core/ui/about.cpp
Examining data/screengrab-2.0.0/src/core/ui/about.h
Examining data/screengrab-2.0.0/src/core/ui/configwidget.cpp
Examining data/screengrab-2.0.0/src/core/ui/configwidget.h
Examining data/screengrab-2.0.0/src/core/ui/mainwindow.cpp
Examining data/screengrab-2.0.0/src/core/ui/mainwindow.h
Examining data/screengrab-2.0.0/src/core/x11utils.cpp
Examining data/screengrab-2.0.0/src/core/x11utils.h
Examining data/screengrab-2.0.0/src/modules/abstractmodule.h
Examining data/screengrab-2.0.0/src/modules/extedit/extedit.cpp
Examining data/screengrab-2.0.0/src/modules/extedit/extedit.h
Examining data/screengrab-2.0.0/src/modules/extedit/moduleextedit.cpp
Examining data/screengrab-2.0.0/src/modules/extedit/moduleextedit.h

FINAL RESULTS:

data/screengrab-2.0.0/src/core/config.cpp:597:26:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
        return  QLocale::system().name();
data/screengrab-2.0.0/src/core/core.cpp:578:12:  [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).
    buffer.open(QIODevice::WriteOnly);

ANALYSIS SUMMARY:

Hits = 2
Lines analyzed = 5513 in approximately 0.16 seconds (35385 lines/second)
Physical Source Lines of Code (SLOC) = 3758
Hits@level = [0]   0 [1]   0 [2]   1 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   2 [1+]   2 [2+]   2 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 0.532198 [1+] 0.532198 [2+] 0.532198 [3+] 0.266099 [4+] 0.266099 [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.