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/midisnoop-0.1.2+git20141108.bc30f600187e/src/view.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/designerview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/error.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/aboutview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/closeeventfilter.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/util.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/view.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/messageview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/configureview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/aboutview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/application.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/mainview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/dialogview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/main.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/messagetabledelegate.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/util.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/errorview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/errorview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/controller.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/error.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/dialogview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/application.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/designerview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/closeeventfilter.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/controller.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/mainview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/messageview.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/configureview.h Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/messagetabledelegate.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/engine.cpp Examining data/midisnoop-0.1.2+git20141108.bc30f600187e/src/engine.h FINAL RESULTS: data/midisnoop-0.1.2+git20141108.bc30f600187e/src/aboutview.cpp:69:31: [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. QLocale locale = QLocale::system(); data/midisnoop-0.1.2+git20141108.bc30f600187e/src/main.cpp:45:33: [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. QString language = QLocale::system().name(); data/midisnoop-0.1.2+git20141108.bc30f600187e/src/util.cpp:299:22: [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. arg(QLocale::system().toString(control), name); data/midisnoop-0.1.2+git20141108.bc30f600187e/src/util.cpp:344:31: [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. QLocale locale = QLocale::system(); data/midisnoop-0.1.2+git20141108.bc30f600187e/src/util.cpp:357:24: [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). bool opened = file.open(QFile::ReadOnly); ANALYSIS SUMMARY: Hits = 5 Lines analyzed = 3283 in approximately 0.08 seconds (41774 lines/second) Physical Source Lines of Code (SLOC) = 2139 Hits@level = [0] 0 [1] 0 [2] 1 [3] 0 [4] 4 [5] 0 Hits@level+ = [0+] 5 [1+] 5 [2+] 5 [3+] 4 [4+] 4 [5+] 0 Hits/KSLOC@level+ = [0+] 2.33754 [1+] 2.33754 [2+] 2.33754 [3+] 1.87003 [4+] 1.87003 [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.