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/ktechlab-0.50.0/microbe/microbe.h Examining data/ktechlab-0.50.0/microbe/parser.cpp Examining data/ktechlab-0.50.0/microbe/optimizer.cpp Examining data/ktechlab-0.50.0/microbe/instruction.h Examining data/ktechlab-0.50.0/microbe/expression.cpp Examining data/ktechlab-0.50.0/microbe/variable.h Examining data/ktechlab-0.50.0/microbe/traverser.h Examining data/ktechlab-0.50.0/microbe/pic14.cpp Examining data/ktechlab-0.50.0/microbe/main.cpp Examining data/ktechlab-0.50.0/microbe/optimizer.h Examining data/ktechlab-0.50.0/microbe/btreebase.h Examining data/ktechlab-0.50.0/microbe/btreebase.cpp Examining data/ktechlab-0.50.0/microbe/expression.h Examining data/ktechlab-0.50.0/microbe/parser.h Examining data/ktechlab-0.50.0/microbe/microbe.cpp Examining data/ktechlab-0.50.0/microbe/traverser.cpp Examining data/ktechlab-0.50.0/microbe/instruction.cpp Examining data/ktechlab-0.50.0/microbe/btreenode.h Examining data/ktechlab-0.50.0/microbe/btreenode.cpp Examining data/ktechlab-0.50.0/microbe/variable.cpp Examining data/ktechlab-0.50.0/microbe/pic14.h Examining data/ktechlab-0.50.0/src/filemetainfo.h Examining data/ktechlab-0.50.0/src/document.cpp Examining data/ktechlab-0.50.0/src/gui/programmerdlg.cpp Examining data/ktechlab-0.50.0/src/gui/probepositioner.h Examining data/ktechlab-0.50.0/src/gui/scopescreenview.h Examining data/ktechlab-0.50.0/src/gui/settingsdlg.h Examining data/ktechlab-0.50.0/src/gui/scopescreen.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditoritem.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/itemeditor.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditor.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorlist.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/itemeditor.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditor.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/orientationwidget.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditoritem.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertysubeditor.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/componentmodelwidget.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorlist.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorcolor.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/orientationwidget.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorinput.cpp Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertysubeditor.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorinput.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/componentmodelwidget.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorfile.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorcolor.h Examining data/ktechlab-0.50.0/src/gui/itemeditor/propertyeditorfile.cpp Examining data/ktechlab-0.50.0/src/gui/newfiledlg.h Examining data/ktechlab-0.50.0/src/gui/probepositioner.cpp Examining data/ktechlab-0.50.0/src/gui/outputmethoddlg.h Examining data/ktechlab-0.50.0/src/gui/symbolviewer.h Examining data/ktechlab-0.50.0/src/gui/richtexteditor.cpp Examining data/ktechlab-0.50.0/src/gui/imageexportdlg.cpp Examining data/ktechlab-0.50.0/src/gui/oscilloscopeview.h Examining data/ktechlab-0.50.0/src/gui/logview.cpp Examining data/ktechlab-0.50.0/src/gui/contexthelp.cpp Examining data/ktechlab-0.50.0/src/gui/oscilloscopeview.cpp Examining data/ktechlab-0.50.0/src/gui/doublespinbox.cpp Examining data/ktechlab-0.50.0/src/gui/lineedit.cpp Examining data/ktechlab-0.50.0/src/gui/microselectwidget.cpp Examining data/ktechlab-0.50.0/src/gui/inputdialog.cpp Examining data/ktechlab-0.50.0/src/gui/richtexteditor.h Examining data/ktechlab-0.50.0/src/gui/scopescreen.cpp Examining data/ktechlab-0.50.0/src/gui/itemselector.cpp Examining data/ktechlab-0.50.0/src/gui/logview.h Examining data/ktechlab-0.50.0/src/gui/lineedit.h Examining data/ktechlab-0.50.0/src/gui/scopescreenview.cpp Examining data/ktechlab-0.50.0/src/gui/microsettingsdlg.cpp Examining data/ktechlab-0.50.0/src/gui/microsettingsdlg.h Examining data/ktechlab-0.50.0/src/gui/colorcombo.cpp Examining data/ktechlab-0.50.0/src/gui/symbolviewer.cpp Examining data/ktechlab-0.50.0/src/gui/colorcombo.h Examining data/ktechlab-0.50.0/src/gui/programmerdlg.h Examining data/ktechlab-0.50.0/src/gui/oscilloscope.cpp Examining data/ktechlab-0.50.0/src/gui/newfiledlg.cpp Examining data/ktechlab-0.50.0/src/gui/imageexportdlg.h Examining data/ktechlab-0.50.0/src/gui/projectdlgs.cpp Examining data/ktechlab-0.50.0/src/gui/outputmethoddlg.cpp Examining data/ktechlab-0.50.0/src/gui/oscilloscope.h Examining data/ktechlab-0.50.0/src/gui/scopeviewbase.h Examining data/ktechlab-0.50.0/src/gui/itemselector.h Examining data/ktechlab-0.50.0/src/gui/inputdialog.h Examining data/ktechlab-0.50.0/src/gui/scopeviewbase.cpp Examining data/ktechlab-0.50.0/src/gui/doublespinbox.h Examining data/ktechlab-0.50.0/src/gui/projectdlgs.h Examining data/ktechlab-0.50.0/src/gui/microselectwidget.h Examining data/ktechlab-0.50.0/src/gui/contexthelp.h Examining data/ktechlab-0.50.0/src/gui/settingsdlg.cpp Examining data/ktechlab-0.50.0/src/projectmanager.cpp Examining data/ktechlab-0.50.0/src/itemlibrary.h Examining data/ktechlab-0.50.0/src/cells.cpp Examining data/ktechlab-0.50.0/src/docmanageriface.cpp Examining data/ktechlab-0.50.0/src/katemdi.h Examining data/ktechlab-0.50.0/src/document.h Examining data/ktechlab-0.50.0/src/projectmanager.h Examining data/ktechlab-0.50.0/src/micro/picinfo16bit.cpp Examining data/ktechlab-0.50.0/src/micro/picinfo14bit.h Examining data/ktechlab-0.50.0/src/micro/picinfo12bit.cpp Examining data/ktechlab-0.50.0/src/micro/picinfo.cpp Examining data/ktechlab-0.50.0/src/micro/micropackage.cpp Examining data/ktechlab-0.50.0/src/micro/picinfo16bit.h Examining data/ktechlab-0.50.0/src/micro/microlibrary.cpp Examining data/ktechlab-0.50.0/src/micro/picinfo14bit.cpp Examining data/ktechlab-0.50.0/src/micro/micropackage.h Examining data/ktechlab-0.50.0/src/micro/microinfo.cpp Examining data/ktechlab-0.50.0/src/micro/asminfo.cpp Examining data/ktechlab-0.50.0/src/micro/picinfo.h Examining data/ktechlab-0.50.0/src/micro/picinfo12bit.h Examining data/ktechlab-0.50.0/src/micro/asminfo.h Examining data/ktechlab-0.50.0/src/micro/microinfo.h Examining data/ktechlab-0.50.0/src/micro/microlibrary.h Examining data/ktechlab-0.50.0/src/ciwidgetmgr.cpp Examining data/ktechlab-0.50.0/src/itemgroup.h Examining data/ktechlab-0.50.0/src/fpnode.cpp Examining data/ktechlab-0.50.0/src/textdocument.cpp Examining data/ktechlab-0.50.0/src/docmanageriface.h Examining data/ktechlab-0.50.0/src/filemetainfo.cpp Examining data/ktechlab-0.50.0/src/viewiface.h Examining data/ktechlab-0.50.0/src/resizeoverlay.cpp Examining data/ktechlab-0.50.0/src/connector.h Examining data/ktechlab-0.50.0/src/circuitview.h Examining data/ktechlab-0.50.0/src/viewcontainer.cpp Examining data/ktechlab-0.50.0/src/flowcodeview.h Examining data/ktechlab-0.50.0/src/microsettings.cpp Examining data/ktechlab-0.50.0/src/itemdocumentdata.h Examining data/ktechlab-0.50.0/src/nodegroup.cpp Examining data/ktechlab-0.50.0/src/flowcodeview.cpp Examining data/ktechlab-0.50.0/src/microsettings.h Examining data/ktechlab-0.50.0/src/nodegroup.h Examining data/ktechlab-0.50.0/src/libraryitem.h Examining data/ktechlab-0.50.0/src/canvas_private.h Examining data/ktechlab-0.50.0/src/canvasmanipulator.h Examining data/ktechlab-0.50.0/src/debugmanager.cpp Examining data/ktechlab-0.50.0/src/flowparts/interrupt.h Examining data/ktechlab-0.50.0/src/flowparts/callsub.h Examining data/ktechlab-0.50.0/src/flowparts/readport.cpp Examining data/ktechlab-0.50.0/src/flowparts/pulse.h Examining data/ktechlab-0.50.0/src/flowparts/inputflownode.cpp Examining data/ktechlab-0.50.0/src/flowparts/sevenseg.h Examining data/ktechlab-0.50.0/src/flowparts/repeat.cpp Examining data/ktechlab-0.50.0/src/flowparts/flowconnector.h Examining data/ktechlab-0.50.0/src/flowparts/embed.cpp Examining data/ktechlab-0.50.0/src/flowparts/sub.cpp Examining data/ktechlab-0.50.0/src/flowparts/while.cpp Examining data/ktechlab-0.50.0/src/flowparts/flowpart.h Examining data/ktechlab-0.50.0/src/flowparts/flowconnectorlist.cpp Examining data/ktechlab-0.50.0/src/flowparts/while.h Examining data/ktechlab-0.50.0/src/flowparts/setpin.cpp Examining data/ktechlab-0.50.0/src/flowparts/pinmapping.cpp Examining data/ktechlab-0.50.0/src/flowparts/delay.h Examining data/ktechlab-0.50.0/src/flowparts/count.h Examining data/ktechlab-0.50.0/src/flowparts/interrupt.cpp Examining data/ktechlab-0.50.0/src/flowparts/pinmapping.h Examining data/ktechlab-0.50.0/src/flowparts/start.h Examining data/ktechlab-0.50.0/src/flowparts/writeport.h Examining data/ktechlab-0.50.0/src/flowparts/sub.h Examining data/ktechlab-0.50.0/src/flowparts/inputbutton.cpp Examining data/ktechlab-0.50.0/src/flowparts/flowicndocument.cpp Examining data/ktechlab-0.50.0/src/flowparts/setpin.h Examining data/ktechlab-0.50.0/src/flowparts/testpin.cpp Examining data/ktechlab-0.50.0/src/flowparts/flowconnector.cpp Examining data/ktechlab-0.50.0/src/flowparts/repeat.h Examining data/ktechlab-0.50.0/src/flowparts/writeport.cpp Examining data/ktechlab-0.50.0/src/flowparts/forloop.h Examining data/ktechlab-0.50.0/src/flowparts/varassignment.h Examining data/ktechlab-0.50.0/src/flowparts/flowconnectorlist.h Examining data/ktechlab-0.50.0/src/flowparts/flowpart.cpp Examining data/ktechlab-0.50.0/src/flowparts/flowicndocument.h Examining data/ktechlab-0.50.0/src/flowparts/keypad.h Examining data/ktechlab-0.50.0/src/flowparts/embed.h Examining data/ktechlab-0.50.0/src/flowparts/end.h Examining data/ktechlab-0.50.0/src/flowparts/forloop.cpp Examining data/ktechlab-0.50.0/src/flowparts/count.cpp Examining data/ktechlab-0.50.0/src/flowparts/testpin.h Examining data/ktechlab-0.50.0/src/flowparts/outputflownode.cpp Examining data/ktechlab-0.50.0/src/flowparts/end.cpp Examining data/ktechlab-0.50.0/src/flowparts/callsub.cpp Examining data/ktechlab-0.50.0/src/flowparts/inputflownode.h Examining data/ktechlab-0.50.0/src/flowparts/unary.cpp Examining data/ktechlab-0.50.0/src/flowparts/start.cpp Examining data/ktechlab-0.50.0/src/flowparts/inputbutton.h Examining data/ktechlab-0.50.0/src/flowparts/readport.h Examining data/ktechlab-0.50.0/src/flowparts/unary.h Examining data/ktechlab-0.50.0/src/flowparts/outputflownode.h Examining data/ktechlab-0.50.0/src/flowparts/varassignment.cpp Examining data/ktechlab-0.50.0/src/flowparts/junctionflownode.h Examining data/ktechlab-0.50.0/src/flowparts/delay.cpp Examining data/ktechlab-0.50.0/src/flowparts/pulse.cpp Examining data/ktechlab-0.50.0/src/flowparts/junctionflownode.cpp Examining data/ktechlab-0.50.0/src/flowparts/varcomparison.h Examining data/ktechlab-0.50.0/src/flowparts/keypad.cpp Examining data/ktechlab-0.50.0/src/flowparts/sevenseg.cpp Examining data/ktechlab-0.50.0/src/flowparts/varcomparison.cpp Examining data/ktechlab-0.50.0/src/math/qvector.cpp Examining data/ktechlab-0.50.0/src/math/qmatrix.cpp Examining data/ktechlab-0.50.0/src/math/qvector.h Examining data/ktechlab-0.50.0/src/math/qmatrix.h Examining data/ktechlab-0.50.0/src/flowcodedocument.h Examining data/ktechlab-0.50.0/src/flowcontainer.h Examining data/ktechlab-0.50.0/src/picitem.cpp Examining data/ktechlab-0.50.0/src/variablelabel.h Examining data/ktechlab-0.50.0/src/core/logtofilemsghandler.h Examining data/ktechlab-0.50.0/src/core/main.cpp Examining data/ktechlab-0.50.0/src/core/diagnosticstyle.h Examining data/ktechlab-0.50.0/src/core/diagnosticstyle.cpp Examining data/ktechlab-0.50.0/src/core/logtofilemsghandler.cpp Examining data/ktechlab-0.50.0/src/node.cpp Examining data/ktechlab-0.50.0/src/documentiface.cpp Examining data/ktechlab-0.50.0/src/viewcontainer.h Examining data/ktechlab-0.50.0/src/docmanager.cpp Examining data/ktechlab-0.50.0/src/itemview.cpp Examining data/ktechlab-0.50.0/src/viewiface.cpp Examining data/ktechlab-0.50.0/src/resizeoverlay.h Examining data/ktechlab-0.50.0/src/icndocument.cpp Examining data/ktechlab-0.50.0/src/itemdocument.cpp Examining data/ktechlab-0.50.0/src/itemgroup.cpp Examining data/ktechlab-0.50.0/src/cnitemgroup.cpp Examining data/ktechlab-0.50.0/src/canvasmanipulator.cpp Examining data/ktechlab-0.50.0/src/iteminterface.cpp Examining data/ktechlab-0.50.0/src/ciwidgetmgr.h Examining data/ktechlab-0.50.0/src/oscilloscopedata.h Examining data/ktechlab-0.50.0/src/dcop_stub.h Examining data/ktechlab-0.50.0/src/mechanics/chassiscircular2.h Examining data/ktechlab-0.50.0/src/mechanics/mechanicsitem.cpp Examining data/ktechlab-0.50.0/src/mechanics/mechanicsdocument.h Examining data/ktechlab-0.50.0/src/mechanics/mechanicsdocument.cpp Examining data/ktechlab-0.50.0/src/mechanics/chassiscircular2.cpp Examining data/ktechlab-0.50.0/src/mechanics/mechanicssimulation.h Examining data/ktechlab-0.50.0/src/mechanics/mechanicssimulation.cpp Examining data/ktechlab-0.50.0/src/mechanics/mechanicsview.cpp Examining data/ktechlab-0.50.0/src/mechanics/mechanicsitem.h Examining data/ktechlab-0.50.0/src/mechanics/mechanicsview.h Examining data/ktechlab-0.50.0/src/mechanics/mechanicsgroup.h Examining data/ktechlab-0.50.0/src/mechanics/mechanicsgroup.cpp Examining data/ktechlab-0.50.0/src/docmanager.h Examining data/ktechlab-0.50.0/src/electronics/wire.h Examining data/ktechlab-0.50.0/src/electronics/gpsimprocessor.h Examining data/ktechlab-0.50.0/src/electronics/electronicconnector.cpp Examining data/ktechlab-0.50.0/src/electronics/circuitdocument.cpp Examining data/ktechlab-0.50.0/src/electronics/subcircuits.h Examining data/ktechlab-0.50.0/src/electronics/ecnode.cpp Examining data/ktechlab-0.50.0/src/electronics/models/utils/spice-to-nice.cpp Examining data/ktechlab-0.50.0/src/electronics/pinnode.cpp Examining data/ktechlab-0.50.0/src/electronics/component.h Examining data/ktechlab-0.50.0/src/electronics/port.cpp Examining data/ktechlab-0.50.0/src/electronics/port.h Examining data/ktechlab-0.50.0/src/electronics/components/probe.h Examining data/ktechlab-0.50.0/src/electronics/components/ecsignallamp.h Examining data/ktechlab-0.50.0/src/electronics/components/variablecapacitor.cpp Examining data/ktechlab-0.50.0/src/electronics/components/discretelogic.h Examining data/ktechlab-0.50.0/src/electronics/components/rotoswitch.cpp Examining data/ktechlab-0.50.0/src/electronics/components/led.cpp Examining data/ktechlab-0.50.0/src/electronics/components/binarycounter.cpp Examining data/ktechlab-0.50.0/src/electronics/components/probe.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecvoltagesignal.h Examining data/ktechlab-0.50.0/src/electronics/components/fulladder.h Examining data/ktechlab-0.50.0/src/electronics/components/inductor.h Examining data/ktechlab-0.50.0/src/electronics/components/variablecapacitor.h Examining data/ktechlab-0.50.0/src/electronics/components/inductor.cpp Examining data/ktechlab-0.50.0/src/electronics/components/eccurrentsignal.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecpotentiometer.cpp Examining data/ktechlab-0.50.0/src/electronics/components/flipflop.cpp Examining data/ktechlab-0.50.0/src/electronics/components/serialportcomponent.cpp Examining data/ktechlab-0.50.0/src/electronics/components/piccomponentpin.cpp Examining data/ktechlab-0.50.0/src/electronics/components/resistordip.h Examining data/ktechlab-0.50.0/src/electronics/components/ecopamp.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ec555.h Examining data/ktechlab-0.50.0/src/electronics/components/multiplexer.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecfixedvoltage.h Examining data/ktechlab-0.50.0/src/electronics/components/ecmosfet.cpp Examining data/ktechlab-0.50.0/src/electronics/components/dependentsource.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecground.cpp Examining data/ktechlab-0.50.0/src/electronics/components/binarycounter.h Examining data/ktechlab-0.50.0/src/electronics/components/multiplexer.h Examining data/ktechlab-0.50.0/src/electronics/components/matrixdisplay.h Examining data/ktechlab-0.50.0/src/electronics/components/resistordip.cpp Examining data/ktechlab-0.50.0/src/electronics/components/externalconnection.h Examining data/ktechlab-0.50.0/src/electronics/components/magnitudecomparator.cpp Examining data/ktechlab-0.50.0/src/electronics/components/magnitudecomparator.h Examining data/ktechlab-0.50.0/src/electronics/components/ecbjt.h Examining data/ktechlab-0.50.0/src/electronics/components/bidirled.h Examining data/ktechlab-0.50.0/src/electronics/components/resistor.h Examining data/ktechlab-0.50.0/src/electronics/components/eccurrentsignal.h Examining data/ktechlab-0.50.0/src/electronics/components/piccomponent.cpp Examining data/ktechlab-0.50.0/src/electronics/components/matrixdisplay.cpp Examining data/ktechlab-0.50.0/src/electronics/components/rotoswitch.h Examining data/ktechlab-0.50.0/src/electronics/components/eccurrentsource.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecvoltagesignal.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecmosfet.h Examining data/ktechlab-0.50.0/src/electronics/components/voltageregulator.h Examining data/ktechlab-0.50.0/src/electronics/components/demultiplexer.cpp Examining data/ktechlab-0.50.0/src/electronics/components/externalconnection.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecvoltagesource.h Examining data/ktechlab-0.50.0/src/electronics/components/ledbargraphdisplay.cpp Examining data/ktechlab-0.50.0/src/electronics/components/bidirled.cpp Examining data/ktechlab-0.50.0/src/electronics/components/variableresistor.h Examining data/ktechlab-0.50.0/src/electronics/components/ecbcdto7segment.cpp Examining data/ktechlab-0.50.0/src/electronics/components/pushswitch.h Examining data/ktechlab-0.50.0/src/electronics/components/ecclockinput.h Examining data/ktechlab-0.50.0/src/electronics/components/eckeypad.h Examining data/ktechlab-0.50.0/src/electronics/components/capacitor.h Examining data/ktechlab-0.50.0/src/electronics/components/ecsevensegment.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecopamp.h Examining data/ktechlab-0.50.0/src/electronics/components/ledbargraphdisplay.h Examining data/ktechlab-0.50.0/src/electronics/components/ecvoltagesource.cpp Examining data/ktechlab-0.50.0/src/electronics/components/toggleswitch.h Examining data/ktechlab-0.50.0/src/electronics/components/ecground.h Examining data/ktechlab-0.50.0/src/electronics/components/ecpotentiometer.h Examining data/ktechlab-0.50.0/src/electronics/components/parallelportcomponent.cpp Examining data/ktechlab-0.50.0/src/electronics/components/piccomponentpin.h Examining data/ktechlab-0.50.0/src/electronics/components/ec555.cpp Examining data/ktechlab-0.50.0/src/electronics/components/resistor.cpp Examining data/ktechlab-0.50.0/src/electronics/components/parallelportcomponent.h Examining data/ktechlab-0.50.0/src/electronics/components/voltageregulator.cpp Examining data/ktechlab-0.50.0/src/electronics/components/multiinputgate.cpp Examining data/ktechlab-0.50.0/src/electronics/components/led.h Examining data/ktechlab-0.50.0/src/electronics/components/discretelogic.cpp Examining data/ktechlab-0.50.0/src/electronics/components/flipflop.h Examining data/ktechlab-0.50.0/src/electronics/components/ecjfet.h Examining data/ktechlab-0.50.0/src/electronics/components/pushswitch.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecjfet.cpp Examining data/ktechlab-0.50.0/src/electronics/components/dependentsource.h Examining data/ktechlab-0.50.0/src/electronics/components/meter.cpp Examining data/ktechlab-0.50.0/src/electronics/components/variableresistor.cpp Examining data/ktechlab-0.50.0/src/electronics/components/meter.h Examining data/ktechlab-0.50.0/src/electronics/components/piccomponent.h Examining data/ktechlab-0.50.0/src/electronics/components/ecbcdto7segment.h Examining data/ktechlab-0.50.0/src/electronics/components/bussplitter.h Examining data/ktechlab-0.50.0/src/electronics/components/multiinputgate.h Examining data/ktechlab-0.50.0/src/electronics/components/ecsignallamp.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecclockinput.cpp Examining data/ktechlab-0.50.0/src/electronics/components/demultiplexer.h Examining data/ktechlab-0.50.0/src/electronics/components/ecsevensegment.h Examining data/ktechlab-0.50.0/src/electronics/components/ecbjt.cpp Examining data/ktechlab-0.50.0/src/electronics/components/matrixdisplaydriver.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ram.h Examining data/ktechlab-0.50.0/src/electronics/components/eccurrentsource.h Examining data/ktechlab-0.50.0/src/electronics/components/fulladder.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecdiode.cpp Examining data/ktechlab-0.50.0/src/electronics/components/matrixdisplaydriver.h Examining data/ktechlab-0.50.0/src/electronics/components/ecfixedvoltage.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecdiode.h Examining data/ktechlab-0.50.0/src/electronics/components/bussplitter.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecsubcircuit.h Examining data/ktechlab-0.50.0/src/electronics/components/capacitor.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ram.cpp Examining data/ktechlab-0.50.0/src/electronics/components/toggleswitch.cpp Examining data/ktechlab-0.50.0/src/electronics/components/ecsubcircuit.cpp Examining data/ktechlab-0.50.0/src/electronics/components/addac.cpp Examining data/ktechlab-0.50.0/src/electronics/components/serialportcomponent.h Examining data/ktechlab-0.50.0/src/electronics/components/addac.h Examining data/ktechlab-0.50.0/src/electronics/components/eckeypad.cpp Examining data/ktechlab-0.50.0/src/electronics/junctionnode.cpp Examining data/ktechlab-0.50.0/src/electronics/switch.cpp Examining data/ktechlab-0.50.0/src/electronics/gpsimprocessor.cpp Examining data/ktechlab-0.50.0/src/electronics/wire.cpp Examining data/ktechlab-0.50.0/src/electronics/pin.h Examining data/ktechlab-0.50.0/src/electronics/ecnode.h Examining data/ktechlab-0.50.0/src/electronics/componentmodellibrary.cpp Examining data/ktechlab-0.50.0/src/electronics/pinnode.h Examining data/ktechlab-0.50.0/src/electronics/pin.cpp Examining data/ktechlab-0.50.0/src/electronics/switch.h Examining data/ktechlab-0.50.0/src/electronics/circuiticndocument.cpp Examining data/ktechlab-0.50.0/src/electronics/circuitdocument.h Examining data/ktechlab-0.50.0/src/electronics/simulation/circuit.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/element.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/matrix.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/diode.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/elementset.h Examining data/ktechlab-0.50.0/src/electronics/simulation/elementsignal.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/bjt.h Examining data/ktechlab-0.50.0/src/electronics/simulation/opamp.h Examining data/ktechlab-0.50.0/src/electronics/simulation/voltagesignal.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/capacitance.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/element.h Examining data/ktechlab-0.50.0/src/electronics/simulation/resistance.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/elementset.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/inductance.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/voltagesource.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/voltagepoint.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/vcvs.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/resistance.h Examining data/ktechlab-0.50.0/src/electronics/simulation/currentsource.h Examining data/ktechlab-0.50.0/src/electronics/simulation/ccvs.h Examining data/ktechlab-0.50.0/src/electronics/simulation/mosfet.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/circuit.h Examining data/ktechlab-0.50.0/src/electronics/simulation/logic.h Examining data/ktechlab-0.50.0/src/electronics/simulation/elementsignal.h Examining data/ktechlab-0.50.0/src/electronics/simulation/jfet.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/ccvs.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/bjt.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/voltagesource.h Examining data/ktechlab-0.50.0/src/electronics/simulation/voltagepoint.h Examining data/ktechlab-0.50.0/src/electronics/simulation/opamp.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/nonlinear.h Examining data/ktechlab-0.50.0/src/electronics/simulation/currentsource.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/capacitance.h Examining data/ktechlab-0.50.0/src/electronics/simulation/cccs.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/vcvs.h Examining data/ktechlab-0.50.0/src/electronics/simulation/cccs.h Examining data/ktechlab-0.50.0/src/electronics/simulation/vccs.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/diode.h Examining data/ktechlab-0.50.0/src/electronics/simulation/mosfet.h Examining data/ktechlab-0.50.0/src/electronics/simulation/matrix.h Examining data/ktechlab-0.50.0/src/electronics/simulation/inductance.h Examining data/ktechlab-0.50.0/src/electronics/simulation/reactive.h Examining data/ktechlab-0.50.0/src/electronics/simulation/logic.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/nonlinear.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/currentsignal.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/vccs.h Examining data/ktechlab-0.50.0/src/electronics/simulation/jfet.h Examining data/ktechlab-0.50.0/src/electronics/simulation/voltagesignal.h Examining data/ktechlab-0.50.0/src/electronics/simulation/reactive.cpp Examining data/ktechlab-0.50.0/src/electronics/simulation/currentsignal.h Examining data/ktechlab-0.50.0/src/electronics/subcircuits.cpp Examining data/ktechlab-0.50.0/src/electronics/circuiticndocument.h Examining data/ktechlab-0.50.0/src/electronics/component.cpp Examining data/ktechlab-0.50.0/src/electronics/componentmodellibrary.h Examining data/ktechlab-0.50.0/src/electronics/junctionnode.h Examining data/ktechlab-0.50.0/src/electronics/electronicconnector.h Examining data/ktechlab-0.50.0/src/circuitview.cpp Examining data/ktechlab-0.50.0/src/itemlibrary.cpp Examining data/ktechlab-0.50.0/src/simulator.cpp Examining data/ktechlab-0.50.0/src/property.h Examining data/ktechlab-0.50.0/src/utils.h Examining data/ktechlab-0.50.0/src/dcop_stub.cpp Examining data/ktechlab-0.50.0/src/variablelabel.cpp Examining data/ktechlab-0.50.0/src/iteminterface.h Examining data/ktechlab-0.50.0/src/ktechlab.h Examining data/ktechlab-0.50.0/src/item.cpp Examining data/ktechlab-0.50.0/src/picitem.h Examining data/ktechlab-0.50.0/src/recentfilesaction.h Examining data/ktechlab-0.50.0/src/documentiface.h Examining data/ktechlab-0.50.0/src/cnitemgroup.h Examining data/ktechlab-0.50.0/src/conrouter.h Examining data/ktechlab-0.50.0/src/textview.h Examining data/ktechlab-0.50.0/src/itemdocumentdata.cpp Examining data/ktechlab-0.50.0/src/debugmanager.h Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlfindqobjectchild.cpp Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlq3scrollview.cpp Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlq3frame.h Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlfindqobjectchild.h Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlq3polygonscanner.cpp Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlq3scrollview.h Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlq3polygonscanner.h Examining data/ktechlab-0.50.0/src/ktlqt3support/ktlq3frame.cpp Examining data/ktechlab-0.50.0/src/oscilloscopedata.cpp Examining data/ktechlab-0.50.0/src/cnitem.h Examining data/ktechlab-0.50.0/src/node.h Examining data/ktechlab-0.50.0/src/variant.h Examining data/ktechlab-0.50.0/src/itemdocument.h Examining data/ktechlab-0.50.0/src/variant.cpp Examining data/ktechlab-0.50.0/src/icndocument.h Examining data/ktechlab-0.50.0/src/icnview.h Examining data/ktechlab-0.50.0/src/connector.cpp Examining data/ktechlab-0.50.0/src/icnview.cpp Examining data/ktechlab-0.50.0/src/drawparts/dpimage.h Examining data/ktechlab-0.50.0/src/drawparts/drawpart.cpp Examining data/ktechlab-0.50.0/src/drawparts/drawpart.h Examining data/ktechlab-0.50.0/src/drawparts/dpline.cpp Examining data/ktechlab-0.50.0/src/drawparts/solidshape.cpp Examining data/ktechlab-0.50.0/src/drawparts/solidshape.h Examining data/ktechlab-0.50.0/src/drawparts/dpline.h Examining data/ktechlab-0.50.0/src/drawparts/dptext.cpp Examining data/ktechlab-0.50.0/src/drawparts/dptext.h Examining data/ktechlab-0.50.0/src/drawparts/dpimage.cpp Examining data/ktechlab-0.50.0/src/itemview.h Examining data/ktechlab-0.50.0/src/textview.cpp Examining data/ktechlab-0.50.0/src/katemdi.cpp Examining data/ktechlab-0.50.0/src/canvasitems.h Examining data/ktechlab-0.50.0/src/simulator.h Examining data/ktechlab-0.50.0/src/canvasitemlist.h Examining data/ktechlab-0.50.0/src/view.cpp Examining data/ktechlab-0.50.0/src/ktechlab.cpp Examining data/ktechlab-0.50.0/src/canvasitemparts.cpp Examining data/ktechlab-0.50.0/src/eventinfo.cpp Examining data/ktechlab-0.50.0/src/canvasitemlist.cpp Examining data/ktechlab-0.50.0/src/view.h Examining data/ktechlab-0.50.0/src/asmformatter.cpp Examining data/ktechlab-0.50.0/src/textdocument.h Examining data/ktechlab-0.50.0/src/canvas.h Examining data/ktechlab-0.50.0/src/cnitem.cpp Examining data/ktechlab-0.50.0/src/flowcodedocument.cpp Examining data/ktechlab-0.50.0/src/libraryitem.cpp Examining data/ktechlab-0.50.0/src/conrouter.cpp Examining data/ktechlab-0.50.0/src/recentfilesaction.cpp Examining data/ktechlab-0.50.0/src/canvas.cpp Examining data/ktechlab-0.50.0/src/eventinfo.h Examining data/ktechlab-0.50.0/src/canvasitemparts.h Examining data/ktechlab-0.50.0/src/cells.h Examining data/ktechlab-0.50.0/src/item.h Examining data/ktechlab-0.50.0/src/canvasitems.cpp Examining data/ktechlab-0.50.0/src/asmformatter.h Examining data/ktechlab-0.50.0/src/fpnode.h Examining data/ktechlab-0.50.0/src/flowcontainer.cpp Examining data/ktechlab-0.50.0/src/languages/microbe.h Examining data/ktechlab-0.50.0/src/languages/sdcc.h Examining data/ktechlab-0.50.0/src/languages/processchain.h Examining data/ktechlab-0.50.0/src/languages/sourceline.h Examining data/ktechlab-0.50.0/src/languages/gpdasm.cpp Examining data/ktechlab-0.50.0/src/languages/languagemanager.h Examining data/ktechlab-0.50.0/src/languages/externallanguage.h Examining data/ktechlab-0.50.0/src/languages/flowcode.h Examining data/ktechlab-0.50.0/src/languages/gplink.cpp Examining data/ktechlab-0.50.0/src/languages/gplib.cpp Examining data/ktechlab-0.50.0/src/languages/language.cpp Examining data/ktechlab-0.50.0/src/languages/gplink.h Examining data/ktechlab-0.50.0/src/languages/picprogrammer.h Examining data/ktechlab-0.50.0/src/languages/asmparser.h Examining data/ktechlab-0.50.0/src/languages/sourceline.cpp Examining data/ktechlab-0.50.0/src/languages/microbe.cpp Examining data/ktechlab-0.50.0/src/languages/picprogrammer.cpp Examining data/ktechlab-0.50.0/src/languages/externallanguage.cpp Examining data/ktechlab-0.50.0/src/languages/asmparser.cpp Examining data/ktechlab-0.50.0/src/languages/gpdasm.h Examining data/ktechlab-0.50.0/src/languages/gpasm.h Examining data/ktechlab-0.50.0/src/languages/language.h Examining data/ktechlab-0.50.0/src/languages/gplib.h Examining data/ktechlab-0.50.0/src/languages/languagemanager.cpp Examining data/ktechlab-0.50.0/src/languages/gpasm.cpp Examining data/ktechlab-0.50.0/src/languages/sdcc.cpp Examining data/ktechlab-0.50.0/src/languages/flowcode.cpp Examining data/ktechlab-0.50.0/src/languages/processchain.cpp Examining data/ktechlab-0.50.0/tests/tests_compile/test_compile.cpp Examining data/ktechlab-0.50.0/tests/loaded-icons/test-loaded-icons.cpp Examining data/ktechlab-0.50.0/tests/loaded-icons/icon-list-generated.h Examining data/ktechlab-0.50.0/tests/tests_app/tests_app.cpp Examining data/ktechlab-0.50.0/examples/pic_blink/pic_blink.c FINAL RESULTS: data/ktechlab-0.50.0/src/electronics/switch.cpp:85:2: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand(time(nullptr)); data/ktechlab-0.50.0/microbe/microbe.cpp:82:11: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if( file.open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/microbe/parser.cpp:1037: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( includeFile.open(QIODevice::ReadOnly) ) data/ktechlab-0.50.0/src/core/logtofilemsghandler.cpp:100:15: [2] (misc) fopen: 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). logFile = fopen(logFileName.toLatin1().data(), "w+"); data/ktechlab-0.50.0/src/docmanager.cpp:100:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::ReadOnly) == false ) data/ktechlab-0.50.0/src/electronics/component.cpp:696:63: [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). Switch *Component::createSwitch( ECNode *n0, ECNode *n1, bool open ) data/ktechlab-0.50.0/src/electronics/component.cpp:698:48: [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). return createSwitch( n0->pin(), n1->pin(), open ); data/ktechlab-0.50.0/src/electronics/component.cpp:905:57: [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). Switch* Component::createSwitch( Pin *n0, Pin *n1, bool open ) data/ktechlab-0.50.0/src/electronics/component.cpp:910:44: [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). Switch * e = new Switch( this, n0, n1, open ? Switch::Open : Switch::Closed ); data/ktechlab-0.50.0/src/electronics/component.h:192:49: [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). Switch * createSwitch( Pin *n0, Pin *n1, bool open ); data/ktechlab-0.50.0/src/electronics/component.h:193:55: [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). Switch * createSwitch( ECNode *n0, ECNode *n1, bool open ); data/ktechlab-0.50.0/src/electronics/componentmodellibrary.cpp:91: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 ( !file.open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/electronics/components/matrixdisplaydriver.cpp:24:8: [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. static char characterMap[256][5] = { data/ktechlab-0.50.0/src/electronics/gpsimprocessor.cpp:124:17: [2] (misc) fopen: 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 * pFile = fopen( fileName, "r" ); data/ktechlab-0.50.0/src/electronics/gpsimprocessor.cpp:364: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). if (!tmpFile.open()) { data/ktechlab-0.50.0/src/electronics/models/utils/spice-to-nice.cpp:30: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 ( !input.open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/electronics/models/utils/spice-to-nice.cpp:37: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 ( !output.open( QIODevice::WriteOnly ) ) data/ktechlab-0.50.0/src/electronics/port.cpp:161:13: [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). int file = open( port.toAscii(), O_NOCTTY | O_NONBLOCK | O_RDONLY ); data/ktechlab-0.50.0/src/electronics/port.cpp:167: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). file = open( port.toAscii(), O_NOCTTY | O_NONBLOCK | O_RDWR ); data/ktechlab-0.50.0/src/electronics/port.cpp:180: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). m_file = open( port.toAscii(), O_NOCTTY | O_NONBLOCK | O_RDWR ); data/ktechlab-0.50.0/src/electronics/port.cpp:476:13: [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). int file = open( port.toAscii(), O_RDWR ); data/ktechlab-0.50.0/src/electronics/port.cpp:534: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). m_file = open( port.toAscii(), O_RDWR ); data/ktechlab-0.50.0/src/electronics/subcircuits.cpp:90:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::ReadOnly) == false ) data/ktechlab-0.50.0/src/electronics/subcircuits.cpp:145:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::WriteOnly) == false ) data/ktechlab-0.50.0/src/gui/outputmethoddlg.cpp:56: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). if (!f.open()) { data/ktechlab-0.50.0/src/itemdocumentdata.cpp:109: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). downloadedFile->open(); data/ktechlab-0.50.0/src/itemdocumentdata.cpp:122: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 ( !localFile->open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/itemdocumentdata.cpp:193: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 ( !file.open(QIODevice::WriteOnly) ) data/ktechlab-0.50.0/src/itemdocumentdata.cpp:206: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 (!file.open()) { data/ktechlab-0.50.0/src/itemlibrary.cpp:552:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !file.open( QIODevice::WriteOnly ) ) data/ktechlab-0.50.0/src/itemlibrary.cpp:690: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 ( !file.open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/ktechlab.cpp:478:44: [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). QAction *openAction = KStandardAction::open( this, SLOT(slotFileOpen()), ac ); data/ktechlab-0.50.0/src/languages/asmparser.cpp:37:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( !file.open(QIODevice::ReadOnly) ) data/ktechlab-0.50.0/src/languages/flowcode.cpp:60:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::WriteOnly | QIODevice::ReadOnly) == false ) data/ktechlab-0.50.0/src/languages/flowcode.cpp:67:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::WriteOnly) == false ) data/ktechlab-0.50.0/src/languages/gpdasm.cpp:70:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::WriteOnly) == false ) data/ktechlab-0.50.0/src/languages/microbe.cpp:33:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/languages/processchain.cpp:107: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). f->open(); \ data/ktechlab-0.50.0/src/languages/processchain.cpp:192: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 ( !f.open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/math/qmatrix.cpp:132:3: [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(values[j], old->values[j], n*sizeof(double)); // fastest method. =) data/ktechlab-0.50.0/src/projectmanager.cpp:810: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). bool ProjectInfo::open( const QUrl & url ) data/ktechlab-0.50.0/src/projectmanager.cpp:816: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). downloadedFile->open(); data/ktechlab-0.50.0/src/projectmanager.cpp:829: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 ( !localFile->open( QIODevice::ReadOnly ) ) data/ktechlab-0.50.0/src/projectmanager.cpp:886:12: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if ( file.open(QIODevice::WriteOnly) == false ) data/ktechlab-0.50.0/src/projectmanager.cpp:1022: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 ( !m_pCurrentProject->open(url) ) data/ktechlab-0.50.0/src/projectmanager.h:277:8: [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( const QUrl & url ); data/ktechlab-0.50.0/src/textdocument.cpp:405: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). if (!f.open()) { data/ktechlab-0.50.0/tests/tests_app/tests_app.cpp:106: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). imgFile.open(); data/ktechlab-0.50.0/src/electronics/port.cpp:209:2: [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(1); ANALYSIS SUMMARY: Hits = 49 Lines analyzed = 110346 in approximately 4.06 seconds (27182 lines/second) Physical Source Lines of Code (SLOC) = 71112 Hits@level = [0] 9 [1] 1 [2] 47 [3] 1 [4] 0 [5] 0 Hits@level+ = [0+] 58 [1+] 49 [2+] 48 [3+] 1 [4+] 0 [5+] 0 Hits/KSLOC@level+ = [0+] 0.815615 [1+] 0.689054 [2+] 0.674992 [3+] 0.0140623 [4+] 0 [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.