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/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/clientapp/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/cppclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/modelviewclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/modelviewserver/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/plugins/plugin.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/qmlmodelviewclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/server/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/server/timemodel.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/server/timemodel.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectclient/client.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectclient/client.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectdynamicclient/dynamicclient.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectdynamicclient/dynamicclient.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectdynamicclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectserver/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectserver/simpleswitch.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/directconnectserver/simpleswitch.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/registryconnectedclient/dynamicclient.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/registryconnectedclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/registryconnectedserver/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/registryconnectedserver/simpleswitch.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/simpleswitch/registryconnectedserver/simpleswitch.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/ssl/sslcppclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/ssl/sslserver/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/ssl/sslserver/sslserver.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/ssl/sslserver/sslserver.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/ssl/sslserver/timemodel.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/ssl/sslserver/timemodel.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/common/websocketiodevice.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/common/websocketiodevice.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsclient/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsserver/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnection_local_backend_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnection_qnx_backend_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnection_qnx_global_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnection_qnx_qiodevices_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnection_qnx_server_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnection_tcpip_backend_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qconnectionfactories_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectabstractitemmodeladapter_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectabstractitemmodelreplica_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectnode_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectpacket_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectpendingcall_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectregistrysource_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectreplica_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectsource_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/5.15.2/QtRemoteObjects/private/qremoteobjectsourceio_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qconnection_qnx_qiodevices.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qconnection_qnx_server.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectabstractitemmodelreplica.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectabstractitemmodeltypes.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectdynamicreplica.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectnode.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectpendingcall.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectregistry.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectreplica.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectsettingsstore.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qremoteobjectsource.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qtremoteobjectglobal.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRemoteObjects/qtremoteobjectsversion.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRepParser/qregexparser.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/include/QtRepParser/qtrepparserversion.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/imports/compat/plugin.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/imports/remoteobjects/plugin.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/doc/snippets/cmake-macros/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/doc/snippets/cmake-macros/simpleswitch.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/doc/snippets/cmake-macros/simpleswitch.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/doc/snippets/doc_src_remoteobjects.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/doc/snippets/doc_src_simpleswitch.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_local_backend.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_local_backend_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_backend.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_backend_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_global_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_tcpip_backend.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_tcpip_backend_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnectionfactories.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnectionfactories_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectabstractitemmodeladapter.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectabstractitemmodeladapter_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectabstractitemmodelreplica.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectabstractitemmodelreplica.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectabstractitemmodelreplica_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectabstractitemmodeltypes.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectdynamicreplica.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectdynamicreplica.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectnode.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectnode.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectnode_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectpacket.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectpacket_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectpendingcall.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectpendingcall.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectpendingcall_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectregistry.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectregistry.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectregistrysource.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectregistrysource_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectreplica.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectreplica.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectreplica_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsettingsstore.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsettingsstore.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsourceio.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsourceio_p.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qtremoteobjectglobal.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qtremoteobjectglobal.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/src/repparser/qregexparser.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/benchmarks/tst_benchmarkstest.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/cmake/test_cmake_macros/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/cmake/test_qremoteobjects_module/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/external_IODevice/sslTestServer/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/external_IODevice/sslTestServer/pingpong.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/external_IODevice/sslTestServer/pingpong.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/external_IODevice/sslTestServer/sslserver.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/external_IODevice/sslTestServer/sslserver.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/external_IODevice/tst_client/tst_client.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/engine.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/engine.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/speedometer.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/speedometer.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/temperature.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/client/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/external/tst_integration_external.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/server/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/server/mytestserver.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/server/mytestserver.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/client/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/server/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/server/mytestserver.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/server/mytestserver.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/tst/tst_integration_multiprocess.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/localsockettestserver/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/modelreplica/tst_modelreplicatest.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/modelview/modeltest.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/modelview/modeltest.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/modelview/tst_modelview.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/pods/pods.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/pods/tst_pods.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/client/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/namespace.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/proxy/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/server/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/server/mytestserver.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/server/mytestserver.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/shared.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy_multiprocess/tst/tst_proxy_multiprocess.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/qml/integration/tst_integration.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/qml/usertypes/tst_usertypes.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/enums/tst_enums.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/pods/tst_pods.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/signature/matchAndQuit/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/signature/mismatch.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/signature/signatureServer/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/signature/signatureTests/tst_signature.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repc/signature/state/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repcodegenerator/tst_repcodegenerator.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/restart/client/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/restart/server/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/restart/server/mytestserver.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/restart/server/mytestserver.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/restart/tst/tst_restart.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/shared/model_utilities.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/subclassreplica/tst_subclassreplicatest.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tests/shared/testutils.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/cppcodegenerator.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/cppcodegenerator.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/keywords.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/outputrevision.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/parser.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/parser.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/ppkeywords.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/preprocessor.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/preprocessor.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/symbols.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/token.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/token.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/util/generate_keywords.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/utils.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/repcodegenerator.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/repcodegenerator.h
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/utils.cpp
Examining data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/utils.h

FINAL RESULTS:

data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.cpp:495:9:  [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.
    if (access("/proc/ham",F_OK) != 0) {
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.cpp:496:17:  [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.
        WARNING(access(/proc/ham))
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:127:13:  [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(stderr, PROGRAM_NAME ": Unknown input type\"%s\".\n", qPrintable(inputType));
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:143:13:  [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(stderr, PROGRAM_NAME ": Unknown output type\"%s\".\n", qPrintable(outputType));
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:170: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(stderr, PROGRAM_NAME ": Unknown input type, please use -i option to specify one.\n");
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:174: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(stderr, PROGRAM_NAME ": Unknown output type, please use -o option to specify one.\n");
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:178: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(stderr, PROGRAM_NAME ": Invalid input/output type combination, both are rep files.\n");
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:182: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(stderr, PROGRAM_NAME ": Invalid input/output type combination, both are source header files.\n");
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:193:13:  [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(stderr, PROGRAM_NAME ": %s: No such file.\n", qPrintable(inputFile));
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:204:13:  [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(stderr, PROGRAM_NAME ": could not open output file '%s': %s.\n",
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:231:13:  [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(stderr, PROGRAM_NAME ": No QObject classes found.\n");
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:251:13:  [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(stderr, PROGRAM_NAME ": %s:%d: error: %s\n", qPrintable(inputFile), repparser.lineNumber(), qPrintable(repparser.errorString()));
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:269:13:  [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(stderr, PROGRAM_NAME ": Unknown mode.\n");
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:134:56:  [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.
                def->superclassList += qMakePair(type, access);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:754:42:  [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.
                        parseSlots(&def, access);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:802:46:  [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.
                    parseSlotInPrivate(&def, access);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:817:38:  [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.
                    funcDef.access = access;
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:916:57:  [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.
void Moc::parseSlots(ClassDef *def, FunctionDef::Access access)
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:952:26:  [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.
        funcDef.access = access;
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:1372:65:  [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.
void Moc::parseSlotInPrivate(ClassDef *def, FunctionDef::Access access)
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:1384:22:  [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.
    funcDef.access = access;
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.h:85:49:  [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(): returnTypeIsVolatile(false), access(Private), isConst(false), isVirtual(false), isStatic(false),
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.h:98: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/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.h:235:56:  [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.
    void parseSlots(ClassDef *def, FunctionDef::Access access);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.h:246:64:  [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.
    void parseSlotInPrivate(ClassDef *def, FunctionDef::Access access);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:148:9:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
        sprintf(dmsg, "\"%s\" %s", source.data(), derr.data());
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:155:17:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                sprintf(msg, "\"%s\" No relevant classes found. No output generated.", source.data());
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:167:29:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
                            sprintf(msg, "\"%s\" not added", dest.data());
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/parser.cpp:54: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(stderr, ErrorFormatString "Error: %s\n",
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/parser.cpp:57: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(stderr, ErrorFormatString "Parse error at \"%s\"\n",
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/parser.cpp:64: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(stderr, ErrorFormatString "Warning: %s\n",
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/parser.cpp:70: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(stderr, ErrorFormatString "Note: %s\n",
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/utils.cpp:73:18:  [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.
        if (func.access != FunctionDef::Public)
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/utils.cpp:182:18:  [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.
        if (fdef.access != FunctionDef::Public)
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/common/websocketiodevice.cpp:59:5:  [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).
    open(QIODevice::ReadWrite);
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/common/websocketiodevice.cpp:89:5:  [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(data, m_buffer.constData(), size_t(sz));
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsclient/main.cpp:82:19:  [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 (!certFile.open(QIODevice::ReadOnly))
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsclient/main.cpp:87:18:  [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 (!keyFile.open(QIODevice::ReadOnly))
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsclient/main.cpp:97:16:  [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).
    webSocket->open(QStringLiteral("ws://localhost:8088"));
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsserver/main.cpp:171:27:  [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 (!certFile.open(QIODevice::ReadOnly))
data/qtremoteobjects-everywhere-src-5.15.2/examples/remoteobjects/websockets/wsserver/main.cpp:176:26:  [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 (!keyFile.open(QIODevice::ReadOnly))
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:340:16:  [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).
    QIODevice::open(openMode & (~omMask));
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:424: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).
bool QQnxNativeIo::open(QIODevice::OpenMode openMode)
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:558: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).
bool QIOQnxSource::open(QIODevice::OpenMode openMode)
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.h:87:10:  [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 open(OpenMode openMode = ReadWrite) override;
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.h:144:10:  [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 open(OpenMode openMode) override;
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.cpp:521: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 identifier[25];
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:1339: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(fake.open(QFile::Truncate | QFile::WriteOnly));
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:83:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:154:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:207:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:249:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:295:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:358:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:411:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:451:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/repparser/tst_parser.cpp:507:10:  [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).
    file.open();
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:189: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).
        input.open(stdin, QIODevice::ReadOnly);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:192: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 (!input.open(QIODevice::ReadOnly)) {
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:200:16:  [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).
        output.open(stdout, QIODevice::WriteOnly);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/main.cpp:203:21:  [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 (!output.open(QIODevice::WriteOnly)) {
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:48: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 stackbuf[64];
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:1193: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).
            if (!file.open(QFile::ReadOnly)) {
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:147:9:  [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        dmsg[200];
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:154:9:  [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        msg[400];
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:166:29:  [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        msg[200];
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:202:21:  [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 file[1024];
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:203:21:  [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(file, beg, files - beg);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:210: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 file[1024];
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/mwerks_mac.cpp:211:17:  [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(file, beg, files - beg);
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/preprocessor.cpp:1080: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).
            if (!file.open(QFile::ReadOnly))
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:155:21:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                    usleep(5000 + (rand() % 10) * 10000); //5 to 95 msec
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:239:49:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            const QByteArray payload = obuffer->read();
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:257:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        newBuffer->append(obuffer->read());
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:476:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qint64 read;
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:482:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read = d->buffer.read(data, size);
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:485:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read;
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:617:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    qint64 read;
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:623:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read = d->buffer.read(data, size);
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_qiodevices.cpp:626:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read;
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.cpp:302:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            const QByteArray data = io->d_func()->obuffer.read();
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnection_qnx_server.cpp:332:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                QByteArray data = io->d_func()->obuffer.read();
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnectionfactories.cpp:109:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool IoDeviceBase::read(QRemoteObjectPacketTypeEnum &type, QString &name)
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qconnectionfactories_p.h:79:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    bool read(QtRemoteObjects::QRemoteObjectPacketTypeEnum &, QString &);
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectnode.cpp:1240:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!connection->read(packetType, rxName))
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectpacket.cpp:124:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const QVariant value = property.read(target);
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectreplica.cpp:821:72:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return connectionToSource->m_object->metaObject()->property(index).read(connectionToSource->m_object);
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource.cpp:115:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                QObject *child = property.read(m_object).value<QObject *>();
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource.cpp:257:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QObject *child = property.read(m_object).value<QObject *>();
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource.cpp:389:180:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        qCDebug(QT_REMOTEOBJECT) << "Sending Invoke Property" << (m_api->isAdapterSignal(internalIndex) ? "via adapter" : "") << internalIndex << propertyIndex << mp.name() << mp.read(target);
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsource.cpp:463:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QObject *child = property.read(object).value<QObject *>();
data/qtremoteobjects-everywhere-src-5.15.2/src/remoteobjects/qremoteobjectsourceio.cpp:182:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (!connection->read(packetType, m_rxName))
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/benchmarks/tst_benchmarkstest.cpp:178:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            client.read(reinterpret_cast<char*>(&readout), sizeof(int));
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/benchmarks/tst_benchmarkstest.cpp:262:30:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
                    QThread::usleep(10);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:378:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QCOMPARE(property.read(tc_repDynamic.data()).value<TestClassReplica::ClassEnum>(), TestClassReplica::One);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:399:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QCOMPARE(property.read(tc_repDynamic.data()).value<TestClassReplica::ClassEnum>(), TestClassReplica::One);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:541:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(property.read(regDynamic.data()).toInt(),e.rpm());
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:544:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(property.read(regDynamicNamed.data()).toInt(),e2.rpm());
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:818:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bool started = property.read(engine_r.data()).value<bool>();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:831:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        started = property.read(engine_r.data()).value<bool>();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:980:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(const_mp.read(engine_dr.data()).toInt(), 6);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:987:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(mp.read(engine_dr.data()).toInt(), 44);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:1195:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QCOMPARE(propLhs.read(rep1.data()),  propRhs.read(&t));
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:1195:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QCOMPARE(propLhs.read(rep1.data()),  propRhs.read(&t));
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:1209:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QCOMPARE(propLhs.read(rep3.data()),  propRhs.read(&l));
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration/tst_integration.cpp:1209:58:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            QCOMPARE(propLhs.read(rep3.data()),  propRhs.read(&l));
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/client/main.cpp:109:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QTRY_COMPARE(property.read(rep.data()).toInt(), 1);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/client/main.cpp:152:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QTRY_COMPARE(mo->property(enumIdx).read(rep.data()).toInt(), 0);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_external/client/main.cpp:156:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QTRY_COMPARE(mo->property(startedIdx).read(rep.data()).toBool(), true);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/client/main.cpp:97:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QTRY_COMPARE(property.read(rep.data()).toInt(), 1);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/client/main.cpp:140:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QTRY_COMPARE(mo->property(enumIdx).read(rep.data()).toInt(), 0);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/integration_multiprocess/client/main.cpp:144:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QTRY_COMPARE(mo->property(startedIdx).read(rep.data()).toBool(), true);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:165:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(rpmMeta.read(replica.data()).value<int>(), engine.rpm());
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:169:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(typeMeta.read(replica.data()).value<EngineReplica::EngineType>(), EngineReplica::Gas);
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:188:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QCOMPARE(rpmMeta.read(replica.data()).value<int>(), engine.rpm());
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:280:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QObject *subclassQObjectPtr = subclassMeta.read(replica.data()).value<QObject *>();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:288:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        QObject *tracksQObjectPtr = tracksMeta.read(replica.data()).value<QObject *>();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:297:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        MyPOD pod = podMeta.read(subclassReplica).value<MyPOD>();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:346:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        subclassQObjectPtr = subclassMeta.read(replica.data()).value<QObject *>();
data/qtremoteobjects-everywhere-src-5.15.2/tests/auto/proxy/tst_proxy.cpp:351:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        pod = podMeta.read(subclassReplica).value<MyPOD>();
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:1128:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if (propDef.read.isNull() && propDef.member.isNull()) {
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:1560:15:  [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/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.cpp:1570:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if (f.name != p.read)
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/moc_copy/moc.h:123:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    QByteArray name, type, member, read, write, reset, designable, scriptable, editable, stored, user, notify, inPrivateClass;
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/utils.cpp:62:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if (property.write.isEmpty() && !property.read.isEmpty())
data/qtremoteobjects-everywhere-src-5.15.2/tools/repc/utils.cpp:170:65:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        : property.write.isEmpty() && !property.read.isEmpty()

ANALYSIS SUMMARY:

Hits = 126
Lines analyzed = 36243 in approximately 1.13 seconds (32060 lines/second)
Physical Source Lines of Code (SLOC) = 23875
Hits@level = [0]  13 [1]  55 [2]  37 [3]   0 [4]  34 [5]   0
Hits@level+ = [0+] 139 [1+] 126 [2+]  71 [3+]  34 [4+]  34 [5+]   0
Hits/KSLOC@level+ = [0+] 5.82199 [1+] 5.27749 [2+] 2.97382 [3+] 1.42408 [4+] 1.42408 [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.