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/qtspell-0.9.0/examples/example.cpp Examining data/qtspell-0.9.0/examples/example.hpp Examining data/qtspell-0.9.0/src/Checker.cpp Examining data/qtspell-0.9.0/src/Codetable.cpp Examining data/qtspell-0.9.0/src/Codetable.hpp Examining data/qtspell-0.9.0/src/QtSpell.hpp Examining data/qtspell-0.9.0/src/TextEditChecker.cpp Examining data/qtspell-0.9.0/src/TextEditChecker_p.hpp Examining data/qtspell-0.9.0/src/UndoRedoStack.cpp Examining data/qtspell-0.9.0/src/UndoRedoStack.hpp FINAL RESULTS: data/qtspell-0.9.0/examples/example.cpp:30:37: [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. qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); data/qtspell-0.9.0/src/Checker.cpp:58:46: [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. spellTranslator.load("QtSpell_" + QLocale::system().name(), translationsPath); data/qtspell-0.9.0/src/Checker.cpp:105:21: [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. m_lang = QLocale::system().name(); data/qtspell-0.9.0/src/Codetable.cpp:103:11: [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)){ ANALYSIS SUMMARY: Hits = 4 Lines analyzed = 1755 in approximately 0.09 seconds (18679 lines/second) Physical Source Lines of Code (SLOC) = 1118 Hits@level = [0] 0 [1] 0 [2] 1 [3] 0 [4] 3 [5] 0 Hits@level+ = [0+] 4 [1+] 4 [2+] 4 [3+] 3 [4+] 3 [5+] 0 Hits/KSLOC@level+ = [0+] 3.57782 [1+] 3.57782 [2+] 3.57782 [3+] 2.68336 [4+] 2.68336 [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.