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/qtscxml-everywhere-src-5.15.2/examples/scxml/calculator-qml/calculator-qml.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/calculator-widgets/calculator-widgets.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/calculator-widgets/mainwindow.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/calculator-widgets/mainwindow.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/ftpclient/ftpcontrolchannel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/ftpclient/ftpcontrolchannel.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/ftpclient/ftpdatachannel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/ftpclient/ftpdatachannel.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/ftpclient/main.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/invoke-dynamic/invoke-dynamic.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/invoke-static/invoke-static.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-common/mainwindow.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-common/mainwindow.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-qml-cppdatamodel/mediaplayer-qml-cppdatamodel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-qml-cppdatamodel/thedatamodel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-qml-cppdatamodel/thedatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-qml-dynamic/mediaplayer-qml-dynamic.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-qml-static/mediaplayer-qml-static.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-widgets-dynamic/mediaplayer-widgets-dynamic.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/mediaplayer-widgets-static/mediaplayer-widgets-static.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/pinball/main.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/pinball/mainwindow.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/pinball/mainwindow.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/sudoku/main.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/sudoku/mainwindow.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/sudoku/mainwindow.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-common/trafficlight.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-common/trafficlight.h
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-qml-dynamic/trafficlight-qml-dynamic.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-qml-simple/trafficlight-qml-simple.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-qml-static/trafficlight-qml-static.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-widgets-dynamic/trafficlight-widgets-dynamic.cpp
Examining data/qtscxml-everywhere-src-5.15.2/examples/scxml/trafficlight-widgets-static/trafficlight-widgets-static.cpp
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlcompiler_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlcppdatamodel_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmldatamodel_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlecmascriptplatformproperties_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlevent_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlexecutablecontent_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlglobals_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlinvokableservice_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlstatemachine_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmlstatemachineinfo_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/5.15.2/QtScxml/private/qscxmltabledata_p.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlcompiler.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlcppdatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmldatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlecmascriptdatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlerror.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlevent.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlexecutablecontent.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlglobals.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlinvokableservice.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlnulldatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmlstatemachine.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qscxmltabledata.h
Examining data/qtscxml-everywhere-src-5.15.2/include/QtScxml/qtscxmlversion.h
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/eventconnection.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/eventconnection_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/invokedservices.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/invokedservices_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/plugin.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/statemachineextended.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/statemachineextended_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/statemachineloader.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/statemachineloader_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcompiler.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcompiler.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcompiler_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcppdatamodel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcppdatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcppdatamodel_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmldatamodel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmldatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmldatamodel_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlecmascriptdatamodel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlecmascriptdatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlecmascriptplatformproperties.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlecmascriptplatformproperties_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlerror.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlerror.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlevent.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlevent.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlevent_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlexecutablecontent.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlexecutablecontent.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlexecutablecontent_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlglobals.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlglobals_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlinvokableservice.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlinvokableservice.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlinvokableservice_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlnulldatamodel.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlnulldatamodel.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlstatemachine.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlstatemachine.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlstatemachine_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlstatemachineinfo.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlstatemachineinfo_p.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata.cpp
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata.h
Examining data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata_p.h
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/cmake/test_qtscxml_module/main.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/compiled/tst_compiled.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/dynamicmetaobject/tst_dynamicmetaobject.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/parser/tst_parser.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/scion/tst_scion.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/statemachine/tst_statemachine.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/auto/statemachineinfo/tst_statemachineinfo.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/manual/cppgen/tst_cppgen.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tests/manual/testCpp/testcpp.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.h
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/main.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/moc.h
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/outputrevision.h
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/qscxmlc.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/qscxmlc.h
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/scxmlcppdumper.cpp
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/scxmlcppdumper.h
Examining data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/utils.h

FINAL RESULTS:

data/qtscxml-everywhere-src-5.15.2/tests/auto/compiled/tst_compiled.cpp:306:23:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    QCOMPARE(aChanged.access(), QMetaMethod::Public);
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:44:6:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
void fprintf(QIODevice &out, const char *fmt, ...)
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:50:5:  [4] (format) vsnprintf:
  If format strings can be influenced by an attacker, they can be exploited,
  and note that sprintf variations do not always \0-terminate (CWE-134). Use
  a constant for the format specification.
    vsnprintf(buf, bufSize, fmt, argp);
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1153:17:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
                fprintf(out, f.implementation, "_o", methodindex);
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1546:9:  [4] (format) fprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
        fprintf(out, f.implementation, "this", methodindex);
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/moc.h:78:20:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    FunctionDef(): access(Private), isConst(false), isVirtual(false), isStatic(false),
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/moc.h:91:12:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    Access access;
data/qtscxml-everywhere-src-5.15.2/examples/scxml/sudoku/mainwindow.cpp:78: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).
    input.open(QIODevice::ReadOnly | QIODevice::Text);
data/qtscxml-everywhere-src-5.15.2/src/imports/scxmlstatemachine/statemachineloader.cpp:161:14:  [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 (!buf.open(QIODevice::ReadOnly)) {
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcompiler.cpp:2463:15:  [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 (f.open(QFile::ReadOnly))
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlstatemachine.cpp:1481:20:  [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 (!scxmlFile.open(QIODevice::ReadOnly)) {
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata.cpp:189:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, &m_stateTable, sizeof(m_stateTable));
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata.cpp:193:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, m_allStates.constData(),
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata.cpp:198:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, m_allTransitions.constData(),
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmltabledata.cpp:203:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(ptr, m_arrays.constData(), sizeof(qint32) * size_t(m_arrays.size()));
data/qtscxml-everywhere-src-5.15.2/tests/auto/parser/tst_parser.cpp:66:15:  [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).
    errorFile.open(QIODevice::ReadOnly | QIODevice::Text);
data/qtscxml-everywhere-src-5.15.2/tests/auto/scion/tst_scion.cpp:122:15:  [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 (f.open(QFile::ReadOnly))
data/qtscxml-everywhere-src-5.15.2/tests/auto/scion/tst_scion.cpp:196:22:  [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).
    QVERIFY(jsonFile.open(QIODevice::ReadOnly));
data/qtscxml-everywhere-src-5.15.2/tests/auto/scion/tst_scion.cpp:202:23:  [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).
    QVERIFY(scxmlFile.open(QIODevice::ReadOnly));
data/qtscxml-everywhere-src-5.15.2/tests/auto/scion/tst_scion.cpp:249:22:  [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).
    QVERIFY(jsonFile.open(QIODevice::ReadOnly));
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:49:5:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
    char buf[bufSize];
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/qscxmlc.cpp:59:15:  [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 (!outH.open(QFile::WriteOnly)) {
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/qscxmlc.cpp:65:17:  [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 (!outCpp.open(QFile::WriteOnly)) {
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/qscxmlc.cpp:171:15:  [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(QFile::ReadOnly)) {
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/scxmlcppdumper.cpp:84:17:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
                char buf[6];
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/scxmlcppdumper.cpp:817:9:  [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).
    buf.open(QIODevice::WriteOnly);
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcompiler.cpp:625:67:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        return QList<QByteArray>({ QByteArray::fromRawData(s, int(strlen(s))) });
data/qtscxml-everywhere-src-5.15.2/src/scxml/qscxmlcompiler.cpp:627:70:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
        return QList<QByteArray>() << QByteArray::fromRawData(s, int(strlen(s)));
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:775:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!p.read.isEmpty() || !p.member.isEmpty())
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1289:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            needGet |= !p.read.isEmpty() || !p.member.isEmpty();
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1290:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (!p.read.isEmpty() || !p.member.isEmpty())
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1317:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                if (p.read.isEmpty() && p.member.isEmpty())
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1325:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            propindex, prefix.constData(), p.read.constData());
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1328:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            propindex, prefix.constData(), p.read.constData());
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1331:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            propindex, prefix.constData(), p.read.constData());
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1332:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                else if (!p.read.isEmpty())
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1336:82:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            propindex, p.type.constData(), prefix.constData(), p.read.constData(),
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1337:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                            p.read.endsWith(')') ? "" : "()");
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1527:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (p.read.isEmpty() || p.mangledName.isEmpty())
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/generator.cpp:1531:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                p.mangledName.constData(), p.read.constData());
data/qtscxml-everywhere-src-5.15.2/tools/qscxmlc/moc.h:117:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    QByteArray name, mangledName, type, member, read, write, reset, designable, scriptable,

ANALYSIS SUMMARY:

Hits = 41
Lines analyzed = 22550 in approximately 0.74 seconds (30483 lines/second)
Physical Source Lines of Code (SLOC) = 13605
Hits@level = [0] 297 [1]  15 [2]  19 [3]   0 [4]   7 [5]   0
Hits@level+ = [0+] 338 [1+]  41 [2+]  26 [3+]   7 [4+]   7 [5+]   0
Hits/KSLOC@level+ = [0+] 24.8438 [1+] 3.0136 [2+] 1.91106 [3+] 0.514517 [4+] 0.514517 [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.