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/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/config.h Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/dis_decode.cc Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/dis_groups.cc Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/dis_tables.h Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/disasm.h Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/stdafx.cc Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/stdafx.h Examining data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc Examining data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhash.c Examining data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhash.h Examining data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhsum.c Examining data/dolphin-emu-5.0+dfsg/Source/Android/jni/ButtonManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Android/jni/ButtonManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Android/jni/MainAndroid.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/AOSoundStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/AOSoundStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/AlsaSoundStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/AlsaSoundStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/AudioCommon.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/AudioCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/CoreAudioSoundStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/CoreAudioSoundStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/DPL2Decoder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/DPL2Decoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/Mixer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/Mixer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/NullSoundStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/NullSoundStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/OpenALStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/OpenSLESStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/OpenSLESStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/PulseAudioStream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/PulseAudioStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/SoundStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/WaveFile.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/WaveFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/XAudio2Stream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/XAudio2Stream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/XAudio2_7Stream.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/XAudio2_7Stream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/aldlist.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/aldlist.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/OpenALStream.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Analytics.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Analytics.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Arm64Emitter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Arm64Emitter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ArmCPUDetect.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ArmCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Assert.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Atomic.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Atomic_GCC.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Atomic_Win32.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/BitField.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/BitSet.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/BlockingLoop.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/BreakPoints.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/BreakPoints.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CDUtils.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CDUtils.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CPUDetect.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ChunkFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CodeBlock.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ColorUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ColorUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Common.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CommonFuncs.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CommonPaths.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/CommonTypes.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/bn.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/bn.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/ec.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/ec.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/DebugInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ENetUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ENetUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Event.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FPURoundMode.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FifoQueue.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileSearch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileSearch.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/FixedSizeQueue.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Flag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/AMD_pinned_memory.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_ES2_compatibility.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_ES3_compatibility.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_blend_func_extended.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_buffer_storage.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_clip_control.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_copy_image.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_debug_output.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_draw_elements_base_vertex.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_framebuffer_object.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_get_program_binary.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_map_buffer_range.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_occlusion_query2.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_sample_shading.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_sampler_objects.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_shader_storage_buffer_object.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_sync.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_texture_multisample.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_texture_storage_multisample.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_uniform_buffer_object.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_vertex_array_object.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_viewport_array.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/EXT_texture_filter_anisotropic.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/GLExtensions.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/GLExtensions.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/HP_occlusion_test.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/KHR_debug.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/NV_occlusion_query_samples.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/NV_primitive_restart.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_1_1.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_1_2.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_1_3.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_1_4.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_1_5.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_2_0.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_2_1.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_3_0.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_3_1.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_3_2.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_2.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_3.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_4.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_5.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_common.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/AGL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/AGL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/EGL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/EGL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/EGLAndroid.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/EGLAndroid.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/EGLX11.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/EGLX11.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/GLInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/GLX.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/GLX.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/WGL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/WGL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/X11_Util.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/X11_Util.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterfaceBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GekkoDisassembler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GekkoDisassembler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GenericCPUDetect.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/GenericFPURoundMode.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Hash.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Hash.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/IniFile.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/IniFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Intrinsics.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/JitRegister.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/JitRegister.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/LinearDiskCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListener.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerDroid.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerWin.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/Log.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/LogManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/LogManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MathUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MathUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MemArena.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MemArena.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MemoryUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MemoryUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Misc.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MsgHandler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/MsgHandler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/NandPaths.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/NandPaths.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Network.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Network.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/NonCopyable.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/PcapFile.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/PcapFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/PerformanceCounter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/PerformanceCounter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Profiler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Profiler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SDCardUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SDCardUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ScopeGuard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SettingsHandler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SettingsHandler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SymbolDB.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SymbolDB.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Thread.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Thread.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Timer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Timer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalClient.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalClient.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalProto.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/Version.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/ucrtFreadWorkaround.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64ABI.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64ABI.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Analyzer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Analyzer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Emitter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Emitter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64FPURoundMode.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ARDecrypt.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ARDecrypt.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ActionReplay.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ActionReplay.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Analytics.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Analytics.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot_BS2Emu.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot_DOL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot_DOL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot_ELF.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot_WiiWAD.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/ElfReader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/ElfReader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/ElfTypes.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/BootManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/BootManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ConfigManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ConfigManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Core.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Core.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/CoreTiming.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/CoreTiming.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAccelerator.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAccelerator.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAnalyzer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAnalyzer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPBreakpoints.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCaptureLogger.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCaptureLogger.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCodeUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCodeUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCore.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPDisassembler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPDisassembler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPEmitter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPEmitter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPHWInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPHWInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPHost.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntArithmetic.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntBranch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntCCUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntCCUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntExtOps.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntExtOps.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntLoadStore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntMisc.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntMultiplier.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPIntUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPInterpreter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPInterpreter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPMemoryMap.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPMemoryMap.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPStacks.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPStacks.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPTables.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPTables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitArithmetic.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitBranch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitCCUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitExtOps.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitLoadStore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitMisc.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitMultiplier.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitRegCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitRegCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/Jit/DSPJitUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/LabelMap.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/LabelMap.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSPEmulator.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSPEmulator.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/Debugger_SymbolMap.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/Debugger_SymbolMap.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/Dump.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/Dump.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/GCELF.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/PPCDebugInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/PPCDebugInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoAnalyzer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoAnalyzer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoDataFile.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoDataFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoFileStruct.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoPlaybackAnalyzer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoPlayer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoPlayer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/GeckoCode.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/GeckoCode.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/GeckoCodeConfig.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/GeckoCodeConfig.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE_Misc.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE_Misc.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE_OS.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE_OS.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/AudioInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/AudioInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/CPU.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/CPU.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSP.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSP.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/DSPHLE.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/MailHandler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/MailHandler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AX.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXStructs.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/CARD.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/CARD.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/GBA.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/GBA.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/INIT.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/INIT.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/ROM.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/ROM.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/Zelda.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPHost.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPLLE.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPLLE.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPLLEGlobals.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPLLEGlobals.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPLLETools.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPLLETools.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDThread.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDThread.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_Channel.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_Channel.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_Device.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_Device.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAD16.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAD16.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAGP.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAGP.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAMBaseboard.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAMBaseboard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceEthernet.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceEthernet.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceGecko.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceGecko.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceIPL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceIPL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceMemoryCard.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceMemoryCard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceMic.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceMic.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCKeyboard.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCKeyboard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCKeyboardEmu.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCKeyboardEmu.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardRaw.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardRaw.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCPad.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCPad.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCPadEmu.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCPadEmu.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GPFifo.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GPFifo.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/HW.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/HW.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIO.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIO.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIOHandlers.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MemoryInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MemoryInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/ProcessorInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/ProcessorInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_Device.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_Device.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceDanceMat.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceDanceMat.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGBA.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGBA.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCAdapter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCAdapter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCController.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCController.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCSteeringWheel.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCSteeringWheel.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceKeyboard.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceKeyboard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Sram.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Sram.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/StreamADPCM.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/StreamADPCM.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SystemTimers.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SystemTimers.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/VideoInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/VideoInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WII_IPC.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WII_IPC.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Wiimote.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Wiimote.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Encryption.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Encryption.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/MatrixMath.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Speaker.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteHid.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOAndroid.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IODummy.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IONix.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/WiimoteReal.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/WiimoteReal.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/WiimoteRealBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Host.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HotkeyManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/HotkeyManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/ICMP.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/ICMPLin.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/ICMPWin.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_DI.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_DI.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_FileIO.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_FileIO.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_sdio_slot0.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_stm.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb_kbd.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_Socket.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_Socket.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WiiMote_HID_Attr.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WiiMote_HID_Attr.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/hci.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/l2cap.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/MachineContext.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/MemTools.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/MemTools.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/MemoryWatcher.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/MemoryWatcher.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayClient.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayClient.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayProto.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayServer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayServer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PatchEngine.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PatchEngine.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/CPUCoreBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/CachedInterpreter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/CachedInterpreter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Gekko.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_Branch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_FPUtils.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_FloatingPoint.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_Integer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_LoadStorePaired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_Paired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_SystemRegisters.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_Tables.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Interpreter/Interpreter_Tables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit64_Tables.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit64_Tables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/JitAsm.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/JitAsm.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/JitRegCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/JitRegCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_Branch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_FloatingPoint.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_Integer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_LoadStore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_LoadStoreFloating.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_LoadStorePaired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_Paired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64/Jit_SystemRegisters.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64Common/Jit64AsmCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64IL/IR_X86.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64IL/JitIL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64IL/JitIL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64IL/JitIL_Tables.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Jit64IL/JitIL_Tables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/Jit.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/Jit.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64Cache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64Cache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_BackPatch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_Branch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStoreFloating.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_LoadStorePaired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_Paired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_RegCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_SystemRegisters.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/JitAsm.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/Jit_Util.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArm64/Jit_Util.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitArmCommon/BackPatch.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitAsmCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/Jit_Util.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/TrampolineCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/TrampolineCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/IR.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/IR.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_Branch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_FloatingPoint.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_Integer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStore.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStoreFloating.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_LoadStorePaired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_Paired.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitILCommon/JitILBase_SystemRegisters.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/MMU.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCAnalyst.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCAnalyst.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCTables.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCTables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PowerPC.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PowerPC.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Profiler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/Profiler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/SignatureDB.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/SignatureDB.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/State.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/State.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/Blob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/Blob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/CISOBlob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/CISOBlob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/CompressedBlob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/CompressedBlob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/DiscScrubber.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/DiscScrubber.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/DriveBlob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/DriveBlob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/FileBlob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/FileBlob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/FileMonitor.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/FileMonitor.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/FileSystemGCWii.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/FileSystemGCWii.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/Filesystem.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/Filesystem.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/NANDContentLoader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/NANDContentLoader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/Volume.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeCommon.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeCreator.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeCreator.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWad.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWad.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/WbfsBlob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/WbfsBlob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/WiiWad.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/WiiWad.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/AboutDialog.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/AboutDialog.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Config/PathDialog.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Config/PathDialog.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Config/SettingsWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Config/SettingsWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameFile.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameList.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameList.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameListModel.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameListModel.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameTracker.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameTracker.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/ListProxyModel.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/ListProxyModel.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/TableDelegate.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/TableDelegate.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Host.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Host.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Main.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/MainWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/MainWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/MenuBar.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/MenuBar.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/RenderWidget.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/RenderWidget.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Resources.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Resources.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Settings.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/Settings.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/ToolBar.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/ToolBar.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ARCodeAddEdit.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ARCodeAddEdit.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/AboutDolphin.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/AboutDolphin.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatsWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatsWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CreateCodeDialog.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CreateCodeDialog.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/GeckoCodeDiag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/AdvancedConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/AdvancedConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/AudioConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/AudioConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/ConfigMain.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/ConfigMain.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/GCAdapterConfigDiag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/GameCubeConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/GameCubeConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/GeneralConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/GeneralConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/InterfaceConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/InterfaceConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/PathConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/PathConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/WiiConfigPane.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Config/WiiConfigPane.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ControllerConfigDiag.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ControllerConfigDiag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/BreakpointDlg.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/BreakpointDlg.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/BreakpointView.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/BreakpointView.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/BreakpointWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/BreakpointWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/CodeView.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/CodeView.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/CodeWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/CodeWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/CodeWindowFunctions.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DSPDebugWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DSPDebugWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DSPRegisterView.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DSPRegisterView.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DebuggerPanel.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DebuggerPanel.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DebuggerUIUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/DebuggerUIUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/JitWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/JitWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryCheckDlg.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryView.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryView.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/RegisterView.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/RegisterView.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/RegisterWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/RegisterWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/WatchView.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/WatchView.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/WatchWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/WatchWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FifoPlayerDlg.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FifoPlayerDlg.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Frame.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Frame.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FrameAui.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FrameTools.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/GameListCtrl.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/GameListCtrl.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Globals.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ISOFile.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ISOFile.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ISOProperties.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ISOProperties.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/InputConfigDiag.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/InputConfigDiag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/InputConfigDiagBitmaps.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/LogConfigWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/LogConfigWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/LogWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/LogWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Main.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MainNoGUI.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MemcardManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MemcardManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/ChangeGameDialog.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/ChangeGameDialog.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/NetPlaySetupFrame.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/NetWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/NetWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/PadMapDialog.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/NetPlay/PadMapDialog.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/PatchAddEdit.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/PatchAddEdit.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/PostProcessingConfigDiag.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/PostProcessingConfigDiag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/SoftwareVideoConfigDialog.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/SoftwareVideoConfigDialog.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/TASInputDlg.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/TASInputDlg.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/VideoConfigDiag.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/VideoConfigDiag.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/WXInputBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/WXInputBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/WxUtils.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/WxUtils.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/X11Utils.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/X11Utils.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/resource.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Main.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerEmu.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerEmu.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Android/Android.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ControllerInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ControllerInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInput.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInput.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInput8.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/NamedKeys.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/DInput/XInputFilter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Device.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Device.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ExpressionParser.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ExpressionParser.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/OSX/OSX.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/OSX/OSXJoystick.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Null.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCPadStatus.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/InputConfig.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/InputConfig.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/KeyboardStatus.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/Disassembler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/Disassembler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/BoundingBox.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/BoundingBox.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DBlob.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DBlob.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DShader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DShader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DState.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DState.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DTexture.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DTexture.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/FramebufferManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/FramebufferManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/GeometryShaderCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/GeometryShaderCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/NativeVertexFormat.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PSTextureEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PerfQuery.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PerfQuery.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PixelShaderCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/Render.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/Render.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/Television.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/Television.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/TextureCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/TextureCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/TextureEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexShaderCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexShaderCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VideoBackend.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/XFBEncoder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/XFBEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/main.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/BoundingBox.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/BoundingBox.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DCommandListManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DCommandListManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DDescriptorHeapManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DDescriptorHeapManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DQueuedCommandList.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DQueuedCommandList.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DShader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DShader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DState.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DState.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DStreamBuffer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DStreamBuffer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DTexture.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DTexture.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/FramebufferManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/FramebufferManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/NativeVertexFormat.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/NativeVertexFormat.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PSTextureEncoder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PSTextureEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PerfQuery.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PerfQuery.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/Render.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/Render.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderConstantsManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderConstantsManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/StaticShaderCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/StaticShaderCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/VertexManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/VertexManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/VideoBackend.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/XFBEncoder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/XFBEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/main.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/BoundingBox.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/BoundingBox.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/FramebufferManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/FramebufferManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/PerfQuery.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/PerfQuery.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/PostProcessing.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/PostProcessing.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/ProgramShaderCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/RasterFont.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/Render.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/Render.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/SamplerCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/SamplerCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/StreamBuffer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/StreamBuffer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/TextureCache.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/TextureCache.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/TextureConverter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/TextureConverter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/VertexManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/VertexManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/VideoBackend.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/main.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/RasterFont.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Clipper.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Clipper.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/DebugUtil.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/DebugUtil.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/EfbCopy.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/EfbCopy.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/EfbInterface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/EfbInterface.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/NativeVertexFormat.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Rasterizer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Rasterizer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWOGLWindow.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWOGLWindow.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWRenderer.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWRenderer.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWVertexLoader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWVertexLoader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SWmain.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SetupUnit.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/SetupUnit.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Tev.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Tev.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/TextureEncoder.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/TextureEncoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/TextureSampler.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/TextureSampler.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/TransformUnit.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/TransformUnit.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Vec3.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/VideoBackend.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/AVIDump.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/AVIDump.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/AsyncRequests.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/AsyncRequests.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPFunctions.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPFunctions.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPMemory.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPMemory.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPStructs.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPStructs.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BoundingBox.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BoundingBox.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/CPMemory.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/CPMemory.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/CommandProcessor.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/CommandProcessor.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ConstantManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/DataReader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Debugger.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Debugger.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/DriverDetails.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/DriverDetails.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/FPSCounter.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/FPSCounter.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Fifo.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Fifo.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/FramebufferManagerBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/FramebufferManagerBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/GeometryShaderGen.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/GeometryShaderGen.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/GeometryShaderManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/GeometryShaderManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/HiresTextures.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/HiresTextures.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ImageWrite.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ImageWrite.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/IndexGenerator.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/IndexGenerator.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/LightingShaderGen.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/LookUpTables.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/MainBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/NativeVertexFormat.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/OnScreenDisplay.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/OnScreenDisplay.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/OpcodeDecoding.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/OpcodeDecoding.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PerfQueryBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PerfQueryBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelEngine.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelEngine.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderGen.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderGen.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PostProcessing.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PostProcessing.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/RenderBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/RenderBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/SamplerCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ShaderGenCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Statistics.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Statistics.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureCacheBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureCacheBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureConversionShader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureConversionShader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureDecoder.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureDecoder_Common.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureDecoder_Generic.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureDecoder_x64.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderARM64.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderARM64.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderUtils.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderX64.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderX64.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Color.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Color.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Normal.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Normal.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Position.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Position.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_TextCoord.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_TextCoord.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexManagerBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexManagerBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderGen.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderGen.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoBackendBase.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoBackendBase.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoCommon.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoConfig.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoConfig.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoState.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VideoState.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/XFMemory.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/XFMemory.h Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/XFStructs.cpp Examining data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/XFStructs.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/Config.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/ConsoleHelper.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/Stubs.cpp Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/dsp_interface.cpp Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/dsp_interface.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/dspregs.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/mem_dump.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/real_dsp.cpp Examining data/dolphin-emu-5.0+dfsg/Source/DSPSpy/real_dsp.h Examining data/dolphin-emu-5.0+dfsg/Source/DSPTool/DSPTool.cpp Examining data/dolphin-emu-5.0+dfsg/Source/PCH/pch.cpp Examining data/dolphin-emu-5.0+dfsg/Source/PCH/pch.h Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/BitFieldTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/BitSetTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/BlockingLoopTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/BusyLoopTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/CommonFuncsTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/EventTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/FifoQueueTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/FixedSizeQueueTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/FlagTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/MathUtilTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/x64EmitterTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Core/MMIOTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/Core/PageFaultTest.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/TestUtils/StubHost.cpp Examining data/dolphin-emu-5.0+dfsg/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/DSPExt.cpp Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/DSPExt.h Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/DSPOpcodes.cpp Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/DSPOpcodes.h Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/DSP_InterC.cpp Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.h Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/gdsp_opcodes_helper.h Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/stdafx.cpp Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/stdafx.h Examining data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/targetver.h Examining data/dolphin-emu-5.0+dfsg/docs/DSP/wwdsp.c Examining data/dolphin-emu-5.0+dfsg/docs/gc-font-tool.cpp FINAL RESULTS: data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:744:19: [5] (race) readlink: This accepts filename arguments; if an attacker can move those files or change the link content, a race condition results. Also, it does not terminate with ASCII NUL. (CWE-362, CWE-20). Reconsider approach. ssize_t len = ::readlink("/proc/self/exe", Dolphin_exe_Path, sizeof(Dolphin_exe_Path)); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/dis_decode.cc:547:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(disbufptr, fmt, ap); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:235:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(vsib_index, "%s%d", vector_reg_name[insn->vex_l], insn->index); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:257:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(vsib_index, "%s%d", vector_reg_name[insn->vex_l], insn->index); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:317:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(vsib_index, "%s%d", vector_reg_name[insn->vex_l], insn->index); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:339:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(vsib_index, "%s%d", vector_reg_name[insn->vex_l], insn->index); data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhsum.c:122:30: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define DISPLAY(...) fprintf(stderr, __VA_ARGS__) data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhsum.c:123:30: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. #define DISPLAYRESULT(...) fprintf(stdout, __VA_ARGS__) data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/ARB_map_buffer_range.h:26:115: [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. typedef void *(APIENTRYP PFNDOLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_1_5.h:92:70: [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. typedef void *(APIENTRYP PFNDOLMAPBUFFERPROC) (GLenum target, GLenum access); data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_3_0.h:342:115: [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. typedef void *(APIENTRYP PFNDOLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_2.h:144:135: [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. typedef void (APIENTRYP PFNDOLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format); data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_5.h:63:75: [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. typedef void *(APIENTRYP PFNDOLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access); data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLExtensions/gl_4_5.h:64:120: [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. typedef void *(APIENTRYP PFNDOLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/Log.h:78:25: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__((format(printf, 5, 6))) data/dolphin-emu-5.0+dfsg/Source/Core/Common/MsgHandler.h:28:24: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__((format(printf, 3, 4))) data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.cpp:127:17: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. writtenCount = vsnprintf(out, outsize, format, args); data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.h:22:29: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__ ((__format__(printf, 1, 2))) data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp:109:2: [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). strcpy(cpu_string, brand_string); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:116:13: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. buf_ptr += sprintf(buf_ptr, "%i : %s ", code_line, cur_line.c_str()); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:121:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. buf_ptr += sprintf(buf_ptr, "ERROR: %s Line: %d : %s\n", err_string[err_code], code_line, extra_info); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:123:14: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. buf_ptr += sprintf(buf_ptr, "ERROR: %s Line: %d Param: %d : %s\n", data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:296:2: [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). strcpy(s_buffer, ptr); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:301:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(d_buffer, "%s%d%s", s_buffer, val, pbuf); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:302:3: [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). strcpy(s_buffer, d_buffer); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:917:6: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmpstr, "%s/%s", include_dir.c_str(), params[0].str); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:922:6: [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). strcpy(tmpstr, params[0].str); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/PPCDebugInterface.cpp:61:4: [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). strcpy(dest, memory ? "--ARAM--" : "--------"); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:561:2: [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). strcpy((char*)cert + 0x80, signer); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:563:2: [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). strcpy((char*)cert + 0xc4, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp:976:146: [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. ERROR_LOG(WII_IPC_ES, "IOCTL_ES_LAUNCH %016" PRIx64 " %08x %016" PRIx64 " %08x %016" PRIx64 " %04x", TitleID,view,ticketid,devicetype,titleid,access); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp:141:6: [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). strcpy(pFilename, FileName.c_str()); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:499:3: [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). strcpy((char*)bss->ssid, ssid); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp:749:2: [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). strcpy((char*)pRemoteNameReq->RemoteName, pWiiMote->GetName()); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.cpp:814:2: [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). strcpy(addr.sun_path, socket); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:280:7: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(container, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:281: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). strcpy(name, container); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:305:6: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(container, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:306:6: [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). strcpy(name, container); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:317:4: [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). strcpy(name, namepos); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCTables.cpp:196:3: [4] (format) fprintf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. fprintf(f.GetHandle(), OP_TO_LOG ": %08x\n", rsplocation); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp:362:3: [4] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). strcat(tmpstr, WxStrToStr(rawData).c_str()); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp:388:3: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(tmpstr, "%s", WxStrToStr(rawData).c_str()); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FrameTools.cpp:1392:2: [4] (format) vsnprintf: If format strings can be influenced by an attacker, they can be exploited, and note that sprintf variations do not always \0-terminate (CWE-134). Use a constant for the format specification. vsnprintf(Str, MAX_BYTES, Text, ArgPtr); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/GameListCtrl.cpp:850:5: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. sprintf(temp, "^ %s%s%s", emuState[emu_state - 1], data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp:67:18: [4] (race) access: This usually indicates a security flaw. If an attacker can change anything along the path between the call to access() and the file's actual use (e.g., by moving files), the attacker can exploit the race condition (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid()) and try to open the file directly. if (devnode && access(devnode, W_OK) == 0) data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ShaderGenCommon.h:42:24: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__((format(printf, 2, 3))) data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ShaderGenCommon.h:114:24: [4] (format) printf: If format strings can be influenced by an attacker, they can be exploited (CWE-134). Use a constant for the format specification. __attribute__((format(printf, 2, 3))) data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureConversionShader.cpp:15:18: [4] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. #define WRITE p+=sprintf data/dolphin-emu-5.0+dfsg/Source/DSPSpy/ConsoleHelper.h:37:2: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(tmpbuf, fmt, marker); data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp:23:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(Msg, _fmt, ap); data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp:35:3: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(Msg, _fmt, ap); data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/stdafx.cpp:18:2: [4] (format) vsprintf: Potential format string problem (CWE-134). Make format string constant. vsprintf(Msg, _fmt, ap); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/XAudio2Stream.cpp:140:20: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. m_xaudio2_dll = ::LoadLibrary(XAUDIO2_DLL); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/XAudio2_7Stream.cpp:143:20: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. m_xaudio2_dll = ::LoadLibrary(TEXT("xaudio2_7.dll")); data/dolphin-emu-5.0+dfsg/Source/Core/Common/CDUtils.cpp:216:18: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. char* devname = realpath(device.c_str(), resolved_path); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/ec.cpp:319:2: [3] (random) srand: This function is not sufficiently random for security-related functions such as key and nonce creation (CWE-327). Use a more secure technique for acquiring random values. srand((unsigned) (time(nullptr))); data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:689:21: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* base = getenv("TMPDIR") ?: "/tmp"; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:706:6: [3] (buffer) realpath: This function does not protect against buffer overflows, and some implementations can overflow internally (CWE-120/CWE-785!). Ensure that the destination buffer is at least of size MAXPATHLEN, andto protect against implementation problems, the input argument should also be checked to ensure it is no larger than MAXPATHLEN. if (realpath(path.c_str(), absbuf) != nullptr) data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLInterface/WGL.cpp:76:14: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. dllHandle = LoadLibrary(TEXT("OpenGL32.dll")); data/dolphin-emu-5.0+dfsg/Source/Core/Common/JitRegister.cpp:47:27: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. if (!perf_dir.empty() || getenv("PERF_BUILDID_DIR")) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp:85:17: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. s_hid_lib = ::LoadLibrary(_T("hid.dll")); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp:122:22: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. s_bthprops_lib = ::LoadLibrary(_T("bthprops.cpl")); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MainNoGUI.cpp:327:15: [3] (buffer) getopt_long: Some older implementations do not protect against internal buffer overflows (CWE-120, CWE-20). Check implementation on installation, or limit the size of all string inputs. while ((ch = getopt_long(argc, argv, "eh?v", longopts, 0)) != -1) data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp:77:15: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. hXInput = ::LoadLibrary(XINPUT_DLL); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp:81:16: [3] (misc) LoadLibrary: Ensure that the full path to the library is specified, or current directory may be used (CWE-829, CWE-20). Use registry entry or GetWindowsDirectory to find library path, if you aren't already. hXInput = ::LoadLibrary(TEXT("xinput1_3.dll")); data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:140:22: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* home = getenv("HOME"); data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:142:11: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. home = getenv("PWD"); data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:157:28: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* data_home = getenv("XDG_DATA_HOME"); data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:162:30: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* config_home = getenv("XDG_CONFIG_HOME"); data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:167:29: [3] (buffer) getenv: Environment variables are untrustable input if they can be set by an attacker. They can have any content and length, and the same variable can be set more than once (CWE-807, CWE-20). Check environment variables carefully before using them. const char* cache_home = getenv("XDG_CACHE_HOME"); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/dis_decode.cc:32:23: [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 const unsigned char instruction_has_modrm[512] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/disasm.h:287: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. const char *sreg_mod00_base32[16]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/disasm.h:288: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. const char *sreg_mod01or10_base32[16]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/disasm.h:289: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. const char *sreg_mod00_rm16[8]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/disasm.h:290: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. const char *sreg_mod01or10_rm16[8]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:220: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 vsib_index[8]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:248: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 vsib_index[8]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:302: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 vsib_index[8]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/resolve.cc:330: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 vsib_index[8]; data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:31:14: [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 const char *intel_general_16bit_regname[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:36:14: [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 const char *intel_general_32bit_regname[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:41:14: [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 const char *intel_general_64bit_regname[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:46:14: [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 const char *intel_general_8bit_regname_rex[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:51:14: [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 const char *intel_general_8bit_regname[8] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:55:14: [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 const char *intel_segment_name[8] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:59:14: [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 const char *intel_index16[8] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:70:14: [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 const char *intel_vector_reg_name[4] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:78:14: [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 const char *att_general_16bit_regname[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:83:14: [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 const char *att_general_32bit_regname[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:88:14: [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 const char *att_general_64bit_regname[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:93:14: [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 const char *att_general_8bit_regname_rex[16] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:98:14: [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 const char *att_general_8bit_regname[8] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:102:14: [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 const char *att_segment_name[8] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:106:14: [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 const char *att_index16[8] = { data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/syntax.cc:117:14: [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 const char *att_vector_reg_name[4] = { data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhash.c:93: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. return memcpy(dest,src,size); data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhsum.c:236:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inFile = fopen( inFileName, "rb" ); data/dolphin-emu-5.0+dfsg/Externals/xxhash/xxhsum.c:511:18: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). inFile = fopen( fileName, "rb" ); data/dolphin-emu-5.0+dfsg/Source/Android/jni/ButtonManager.cpp:510: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 dev[128]; data/dolphin-emu-5.0+dfsg/Source/Android/jni/MainAndroid.cpp:195:4: [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(Banner, &BannerVec[0], 96 * 32 * 4); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/Mixer.cpp:145: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(&m_buffer[indexW & INDEX_MASK], samples, num_samples * 4 - over_bytes); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/Mixer.cpp:146: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(&m_buffer[0], samples + (num_samples * 4 - over_bytes) / sizeof(short), over_bytes); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/Mixer.cpp:150: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(&m_buffer[indexW & INDEX_MASK], samples, num_samples * 4); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/aldlist.cpp:173: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. return (char *)vDeviceInfo[index].strDeviceName.c_str(); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Arm64Emitter.cpp:318: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(m_code, &value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Arm64Emitter.cpp:4097:2: [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(&fl, &f, sizeof(float)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Arm64Emitter.cpp:4104:2: [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(&f, &value, sizeof(float)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/CDUtils.cpp:177:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). int cdfd = open(drive.c_str(), (O_RDONLY | O_NONBLOCK), 0); data/dolphin-emu-5.0+dfsg/Source/Core/Common/CDUtils.cpp:215: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 resolved_path[MAX_PATH]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/CPUDetect.h:23: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 cpu_string[0x41] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Common/CPUDetect.h:24: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 brand_string[0x21] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Common/ChunkFile.h:338:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data, *ptr, size); data/dolphin-emu-5.0+dfsg/Source/Core/Common/ChunkFile.h:342:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(*ptr, data, size); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/bn.cpp:18:2: [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(d, a, n); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/ec.cpp:37:2: [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(d, a, 30); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/ec.cpp:337:2: [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(e + 10, hash, 20); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Crypto/ec.cpp:375:2: [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(e + 10, hash, 20); data/dolphin-emu-5.0+dfsg/Source/Core/Common/DebugInterface.h:17:107: [2] (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). Risk is low because the source is a constant string. virtual void GetRawMemoryString(int /*memory*/, unsigned int /*address*/, char* dest, int /*max_size*/) {strcpy(dest, "NODEBUGGER");} data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:276: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). int fd = open(path, O_RDONLY); data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:325: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 buffer[BSIZE]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:674:2: [2] (buffer) TCHAR: 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. TCHAR temp[MAX_PATH]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:680:2: [2] (buffer) TCHAR: 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. TCHAR tguid[40]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:701:2: [2] (buffer) TCHAR: 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. TCHAR absbuf[MAX_PATH]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:705: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 absbuf[PATH_MAX]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.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 AppBundlePath[MAXPATHLEN]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:734:3: [2] (buffer) TCHAR: 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. TCHAR Dolphin_exe_Path[2048]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:735:3: [2] (buffer) TCHAR: 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. TCHAR Dolphin_exe_Clean_Path[MAX_PATH]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:743: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 Dolphin_exe_Path[PATH_MAX]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:946:11: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). m_file = fopen(filename.c_str(), openmode); data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.h:243:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fstream.open(UTF8ToTStr(filename).c_str(), openmode); data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.h:245:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). fstream.open(filename.c_str(), openmode); data/dolphin-emu-5.0+dfsg/Source/Core/Common/GL/GLUtil.cpp:34: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 stringBuffer[1024]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Hash.cpp:263: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(&temp, end, len & 7); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Hash.cpp:311: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(&temp, end, len & 7); data/dolphin-emu-5.0+dfsg/Source/Core/Common/LinearDiskCache.h:127:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). m_file.open(filename, ios_base::out | ios_base::trunc | ios_base::binary); data/dolphin-emu-5.0+dfsg/Source/Core/Common/LinearDiskCache.h:164: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 file_header[sizeof(Header)]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/LinearDiskCache.h:187: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(&id, "DCAC", sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/LinearDiskCache.h:194: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 ver[40] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp:27: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 color_attr[16] = ""; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp:28: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 reset_attr[16] = ""; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp:32:3: [2] (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). Risk is low because the source is a constant string. strcpy(reset_attr, "\x1b[0m"); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp:37:4: [2] (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). Risk is low because the source is a constant string. strcpy(color_attr, "\x1b[92m"); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp:41:4: [2] (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). Risk is low because the source is a constant string. strcpy(color_attr, "\x1b[91m"); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/ConsoleListenerNix.cpp:45:4: [2] (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). Risk is low because the source is a constant string. strcpy(color_attr, "\x1b[93m"); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/Log.h:71:14: [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 const char LOG_LEVEL_TO_CHAR[7] = "-NEWID"; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Logging/LogManager.cpp:120: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 temp[MAX_MSGLEN]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/MemArena.cpp:36: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). fd = open(ASHMEM_DEVICE, O_RDWR); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Misc.cpp:17: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 err_str[buff_size]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/MsgHandler.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 buffer[2048]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Network.cpp:24: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(mac, oui_bba, 3); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Network.cpp:27: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(mac, oui_ios, 3); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SDCardUtil.cpp:126:2: [2] (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). Risk is low because the source is a constant string. strcpy( (char*)boot + 3, "MSWIN4.1" ); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SDCardUtil.cpp:151:2: [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( boot + 0x52, "FAT32 ", 8 ); /* FAT system type, padded with 0x20 */ data/dolphin-emu-5.0+dfsg/Source/Core/Common/SettingsHandler.cpp:117: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 buffer[12]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/SettingsHandler.cpp:118: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 serialNumber[12]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.cpp:263: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 temp[16]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.cpp:264:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "%i", value); data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.cpp:375:20: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). auto const size = MultiByteToWideChar(code_page, 0, input.data(), (int)input.size(), nullptr, 0); data/dolphin-emu-5.0+dfsg/Source/Core/Common/StringUtil.cpp:380:27: [2] (buffer) MultiByteToWideChar: Requires maximum length in CHARACTERS, not bytes (CWE-120). if (size == 0 || size != MultiByteToWideChar(code_page, 0, input.data(), (int)input.size(), &output[0], (int)output.size())) data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.cpp:221: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(&items[0].data[1 + 70 * i], bt_addr, sizeof(bt_addr)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.cpp:222: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(&items[0].data[7 + 70 * i], "Nintendo RVL-CNT-01", 19); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.cpp:232:2: [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(items[2].data, console_nick, 14); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.h:36: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 version[4]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.h:45: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 name[32]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.h:55:4: [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(dest, data, dataLength); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.h:64:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data, buffer, std::min<u16>(bufferSize, dataLength)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Timer.cpp:208: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 tmp[13]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/Timer.cpp:270: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 tmp[32] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalClient.cpp:82:2: [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(packet.connectPlease.hostId.data(), host.c_str(), host.size()); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:153: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(&result.sin6_addr, addr.address, 16); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:181:2: [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(output, bytes + (bytesLeft -= size), size); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:186: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[9]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:189:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, "%08x", num); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:190:2: [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(hostId->data(), buf, 8); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:195: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 buf[INET6_ADDRSTRLEN + 10]; data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:197:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf + strlen(buf), ":%d", ntohs(addr->sin6_port)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:379: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). urandomFd = open("/dev/urandom", O_RDONLY); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp:96: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(&brand_string[0], &cpu_id[1], sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.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(&brand_string[4], &cpu_id[3], sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp:98: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(&brand_string[8], &cpu_id[2], sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp:175: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(cpu_string, cpu_id, sizeof(cpu_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp:177: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(cpu_string + 16, cpu_id, sizeof(cpu_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64CPUDetect.cpp:179: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(cpu_string + 32, cpu_id, sizeof(cpu_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Emitter.cpp:103: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(code, &value, sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Emitter.cpp:109: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(code, &value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Emitter.cpp:115: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(code, &value, sizeof(u64)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/x64Emitter.cpp:499: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(&branch.ptr[-4], &valid_distance, sizeof(s32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Boot/Boot_DOL.cpp:42:2: [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(&m_dolheader, buffer.data(), sizeof(SDolHeader)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:114: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 error_buffer[1024]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:338:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(d_buffer, "%d", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:350:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(d_buffer, "%d", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:357:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(d_buffer, "%d", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:364:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(d_buffer, "%d", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:371:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(d_buffer, "%d", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:378:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(d_buffer, "%d", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:766: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 line[LINEBUF_SIZE] = {0}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:921:16: [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. tmpstr = (char *)malloc(strlen(params[0].str) + 1); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCaptureLogger.cpp:77:2: [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(&buffer[sizeof (DMAPacket)], data, length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCore.cpp:112:2: [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(g_dsp.irom, opts.irom_contents.data(), DSP_IROM_BYTE_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCore.cpp:113:2: [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(g_dsp.coef, opts.coef_contents.data(), DSP_COEF_BYTE_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPTables.cpp:493: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 tmpstr[12]; // nasty data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPTables.cpp:501:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(tmpstr, "0x%04x", val); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/GCELF.h:49: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. unsigned char ID[4]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/GCELF.h:53: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. unsigned char pad[9]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/GCELF.h:112:7: [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. const char ELFID[4] = {0x7F, 'E', 'L', 'F'}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/Debugger/PPCDebugInterface.cpp:66:3: [2] (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). Risk is low because the source is a constant string. strcpy(dest, "<unknwn>"); // bad spelling - 8 chars data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoPlayer.cpp:346:2: [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(mem, memUpdate.data, memUpdate.size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp:27:2: [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(s_CpMem.arrayBases, cpMem + 0xA0, 16 * 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecordAnalyzer.cpp:28:2: [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(s_CpMem.arrayStrides, cpMem + 0xB0, 16 * 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:84: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(&m_FifoData[currentSize], data, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:92: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(m_CurrentFrame.fifoData, m_FifoData.data(), dataSize); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:131: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(curData, newData, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:140: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(memUpdate.data, newData, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:147: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(curData, newData, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:203: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(m_File->GetBPMem(), bpMem, FifoDataFile::BP_MEM_SIZE * 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:204: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(m_File->GetCPMem(), cpMem, FifoDataFile::CP_MEM_SIZE * 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:205: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(m_File->GetXFMem(), xfMem, FifoDataFile::XF_MEM_SIZE * 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/FifoPlayer/FifoRecorder.cpp:208: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(m_File->GetXFRegs(), xfRegs, xfRegsCopySize * 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HLE/HLE.cpp:36: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 m_szPatchName[128]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp:20: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 ((fd = open("/dev/tap0", O_RDWR)) < 0) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp:38: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 ((fd = open("/dev/net/tun", O_RDWR)) < 0) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:30:3: [2] (buffer) TCHAR: 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. TCHAR enum_name[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:31:3: [2] (buffer) TCHAR: 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. TCHAR unit_string[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:34:3: [2] (buffer) TCHAR: 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. TCHAR component_id[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:36:3: [2] (buffer) TCHAR: 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. TCHAR net_cfg_instance_id[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:106:3: [2] (buffer) TCHAR: 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. TCHAR enum_name[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:107:3: [2] (buffer) TCHAR: 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. TCHAR connection_string[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:109:3: [2] (buffer) TCHAR: 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. TCHAR name_data[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Win32.cpp:325:2: [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(mWriteBuffer.data(), frame, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp:480:2: [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(HLEMemory_Get_Pointer(dst_addr), buffers, sizeof (buffers)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp:501:2: [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(HLEMemory_Get_Pointer(surround_addr), surround_buffer, sizeof (surround_buffer)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AX.cpp:516:2: [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(HLEMemory_Get_Pointer(lr_addr), buffer, sizeof (buffer)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXVoice.h:384: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(last_samples, output + count - 4, 4 * sizeof (u16)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp:383:2: [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(num_updates, pb_mem + 41, 6); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp:599:2: [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(HLEMemory_Get_Pointer(surround_addr), upload_buffer, sizeof (upload_buffer)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp:606: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(HLEMemory_Get_Pointer(surround_addr), upload_buffer, sizeof (upload_buffer)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/AXWii.cpp:631:2: [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(HLEMemory_Get_Pointer(lr_addr), buffer, sizeof (buffer)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.h:38: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, &Memory::m_pEXRAM[address & Memory::EXRAM_MASK], sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.h:40: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, &Memory::m_pRAM[address & Memory::RAM_MASK], sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.h:50: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, &Memory::m_pEXRAM[address & Memory::EXRAM_MASK], sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPHLE/UCodes/UCodes.h:52: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, &Memory::m_pRAM[address & Memory::RAM_MASK], sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.cpp:34:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dest, "%04x", dsp_imem_read(address)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.cpp:37:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dest, "--IMEM--"); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.cpp:46:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dest, "%04x (DMEM)", dsp_dmem_read(address)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.cpp:49:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dest, "%04x (MMIO)", g_dsp.ifx_regs[address & 0xFF]); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPDebugInterface.cpp:52:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(dest, "--DMEM--"); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp:86: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 line[512]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp:140: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 temp[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp:146:6: [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(temp, line + 5, i - 5); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.cpp:256:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char s_media_buffer[0x40]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.cpp:501: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). void SetLidOpen(bool open) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.cpp:503: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). s_DICVR.CVR = open ? 1 : 0; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.cpp:1041:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(s_media_buffer + 4, "A89E27A50364511", 15); // serial data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DVDInterface.cpp:1045:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(s_media_buffer + 4, s_media_buffer + 0x24, 0x1c); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAMBaseboard.h:25: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. unsigned char m_command[4]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceEthernet.cpp:43:2: [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(&mBbaMem[BBA_NAFR_PAR0], mac_addr, MAC_ADDRESS_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceEthernet.cpp:383:2: [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(tx_fifo.get() + *tx_fifo_count, data, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceGecko.cpp:131: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 data[128]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceIPL.cpp:25:14: [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 const char iplverPAL[0x100] = "(C) 1999-2001 Nintendo. All rights reserved." data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceIPL.cpp:29:14: [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 const char iplverNTSC[0x100] = "(C) 1999-2001 Nintendo. All rights reserved." data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceIPL.cpp:100: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(m_pIPL, m_bNTSC ? iplverNTSC : iplverPAL, m_bNTSC ? sizeof(iplverNTSC) : sizeof(iplverPAL)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceIPL.cpp:239: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(m_RTC, &rtc, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceMic.cpp:127: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(ring_buffer, last_buffer, buff_size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.cpp:532: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. return std::string((const char *)mc_data_blocks[DataBlock].block + Comment1, DENTRY_STRLEN); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.cpp:547: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. return std::string((const char *)mc_data_blocks[DataBlock].block + Comment2, DENTRY_STRLEN); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.cpp:835: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 tmp[0xD]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.cpp:950: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(gcsHDR, "GCSAVE", 6); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.cpp:957: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(savHDR, "DATELGC_SAVE", 0xC); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcard.h:133:4: [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(&_serial[i], (u8 *)this + (i * 4), 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.cpp:291:2: [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(destaddress, m_LastBlockAddress + offset, length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.cpp:354:2: [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(m_LastBlockAddress + offset, srcaddress, length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.cpp:440:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((u8 *)&(m_saves[i].m_gci_header), (u8 *)&(current->Dir[i]), DENTRY_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.cpp:514: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((u8 *)(dest)+offset, srcaddress, length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardDirectory.cpp:518: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((u8 *)(dest)+offset, srcaddress, length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardRaw.cpp:127:4: [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(&m_flush_buffer[0], &m_memcard_data[0], memory_card_size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardRaw.cpp:159:2: [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(destaddress, &m_memcard_data[srcaddress], length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GCMemcardRaw.cpp:174: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(&m_memcard_data[destaddress], srcaddress, length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GPFifo.cpp:65: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(curMem, m_gatherPipe + cnt, GATHER_PIPE_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GPFifo.cpp:139: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(&m_gatherPipe[m_gatherPipeCount], &value, sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GPFifo.cpp:146: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(&m_gatherPipe[m_gatherPipeCount], &value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/GPFifo.cpp:153: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(&m_gatherPipe[m_gatherPipeCount], &value, sizeof(u64)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:275:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data, pointer, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:289:2: [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(pointer, data, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:370: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(GetPointer(address), &swapped_value, sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:376: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(GetPointer(address), &swapped_value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:382: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(GetPointer(address), &swapped_value, sizeof(u64)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:387: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(GetPointer(address), &value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/Memmap.cpp:392: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(GetPointer(address), &value, sizeof(u64)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:24: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. unsigned char m_msg[0x80]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:35:12: [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. unsigned char hdr[3] = {0xe0, (unsigned char)node, 0}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:121:14: [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. unsigned char res[0x80]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:168: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. memcpy(res + resp, string, 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:246:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char jvs_io_buffer[0x80]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:266: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. char buffer[12]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:267:11: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buffer, "JVS-node %02x", node); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:308:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. unsigned char player_data[2] = {0,0}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:403: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 logptr[1024]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:408:13: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. log += sprintf(log, "%02x ", ptr(i)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:416:21: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char last[2][0x80]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:420:6: [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(last + 1, _pBuffer, 0x80); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:421:6: [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(_pBuffer, last, 0x80); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:422:6: [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(last, last + 1, 0x80); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGBA.cpp:219: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 bytes[4] = { 0, 0, 0, 0 }; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGBA.h:35: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 send_data[5]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGBA.h:36: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 recv_data[5]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceGCAdapter.cpp:56:4: [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(buffer, &device, sizeof(device)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:111:2: [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(m_sd_iv, "\x21\x67\x12\xE6\xAA\x1F\x68\x9F\x95\xC5\xA2\x23\x24\xDC\x6A\x98", 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:177:2: [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(md5_file, m_header.hdr.Md5, 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:178:2: [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(m_header.hdr.Md5, s_md5_blanker, 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:213:2: [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(m_header.hdr.Md5, s_md5_blanker, 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:228:2: [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(m_header.hdr.Md5, md5_calc, 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:369:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(m_iv, file_hdr_tmp.IV, 0x10); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:482: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 signer[64]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:483: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 name[64]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:500:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(signer, "Root-CA00000001-MS00000002"); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:501:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "NG%08x", s_ng_id); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:510:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(signer, "Root-CA00000001-MS00000002-NG%08x", s_ng_id); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:511:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "AP%08x%08x", 1, 2); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:560:2: [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(cert + 4, sig, 60); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:578: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 game_id[5]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:579:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(game_id, "%c%c%c%c", data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.cpp:31:2: [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(&id, nothing_id, sizeof(nothing_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.cpp:43:2: [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(®.constant_id, id, sizeof(id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Attachment.cpp:44:2: [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(®.calibration, calibration, sizeof(calibration)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.cpp:83:2: [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(&calibration, classic_calibration, sizeof(classic_calibration)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Classic.cpp:85:2: [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(&id, classic_id, sizeof(classic_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Drums.cpp:56:2: [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(&id, drums_id, sizeof(drums_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Guitar.cpp:69:2: [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(&id, guitar_id, sizeof(guitar_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Nunchuk.cpp:47:2: [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(&id, nunchuk_id, sizeof(nunchuk_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/Attachment/Turntable.cpp:60:2: [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(&id, turntable_id, sizeof(turntable_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:274:4: [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(m_eeprom + address, wd->data, wd->size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:337:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((u8*)region_ptr + region_offset, wd->data, wd->size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:424:10: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). file.open((File::GetUserPath(D_SESSION_WIIROOT_IDX) + "/mii.bin").c_str(), std::ios::binary | std::ios::in); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:430:4: [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(block, m_eeprom + address, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:480:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(block, (u8*)region_ptr + region_offset, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:564: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(reply->data, _request.data + _request.position, amt); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp:218:2: [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(m_eeprom, eeprom_data_0, sizeof(eeprom_data_0)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp:220:2: [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(m_eeprom + 0x16D0, eeprom_data_16D0, sizeof(eeprom_data_16D0)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp:228:2: [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(&m_reg_motion_plus.ext_identifier, motion_plus_id, sizeof(motion_plus_id)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp:581:2: [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(m_reg_ext.controller_data, data, sizeof(wm_nc)); // TODO: Should it be nc specific? data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp:704:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + rptf.accel, real_data + real_rptf.accel, sizeof(wm_accel)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/WiimoteEmu.cpp:712:9: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data + rptf.ext, real_data + real_rptf.ext, sizeof(wm_nc)); // TODO: Why NC specific? data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOAndroid.cpp:138:2: [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(buf + 1, java_data, std::min(MAX_PAYLOAD - 1, read_size)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOAndroid.cpp:149:2: [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(output, buf, len); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IONix.cpp:104: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 name[255] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IONix.cpp:128: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 bdaddr_str[18] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp:658:2: [2] (buffer) TCHAR: 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. TCHAR name[128] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp:1030: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(&oob_data_info.C[0], &radio_addr[0], sizeof(WCHAR) * 6); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/ICMPWin.cpp:27: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 data[1]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/ICMPWin.cpp:64:2: [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(&header->id, data, data_length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp:492:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(Path, "/title/%08x/%08x/data", (u32)(TitleID >> 32), (u32)TitleID); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp:850:4: [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(newIV, IV, 16); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp:868:4: [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(newIV, IV, 16); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp:263: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(Memory::GetPointer(_BufferOut), &fs, sizeof(NANDStat)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp:350:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(Memory::GetPointer(Addr), Memory::GetPointer(_BufferIn), 64); Addr += 64; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp:513:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[65536]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_fs.cpp:556:5: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. char buf[65536]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:353:2: [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(dest,src,sizeof(WiiHIDConfigDescriptor)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:359:2: [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(dest,src,sizeof(WiiHIDInterfaceDescriptor)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_hid.cpp:364:2: [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(dest,src,sizeof(WiiHIDEndpointDescriptor)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:511: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(info->country, "US", 2); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:600: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. unsigned char tmp[4], *tp; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:635:2: [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(dst, tmp, 4); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:976: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 ip_s[16]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:977:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(ip_s, "%i.%i.%i.%i", data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h: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 email[MAX_EMAIL_LENGTH]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:156: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 paswd[MAX_PASSWORD_LENGTH]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:157: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 mlchkid[0x24]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:158: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 http_urls[URL_COUNT][MAX_URL_LENGTH]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:732: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 country[2]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:734: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 wlversion[0x50]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp:92:4: [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(BT_DINF.registered[i].name, wmName, 20); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp:93:4: [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(BT_DINF.active[i].name, wmName, 20); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp:371: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(reinterpret_cast<u8*>(header) + sizeof(hci_acldata_hdr_t), data, header->length); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp:841: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(payload, data, data_size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.cpp:982: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(link_key_info->key, m_WiiMotes[i].GetLinkKey(), HCI_KEY_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_usb.h:279: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 name[0x40]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.cpp:486: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(&TempBuffer[RespLen], pOptions, OptionSize); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.cpp:765:2: [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(buffer.GetPointer(Offset), pPacket, packetSize); Offset += packetSize; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.cpp:852:2: [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(&DataFrame[Offset], _pCommandData, _CommandLength); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_WiiMote.cpp:882:2: [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(DataFrame + Offset, _pData, _Size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_Socket.cpp:28: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 Message[1024]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/hci.h:1105: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 name[HCI_UNIT_NAME_SIZE]; /* new unit name */ data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/hci.h:1115: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 name[HCI_UNIT_NAME_SIZE]; /* unit name */ data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/hci.h:1930: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 name[HCI_UNIT_NAME_SIZE]; /* remote unit name */ data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/hci.h:2344: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 btr_name[HCI_DEVNAME_SIZE]; /* device name */ data/dolphin-emu-5.0+dfsg/Source/Core/Core/MemTools.cpp:185:4: [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(msg_out.new_state, msg_in.old_state, x86_THREAD_STATE64_COUNT * sizeof(natural_t)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:114:4: [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(newTmpInput, tmpInput, (size_t)s_totalBytes); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:727: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(&nunchuk, extData, sizeof(wm_nc)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:746: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(&cc, extData, sizeof(wm_classic_extension)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:832:2: [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(&(tmpInput[s_currentByte]), &s_padState, 8); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:854:2: [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(&(tmpInput[s_currentByte]), data, size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:883: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(s_revision, tmpHeader.revision, ArraySize(s_revision)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:893:2: [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(s_MD5, tmpHeader.md5, 16); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1048: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(tmpInput, movInput, s_currentByte); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1054: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(&curPadState, &(tmpInput[frame*8]), 8); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1056: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(&movPadState, &(movInput[frame*8]), 8); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1137:2: [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(&s_padState, &(tmpInput[s_currentByte]), 8); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1259:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data, &(tmpInput[s_currentByte]), size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1343:2: [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(header.md5,s_MD5,16); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1345:2: [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(header.revision, s_revision, ArraySize(header.revision)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1475: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. unsigned char gameMD5[16]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.h:66: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 gameID[6]; // The Game ID data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayClient.cpp:1020:2: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(data, nw.data(), size); data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayServer.cpp:800: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[16]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayServer.cpp:801:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(buf, ":%d", GetPort()); data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayServer.cpp:824: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[512]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/NetPlayServer.cpp:875: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 cIP[20]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.cpp:326:2: [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(cmd_bfr + 1, reply, cmd_len); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.cpp:377: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 bfr[128]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.cpp:379:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(bfr, "T%02x%02x:%08x;%02x:%08x;", sig, 64, PC, 1, GPR(1)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitBackpatch.cpp:26: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 disbuf[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitBase.cpp:50: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 sptr[1000] = ""; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp:117: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(GetICachePtr(b.originalAddress), &block_num, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp:161: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(&inst, GetICachePtr(addr), sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp:261: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(GetICachePtr(b.originalAddress), &JIT_ICACHE_INVALID_WORD, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/JitCommon/JitCache.cpp:294: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(GetICachePtr(b.originalAddress), &JIT_ICACHE_INVALID_WORD, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/MMU.cpp:727:2: [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(dst, src, 32 * numBlocks); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/MMU.cpp:762:2: [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(dst, src, 32 * numBlocks); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:227: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 line[512]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:240: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 temp[256]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:263: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 name[512], container[512]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:279:7: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(container, "::"); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:304:6: [2] (buffer) strcat: Does not check for buffer overflows when concatenating to destination [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or snprintf (warning: strncat is easily misused). Risk is low because the source is a constant string. strcat(container, "::"); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/SignatureDB.cpp:23: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 name[128]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/State.cpp:51:17: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static unsigned char __LZO_MMODEL out[OUT_LEN]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/State.h:23: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 gameID[6]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:49: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 name[64]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:58:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "NG%08x", NG_id); data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:60:2: [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(ng_cert_out + 4, NG_sig, 60); data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:78: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 signer[64]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:79: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 name[64]; data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:96:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(signer, "Root-CA00000001-MS00000002-NG%08x", NG_id); data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:97:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(name, "AP%08x%08x", (u32)(title_id >> 32), (u32)(title_id & 0xffffffff)); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/CISOBlob.h:26: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 magic[4]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/NANDContentLoader.cpp:78: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(Element.FileName, id.c_str(), 8); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/NANDContentLoader.cpp:79: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(Element.SHA1Hash, hash, 20); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeCreator.cpp:37:23: [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 const unsigned char s_master_key[16] = { data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeCreator.cpp:42:23: [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 const unsigned char s_master_key_korean[16] = { data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.cpp:165:2: [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(m_diskHeader.data(), id.c_str(), std::min(id.length(), MAX_ID_LENGTH)); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.cpp:181: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 name[0x60]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.cpp:207:2: [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(&m_diskHeader[0x20], name.c_str(), length); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.cpp:394: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(_pBuffer, _Src + srcOffset, (size_t)srcBytes); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.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 ID[6]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.cpp:79: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 makerID[2]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.cpp:100: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 name[0x60]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.cpp:163: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 date[16]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.h:55: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 shortTitle[32]; // Short game title shown in IPL menu data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.h:56: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 shortMaker[32]; // Short developer, publisher names shown in IPL menu data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.h:57: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 longTitle[64]; // Long game title shown in IPL game start screen data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.h:58: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 longMaker[64]; // Long developer, publisher names shown in IPL game start screen data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeGC.h:59: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 comment[128]; // Game description shown in IPL game start screen in two lines. data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWad.cpp:78: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 GameCode[6]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWad.cpp:91: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 temp[2] = {1}; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.cpp:96: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(_pBuffer, &m_LastDecryptedBlock[Offset], (size_t)CopySize); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.cpp:149: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 ID[6]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.cpp:215: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 makerID[2]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.cpp:237: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 name_buffer[0x60]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.cpp:282: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 date[16]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeWiiCrypted.h:62:19: [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. mutable unsigned char m_LastDecryptedBlock[s_block_data_size]; data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/WbfsBlob.h:65: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 magic[4]; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinQt2/GameList/GameFile.cpp:119:13: [2] (misc) open: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). if (!cache.open(QIODevice::ReadOnly)) data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp:140: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(&r.old_value, &Memory::m_pRAM[addr], m_search_type_size); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp:237: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(&address_value, &Memory::m_pRAM[m_search_results[index].address], m_search_type_size); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp:246: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(&display_value_float, &display_value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp:251: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(&display_value_double, &display_value, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Cheats/CheatSearchTab.cpp:306: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.old_value, &Memory::m_pRAM[result.address], m_search_type_size); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryView.cpp:314: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 mem[256]; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp:338: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 copy[3] = {0}; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FrameTools.cpp:1389: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 Str[MAX_BYTES]; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/GameListCtrl.cpp:849: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 temp[2048]; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MainNoGUI.cpp:179: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 ZeroData[1] = { 0 }; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MemcardManager.cpp:70: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(&pixelData[y * stride], &data[(height - y - 1) * stride], stride); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MemcardManager.cpp:72: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(&pdata[18], &width, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MemcardManager.cpp:73: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(&pdata[22], &height, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MemcardManager.cpp:74: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(&pdata[34], &data_length, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/VideoConfigDiag.cpp:160: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 res[100]; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/VideoConfigDiag.cpp:161:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(res, "%dx%d", dmi.dmPelsWidth, dmi.dmPelsHeight); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/X11Utils.cpp:50: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 id[11]; data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/X11Utils.cpp:54: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 *argv[4] = { data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/OSX/OSXKeyboard.h:74: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. unsigned char m_mousebuttons[3]; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp:82: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). int fd = open(child.physicalName.c_str(), O_RDONLY | O_NONBLOCK); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp:118: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/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp:145: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. unsigned char mask_buf[(XI_LASTEVENT + 7)/8]; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h:30: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 keyboard[32]; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Xlib/Xlib.h:25: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 keyboard[32]; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp:22: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). int fd = open(devnode.c_str(), O_RDWR|O_NONBLOCK); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp:94: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). m_fd = open(devnode.c_str(), O_RDWR|O_NONBLOCK); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter.cpp:474: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. unsigned char rumble[5] = {0x11, s_controller_rumble[0], s_controller_rumble[1], s_controller_rumble[2], s_controller_rumble[3]}; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter.cpp:492:12: [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. unsigned char rumble[5] = { 0x11, s_controller_rumble[0], s_controller_rumble[1], s_controller_rumble[2], s_controller_rumble[3] }; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp:103:4: [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(jrumble, s_controller_write_payload, write_size); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp:159:4: [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(s_controller_payload, java_data, 0x37); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp:340:12: [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. unsigned char rumble[5] = { 0x11, s_controller_rumble[0], s_controller_rumble[1], s_controller_rumble[2], s_controller_rumble[3] }; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp:343: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(s_controller_write_payload, rumble, 5); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp:367: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. unsigned char rumble[5] = {0x11, 0, 0, 0, 0}; data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/GCAdapter_Android.cpp:370:2: [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(s_controller_write_payload, rumble, 5); data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/Disassembler.cpp:80: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 inst_disasm[256]; data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/Disassembler.cpp:138: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 inst_disasm[256]; data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:99:2: [2] (buffer) TCHAR: 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. TCHAR configPath[MAX_PATH] = {0}; data/dolphin-emu-5.0+dfsg/Source/Core/UICommon/UICommon.cpp:115:2: [2] (buffer) TCHAR: 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. TCHAR my_documents[MAX_PATH]; data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DBlob.cpp:15:17: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. if (init_data) memcpy(data, init_data, size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DTexture.cpp:26:4: [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(map.pData, buffer, map.RowPitch * height); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DTexture.cpp:34:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy((u8*)map.pData + y * map.RowPitch, buffer + y * src_pitch, copy_size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DUtil.cpp:57: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((u8*)map.pData + offset, data, size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DUtil.cpp:226: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 str[2] = "\0"; data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DUtil.cpp:420: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(pVertices, v, 6*sizeof(FONT2DVERTEX)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/GeometryShaderCache.cpp:50: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(map.pData, &GeometryShaderManager::constants, sizeof(GeometryShaderConstants)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp:157:4: [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(dst, src, readStride); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PSTextureEncoder.cpp:218: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 debugName[255] = {}; data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/PixelShaderCache.cpp:446: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(map.pData, &PixelShaderManager::constants, sizeof(PixelShaderConstants)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexManager.cpp:106:2: [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(mappedData + m_vertexDrawOffset, s_pBaseBufferPointer, vertexBufferSize); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexManager.cpp:107:2: [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(mappedData + m_indexDrawOffset, GetIndexBuffer(), indexBufferSize); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/VertexShaderCache.cpp:50: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(map.pData, &VertexShaderManager::constants, sizeof(VertexShaderConstants)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/XFBEncoder.cpp:358: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(dst, src, 2*width); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/BoundingBox.cpp:111: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(¤t_value, reinterpret_cast<u8*>(s_bbox_staging_buffer_map) + (index * sizeof(int)), sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/BoundingBox.cpp:118: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(reinterpret_cast<u8*>(s_bbox_staging_buffer_map) + (index * sizeof(int)), &value, sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/BoundingBox.cpp:124:2: [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(s_bbox_stream_buffer->GetCPUAddressOfCurrentAllocation(), &value, sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/BoundingBox.cpp:148:2: [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(&value, &reinterpret_cast<int*>(s_bbox_staging_buffer_map)[index], sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DTexture.cpp:81: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( data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DUtil.cpp:72: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(static_cast<u8*>(m_stream_buffer->GetCPUAddressOfCurrentAllocation()), data, size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DUtil.cpp:216: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 str[2] = "\0"; data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DUtil.cpp:451: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(vertices12, v, 6 * sizeof(FONT2DVERTEX)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/FramebufferManager.cpp:241:2: [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(&m_efb.color_access_readback_map[buffer_offset], &color, sizeof(color)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/FramebufferManager.cpp:250:2: [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(&m_efb.depth_access_readback_map[buffer_offset], &depth, sizeof(depth)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PSTextureEncoder.cpp:170:2: [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(m_encode_params_buffer_data, ¶ms, sizeof(params)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PSTextureEncoder.cpp:235: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(dst, src, read_stride); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PerfQuery.cpp:120:2: [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(&result, reinterpret_cast<u8*>(readback_buffer_map) + sizeof(UINT64) * index, sizeof(UINT64)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/PerfQuery.cpp:173: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(&result, reinterpret_cast<u8*>(readback_buffer_map) + sizeof(UINT64) * m_query_read_pos, sizeof(UINT64)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderCache.cpp:64: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(blob->GetBufferPointer(), value, value_size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderConstantsManager.cpp:62: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( data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderConstantsManager.cpp:98: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( data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/ShaderConstantsManager.cpp:134: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( data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureCache.cpp:259: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(s_efb_copy_stream_buffer->GetCPUAddressOfCurrentAllocation(), colmat, 28 * sizeof(float)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureCache.cpp:398:2: [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(m_palette_stream_buffer->GetCPUAddressOfCurrentAllocation(), palette, palette_buffer_allocation_size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureCache.cpp:542:2: [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(upload_heap_data_location, paramsFormatZero, sizeof(paramsFormatZero)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/TextureCache.cpp:543:2: [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(upload_heap_data_location + 256, paramsFormatNonzero, sizeof(paramsFormatNonzero)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/XFBEncoder.cpp:101:2: [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(m_encode_params_buffer->GetCPUAddressOfCurrentAllocation(), ¶meters, sizeof(parameters)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/XFBEncoder.cpp:142: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(row_dst, row_src, std::min(dst_pitch, readback_pitch)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/XFBEncoder.cpp:160: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(row_dst, row_src, src_width * 2); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/BoundingBox.cpp:62:4: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&data, ptr, sizeof(int)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp:150: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(buffer.first, data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp:153: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(buffer.first + ROUND_UP(sizeof(PixelShaderConstants), s_ubo_align), data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/ProgramShaderCache.cpp:156: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(buffer.first + ROUND_UP(sizeof(PixelShaderConstants), s_ubo_align) + ROUND_UP(sizeof(VertexShaderConstants), s_ubo_align), data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/TextureCache.cpp:576:2: [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(buffer.first, palette, size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/OGL/TextureConverter.cpp:258:4: [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(destAddr, pbo, dst_line_size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/Software/Rasterizer.cpp:50: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(&x, &f, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPStructs.cpp:484:6: [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(texMem + tmem_addr_even, src_ptr + bytes_read, TMEM_LINE_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/BPStructs.cpp:485:6: [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(texMem + tmem_addr_odd, src_ptr + bytes_read + TMEM_LINE_SIZE, TMEM_LINE_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/CPMemory.cpp:32:2: [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(&g_preprocess_cp_state, &g_main_cp_state, sizeof(CPState)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/DataReader.h:40: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(&data, &buffer[offset], sizeof(T)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/DataReader.h:60: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(buffer, &data, sizeof(T)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/FPSCounter.cpp:24: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). m_bench_file.open(File::GetUserPath(D_LOGS_IDX) + "render_time.txt"); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/Fifo.cpp:215:2: [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(s_fifo_aux_write_ptr, ptr, size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderGen.cpp:159:114: [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. template<class T> static void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE ApiType, const char swapModeTable[4][5]); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderGen.cpp:509: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 swapModeTable[4][5]; data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderGen.cpp:664:96: [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 void WriteStage(T& out, pixel_shader_uid_data* uid_data, int n, API_TYPE ApiType, const char swapModeTable[4][5]) data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/PixelShaderGen.cpp:1034:15: [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 const char *alphaRef[2] = data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureCacheBase.cpp:719:4: [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(temp, level.data.get(), level.data_size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureCacheBase.cpp:787:4: [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(temp, level.data.get(), level.data_size); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/TextureConversionShader.cpp:17:8: [2] (buffer) char: Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions that limit length, or ensure that the size is larger than the maximum possible length. static char text[16384]; data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.cpp:87:15: [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 const char *posMode[4] = { data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.cpp:91:15: [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 const char *posFormats[8] = { data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.cpp:95:15: [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 const char *colorFormat[8] = { data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.cpp:152:5: [2] (buffer) memcpy: Does not check for buffer overflows when copying to destination (CWE-120). Make sure destination can always hold the source data. memcpy(&m_native_vtx_decl, &a->m_native_vtx_decl, sizeof(PortableVertexDeclaration)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderBase.cpp:184: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(dst.GetPointer(), buffer_a.data(), count_a * m_native_vtx_decl.stride); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderUtils.h:31: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(&result, &bufp[_uOffset], sizeof(T)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderUtils.h: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(&result, g_video_buffer_read_ptr, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoaderUtils.h: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(g_vertex_manager_write_ptr, &data, sizeof(T)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Color.cpp:63: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, addr, sizeof(u32)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Color.cpp:90: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, DataGetPosition(), sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Color.cpp:112: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, address, sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexLoader_Color.cpp:140: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, address, sizeof(u16)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:117: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. const char *sTemp[2]; data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:243: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(constants.transformmatrices[startn], &xfmem.posMatrices[startn * 4], (endn - startn) * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:254:4: [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(constants.normalmatrices[i], &xfmem.normalMatrices[3*i], 12); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:264: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(constants.posttransformmatrices[startn], &xfmem.postMatrices[startn * 4], (endn - startn) * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:341: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(constants.posnormalmatrix, pos, 3 * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:342: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(constants.posnormalmatrix[3], norm, 3 * sizeof(float)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:343: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(constants.posnormalmatrix[4], norm + 3, 3 * sizeof(float)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:344: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(constants.posnormalmatrix[5], norm + 6, 3 * sizeof(float)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:361:4: [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(constants.texmatrices[3 * i], pos_matrix_ptrs[i], 3 * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:378:4: [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(constants.texmatrices[3*i + 12], pos_matrix_ptrs[i], 3 * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:537:4: [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(constants.projection, mtxB.data, 4 * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:546:4: [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(constants.projection, correctedMtx.data, 4 * sizeof(float4)); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/ConsoleHelper.h:33: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 tmpbuf[255]; data/dolphin-emu-5.0+dfsg/Source/DSPSpy/ConsoleHelper.h:64: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 blank[columns]; data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:223: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 filename[260] = {0}; data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:224:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(filename, "sd:/dsp_rom.bin"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:225:15: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fROM = fopen(filename, "wb"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:226:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(filename, "sd:/dsp_coef.bin"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:227:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *fCOEF = fopen(filename, "wb"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:431: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 filename[260] = {0}; data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:432: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 temp[100]; data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:435:2: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(filename, "sd:/dsp_dump_all.bin"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:436:13: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f2 = fopen(filename, "wb"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:458:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(filename, "sd:/dsp_dump_all.bin"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:459:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f2 = fopen(filename, "ab"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:464:4: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(filename, "sd:/dsp_dump%d.bin", UCodeToDump); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:465:14: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE *f = fopen(filename, "wb"); data/dolphin-emu-5.0+dfsg/Source/DSPSpy/main_spy.cpp:497:5: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(temp, "Dump %d Successful. Wrote %d bytes, steps: %d", UCodeToDump+1, written, dsp_steps); data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/CommonFuncsTest.cpp:11: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 test[4]; data/dolphin-emu-5.0+dfsg/Source/UnitTests/Common/x64EmitterTest.cpp:115: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 instr_buffer[1024] = ""; data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/DSP_InterC.cpp:37:16: [2] (misc) fopen: Check when opening files - can an attacker redirect it (via symlinks), force the opening of special file type (e.g., device files), move things around to create a race condition, control its ancestors, or change its contents? (CWE-362). FILE* pFile = fopen("c:\\_\\dsp_rom.bin", "rb"); data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp:19: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 Msg[2048]; data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp:31: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 Msg[2048]; data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp:144: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[1024]; data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/OutBuffer.cpp:151:3: [2] (buffer) sprintf: Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or vsnprintf. Risk is low because the source has a constant maximum length. sprintf(Buffer, "0x%4x", addr); data/dolphin-emu-5.0+dfsg/docs/DSP/DSP_InterC/DSP_InterC/stdafx.cpp:14: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 Msg[512]; data/dolphin-emu-5.0+dfsg/docs/gc-font-tool.cpp:1294: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). in_file.open(filename, std::ios::in | std::ios::binary); data/dolphin-emu-5.0+dfsg/docs/gc-font-tool.cpp:1317: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). out_file.open(filename, std::ios::out | std::ios::binary); data/dolphin-emu-5.0+dfsg/Externals/Bochs_disasm/dis_decode.cc:550:16: [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). disbufptr += strlen(disbufptr); data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/aldlist.cpp:66:46: [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). for (s32 index = 0; devices != nullptr && strlen(devices) > 0; index++, devices += strlen(devices) + 1) data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/aldlist.cpp:66:87: [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). for (s32 index = 0; devices != nullptr && strlen(devices) > 0; index++, devices += strlen(devices) + 1) data/dolphin-emu-5.0+dfsg/Source/Core/AudioCommon/aldlist.cpp:89:59: [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 ((bNewName) && (actualDeviceName != nullptr) && (strlen(actualDeviceName) > 0)) data/dolphin-emu-5.0+dfsg/Source/Core/Common/ArmCPUDetect.cpp:61:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(cpu_string, GetCPUString().c_str(), sizeof(cpu_string)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/FileUtil.cpp:351:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). input.read(buffer, BSIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Common/LinearDiskCache.h:179:17: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return m_file.read((char*)data, count * sizeof(D)).good(); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SDCardUtil.cpp:150:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy( (char*)boot + 0x47, label, 11 ); /* Volume Label */ data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.cpp:180:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(item.name, name.c_str(), 32); data/dolphin-emu-5.0+dfsg/Source/Core/Common/SysConf.cpp:206:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). Risk is low because the source is a constant string. strncpy(s_Header.version, "SCv0", 4); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Thread.cpp:124:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000 * ms); data/dolphin-emu-5.0+dfsg/Source/Core/Common/Thread.cpp:129:2: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(1000 * 1); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:173:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t rv = read(urandomFd, bytes, sizeof(bytes)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/TraversalServer.cpp:197:16: [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). sprintf(buf + strlen(buf), ":%d", ntohs(addr->sin6_port)); data/dolphin-emu-5.0+dfsg/Source/Core/Common/ucrtFreadWorkaround.cpp:81:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). #pragma section(".CRT$XIB", read) data/dolphin-emu-5.0+dfsg/Source/Core/Core/ActionReplay.cpp:480:59: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). const float read_float = reinterpret_cast<const float&>(read); data/dolphin-emu-5.0+dfsg/Source/Core/Core/ActionReplay.cpp:485:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). LogInfo("Old Value %08x", read); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:244:18: [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). s32 len = (s32) strlen(src); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:306:28: [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). for (int i = 0; i < ((s32)strlen(s_buffer) + 1) ; i++) data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:313:28: [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). for (int i = 0; i < ((s32)strlen(d_buffer) + 1) ; i++) data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:398:7: [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(tmpstr) == 0) data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:860: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(opcode_ext) == 0) data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:916:51: [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). tmpstr = (char *)malloc(include_dir.size() + strlen(params[0].str) + 2); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPAssembler.cpp:921:30: [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). tmpstr = (char *)malloc(strlen(params[0].str) + 1); data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCaptureLogger.cpp:53:46: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void PCAPDSPCaptureLogger::LogIFXAccess(bool read, u16 address, u16 value) data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCaptureLogger.cpp:57:18: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). pkt.is_read = !!read; // Make sure we actually have 0/1. data/dolphin-emu-5.0+dfsg/Source/Core/Core/DSP/DSPCaptureLogger.h:76:25: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void LogIFXAccess(bool read, u16 address, u16 value); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Apple.cpp:78:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int readBytes = read(self->fd, self->mRecvBuffer.get(), BBA_RECV_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp:51:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(ifr.ifr_name, StringFromFormat("Dolphin%d", i).c_str(), IFNAMSIZ); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp:140:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int readBytes = read(self->fd, self->mRecvBuffer.get(), BBA_RECV_SIZE); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp:102:16: [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). size_t len = strlen(line); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp:105:32: [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). for (unsigned int i = 0; i < strlen(line); i++) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/EXI_DeviceAD16.cpp:64:8: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). case read: data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIO.h:91:56: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void RegisterRead(u32 addr, ReadHandlingMethod<Unit>* read) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIO.h:93:45: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). GetHandlerForRead<Unit>(addr).ResetMethod(read); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIO.h:103:52: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Register(u32 addr, ReadHandlingMethod<Unit>* read, WriteHandlingMethod<Unit>* write) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/MMIO.h:105:22: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). RegisterRead(addr, read); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/SI_DeviceAMBaseboard.cpp:45:17: [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). AddData(data, strlen(data)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiiSaveCrypted.cpp:428:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char *)file_hdr_tmp.name, name.c_str(), sizeof(file_hdr_tmp.name)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteEmu/EmuSubroutines.cpp:425:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read((char*)m_eeprom + 0x0FCA, 0x02f0); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IONix.cpp:248:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read(m_wakeup_pipe_r, &c, 1) != 1) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IONix.cpp:259:10: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). int r = read(m_int_sock, buf, MAX_PAYLOAD); data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp:453:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). if (read > 0) data/dolphin-emu-5.0+dfsg/Source/Core/Core/HW/WiimoteReal/IOWin.cpp:459:9: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). return read; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:500:42: [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). bss->ssid_length = Common::swap16((u16)strlen(ssid)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:985:43: [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). Memory::CopyToEmu(BufferOut, (u8*)ip_s, strlen(ip_s)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.cpp:1107:27: [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). u32 name_length = (u32)strlen(remoteHost->h_name) + 1; data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:204:4: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(config.http_urls[i], urls[i], nwc24_config_t::MAX_URL_LENGTH); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net.h:313:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(config.email, email, nwc24_config_t::MAX_EMAIL_LENGTH); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_net_ssl.cpp:160: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). strlen(pers)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_Socket.cpp:181:29: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void WiiSocket::Update(bool read, bool write, bool except) data/dolphin-emu-5.0+dfsg/Source/Core/Core/IPC_HLE/WII_Socket.h:192:19: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). void Update(bool read, bool write, bool except); data/dolphin-emu-5.0+dfsg/Source/Core/Core/MemoryWatcher.cpp:89:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(m_addr.sun_path, path.c_str(), sizeof(m_addr.sun_path) - 1); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1310:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(header.gameID, SConfig::GetInstance().GetUniqueID().c_str(), 6); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1328:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char *)header.videoBackend, s_videoBackend.c_str(),ArraySize(header.videoBackend)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1341:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char *)header.discChange, g_discChange.c_str(),ArraySize(header.discChange)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/Movie.cpp:1342:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char *)header.author, s_author.c_str(),ArraySize(header.author)); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/GDBStub.cpp:322:12: [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). cmd_len = strlen(reply); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:230: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). size_t length = strlen(line); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:241:3: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(line, "%255s", temp); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:270:5: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(line, "%08x %08x %08x %08x %511s", &address, &size, &vaddress, &offset, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:274:6: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(s + 10, "%511s", container); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:287:5: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(line, "%08x %08x %08x %08x %i %511s", &address, &size, &vaddress, &offset, &unknown, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:295:4: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(line, "%08x %08x %08x %511s", &address, &size, &vaddress, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:299:5: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(s + 10, "%511s", container); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:312:4: [1] (buffer) sscanf: It's unclear if the %s limit in the format string is small enough (CWE-120). Check that the limit is sufficiently small, or use a different input function. sscanf(line, "%08x %08x %08x %i %511s", &address, &size, &vaddress, &unknown, name); data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:318:8: [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). name[strlen(name) - 1] = 0; data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:321: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). for (size_t i = 0; i < strlen(name); i++) data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/PPCSymbolDB.cpp:328:67: [1] (buffer) strlen: Does not handle strings that are not \0-terminated; if given one it may perform an over-read (it could cause a crash if unprotected) (CWE-126). if (strcmp(name, ".text") != 0 && strcmp(name, ".init") != 0 && strlen(name) > 0) data/dolphin-emu-5.0+dfsg/Source/Core/Core/PowerPC/SignatureDB.cpp:68:3: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(temp.name, entry.second.name.c_str(), 127); data/dolphin-emu-5.0+dfsg/Source/Core/Core/State.cpp:357:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy(header.gameID, SConfig::GetInstance().GetUniqueID().c_str(), 6); data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:112:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char*)cert_out + 0x80, signer, 0x40); data/dolphin-emu-5.0+dfsg/Source/Core/Core/ec_wii.cpp:114:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char*)cert_out + 0xc4, name, 0x40); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/CISOBlob.cpp:92:8: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. std::equal(header.magic, header.magic + sizeof(header.magic), CISO_MAGIC)); data/dolphin-emu-5.0+dfsg/Source/Core/DiscIO/VolumeDirectory.cpp:439:2: [1] (buffer) strncpy: Easily used incorrectly; doesn't always \0-terminate or check for invalid pointers [MS-banned] (CWE-120). strncpy((char*)&m_FSTData[nameOffset + m_fstNameOffset], name.c_str(), name.length() + 1); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Debugger/MemoryWindow.cpp:365: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). for (i = 0; i < strlen(tmpstr); i++) data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/FifoPlayerDlg.cpp:475:12: [1] (buffer) equal: Function does not check the second iterator for over-read conditions (CWE-126). This function is often discouraged by most C++ coding standards in favor of its safer alternatives provided since C++14. Consider using a form of this function that checks the second iterator before potentially overflowing it. if (std::equal(search_val.begin(), search_val.end(), ptr)) data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/Frame.cpp:141:7: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). file.read(&internal_game_id[0], game_id_length); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/ISOFile.cpp:354:47: [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). ret = WxStrToStr(wxGetCwd()) + path.substr(strlen(ROOT_DIR)); data/dolphin-emu-5.0+dfsg/Source/Core/DolphinWX/MainNoGUI.cpp:289:4: [1] (obsolete) usleep: This C routine is considered obsolete (as opposed to the shell command by the same name). The interaction of this function with SIGALRM and other timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead. usleep(100000); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp:119:23: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). ssize_t bytes_read = read(m_fd, buf, sizeof buf); data/dolphin-emu-5.0+dfsg/Source/Core/InputCommon/ControllerInterface/Pipes/Pipes.cpp:123:16: [1] (buffer) read: Check buffer boundaries if used in a loop including recursive loops (CWE-120, CWE-20). bytes_read = read(m_fd, buf, sizeof buf); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D/D3DBase.h:73:69: [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). resource->SetPrivateData(WKPDID_D3DDebugObjectName, (UINT)(name ? strlen(name) : 0), name); data/dolphin-emu-5.0+dfsg/Source/Core/VideoBackends/D3D12/D3DBase.h:121:81: [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). HRESULT hr = resource->SetPrivateData(WKPDID_D3DDebugObjectName, (UINT)(name ? strlen(name) : 0), name); data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/ShaderGenCommon.h:224:29: [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 (api_type == API_D3D && strlen(semantic) > 0) data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:69:21: [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). char *c = new char[strlen(cStr) + 1]; data/dolphin-emu-5.0+dfsg/Source/Core/VideoCommon/VertexShaderManager.cpp:72:32: [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). for (unsigned int i = 0; i <= strlen(cStr); ++i) ANALYSIS SUMMARY: Hits = 698 Lines analyzed = 282502 in approximately 8.16 seconds (34620 lines/second) Physical Source Lines of Code (SLOC) = 214401 Hits@level = [0] 178 [1] 87 [2] 540 [3] 18 [4] 52 [5] 1 Hits@level+ = [0+] 876 [1+] 698 [2+] 611 [3+] 71 [4+] 53 [5+] 1 Hits/KSLOC@level+ = [0+] 4.0858 [1+] 3.25558 [2+] 2.8498 [3+] 0.331155 [4+] 0.2472 [5+] 0.00466416 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.