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/qtgraphicaleffects-opensource-src-5.15.2/src/effects/plugin.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/src/effects/private/plugin.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/src/effects/private/qgfxshaderbuilder.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/src/effects/private/qgfxshaderbuilder_p.h Examining data/qtgraphicaleffects-opensource-src-5.15.2/src/effects/private/qgfxsourceproxy.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/src/effects/private/qgfxsourceproxy_p.h Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/auto/tst_qtgraphicaleffects.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/manual/smooth/main.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/system/auto/imagecompare.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/system/auto/imagecompare.h Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/system/auto/main.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/system/auto/tst_imagecompare.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tests/system/auto/tst_imagecompare.h Examining data/qtgraphicaleffects-opensource-src-5.15.2/tools/pngdumper/pngdumper.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tools/pngdumper/pngdumper.h Examining data/qtgraphicaleffects-opensource-src-5.15.2/tools/pngdumper/pngdumper_plugin.cpp Examining data/qtgraphicaleffects-opensource-src-5.15.2/tools/pngdumper/pngdumper_plugin.h FINAL RESULTS: data/qtgraphicaleffects-opensource-src-5.15.2/tools/pngdumper/pngdumper.cpp:60:5: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. printf(s.toLatin1().data()); data/qtgraphicaleffects-opensource-src-5.15.2/tests/system/auto/main.cpp:43:25: [2] (integer) atoi: Unless checked, the resulting number can exceed the expected range (CWE-190). If source untrusted, check both minimum and maximum, even if the input had no minus sign (large numbers can roll over into negative number; consider saving to an unsigned value if that is intended). tolerance = atoi(argv[i+1]); ANALYSIS SUMMARY: Hits = 2 Lines analyzed = 4571 in approximately 0.18 seconds (24816 lines/second) Physical Source Lines of Code (SLOC) = 2900 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.689655 [1+] 0.689655 [2+] 0.689655 [3+] 0.344828 [4+] 0.344828 [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.