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/kirigami2-5.74.0/autotests/qmltest.cpp
Examining data/kirigami2-5.74.0/examples/qmakewithstaticplugin/src/main.cpp
Examining data/kirigami2-5.74.0/examples/staticcmake/src/main.cpp
Examining data/kirigami2-5.74.0/examples/applicationitemapp/main.cpp
Examining data/kirigami2-5.74.0/examples/minimalqmake/main.cpp
Examining data/kirigami2-5.74.0/templates/kirigami/src/main.cpp
Examining data/kirigami2-5.74.0/src/icon.cpp
Examining data/kirigami2-5.74.0/src/mnemonicattached.h
Examining data/kirigami2-5.74.0/src/formlayoutattached.h
Examining data/kirigami2-5.74.0/src/mnemonicattached.cpp
Examining data/kirigami2-5.74.0/src/colorutils.h
Examining data/kirigami2-5.74.0/src/columnview_p.h
Examining data/kirigami2-5.74.0/src/toolbarlayoutdelegate.h
Examining data/kirigami2-5.74.0/src/pagerouter.h
Examining data/kirigami2-5.74.0/src/kirigamiplugin.h
Examining data/kirigami2-5.74.0/src/shadowedrectangle.cpp
Examining data/kirigami2-5.74.0/src/colorutils.cpp
Examining data/kirigami2-5.74.0/src/delegaterecycler.cpp
Examining data/kirigami2-5.74.0/src/toolbarlayout.h
Examining data/kirigami2-5.74.0/src/settings.h
Examining data/kirigami2-5.74.0/src/imagecolors.cpp
Examining data/kirigami2-5.74.0/src/shadowedtexture.cpp
Examining data/kirigami2-5.74.0/src/wheelhandler.cpp
Examining data/kirigami2-5.74.0/src/avatar.h
Examining data/kirigami2-5.74.0/src/delegaterecycler.h
Examining data/kirigami2-5.74.0/src/formlayoutattached.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedborderrectanglematerial.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedtexturematerial.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedrectanglenode.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedtexturematerial.h
Examining data/kirigami2-5.74.0/src/scenegraph/paintedrectangleitem.h
Examining data/kirigami2-5.74.0/src/scenegraph/managedtexturenode.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedbordertexturematerial.h
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedtexturenode.h
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedrectanglematerial.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedbordertexturematerial.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/paintedrectangleitem.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedrectanglenode.h
Examining data/kirigami2-5.74.0/src/scenegraph/managedtexturenode.h
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedrectanglematerial.h
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedtexturenode.cpp
Examining data/kirigami2-5.74.0/src/scenegraph/shadowedborderrectanglematerial.h
Examining data/kirigami2-5.74.0/src/enums.h
Examining data/kirigami2-5.74.0/src/pagepool.h
Examining data/kirigami2-5.74.0/src/wheelhandler.h
Examining data/kirigami2-5.74.0/src/toolbarlayoutdelegate.cpp
Examining data/kirigami2-5.74.0/src/icon.h
Examining data/kirigami2-5.74.0/src/settings.cpp
Examining data/kirigami2-5.74.0/src/libkirigami/tabletmodewatcher.h
Examining data/kirigami2-5.74.0/src/libkirigami/tabletmodewatcher.cpp
Examining data/kirigami2-5.74.0/src/libkirigami/kirigamipluginfactory.cpp
Examining data/kirigami2-5.74.0/src/libkirigami/platformtheme.cpp
Examining data/kirigami2-5.74.0/src/libkirigami/platformtheme.h
Examining data/kirigami2-5.74.0/src/libkirigami/kirigamipluginfactory.h
Examining data/kirigami2-5.74.0/src/libkirigami/basictheme.cpp
Examining data/kirigami2-5.74.0/src/libkirigami/basictheme_p.h
Examining data/kirigami2-5.74.0/src/shadowedtexture.h
Examining data/kirigami2-5.74.0/src/pagerouter.cpp
Examining data/kirigami2-5.74.0/src/columnview.cpp
Examining data/kirigami2-5.74.0/src/columnview.h
Examining data/kirigami2-5.74.0/src/enums.cpp
Examining data/kirigami2-5.74.0/src/scenepositionattached.cpp
Examining data/kirigami2-5.74.0/src/kirigamiplugin.cpp
Examining data/kirigami2-5.74.0/src/imagecolors.h
Examining data/kirigami2-5.74.0/src/avatar.cpp
Examining data/kirigami2-5.74.0/src/shadowedrectangle.h
Examining data/kirigami2-5.74.0/src/pagepool.cpp
Examining data/kirigami2-5.74.0/src/scenepositionattached.h
Examining data/kirigami2-5.74.0/src/toolbarlayout.cpp

FINAL RESULTS:

data/kirigami2-5.74.0/src/pagerouter.h:55:41:  [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.
        auto number = QRandomGenerator::system()->generate();
data/kirigami2-5.74.0/src/pagerouter.h:57:40:  [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.
            number = QRandomGenerator::system()->generate();
data/kirigami2-5.74.0/src/delegaterecycler.cpp:155:106:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ctx->setContextProperty(QString::fromUtf8(metaObj->property(i).name()), metaObj->property(i).read(modelObj));
data/kirigami2-5.74.0/src/delegaterecycler.cpp:173:106:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ctx->setContextProperty(QString::fromUtf8(metaObj->property(i).name()), metaObj->property(i).read(modelObj));
data/kirigami2-5.74.0/src/delegaterecycler.cpp:271:78:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                ctx->setContextProperty(QString::fromUtf8(prop.name()), prop.read(modelObj));

ANALYSIS SUMMARY:

Hits = 5
Lines analyzed = 14203 in approximately 2.35 seconds (6053 lines/second)
Physical Source Lines of Code (SLOC) = 9525
Hits@level = [0]   0 [1]   3 [2]   0 [3]   0 [4]   2 [5]   0
Hits@level+ = [0+]   5 [1+]   5 [2+]   2 [3+]   2 [4+]   2 [5+]   0
Hits/KSLOC@level+ = [0+] 0.524934 [1+] 0.524934 [2+] 0.209974 [3+] 0.209974 [4+] 0.209974 [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.