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/edb-debugger-1.2.0/libPE/include/libPE/pe_binary.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_auxv.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_header.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_verdaux.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_vernaux.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_syminfo.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_shdr.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_sym.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_move.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_rela.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_rel.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_verneed.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_phdr.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_types.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_verdef.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_model.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_nhdr.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_dyn.h Examining data/edb-debugger-1.2.0/libELF/include/libELF/elf_binary.h Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogResults.cpp Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogProcessProperties.h Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/ProcessProperties.cpp Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/ResultsModel.cpp Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/ResultsModel.h Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogProcessProperties.cpp Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogResults.h Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogStrings.cpp Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/ProcessProperties.h Examining data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogStrings.h Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/DialogResults.cpp Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/FunctionFinder.h Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/ResultsModel.cpp Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/ResultsModel.h Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/DialogResults.h Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/DialogFunctions.h Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/FunctionFinder.cpp Examining data/edb-debugger-1.2.0/plugins/FunctionFinder/DialogFunctions.cpp Examining data/edb-debugger-1.2.0/plugins/HardwareBreakpoints/DialogHwBreakpoints.cpp Examining data/edb-debugger-1.2.0/plugins/HardwareBreakpoints/HardwareBreakpoints.cpp Examining data/edb-debugger-1.2.0/plugins/HardwareBreakpoints/DialogHwBreakpoints.h Examining data/edb-debugger-1.2.0/plugins/HardwareBreakpoints/HardwareBreakpoints.h Examining data/edb-debugger-1.2.0/plugins/HardwareBreakpoints/libHardwareBreakpoints.h Examining data/edb-debugger-1.2.0/plugins/HardwareBreakpoints/libHardwareBreakpoints.cpp Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/DialogResults.cpp Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/BinarySearcher.h Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/DialogAsciiString.cpp Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/DialogAsciiString.h Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/DialogResults.h Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/BinarySearcher.cpp Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/DialogBinaryString.h Examining data/edb-debugger-1.2.0/plugins/BinarySearcher/DialogBinaryString.cpp Examining data/edb-debugger-1.2.0/plugins/BreakpointManager/DialogBreakpoints.cpp Examining data/edb-debugger-1.2.0/plugins/BreakpointManager/DialogBreakpoints.h Examining data/edb-debugger-1.2.0/plugins/BreakpointManager/BreakpointManager.cpp Examining data/edb-debugger-1.2.0/plugins/BreakpointManager/BreakpointManager.h Examining data/edb-debugger-1.2.0/plugins/CheckVersion/OptionsPage.h Examining data/edb-debugger-1.2.0/plugins/CheckVersion/CheckVersion.h Examining data/edb-debugger-1.2.0/plugins/CheckVersion/OptionsPage.cpp Examining data/edb-debugger-1.2.0/plugins/CheckVersion/CheckVersion.cpp Examining data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.cpp Examining data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.h Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/DialogResults.cpp Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/OpcodeSearcher.h Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/OpcodeSearcher.cpp Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/ResultsModel.cpp Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/ResultsModel.h Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/DialogResults.h Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/DialogOpcodes.cpp Examining data/edb-debugger-1.2.0/plugins/OpcodeSearcher/DialogOpcodes.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/OptionsPage.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/DialogHeader.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/DialogRegions.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/ELFXX.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/ELFXX.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/demangle.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/ELF32.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/DialogRegions.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/DialogHeader.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/BinaryInfo.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/OptionsPage.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/BinaryInfo.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/PE32.h Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/ELF64.cpp Examining data/edb-debugger-1.2.0/plugins/BinaryInfo/PE32.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/NumberEdit.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/BitFieldFormatter.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/EntryGridKeyUpDownEventFilter.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/MultiBitFieldWidget.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ODbgRV_Util.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/FieldWidget.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/BitFieldDescription.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/GprEdit.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/Canvas.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/SimdValueManager.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/arm-generic/armGroups.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/arm-generic/armGroups.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86FPUValueField.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/Float80Edit.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/DialogEditFPU.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/Float80Edit.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/ODbgRV_x86Common.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/DialogEditFPU.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/Canvas.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/MultiBitFieldWidget.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/RegisterGroup.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/SimdValueManager.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/GprEdit.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ODbgRV_Common.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/BitFieldDescription.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/FieldWidget.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/NumberEdit.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/FpuValueField.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/VolatileNameField.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditGPR.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/VolatileNameField.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/Plugin.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/RegisterView.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditGPR.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/RegisterGroup.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/EntryGridKeyUpDownEventFilter.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/BitFieldFormatter.cpp Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/RegisterView.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/Plugin.h Examining data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.h Examining data/edb-debugger-1.2.0/plugins/FasLoader/FasLoader.cpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/PluginSymbol.hpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Exception.hpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Exception.cpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Symbol.hpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.hpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Header.hpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp Examining data/edb-debugger-1.2.0/plugins/FasLoader/FasLoader.hpp Examining data/edb-debugger-1.2.0/plugins/References/DialogReferences.h Examining data/edb-debugger-1.2.0/plugins/References/References.h Examining data/edb-debugger-1.2.0/plugins/References/References.cpp Examining data/edb-debugger-1.2.0/plugins/References/DialogReferences.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/DebuggerCoreBase.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/DebuggerCore.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformThread.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/DebuggerCore.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformState.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformEvent.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformRegion.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformProcess.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformProcess.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformThread.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformEvent.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformState.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformRegion.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Unix.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformState.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformEvent.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformRegion.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformProcess.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformProcess.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformEvent.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformState.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformRegion.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Posix.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformThread.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformCommon.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformState.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformEvent.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformRegion.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformProcess.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformProcess.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformThread.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformEvent.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformState.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformCommon.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformRegion.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Posix.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Unix.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DebuggerCore.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformThread.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformCommon.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DialogMemoryAccess.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/FeatureDetect.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DebuggerCore.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/arm-generic/PlatformThread.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/arm-generic/PlatformState.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/arm-generic/PlatformState.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformThread.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PrStatus.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformEvent.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformThread.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformEvent.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DialogMemoryAccess.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformCommon.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/DebuggerCore.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/DebuggerCore.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformState.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformEvent.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformRegion.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformProcess.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformProcess.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformEvent.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformState.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformRegion.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/arch/arm-generic/Breakpoint.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/arch/arm-generic/Breakpoint.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/arch/x86-generic/Breakpoint.h Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/arch/x86-generic/Breakpoint.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerCore/DebuggerCoreBase.h Examining data/edb-debugger-1.2.0/plugins/DebuggerErrorConsole/Plugin.cpp Examining data/edb-debugger-1.2.0/plugins/DebuggerErrorConsole/Plugin.h Examining data/edb-debugger-1.2.0/plugins/DumpState/OptionsPage.h Examining data/edb-debugger-1.2.0/plugins/DumpState/DumpState.h Examining data/edb-debugger-1.2.0/plugins/DumpState/DumpState.cpp Examining data/edb-debugger-1.2.0/plugins/DumpState/OptionsPage.cpp Examining data/edb-debugger-1.2.0/plugins/HeapAnalyzer/DialogHeap.cpp Examining data/edb-debugger-1.2.0/plugins/HeapAnalyzer/ResultViewModel.h Examining data/edb-debugger-1.2.0/plugins/HeapAnalyzer/ResultViewModel.cpp Examining data/edb-debugger-1.2.0/plugins/HeapAnalyzer/HeapAnalyzer.h Examining data/edb-debugger-1.2.0/plugins/HeapAnalyzer/DialogHeap.h Examining data/edb-debugger-1.2.0/plugins/HeapAnalyzer/HeapAnalyzer.cpp Examining data/edb-debugger-1.2.0/plugins/Analyzer/OptionsPage.h Examining data/edb-debugger-1.2.0/plugins/Analyzer/AnalyzerWidget.h Examining data/edb-debugger-1.2.0/plugins/Analyzer/SpecifiedFunctions.h Examining data/edb-debugger-1.2.0/plugins/Analyzer/Analyzer.h Examining data/edb-debugger-1.2.0/plugins/Analyzer/DialogXRefs.h Examining data/edb-debugger-1.2.0/plugins/Analyzer/DialogXRefs.cpp Examining data/edb-debugger-1.2.0/plugins/Analyzer/Analyzer.cpp Examining data/edb-debugger-1.2.0/plugins/Analyzer/OptionsPage.cpp Examining data/edb-debugger-1.2.0/plugins/Analyzer/AnalyzerWidget.cpp Examining data/edb-debugger-1.2.0/plugins/Analyzer/SpecifiedFunctions.cpp Examining data/edb-debugger-1.2.0/plugins/SymbolViewer/SymbolViewer.cpp Examining data/edb-debugger-1.2.0/plugins/SymbolViewer/DialogSymbolViewer.cpp Examining data/edb-debugger-1.2.0/plugins/SymbolViewer/SymbolViewer.h Examining data/edb-debugger-1.2.0/plugins/SymbolViewer/DialogSymbolViewer.h Examining data/edb-debugger-1.2.0/plugins/ROPTool/DialogResults.cpp Examining data/edb-debugger-1.2.0/plugins/ROPTool/ROPTool.h Examining data/edb-debugger-1.2.0/plugins/ROPTool/ROPTool.cpp Examining data/edb-debugger-1.2.0/plugins/ROPTool/ResultsModel.cpp Examining data/edb-debugger-1.2.0/plugins/ROPTool/ResultsModel.h Examining data/edb-debugger-1.2.0/plugins/ROPTool/DialogResults.h Examining data/edb-debugger-1.2.0/plugins/ROPTool/DialogROPTool.h Examining data/edb-debugger-1.2.0/plugins/ROPTool/DialogROPTool.cpp Examining data/edb-debugger-1.2.0/plugins/Backtrace/CallStack.h Examining data/edb-debugger-1.2.0/plugins/Backtrace/DialogBacktrace.cpp Examining data/edb-debugger-1.2.0/plugins/Backtrace/CallStack.cpp Examining data/edb-debugger-1.2.0/plugins/Backtrace/DialogBacktrace.h Examining data/edb-debugger-1.2.0/plugins/Backtrace/Backtrace.h Examining data/edb-debugger-1.2.0/plugins/Backtrace/Backtrace.cpp Examining data/edb-debugger-1.2.0/plugins/Assembler/OptionsPage.h Examining data/edb-debugger-1.2.0/plugins/Assembler/Assembler.h Examining data/edb-debugger-1.2.0/plugins/Assembler/Assembler.cpp Examining data/edb-debugger-1.2.0/plugins/Assembler/DialogAssembler.h Examining data/edb-debugger-1.2.0/plugins/Assembler/OptionsPage.cpp Examining data/edb-debugger-1.2.0/plugins/Assembler/DialogAssembler.cpp Examining data/edb-debugger-1.2.0/plugins/Bookmarks/Bookmarks.h Examining data/edb-debugger-1.2.0/plugins/Bookmarks/BookmarkWidget.cpp Examining data/edb-debugger-1.2.0/plugins/Bookmarks/BookmarkWidget.h Examining data/edb-debugger-1.2.0/plugins/Bookmarks/BookmarksModel.cpp Examining data/edb-debugger-1.2.0/plugins/Bookmarks/Bookmarks.cpp Examining data/edb-debugger-1.2.0/plugins/Bookmarks/BookmarksModel.h Examining data/edb-debugger-1.2.0/src/session/SessionError.cpp Examining data/edb-debugger-1.2.0/src/session/SessionError.h Examining data/edb-debugger-1.2.0/src/session/SessionManager.h Examining data/edb-debugger-1.2.0/src/session/SessionManager.cpp Examining data/edb-debugger-1.2.0/src/widgets/SyntaxHighlighter.h Examining data/edb-debugger-1.2.0/src/widgets/RegisterViewDelegate.cpp Examining data/edb-debugger-1.2.0/src/widgets/RegisterViewDelegate.h Examining data/edb-debugger-1.2.0/src/widgets/QDisassemblyView.h Examining data/edb-debugger-1.2.0/src/widgets/TabWidget.h Examining data/edb-debugger-1.2.0/src/widgets/NavigationHistory.cpp Examining data/edb-debugger-1.2.0/src/widgets/TabWidget.cpp Examining data/edb-debugger-1.2.0/src/widgets/NavigationHistory.h Examining data/edb-debugger-1.2.0/src/widgets/SyntaxHighlighter.cpp Examining data/edb-debugger-1.2.0/src/widgets/QDisassemblyView.cpp Examining data/edb-debugger-1.2.0/src/Font.cpp Examining data/edb-debugger-1.2.0/src/DialogAbout.cpp Examining data/edb-debugger-1.2.0/src/DialogThreads.h Examining data/edb-debugger-1.2.0/src/DebuggerInternal.h Examining data/edb-debugger-1.2.0/src/FixedFontSelector.cpp Examining data/edb-debugger-1.2.0/src/DialogMemoryRegions.cpp Examining data/edb-debugger-1.2.0/src/Configuration.cpp Examining data/edb-debugger-1.2.0/src/FixedFontSelector.h Examining data/edb-debugger-1.2.0/src/capstone-edb/Inspection.cpp Examining data/edb-debugger-1.2.0/src/capstone-edb/Instruction.cpp Examining data/edb-debugger-1.2.0/src/capstone-edb/include/Inspection.h Examining data/edb-debugger-1.2.0/src/capstone-edb/include/Formatter.h Examining data/edb-debugger-1.2.0/src/capstone-edb/include/Instruction.h Examining data/edb-debugger-1.2.0/src/capstone-edb/include/Operand.h Examining data/edb-debugger-1.2.0/src/DialogPlugins.cpp Examining data/edb-debugger-1.2.0/src/State.cpp Examining data/edb-debugger-1.2.0/src/DialogAttach.h Examining data/edb-debugger-1.2.0/src/test/Test.cpp Examining data/edb-debugger-1.2.0/src/CommentServer.cpp Examining data/edb-debugger-1.2.0/src/RegionBuffer.h Examining data/edb-debugger-1.2.0/src/Debugger.h Examining data/edb-debugger-1.2.0/src/SymbolManager.h Examining data/edb-debugger-1.2.0/src/PluginModel.cpp Examining data/edb-debugger-1.2.0/src/DebugEventHandlers.h Examining data/edb-debugger-1.2.0/src/BasicBlock.cpp Examining data/edb-debugger-1.2.0/src/DataViewInfo.cpp Examining data/edb-debugger-1.2.0/src/RecentFileManager.cpp Examining data/edb-debugger-1.2.0/src/DialogMemoryRegions.h Examining data/edb-debugger-1.2.0/src/arch/arm-generic/ArchProcessor.cpp Examining data/edb-debugger-1.2.0/src/arch/arm-generic/RegisterViewModel.cpp Examining data/edb-debugger-1.2.0/src/arch/arm-generic/RegisterViewModel.h Examining data/edb-debugger-1.2.0/src/arch/x86-generic/ArchProcessor.cpp Examining data/edb-debugger-1.2.0/src/arch/x86-generic/RegisterViewModel.cpp Examining data/edb-debugger-1.2.0/src/arch/x86-generic/RegisterViewModel.h Examining data/edb-debugger-1.2.0/src/arch/x86-generic/errno-names-linux.h Examining data/edb-debugger-1.2.0/src/Function.cpp Examining data/edb-debugger-1.2.0/src/edb.cpp Examining data/edb-debugger-1.2.0/src/DialogPlugins.h Examining data/edb-debugger-1.2.0/src/ProcessModel.h Examining data/edb-debugger-1.2.0/src/CommentServer.h Examining data/edb-debugger-1.2.0/src/RegionBuffer.cpp Examining data/edb-debugger-1.2.0/src/ProcessModel.cpp Examining data/edb-debugger-1.2.0/src/DialogAttach.cpp Examining data/edb-debugger-1.2.0/src/DialogInputBinaryString.cpp Examining data/edb-debugger-1.2.0/src/Register.cpp Examining data/edb-debugger-1.2.0/src/DataViewInfo.h Examining data/edb-debugger-1.2.0/src/DebugEventHandlers.cpp Examining data/edb-debugger-1.2.0/src/DialogInputValue.cpp Examining data/edb-debugger-1.2.0/src/DialogInputBinaryString.h Examining data/edb-debugger-1.2.0/src/ExpressionDialog.h Examining data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp Examining data/edb-debugger-1.2.0/src/qhexview/qhexview.h Examining data/edb-debugger-1.2.0/src/ExpressionDialog.cpp Examining data/edb-debugger-1.2.0/src/QLongValidator.cpp Examining data/edb-debugger-1.2.0/src/DialogInputValue.h Examining data/edb-debugger-1.2.0/src/BinaryString.cpp Examining data/edb-debugger-1.2.0/src/HexStringValidator.cpp Examining data/edb-debugger-1.2.0/src/PluginModel.h Examining data/edb-debugger-1.2.0/src/DialogOptions.h Examining data/edb-debugger-1.2.0/src/RecentFileManager.h Examining data/edb-debugger-1.2.0/src/graph/GraphvizHelper.cpp Examining data/edb-debugger-1.2.0/src/graph/GraphEdge.cpp Examining data/edb-debugger-1.2.0/src/graph/GraphvizHelper.h Examining data/edb-debugger-1.2.0/src/graph/GraphWidget.cpp Examining data/edb-debugger-1.2.0/src/graph/GraphNode.cpp Examining data/edb-debugger-1.2.0/src/graph/GraphicsScene.h Examining data/edb-debugger-1.2.0/src/graph/GraphicsScene.cpp Examining data/edb-debugger-1.2.0/src/DialogOpenProgram.h Examining data/edb-debugger-1.2.0/src/DialogOpenProgram.cpp Examining data/edb-debugger-1.2.0/src/DialogArguments.cpp Examining data/edb-debugger-1.2.0/src/ByteShiftArray.cpp Examining data/edb-debugger-1.2.0/src/DialogArguments.h Examining data/edb-debugger-1.2.0/src/DialogAbout.h Examining data/edb-debugger-1.2.0/src/ThreadsModel.cpp Examining data/edb-debugger-1.2.0/src/RegisterViewModelBase.cpp Examining data/edb-debugger-1.2.0/src/DialogThreads.cpp Examining data/edb-debugger-1.2.0/src/DialogOptions.cpp Examining data/edb-debugger-1.2.0/src/FloatX.cpp Examining data/edb-debugger-1.2.0/src/MemoryRegions.cpp Examining data/edb-debugger-1.2.0/src/QULongValidator.cpp Examining data/edb-debugger-1.2.0/src/Debugger.cpp Examining data/edb-debugger-1.2.0/src/main.cpp Examining data/edb-debugger-1.2.0/src/SymbolManager.cpp Examining data/edb-debugger-1.2.0/include/ISymbolGenerator.h Examining data/edb-debugger-1.2.0/include/GraphWidget.h Examining data/edb-debugger-1.2.0/include/RegisterRef.h Examining data/edb-debugger-1.2.0/include/Module.h Examining data/edb-debugger-1.2.0/include/IState.h Examining data/edb-debugger-1.2.0/include/Util.h Examining data/edb-debugger-1.2.0/include/util/Container.h Examining data/edb-debugger-1.2.0/include/util/Font.h Examining data/edb-debugger-1.2.0/include/util/String.h Examining data/edb-debugger-1.2.0/include/util/Error.h Examining data/edb-debugger-1.2.0/include/util/Math.h Examining data/edb-debugger-1.2.0/include/util/Integer.h Examining data/edb-debugger-1.2.0/include/util/Float.h Examining data/edb-debugger-1.2.0/include/State.h Examining data/edb-debugger-1.2.0/include/MemoryRegions.h Examining data/edb-debugger-1.2.0/include/RegisterViewModelBase.h Examining data/edb-debugger-1.2.0/include/IPlugin.h Examining data/edb-debugger-1.2.0/include/Types.h Examining data/edb-debugger-1.2.0/include/Expression.h Examining data/edb-debugger-1.2.0/include/arch/arm-generic/ArchTypes.h Examining data/edb-debugger-1.2.0/include/arch/x86-generic/ArchTypes.h Examining data/edb-debugger-1.2.0/include/API.h Examining data/edb-debugger-1.2.0/include/string_hash.h Examining data/edb-debugger-1.2.0/include/GraphEdge.h Examining data/edb-debugger-1.2.0/include/IBreakpoint.h Examining data/edb-debugger-1.2.0/include/Prototype.h Examining data/edb-debugger-1.2.0/include/IAnalyzer.h Examining data/edb-debugger-1.2.0/include/os/win32/OSTypes.h Examining data/edb-debugger-1.2.0/include/os/unix/linux/linker.h Examining data/edb-debugger-1.2.0/include/os/unix/OSTypes.h Examining data/edb-debugger-1.2.0/include/QULongValidator.h Examining data/edb-debugger-1.2.0/include/IDebugEvent.h Examining data/edb-debugger-1.2.0/include/Patch.h Examining data/edb-debugger-1.2.0/include/edb.h Examining data/edb-debugger-1.2.0/include/FloatX.h Examining data/edb-debugger-1.2.0/include/IProcess.h Examining data/edb-debugger-1.2.0/include/version.h Examining data/edb-debugger-1.2.0/include/IDebugEventHandler.h Examining data/edb-debugger-1.2.0/include/ArchProcessor.h Examining data/edb-debugger-1.2.0/include/QLongValidator.h Examining data/edb-debugger-1.2.0/include/ISymbolManager.h Examining data/edb-debugger-1.2.0/include/Instruction.h Examining data/edb-debugger-1.2.0/include/Value.h Examining data/edb-debugger-1.2.0/include/BasicBlock.h Examining data/edb-debugger-1.2.0/include/IThread.h Examining data/edb-debugger-1.2.0/include/ByteShiftArray.h Examining data/edb-debugger-1.2.0/include/Status.h Examining data/edb-debugger-1.2.0/include/HexStringValidator.h Examining data/edb-debugger-1.2.0/include/IDebugger.h Examining data/edb-debugger-1.2.0/include/GraphNode.h Examining data/edb-debugger-1.2.0/include/Configuration.h Examining data/edb-debugger-1.2.0/include/Function.h Examining data/edb-debugger-1.2.0/include/Register.h Examining data/edb-debugger-1.2.0/include/IBinary.h Examining data/edb-debugger-1.2.0/include/QtHelper.h Examining data/edb-debugger-1.2.0/include/IRegion.h Examining data/edb-debugger-1.2.0/include/BinaryString.h Examining data/edb-debugger-1.2.0/include/ThreadsModel.h Examining data/edb-debugger-1.2.0/include/Symbol.h FINAL RESULTS: data/edb-debugger-1.2.0/include/Value.h:82:9: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. p += sprintf(p, "%016" PRIx64, *it); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Unix.cpp:117:7: [4] (buffer) strcpy: Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). std::strcpy(p, str.constData()); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Unix.cpp:200:19: [4] (shell) execv: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. const int ret = execv(argv_pointers[0], argv_pointers); data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.cpp:1497:44: [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. add({"Access", printAccessMode(operand.access).c_str()}, curOpItem); data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.cpp:1565:44: [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. add({"Access", printAccessMode(operand.access).c_str()}, curOpItem); data/edb-debugger-1.2.0/src/BinaryString.cpp:124:19: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. textHex += temp.sprintf("%02x ", ch & 0xff); data/edb-debugger-1.2.0/src/BinaryString.cpp:159:19: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. textHex += temp.sprintf("%02x %02x ", ch & 0xff, (ch >> 8) & 0xff); data/edb-debugger-1.2.0/src/BinaryString.cpp:167:19: [4] (format) sprintf: Potential format string problem (CWE-134). Make format string constant. textHex += temp.sprintf("%02x %02x ", (ch >> 8) & 0xff, ch & 0xff); data/edb-debugger-1.2.0/src/main.cpp:203:37: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. qtTranslator.load("qt_" + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); data/edb-debugger-1.2.0/src/main.cpp:207:41: [4] (shell) system: This causes a new program to execute and is difficult to use safely (CWE-78). try using a library call that implements the same functionality if available. myappTranslator.load("edb_" + QLocale::system().name()); data/edb-debugger-1.2.0/include/IDebugger.h:88: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). virtual Status open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &input, const QString &output) = 0; data/edb-debugger-1.2.0/include/Register.h:82:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&result, &value_, bitSize_ / 8); data/edb-debugger-1.2.0/include/Register.h:97:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to, from, bitSize_ / 8); data/edb-debugger-1.2.0/include/Register.h:131:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to, from, size); data/edb-debugger-1.2.0/include/Value.h:69:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_, &n, sizeof(n)); data/edb-debugger-1.2.0/include/Value.h:78:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[sizeof(T) * 2 + 1]; data/edb-debugger-1.2.0/include/Value.h:99:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(target, dataStart, sizeof(data)); data/edb-debugger-1.2.0/include/Value.h:171:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_, &n, sizeof(n)); data/edb-debugger-1.2.0/include/Value.h:217:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(target, dataStart, sizeof(data)); data/edb-debugger-1.2.0/include/Value.h:437:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&result.value_, &value_, valueLength); data/edb-debugger-1.2.0/include/Value.h:818:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&float80val, &value_, sizeof(value_)); data/edb-debugger-1.2.0/include/Value.h:825:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/edb-debugger-1.2.0/plugins/Assembler/DialogAssembler.cpp:65: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 | QIODevice::Text)) { data/edb-debugger-1.2.0/plugins/Assembler/DialogAssembler.cpp:196: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 (!source_file.open()) { data/edb-debugger-1.2.0/plugins/Assembler/DialogAssembler.cpp:202: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_file.open()) { data/edb-debugger-1.2.0/plugins/Assembler/OptionsPage.cpp:51: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 | QIODevice::Text)) { data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:420: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 (debugFile->open(QIODevice::ReadOnly)) { data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:445: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 (debugFile->open(QIODevice::ReadOnly)) { data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:479: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/edb-debugger-1.2.0/plugins/BreakpointManager/DialogBreakpoints.cpp:204: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/edb-debugger-1.2.0/plugins/BreakpointManager/DialogBreakpoints.cpp:305: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)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Unix.cpp:185:28: [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. auto argv_pointers = new char *[args.count() + 2]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.cpp:124: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 errbuf[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.cpp:263: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 DebuggerCore::open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &tty) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.cpp:346:2: [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 ebuffer[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.cpp:393:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/DebuggerCore.h:48: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). Status open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &tty) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformProcess.cpp:76:3: [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 buffer[PATH_MAX] = {}; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DebuggerCore.cpp:869: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). Status DebuggerCore::open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &input, const QString &output) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DebuggerCore.cpp:922:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(sharedMem, error.constData(), std::min(sizeof(QChar) * error.size(), SharedMemSize - sizeof(QChar) /*prevent overwriting of last null*/)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/DebuggerCore.h:55: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). Status open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &input, const QString &output) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp:40: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). fd_ = ::open(filename.c_str(), O_RDWR); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformCommon.cpp:155:2: [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 path[PATH_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformCommon.cpp:170:2: [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 path[PATH_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformCommon.h:31:11: [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. /* 02 */ char comm[256]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:169: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. char path[PATH_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:253: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 (memory_file->open(flags)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:463: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 | QIODevice::Text)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:585: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 | QIODevice::Text)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:676:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&word) + addressShift, &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:935: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 (auxv.open(QIODevice::ReadOnly)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:970: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 (auxv.open(QIODevice::ReadOnly)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:1176:12: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to, ba.data() + 1, sizeof(uint32_t)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:424:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&x87.instPtrOffset) + 4, ®s.fiseg, sizeof(regs.fiseg)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:425:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&x87.dataPtrOffset) + 4, ®s.foseg, sizeof(regs.foseg)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:605:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(regs.st_space) + 10 * x87.RIndexToSTIndex(n), &x87.R[n], sizeof(x87.R[n])); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:623:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(regs.st_space) + 16 * x87.RIndexToSTIndex(n), &x87.R[n], sizeof(x87.R[n])); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:628:10: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(regs.xmm_space) + 16 * n, &avx.zmmStorage[n], sizeof(edb::value128)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:651:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(®s.st_space) + 16 * x87.RIndexToSTIndex(n), &x87.R[n], sizeof(x87.R[n])); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:658:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(®s.xmm_space) + 16 * n, &avx.zmmStorage[n], sizeof(edb::value128)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:676:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(®s.fiseg, reinterpret_cast<const char *>(&x87.instPtrOffset) + 4, 4); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:677:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(®s.foseg, reinterpret_cast<const char *>(&x87.dataPtrOffset) + 4, 4); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:686:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(®s.st_space) + 16 * x87.RIndexToSTIndex(n), &x87.R[n], sizeof(x87.R[n])); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:695:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(®s.xmm_space) + 16 * n, &avx.zmmStorage[n], sizeof(edb::value128)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:706:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(®s.ymmh_space) + 16 * n, reinterpret_cast<const char *>(&avx.zmmStorage[n]) + sizeof(edb::value128), sizeof(edb::value128)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:743:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<uint8_t *>(&zmmStorage[index]) + 0, &low, sizeof(low)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:744:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<uint8_t *>(&zmmStorage[index]) + 16, &high, sizeof(high)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:813:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:1139:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&v), &Mant, sizeof(Mant)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:1140:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&v) + sizeof(Mant), &Exp, sizeof(Exp)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:1317:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&x87.R[i]), &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:1320:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&x87.R[i]) + sizeof(value), &RiUpper, sizeof(RiUpper)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:1334:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&x87.R[i], &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/arch/x86-generic/PlatformState.cpp:1348:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&x87.st(i), &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:219: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 errbuf[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:413: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 DebuggerCore::open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &tty) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:496:2: [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 ebuffer[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:525:2: [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 errbuf[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:527:3: [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 p_comm[KI_MAXCOMLEN] = ""; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:555:2: [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 errbuf[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:575:3: [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 err_buf[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:646:3: [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 errbuf[_POSIX2_LINE_MAX]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.cpp:716:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/DebuggerCore.h:49:7: [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 QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &tty) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformState.cpp:48:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[14]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/DebuggerCore.cpp:457: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 DebuggerCore::open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &tty) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/DebuggerCore.cpp:748:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/DebuggerCore.h:49:7: [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 QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &tty) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformState.cpp:52:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[14]; data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/DebuggerCore.cpp:280: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). Status DebuggerCore::open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &input, const QString &output) { data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/DebuggerCore.h:57: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). Status open(const QString &path, const QString &cwd, const QList<QByteArray> &args, const QString &input, const QString &output) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformProcess.cpp:493:2: [2] (buffer) wchar_t: 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. wchar_t name[MAX_PATH] = L""; data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformState.cpp:96:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[14]; data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:21:3: [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(); data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:37: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). void Core::open() { data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:38:7: [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). ifs_.open(fileName_, std::ios::binary); data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:187:2: [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 cstr[MaxLength]; data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:210:2: [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 pascal[64]; data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.hpp:25:7: [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). void open(); data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.cpp:777: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 (!binary.open()) { data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.cpp:894: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 (!binary.open()) { data/edb-debugger-1.2.0/plugins/InstructionInspector/Plugin.cpp:970: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 (!binary.open()) { data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.cpp:342:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_, &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.cpp:349:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_, &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.cpp:353:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_, &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.cpp:449:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_[elementIndex * sizeof(value)], &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/DialogEditSimdRegister.cpp:460:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value_[floatIndex * sizeof(value)], &value, sizeof(value)); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/GprEdit.cpp:97:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value, reinterpret_cast<char *>(&gprValue) + offsetInInteger_, integerSize_); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/GprEdit.cpp:133:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(reinterpret_cast<char *>(&gpr) + offsetInInteger_, &value, integerSize_); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/MultiBitFieldWidget.cpp:42:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&word, byteArr.constData(), byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/MultiBitFieldWidget.cpp:46:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(byteArr.data(), &word, byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/MultiBitFieldWidget.cpp:59:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&word, byteArr.constData(), byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:267:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&word, byteArr.constData(), byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:270:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(byteArr.data(), &word, byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:291:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value, byteArr.constData(), byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:406:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&word, byteArr.constData(), byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:409:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(byteArr.data(), &word, byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:449:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value, byteArr.constData(), byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/ValueField.cpp:451:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(byteArr.data(), &value, byteArr.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.cpp:125:2: [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 fenv[28]; data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.cpp:521:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&fcr, rawFCR.constData(), rawFCR.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.cpp:528:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&fsr, rawFSR.constData(), rawFSR.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.cpp:537:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&fop, rawFOP.constData(), rawFOP.size()); data/edb-debugger-1.2.0/plugins/ODbgRegisterView/arch/x86-generic/x86Groups.cpp:544:8: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&fip, rawFIP.constData(), rawFIP.size()); data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogProcessProperties.cpp:241:6: [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). net.open(QIODevice::ReadOnly | QIODevice::Text); data/edb-debugger-1.2.0/plugins/ProcessProperties/DialogProcessProperties.cpp:448: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 (proc_environ.open(QIODevice::ReadOnly)) { data/edb-debugger-1.2.0/plugins/References/DialogReferences.cpp:106:7: [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(&test_address, p, edb::v1::pointer_size()); data/edb-debugger-1.2.0/src/Debugger.cpp:652: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). int fd = open(qPrintable(temp_pipe), O_RDWR); data/edb-debugger-1.2.0/src/Debugger.cpp:662:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[256] = {}; data/edb-debugger-1.2.0/src/Debugger.cpp:1518:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&d, data.data(), pointer_size); data/edb-debugger-1.2.0/src/Debugger.cpp:1902: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). file.open(QIODevice::WriteOnly); data/edb-debugger-1.2.0/src/Debugger.cpp:3031:52: [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 (const Status status = edb::v1::debugger_core->open(s, workingDirectory_, args, process_input, process_output)) { data/edb-debugger-1.2.0/src/FloatX.cpp:435:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(ptr, &exponent, sizeof(exponent)); data/edb-debugger-1.2.0/src/FloatX.cpp:446:4: [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 buffer[64]; data/edb-debugger-1.2.0/src/FloatX.cpp:477:4: [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 buffer[64] = {}; data/edb-debugger-1.2.0/src/Register.cpp:75:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to, from, bitSize_ / 8); data/edb-debugger-1.2.0/src/Register.cpp:89:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(to, from, bitSize_ / 8); data/edb-debugger-1.2.0/src/RegisterViewModelBase.cpp:708:7: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. std::memcpy(&value, newValue.constData(), newValue.size()); data/edb-debugger-1.2.0/src/arch/x86-generic/ArchProcessor.cpp:865: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 | QIODevice::Text)) { data/edb-debugger-1.2.0/src/arch/x86-generic/ArchProcessor.cpp:888:6: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4]; data/edb-debugger-1.2.0/src/capstone-edb/Instruction.cpp:459:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[32]; data/edb-debugger-1.2.0/src/edb.cpp:124: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/edb-debugger-1.2.0/src/edb.cpp:1139:7: [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(QIODevice::ReadOnly); data/edb-debugger-1.2.0/src/edb.cpp:1277:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4]; data/edb-debugger-1.2.0/src/edb.cpp:1302:3: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4]; data/edb-debugger-1.2.0/src/edb.cpp:1324:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[4]; data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp:113: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. static char buffer[32]; data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp:923: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). internalBuffer_->open(QBuffer::ReadOnly); data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp:1057:2: [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 byte_buffer[32]; data/edb-debugger-1.2.0/src/session/SessionManager.cpp:55: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 | QIODevice::Text)) { data/edb-debugger-1.2.0/src/session/SessionManager.cpp:147: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::WriteOnly | QIODevice::Text)) { data/edb-debugger-1.2.0/src/widgets/QDisassemblyView.cpp:76:10: [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 buffer[10]; data/edb-debugger-1.2.0/src/widgets/QDisassemblyView.cpp:82:10: [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 buffer[9]; data/edb-debugger-1.2.0/src/widgets/QDisassemblyView.cpp:2141:2: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[sizeof(WidgetState1)]; data/edb-debugger-1.2.0/src/widgets/QDisassemblyView.cpp:2156: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(&state, stateBuffer.data(), sizeof(WidgetState1)); data/edb-debugger-1.2.0/include/IRegion.h:45:35: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). virtual void setPermissions(bool read, bool write, bool execute) = 0; data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:244:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(sym_name) > (sizeof(".rela.") - 1) && memcmp(sym_name, ".rela.", (sizeof(".rela.") - 1)) == 0) { data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:278:9: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strlen(sym_name) > (sizeof(".rel.") - 1) && memcmp(sym_name, ".rel.", (sizeof(".rel.") - 1)) == 0) { data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:318:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (symbol_tab[i].st_value && strlen(&string_tab[symbol_tab[i].st_name]) > 0) { data/edb-debugger-1.2.0/plugins/BinaryInfo/symbols.cpp:354:36: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (symbol_tab[i].st_value && strlen(&string_tab[symbol_tab[i].st_name]) == 0) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Posix.cpp:104:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t Posix::read(int fd, void *buf, size_t count) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Posix.cpp:107:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ret = ::read(fd, buf, count); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Posix.cpp:197:13: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (Posix::read(selfpipe[0], &ch, sizeof(char)) == -1) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/Posix.h:16:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t read(int fd, void *buf, size_t count); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformRegion.cpp:60:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PlatformRegion::set_permissions(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformRegion.cpp:61:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Q_UNUSED(read) data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/freebsd/PlatformRegion.h:46:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void set_permissions(bool read, bool write, bool execute) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp:50:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t read(void *buf, size_t count) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp:51:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const ssize_t result = ::read(fd_, buf, count); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/FeatureDetect.cpp:148:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(&buf, sizeof(buf)); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:296:30: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read = readOnlyMemFile_->read(ptr, 1); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:314:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). read = readOnlyMemFile_->read(ptr, len); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:331:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ++read; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:341:57: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (bpAddr + i >= address && bpAddr + i < address + read) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:348:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:939:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (auxv.read(reinterpret_cast<char *>(&entry), sizeof(entry))) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:946:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (auxv.read(reinterpret_cast<char *>(&entry), sizeof(entry))) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:974:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (auxv.read(reinterpret_cast<char *>(&entry), sizeof(entry))) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformProcess.cpp:986:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). while (auxv.read(reinterpret_cast<char *>(&entry), sizeof(entry))) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp:44:47: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). IRegion::permissions_t permissions_value(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp:46:6: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read) perms |= PROT_READ; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp:224:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PlatformRegion::setPermissions(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp:256:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). setPermissions(read, write, execute, temp_address); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp:313:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PlatformRegion::setPermissions(bool read, bool write, bool execute, edb::address_t temp_address) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.cpp:314:48: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const permissions_t perms = permissions_value(read, write, execute); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.h:49:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void setPermissions(bool read, bool write, bool execute) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/linux/PlatformRegion.h:61:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void setPermissions(bool read, bool write, bool execute, edb::address_t temp_address); data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformRegion.cpp:60:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PlatformRegion::set_permissions(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformRegion.cpp:61:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Q_UNUSED(read) data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/openbsd/PlatformRegion.h:46:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void set_permissions(bool read, bool write, bool execute) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformRegion.cpp:60:43: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PlatformRegion::set_permissions(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformRegion.cpp:61:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). Q_UNUSED(read) data/edb-debugger-1.2.0/plugins/DebuggerCore/unix/osx/PlatformRegion.h:46:28: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void set_permissions(bool read, bool write, bool execute) override; data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformRegion.cpp:127:42: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PlatformRegion::setPermissions(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformRegion.cpp:131:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). switch ((static_cast<int>(read) << 2) | (static_cast<int>(write) << 1) | (static_cast<int>(execute) << 0)) { data/edb-debugger-1.2.0/plugins/DebuggerCore/win32/PlatformRegion.h:49:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void setPermissions(bool read, bool write, bool execute) override; data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:47:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs_.read((char *)&header_, sizeof(Header))) { data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:74:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs_.read((char *)&symbol, sizeof(Fas::Symbol))) { data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:193:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ifs_.read(c, 1); data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:214:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs_.read((char *)&len, sizeof(len))) { data/edb-debugger-1.2.0/plugins/FasLoader/Fas/Core.cpp:218:12: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (!ifs_.read(pascal, len)) { data/edb-debugger-1.2.0/src/Debugger.cpp:672:11: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(fd, buf, sizeof(buf)) != -1) { data/edb-debugger-1.2.0/src/DialogMemoryRegions.cpp:103:47: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void DialogMemoryRegions::setPermissions(bool read, bool write, bool execute) { data/edb-debugger-1.2.0/src/DialogMemoryRegions.cpp:105:26: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). region->setPermissions(read, write, execute); data/edb-debugger-1.2.0/src/DialogMemoryRegions.h:59:27: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void setPermissions(bool read, bool write, bool execute); data/edb-debugger-1.2.0/src/FloatX.cpp:194:26: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). const size_t len = std::strlen(buffer); data/edb-debugger-1.2.0/src/FloatX.cpp:259:19: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). auto len = std::strlen(buf); data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp:320:40: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const QByteArray row_data = data_->read(chars_per_row); data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp:1308:38: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const QByteArray row_data = data_->read(chars_per_row); data/edb-debugger-1.2.0/src/qhexview/qhexview.cpp:1394:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return data_->read(e - s); ANALYSIS SUMMARY: Hits = 210 Lines analyzed = 76544 in approximately 1.94 seconds (39393 lines/second) Physical Source Lines of Code (SLOC) = 49118 Hits@level = [0] 10 [1] 55 [2] 145 [3] 0 [4] 10 [5] 0 Hits@level+ = [0+] 220 [1+] 210 [2+] 155 [3+] 10 [4+] 10 [5+] 0 Hits/KSLOC@level+ = [0+] 4.47901 [1+] 4.27542 [2+] 3.15567 [3+] 0.203591 [4+] 0.203591 [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.