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/2048-qt-0.1.6/src/main.cpp
Examining data/2048-qt-0.1.6/src/myclass.cpp
Examining data/2048-qt-0.1.6/src/myclass.h
Examining data/2048-qt-0.1.6/src/settings.cpp
Examining data/2048-qt-0.1.6/src/settings.h

FINAL RESULTS:

data/2048-qt-0.1.6/src/main.cpp:20:27:  [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.
        locale = QLocale::system().name();

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 136 in approximately 0.01 seconds (11848 lines/second)
Physical Source Lines of Code (SLOC) = 102
Hits@level = [0]   0 [1]   0 [2]   0 [3]   0 [4]   1 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   1 [3+]   1 [4+]   1 [5+]   0
Hits/KSLOC@level+ = [0+] 9.80392 [1+] 9.80392 [2+] 9.80392 [3+] 9.80392 [4+] 9.80392 [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.