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/nestopia-1.50/libretro/libretro-common/include/compat/msvc/stdint.h
Examining data/nestopia-1.50/libretro/libretro-common/include/libretro.h
Examining data/nestopia-1.50/libretro/libretro-common/include/retro_inline.h
Examining data/nestopia-1.50/libretro/libretro.cpp
Examining data/nestopia-1.50/libretro/libretro_core_options.h
Examining data/nestopia-1.50/libretro/libretro_core_options_intl.h
Examining data/nestopia-1.50/libretro/nstdatabase.hpp
Examining data/nestopia-1.50/source/common/cheats.cpp
Examining data/nestopia-1.50/source/common/cheats.h
Examining data/nestopia-1.50/source/common/cli.cpp
Examining data/nestopia-1.50/source/common/cli.h
Examining data/nestopia-1.50/source/common/config.cpp
Examining data/nestopia-1.50/source/common/config.h
Examining data/nestopia-1.50/source/common/font.h
Examining data/nestopia-1.50/source/common/homebrew.cpp
Examining data/nestopia-1.50/source/common/homebrew.h
Examining data/nestopia-1.50/source/common/ini.cpp
Examining data/nestopia-1.50/source/common/ini.h
Examining data/nestopia-1.50/source/common/input.cpp
Examining data/nestopia-1.50/source/common/input.h
Examining data/nestopia-1.50/source/common/nstcommon.cpp
Examining data/nestopia-1.50/source/common/nstcommon.h
Examining data/nestopia-1.50/source/common/png.cpp
Examining data/nestopia-1.50/source/common/png.h
Examining data/nestopia-1.50/source/common/samples.cpp
Examining data/nestopia-1.50/source/common/samples.h
Examining data/nestopia-1.50/source/common/video.cpp
Examining data/nestopia-1.50/source/common/video.h
Examining data/nestopia-1.50/source/core/NstApu.cpp
Examining data/nestopia-1.50/source/core/NstApu.hpp
Examining data/nestopia-1.50/source/core/NstAssert.cpp
Examining data/nestopia-1.50/source/core/NstAssert.hpp
Examining data/nestopia-1.50/source/core/NstBarcodeReader.hpp
Examining data/nestopia-1.50/source/core/NstBase.hpp
Examining data/nestopia-1.50/source/core/NstCartridge.cpp
Examining data/nestopia-1.50/source/core/NstCartridge.hpp
Examining data/nestopia-1.50/source/core/NstCartridgeInes.cpp
Examining data/nestopia-1.50/source/core/NstCartridgeInes.hpp
Examining data/nestopia-1.50/source/core/NstCartridgeRomset.cpp
Examining data/nestopia-1.50/source/core/NstCartridgeRomset.hpp
Examining data/nestopia-1.50/source/core/NstCartridgeUnif.cpp
Examining data/nestopia-1.50/source/core/NstCartridgeUnif.hpp
Examining data/nestopia-1.50/source/core/NstCheats.cpp
Examining data/nestopia-1.50/source/core/NstCheats.hpp
Examining data/nestopia-1.50/source/core/NstChecksum.cpp
Examining data/nestopia-1.50/source/core/NstChecksum.hpp
Examining data/nestopia-1.50/source/core/NstChips.cpp
Examining data/nestopia-1.50/source/core/NstChips.hpp
Examining data/nestopia-1.50/source/core/NstCore.cpp
Examining data/nestopia-1.50/source/core/NstCore.hpp
Examining data/nestopia-1.50/source/core/NstCpu.cpp
Examining data/nestopia-1.50/source/core/NstCpu.hpp
Examining data/nestopia-1.50/source/core/NstCrc32.cpp
Examining data/nestopia-1.50/source/core/NstCrc32.hpp
Examining data/nestopia-1.50/source/core/NstDipSwitches.hpp
Examining data/nestopia-1.50/source/core/NstFds.cpp
Examining data/nestopia-1.50/source/core/NstFds.hpp
Examining data/nestopia-1.50/source/core/NstFile.cpp
Examining data/nestopia-1.50/source/core/NstFile.hpp
Examining data/nestopia-1.50/source/core/NstFpuPrecision.hpp
Examining data/nestopia-1.50/source/core/NstHomebrew.cpp
Examining data/nestopia-1.50/source/core/NstHomebrew.hpp
Examining data/nestopia-1.50/source/core/NstHook.hpp
Examining data/nestopia-1.50/source/core/NstImage.cpp
Examining data/nestopia-1.50/source/core/NstImage.hpp
Examining data/nestopia-1.50/source/core/NstImageDatabase.cpp
Examining data/nestopia-1.50/source/core/NstImageDatabase.hpp
Examining data/nestopia-1.50/source/core/NstIoAccessor.hpp
Examining data/nestopia-1.50/source/core/NstIoLine.hpp
Examining data/nestopia-1.50/source/core/NstIoMap.hpp
Examining data/nestopia-1.50/source/core/NstIoPort.hpp
Examining data/nestopia-1.50/source/core/NstLog.cpp
Examining data/nestopia-1.50/source/core/NstLog.hpp
Examining data/nestopia-1.50/source/core/NstMachine.cpp
Examining data/nestopia-1.50/source/core/NstMachine.hpp
Examining data/nestopia-1.50/source/core/NstMemory.cpp
Examining data/nestopia-1.50/source/core/NstMemory.hpp
Examining data/nestopia-1.50/source/core/NstNsf.cpp
Examining data/nestopia-1.50/source/core/NstNsf.hpp
Examining data/nestopia-1.50/source/core/NstPatcher.cpp
Examining data/nestopia-1.50/source/core/NstPatcher.hpp
Examining data/nestopia-1.50/source/core/NstPatcherIps.cpp
Examining data/nestopia-1.50/source/core/NstPatcherIps.hpp
Examining data/nestopia-1.50/source/core/NstPatcherUps.cpp
Examining data/nestopia-1.50/source/core/NstPatcherUps.hpp
Examining data/nestopia-1.50/source/core/NstPins.cpp
Examining data/nestopia-1.50/source/core/NstPins.hpp
Examining data/nestopia-1.50/source/core/NstPpu.cpp
Examining data/nestopia-1.50/source/core/NstPpu.hpp
Examining data/nestopia-1.50/source/core/NstProperties.cpp
Examining data/nestopia-1.50/source/core/NstProperties.hpp
Examining data/nestopia-1.50/source/core/NstRam.cpp
Examining data/nestopia-1.50/source/core/NstRam.hpp
Examining data/nestopia-1.50/source/core/NstSha1.cpp
Examining data/nestopia-1.50/source/core/NstSha1.hpp
Examining data/nestopia-1.50/source/core/NstSoundPcm.cpp
Examining data/nestopia-1.50/source/core/NstSoundPcm.hpp
Examining data/nestopia-1.50/source/core/NstSoundPlayer.cpp
Examining data/nestopia-1.50/source/core/NstSoundPlayer.hpp
Examining data/nestopia-1.50/source/core/NstSoundRenderer.cpp
Examining data/nestopia-1.50/source/core/NstSoundRenderer.hpp
Examining data/nestopia-1.50/source/core/NstState.cpp
Examining data/nestopia-1.50/source/core/NstState.hpp
Examining data/nestopia-1.50/source/core/NstStream.cpp
Examining data/nestopia-1.50/source/core/NstStream.hpp
Examining data/nestopia-1.50/source/core/NstTimer.hpp
Examining data/nestopia-1.50/source/core/NstTracker.cpp
Examining data/nestopia-1.50/source/core/NstTracker.hpp
Examining data/nestopia-1.50/source/core/NstTrackerMovie.cpp
Examining data/nestopia-1.50/source/core/NstTrackerMovie.hpp
Examining data/nestopia-1.50/source/core/NstTrackerRewinder.cpp
Examining data/nestopia-1.50/source/core/NstTrackerRewinder.hpp
Examining data/nestopia-1.50/source/core/NstVector.cpp
Examining data/nestopia-1.50/source/core/NstVector.hpp
Examining data/nestopia-1.50/source/core/NstVideoFilter2xSaI.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilter2xSaI.hpp
Examining data/nestopia-1.50/source/core/NstVideoFilterHqX.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilterHqX.hpp
Examining data/nestopia-1.50/source/core/NstVideoFilterNone.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilterNone.hpp
Examining data/nestopia-1.50/source/core/NstVideoFilterNtsc.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilterNtsc.hpp
Examining data/nestopia-1.50/source/core/NstVideoFilterNtscCfg.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilterScaleX.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilterScaleX.hpp
Examining data/nestopia-1.50/source/core/NstVideoFilterxBR.cpp
Examining data/nestopia-1.50/source/core/NstVideoFilterxBR.hpp
Examining data/nestopia-1.50/source/core/NstVideoRenderer.cpp
Examining data/nestopia-1.50/source/core/NstVideoRenderer.hpp
Examining data/nestopia-1.50/source/core/NstVideoScreen.cpp
Examining data/nestopia-1.50/source/core/NstVideoScreen.hpp
Examining data/nestopia-1.50/source/core/NstXml.cpp
Examining data/nestopia-1.50/source/core/NstXml.hpp
Examining data/nestopia-1.50/source/core/NstZlib.cpp
Examining data/nestopia-1.50/source/core/NstZlib.hpp
Examining data/nestopia-1.50/source/core/api/NstApi.hpp
Examining data/nestopia-1.50/source/core/api/NstApiBarcodeReader.cpp
Examining data/nestopia-1.50/source/core/api/NstApiBarcodeReader.hpp
Examining data/nestopia-1.50/source/core/api/NstApiCartridge.cpp
Examining data/nestopia-1.50/source/core/api/NstApiCartridge.hpp
Examining data/nestopia-1.50/source/core/api/NstApiCheats.cpp
Examining data/nestopia-1.50/source/core/api/NstApiCheats.hpp
Examining data/nestopia-1.50/source/core/api/NstApiConfig.hpp
Examining data/nestopia-1.50/source/core/api/NstApiDipSwitches.cpp
Examining data/nestopia-1.50/source/core/api/NstApiDipSwitches.hpp
Examining data/nestopia-1.50/source/core/api/NstApiEmulator.cpp
Examining data/nestopia-1.50/source/core/api/NstApiEmulator.hpp
Examining data/nestopia-1.50/source/core/api/NstApiFds.cpp
Examining data/nestopia-1.50/source/core/api/NstApiFds.hpp
Examining data/nestopia-1.50/source/core/api/NstApiHomebrew.cpp
Examining data/nestopia-1.50/source/core/api/NstApiHomebrew.hpp
Examining data/nestopia-1.50/source/core/api/NstApiInput.cpp
Examining data/nestopia-1.50/source/core/api/NstApiInput.hpp
Examining data/nestopia-1.50/source/core/api/NstApiMachine.cpp
Examining data/nestopia-1.50/source/core/api/NstApiMachine.hpp
Examining data/nestopia-1.50/source/core/api/NstApiMovie.cpp
Examining data/nestopia-1.50/source/core/api/NstApiMovie.hpp
Examining data/nestopia-1.50/source/core/api/NstApiNsf.cpp
Examining data/nestopia-1.50/source/core/api/NstApiNsf.hpp
Examining data/nestopia-1.50/source/core/api/NstApiRewinder.cpp
Examining data/nestopia-1.50/source/core/api/NstApiRewinder.hpp
Examining data/nestopia-1.50/source/core/api/NstApiSound.cpp
Examining data/nestopia-1.50/source/core/api/NstApiSound.hpp
Examining data/nestopia-1.50/source/core/api/NstApiTapeRecorder.cpp
Examining data/nestopia-1.50/source/core/api/NstApiTapeRecorder.hpp
Examining data/nestopia-1.50/source/core/api/NstApiUser.cpp
Examining data/nestopia-1.50/source/core/api/NstApiUser.hpp
Examining data/nestopia-1.50/source/core/api/NstApiVideo.cpp
Examining data/nestopia-1.50/source/core/api/NstApiVideo.hpp
Examining data/nestopia-1.50/source/core/board/NstBoard.cpp
Examining data/nestopia-1.50/source/core/board/NstBoard.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAcclaim.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAcclaimMcAcc.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAcclaimMcAcc.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAction53.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAction53.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAe.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAe.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAgci.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAgci.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAve.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAveD1012.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAveD1012.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAveNina.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAveNina.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardAxRom.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardAxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandai.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandai24c0x.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandai24c0x.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiAerobicsStudio.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiAerobicsStudio.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiDatach.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiDatach.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiKaraokeStudio.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiKaraokeStudio.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiLz93d50.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiLz93d50.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiLz93d50ex.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiLz93d50ex.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiOekaKids.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBandaiOekaKids.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBenshengBs5.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBenshengBs5.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc110in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc110in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc1200in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc1200in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc150in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc150in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc15in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc15in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc20in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc20in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc21in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc21in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc22Games.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc22Games.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc31in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc31in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc35in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc35in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc36in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc36in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc64in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc64in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc72in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc72in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc76in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc76in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc800in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc800in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc8157.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc8157.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc9999999in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmc9999999in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcA65as.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcA65as.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcBallgames11in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcBallgames11in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcCh001.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcCh001.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcCtc65.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcCtc65.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcFamily4646B.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcFamily4646B.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGamestarA.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGamestarA.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGamestarB.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGamestarB.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGolden190in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGolden190in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGoldenCard6in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGoldenCard6in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGoldenGame260in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcGoldenGame260in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcHero.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcHero.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcMarioParty7in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcMarioParty7in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcNovelDiamond.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcNovelDiamond.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcPowerjoy84in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcPowerjoy84in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcResetBased4in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcResetBased4in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper22Games.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper22Games.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper24in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper24in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper40in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper40in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper700in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuper700in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperBig7in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperBig7in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperGun20in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperGun20in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperHiK300in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperHiK300in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperHiK4in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperHiK4in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperVision16in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcSuperVision16in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcT262.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcT262.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcVrc4.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcVrc4.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcVt5201.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcVt5201.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcY2k64in1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBmcY2k64in1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtl2708.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtl2708.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtl6035052.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtl6035052.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlAx5705.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlAx5705.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlDragonNinja.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlDragonNinja.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlGeniusMerioBros.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlGeniusMerioBros.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlMarioBaby.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlMarioBaby.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlPikachuY2k.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlPikachuY2k.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlShuiGuanPipe.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlShuiGuanPipe.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb2a.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb2a.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb2b.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb2b.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb2c.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb2c.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb3.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSmb3.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSuperBros11.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlSuperBros11.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlT230.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlT230.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlTobidaseDaisakusen.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBtlTobidaseDaisakusen.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardBxRom.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardBxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCaltron.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCaltron.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCamerica.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCamerica.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCne.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCneDecathlon.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCneDecathlon.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCnePsb.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCnePsb.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCneShlz.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCneShlz.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCony.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCony.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardCxRom.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardCxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardDiscrete.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardDiscrete.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardDreamtech.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardDreamtech.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardDxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardEvent.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardEvent.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardExRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardFb.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardFb.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardFfe.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardFfe.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardFujiya.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardFujiya.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardFukutake.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardFukutake.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardFutureMedia.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardFutureMedia.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardFxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardGouder.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardGouder.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardGxRom.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardGxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardHenggedianzi.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardHenggedianzi.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardHes.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardHes.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardHosenkan.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardHosenkan.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardHxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardInlNsf.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardInlNsf.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardIrem.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremG101.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremG101.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremH3001.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremH3001.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremHolyDiver.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremHolyDiver.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremKaiketsu.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremKaiketsu.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremLrog017.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardIremLrog017.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJaleco.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf11.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf11.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf13.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf13.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf16.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf16.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf17.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf17.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf19.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoJf19.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoSs88006.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJalecoSs88006.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardJyCompany.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardJyCompany.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKaiser.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKaiser.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKasing.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKasing.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKay.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKayH2288.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKayH2288.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKayPandaPrince.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKayPandaPrince.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonami.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc3.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc3.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc4.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc4.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc6.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc6.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc7.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVrc7.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVsSystem.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardKonamiVsSystem.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMagicKidGoogoo.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMagicKidGoogoo.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMagicSeries.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMagicSeries.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc3.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc3.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc4.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc4.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc5.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc5.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc6.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardMmc6.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardMxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot163.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot163.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot175.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot175.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot34xx.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNamcot34xx.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNanjing.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNanjing.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNihon.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNihon.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNitra.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNitra.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNtdec.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardNtdec.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardNxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardOpenCorp.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardOpenCorp.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardPxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardQj.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardQj.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardRcm.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardRcm.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardRexSoft.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardRexSoftDb5z.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardRexSoftDb5z.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardRexSoftSl1632.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardRexSoftSl1632.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardRumbleStation.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardRumbleStation.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachen.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachen74x374.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachen74x374.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenS8259.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenS8259.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa0036.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa0036.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa0037.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa0037.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa72007.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa72007.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa72008.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenSa72008.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenStreetHeroes.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenStreetHeroes.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenTca01.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenTca01.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenTcu.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSachenTcu.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSomeriTeam.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSomeriTeamSl12.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSomeriTeamSl12.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSubor.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSubor.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft3.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft3.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft4.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft4.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft5b.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoft5b.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoftDcs.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoftDcs.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoftFme7.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSunsoftFme7.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGame.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGameBoogerman.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGameBoogerman.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGameLionKing.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGameLionKing.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGamePocahontas2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardSuperGamePocahontas2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardSxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaito.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoTc0190fmc.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoTc0190fmc.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoTc0190fmcPal16r4.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoTc0190fmcPal16r4.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoX1005.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoX1005.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoX1017.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTaitoX1017.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTengen.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTengen.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTengenRambo1.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTengenRambo1.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxRom.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxc.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxc.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxcMxmdhtwo.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxcMxmdhtwo.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxcPoliceman.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxcPoliceman.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxcTw.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardTxcTw.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlA9746.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlA9746.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlCc21.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlCc21.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlEdu2000.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlEdu2000.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlKingOfFighters96.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlKingOfFighters96.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlKingOfFighters97.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlKingOfFighters97.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlMortalKombat2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlMortalKombat2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlN625092.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlN625092.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlSuperFighter3.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlSuperFighter3.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlTf1201.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlTf1201.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlWorldHero.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlWorldHero.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlXzy.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUnlXzy.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardUxRom.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardUxRom.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardVsSystem.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardVsSystem.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixing.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixing.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingFfv.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingFfv.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingPs2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingPs2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSecurity.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSecurity.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSgz.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSgz.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSgzlz.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSgzlz.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSh2.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingSh2.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingZs.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWaixingZs.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardWhirlwind.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardWhirlwind.hpp
Examining data/nestopia-1.50/source/core/board/NstBoardZz.cpp
Examining data/nestopia-1.50/source/core/board/NstBoardZz.hpp
Examining data/nestopia-1.50/source/core/input/NstInpAdapter.cpp
Examining data/nestopia-1.50/source/core/input/NstInpAdapter.hpp
Examining data/nestopia-1.50/source/core/input/NstInpBandaiHyperShot.cpp
Examining data/nestopia-1.50/source/core/input/NstInpBandaiHyperShot.hpp
Examining data/nestopia-1.50/source/core/input/NstInpBarcodeWorld.cpp
Examining data/nestopia-1.50/source/core/input/NstInpBarcodeWorld.hpp
Examining data/nestopia-1.50/source/core/input/NstInpCrazyClimber.cpp
Examining data/nestopia-1.50/source/core/input/NstInpCrazyClimber.hpp
Examining data/nestopia-1.50/source/core/input/NstInpDevice.hpp
Examining data/nestopia-1.50/source/core/input/NstInpDoremikkoKeyboard.cpp
Examining data/nestopia-1.50/source/core/input/NstInpDoremikkoKeyboard.hpp
Examining data/nestopia-1.50/source/core/input/NstInpExcitingBoxing.cpp
Examining data/nestopia-1.50/source/core/input/NstInpExcitingBoxing.hpp
Examining data/nestopia-1.50/source/core/input/NstInpFamilyKeyboard.cpp
Examining data/nestopia-1.50/source/core/input/NstInpFamilyKeyboard.hpp
Examining data/nestopia-1.50/source/core/input/NstInpFamilyTrainer.cpp
Examining data/nestopia-1.50/source/core/input/NstInpFamilyTrainer.hpp
Examining data/nestopia-1.50/source/core/input/NstInpHoriTrack.cpp
Examining data/nestopia-1.50/source/core/input/NstInpHoriTrack.hpp
Examining data/nestopia-1.50/source/core/input/NstInpKonamiHyperShot.cpp
Examining data/nestopia-1.50/source/core/input/NstInpKonamiHyperShot.hpp
Examining data/nestopia-1.50/source/core/input/NstInpMahjong.cpp
Examining data/nestopia-1.50/source/core/input/NstInpMahjong.hpp
Examining data/nestopia-1.50/source/core/input/NstInpMouse.cpp
Examining data/nestopia-1.50/source/core/input/NstInpMouse.hpp
Examining data/nestopia-1.50/source/core/input/NstInpOekaKidsTablet.cpp
Examining data/nestopia-1.50/source/core/input/NstInpOekaKidsTablet.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPachinko.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPachinko.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPad.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPad.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPaddle.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPaddle.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPartyTap.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPartyTap.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPokkunMoguraa.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPokkunMoguraa.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPowerGlove.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPowerGlove.hpp
Examining data/nestopia-1.50/source/core/input/NstInpPowerPad.cpp
Examining data/nestopia-1.50/source/core/input/NstInpPowerPad.hpp
Examining data/nestopia-1.50/source/core/input/NstInpRob.cpp
Examining data/nestopia-1.50/source/core/input/NstInpRob.hpp
Examining data/nestopia-1.50/source/core/input/NstInpSuborKeyboard.cpp
Examining data/nestopia-1.50/source/core/input/NstInpSuborKeyboard.hpp
Examining data/nestopia-1.50/source/core/input/NstInpTopRider.cpp
Examining data/nestopia-1.50/source/core/input/NstInpTopRider.hpp
Examining data/nestopia-1.50/source/core/input/NstInpTurboFile.cpp
Examining data/nestopia-1.50/source/core/input/NstInpTurboFile.hpp
Examining data/nestopia-1.50/source/core/input/NstInpZapper.cpp
Examining data/nestopia-1.50/source/core/input/NstInpZapper.hpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsRbiBaseball.cpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsRbiBaseball.hpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsSuperXevious.cpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsSuperXevious.hpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsSystem.cpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsSystem.hpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsTkoBoxing.cpp
Examining data/nestopia-1.50/source/core/vssystem/NstVsTkoBoxing.hpp
Examining data/nestopia-1.50/source/gtkui/gtkui.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui.h
Examining data/nestopia-1.50/source/gtkui/gtkui_archive.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui_archive.h
Examining data/nestopia-1.50/source/gtkui/gtkui_callbacks.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui_callbacks.h
Examining data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui_cheats.h
Examining data/nestopia-1.50/source/gtkui/gtkui_config.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui_config.h
Examining data/nestopia-1.50/source/gtkui/gtkui_dialogs.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui_dialogs.h
Examining data/nestopia-1.50/source/gtkui/gtkui_input.cpp
Examining data/nestopia-1.50/source/gtkui/gtkui_input.h
Examining data/nestopia-1.50/source/nes_ntsc/benchmark.c
Examining data/nestopia-1.50/source/nes_ntsc/demo.c
Examining data/nestopia-1.50/source/nes_ntsc/demo_impl.h
Examining data/nestopia-1.50/source/nes_ntsc/nes_ntsc.h
Examining data/nestopia-1.50/source/nes_ntsc/nes_ntsc_config.h
Examining data/nestopia-1.50/source/nes_ntsc/nes_ntsc_impl.h
Examining data/nestopia-1.50/source/sdl/audio.cpp
Examining data/nestopia-1.50/source/sdl/audio.h
Examining data/nestopia-1.50/source/sdl/cursor.cpp
Examining data/nestopia-1.50/source/sdl/cursor.h
Examining data/nestopia-1.50/source/sdl/sdlinput.cpp
Examining data/nestopia-1.50/source/sdl/sdlinput.h
Examining data/nestopia-1.50/source/sdl/sdlmain.cpp
Examining data/nestopia-1.50/source/sdl/sdlmain.h
Examining data/nestopia-1.50/source/sdl/sdlvideo.cpp
Examining data/nestopia-1.50/source/sdl/sdlvideo.h

FINAL RESULTS:

data/nestopia-1.50/libretro/libretro.cpp:239:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(samp_path, "%s%c%s%c%02d.wav", samp_dir, slash, sampgame, slash, file.GetId());
data/nestopia-1.50/libretro/libretro.cpp:309:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(base, "%s%c%s.sav", g_save_dir, slash, g_basename);
data/nestopia-1.50/libretro/libretro.cpp:323:13:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
            sprintf(base, "%s%c%s.sav", g_save_dir, slash, g_basename);
data/nestopia-1.50/libretro/libretro.cpp:1111:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(samp_dir, "%s%cnestopia%csamples", dir, slash, slash);
data/nestopia-1.50/libretro/libretro.cpp:1113:4:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
   sprintf(palette_path, "%s%ccustom.pal", dir, slash);
data/nestopia-1.50/libretro/libretro.cpp:1170:10:  [4] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf.
         sprintf(fds_bios_path, "%s%cdisksys.rom", dir, slash);
data/nestopia-1.50/libretro/libretro.cpp:1363: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(codeCopy,code);
data/nestopia-1.50/libretro/libretro_core_options.h:372:16:  [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(values_buf[i], desc);
data/nestopia-1.50/libretro/libretro_core_options.h:376:16:  [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(values_buf[i], values[default_index].value);
data/nestopia-1.50/libretro/libretro_core_options.h:384:22:  [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(values_buf[i], values[j].value);
data/nestopia-1.50/source/core/NstAssert.cpp:80:10:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				std::sprintf
data/nestopia-1.50/source/core/NstCartridge.cpp:121:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				if ((profile.system.type) == Profile::System::VS_UNISYSTEM)
data/nestopia-1.50/source/core/NstCartridge.cpp:127:37:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						static_cast<PpuModel>(profile.system.ppu),
data/nestopia-1.50/source/core/NstCartridge.cpp:131:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					profile.system.ppu = static_cast<Profile::System::Ppu>(vs->GetPpuModel());
data/nestopia-1.50/source/core/NstCartridge.cpp:133:23:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				else if ((profile.system.type) == Profile::System::VS_DUALSYSTEM)
data/nestopia-1.50/source/core/NstCartridge.cpp:418:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			switch (profile.system.type)
data/nestopia-1.50/source/core/NstCartridge.cpp:445:22:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					switch (profile.system.type)
data/nestopia-1.50/source/core/NstCartridge.cpp:472:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					*cpu = static_cast<CpuModel>(profile.system.cpu);
data/nestopia-1.50/source/core/NstCartridge.cpp:475:43:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					*ppu = static_cast<PpuModel>(profile.system.ppu);
data/nestopia-1.50/source/core/NstCartridge.cpp:477:40:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				return static_cast<System>(profile.system.type);
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:331:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				if (setup.system != Header::SYSTEM_VS && (setup.mapper == VS_MAPPER_99 || setup.mapper == VS_MAPPER_151))
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:438:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				profile.system.cpu = Profile::System::CPU_RP2A03;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:439:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				profile.system.ppu = static_cast<Profile::System::Ppu>(setup.ppu);
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:441:19:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				switch (setup.system)
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:445:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						profile.system.type = Profile::System::VS_UNISYSTEM;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:450:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						profile.system.type = Profile::System::PLAYCHOICE_10;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:461:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::FAMICOM;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:465:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::DENDY;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:466:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.ppu = Profile::System::PPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:467:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.cpu = Profile::System::CPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:471:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::NES_NTSC;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:481:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::FAMICOM;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:486:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::NES_NTSC;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:494:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::DENDY;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:495:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.cpu = Profile::System::CPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:496:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.ppu = Profile::System::PPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:500:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.type = Profile::System::NES_PAL;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:501:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.cpu = Profile::System::CPU_RP2A07;
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:502:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									profile.system.ppu = Profile::System::PPU_RP2C07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:201:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::FAMICOM;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:205:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::NES_NTSC;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:209:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::NES_PAL;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:210:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.cpu = Profile::System::CPU_RP2A07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:211:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.ppu = Profile::System::PPU_RP2C07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:215:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::NES_PAL_A;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:216:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.cpu = Profile::System::CPU_RP2A07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:217:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.ppu = Profile::System::PPU_RP2C07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:221:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::NES_PAL_B;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:222:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.cpu = Profile::System::CPU_RP2A07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:223:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.ppu = Profile::System::PPU_RP2C07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:227:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::DENDY;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:228:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.cpu = Profile::System::CPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:229:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.ppu = Profile::System::PPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:235:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.type = Profile::System::NES_PAL;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:236:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.cpu = Profile::System::CPU_RP2A07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:237:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.ppu = Profile::System::PPU_RP2C07;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:241:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.type = Profile::System::FAMICOM;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:245:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.type = Profile::System::DENDY;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:246:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.cpu = Profile::System::CPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:247:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.ppu = Profile::System::PPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:251:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										p.system.type = Profile::System::NES_NTSC;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:266:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							p.system.ppu = Profile::System::PPU_RP2C03B;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:272:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::VS_UNISYSTEM;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:276:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::VS_DUALSYSTEM;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:280:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									p.system.type = Profile::System::PLAYCHOICE_10;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:330:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						if (p.system.type == Profile::System::VS_UNISYSTEM || p.system.type == Profile::System::VS_DUALSYSTEM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:330:63:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						if (p.system.type == Profile::System::VS_UNISYSTEM || p.system.type == Profile::System::VS_DUALSYSTEM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:334:81:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
                                     if (attribute.IsValue( L"rp2c03b"     )) p.system.ppu = Profile::System::PPU_RP2C03B;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:335:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rp2c03g"     )) p.system.ppu = Profile::System::PPU_RP2C03G;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:336:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rp2c04-0001" )) p.system.ppu = Profile::System::PPU_RP2C04_0001;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:337:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rp2c04-0002" )) p.system.ppu = Profile::System::PPU_RP2C04_0002;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:338:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rp2c04-0003" )) p.system.ppu = Profile::System::PPU_RP2C04_0003;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:339:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rp2c04-0004" )) p.system.ppu = Profile::System::PPU_RP2C04_0004;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:340:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c03b"     )) p.system.ppu = Profile::System::PPU_RC2C03B;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:341:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c03c"     )) p.system.ppu = Profile::System::PPU_RC2C03C;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:342:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c05-01"   )) p.system.ppu = Profile::System::PPU_RC2C05_01;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:343:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c05-02"   )) p.system.ppu = Profile::System::PPU_RC2C05_02;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:344:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c05-03"   )) p.system.ppu = Profile::System::PPU_RC2C05_03;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:345:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c05-04"   )) p.system.ppu = Profile::System::PPU_RC2C05_04;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:346:57:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								else if (attribute.IsValue( L"rc2c05-05"   )) p.system.ppu = Profile::System::PPU_RC2C05_05;
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:520:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										if (p.system.type == Profile::System::FAMICOM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:556:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										if (p.system.type == Profile::System::FAMICOM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:606:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										if (p.system.type == Profile::System::FAMICOM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:645:17:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										if (p.system.type == Profile::System::VS_UNISYSTEM || p.system.type == Profile::System::VS_DUALSYSTEM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:645:67:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
										if (p.system.type == Profile::System::VS_UNISYSTEM || p.system.type == Profile::System::VS_DUALSYSTEM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:675:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						if (it->system.type == Profile::System::NES_NTSC)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:685:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							it->system.type == Profile::System::NES_PAL ||
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:686:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							it->system.type == Profile::System::NES_PAL_A ||
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:687:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							it->system.type == Profile::System::NES_PAL_B
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:696:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						else if (it->system.type == Profile::System::FAMICOM)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:704:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
						else if (it->system.type == Profile::System::DENDY)
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:742:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::NES_PAL       ? L"(NES-PAL)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:743:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::NES_PAL_A     ? L"(NES-PAL-A)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:744:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::NES_PAL_B     ? L"(NES-PAL-B)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:745:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::FAMICOM       ? L"(Famicom)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:746:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::DENDY         ? L"(Dendy)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:747:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::VS_UNISYSTEM  ? L"(VS)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:748:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::VS_DUALSYSTEM ? L"(VS)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:749:14:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
								src->system.type == Profile::System::PLAYCHOICE_10 ? L"(PC10)" :
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:770:20:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							switch (it->system.type)
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:66:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				System system;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:76:7:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				: system(SYSTEM_NTSC)
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:354:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				switch (context.system)
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:360:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::FAMICOM;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:364:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::DENDY;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:365:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.cpu = Profile::System::CPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:366:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.ppu = Profile::System::PPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:370:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::NES_NTSC;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:380:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::FAMICOM;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:385:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::NES_NTSC;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:393:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::DENDY;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:394:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.cpu = Profile::System::CPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:395:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.ppu = Profile::System::PPU_DENDY;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:399:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.type = Profile::System::NES_PAL;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:400:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.cpu = Profile::System::CPU_RP2A07;
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:401:16:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
							profile.system.ppu = Profile::System::PPU_RP2C07;
data/nestopia-1.50/source/core/NstImageDatabase.cpp:243:15:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			const byte system;
data/nestopia-1.50/source/core/NstImageDatabase.cpp:309:4:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			system        ( systemIn                    ),
data/nestopia-1.50/source/core/NstImageDatabase.cpp:405:47:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				return static_cast<Profile::System::Type>(system);
data/nestopia-1.50/source/core/NstImageDatabase.cpp:701:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				profile.system.type = static_cast<Profile::System::Type>(system);
data/nestopia-1.50/source/core/NstImageDatabase.cpp:701:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				profile.system.type = static_cast<Profile::System::Type>(system);
data/nestopia-1.50/source/core/NstImageDatabase.cpp:702:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				profile.system.cpu = static_cast<Profile::System::Cpu>(cpu);
data/nestopia-1.50/source/core/NstImageDatabase.cpp:703:13:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				profile.system.ppu = static_cast<Profile::System::Ppu>(ppu);
data/nestopia-1.50/source/core/NstImageDatabase.cpp:803:21:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					system == item.system &&
data/nestopia-1.50/source/core/NstImageDatabase.cpp:983:13:  [4] (buffer) wcscpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using a function version that stops copying at the end
  of the buffer.
							std::wcscpy( sdst + src->second, src->first );
data/nestopia-1.50/source/core/NstImageDatabase.cpp:1575:10:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
									system,
data/nestopia-1.50/source/core/NstLog.cpp:174:29:  [4] (format) sprintf:
  Potential format string problem (CWE-134). Make format string constant.
				const int length = std::sprintf( buffer + 2, hex.format, hex.value );
data/nestopia-1.50/source/core/NstMachine.cpp:78:18:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			FavoredSystem system,
data/nestopia-1.50/source/core/NstMachine.cpp:98:5:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				system,
data/nestopia-1.50/source/core/NstMachine.cpp:111:62:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					if ((static_cast<const Cartridge*>(image)->GetProfile().system.type) == Api::Cartridge::Profile::System::VS_UNISYSTEM)
data/nestopia-1.50/source/core/NstMachine.cpp:116:67:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					else if ((static_cast<const Cartridge*>(image)->GetProfile().system.type) == Api::Cartridge::Profile::System::PLAYCHOICE_10)
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:412:76:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Cartridge::ReadRomset(std::istream& stream,Machine::FavoredSystem system,bool askProfile,Profile& profile) throw()
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:416:75:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				Core::Cartridge::ReadRomset( stream, static_cast<Core::FavoredSystem>(system), askProfile, profile );
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:430:74:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Cartridge::ReadInes(std::istream& stream,Machine::FavoredSystem system,Profile& profile) throw()
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:434:73:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				Core::Cartridge::ReadInes( stream, static_cast<Core::FavoredSystem>(system), profile );
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:448:74:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Cartridge::ReadUnif(std::istream& stream,Machine::FavoredSystem system,Profile& profile) throw()
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:452:73:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				Core::Cartridge::ReadUnif( stream, static_cast<Core::FavoredSystem>(system), profile );
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:474:110:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Cartridge::Database::Entry Cartridge::Database::FindEntry(const Profile::Hash& hash,Machine::FavoredSystem system) const throw()
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:476:107:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return emulator.imageDatabase ? emulator.imageDatabase->Search( hash, static_cast<Core::FavoredSystem>(system) ).Reference() : NULL;
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:479:114:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Cartridge::Database::Entry Cartridge::Database::FindEntry(const void* file,ulong length,Machine::FavoredSystem system) const throw()
data/nestopia-1.50/source/core/api/NstApiCartridge.cpp:485:83:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				return emulator.imageDatabase->Search( hash, static_cast<Core::FavoredSystem>(system) ).Reference();
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:838:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				System system;
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:1057:70:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				Entry FindEntry(const Profile::Hash& hash,Machine::FavoredSystem system) const throw();
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:1067:71:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				Entry FindEntry(const void* mem,ulong size,Machine::FavoredSystem system) const throw();
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:1241:12:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
				System system;
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:1330:73:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			static Result ReadRomset(std::istream& stream,Machine::FavoredSystem system,bool askProfile,Profile& profile) throw();
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:1340:71:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			static Result ReadInes(std::istream& stream,Machine::FavoredSystem system,Profile& profile) throw();
data/nestopia-1.50/source/core/api/NstApiCartridge.hpp:1350:71:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			static Result ReadUnif(std::istream& stream,Machine::FavoredSystem system,Profile& profile) throw();
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:56:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::Load(std::istream& stream,FavoredSystem system,AskProfile ask,Patch* patch,uint type)
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:67:39:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
					static_cast<Core::FavoredSystem>(system),
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:94:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::Load(std::istream& stream,FavoredSystem system,AskProfile ask) throw()
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:96:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return Load( stream, system, ask, NULL, Core::Image::UNKNOWN );
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:99:59:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::Load(std::istream& stream,FavoredSystem system,Patch& patch,AskProfile ask) throw()
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:101:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return Load( stream, system, ask, &patch, Core::Image::UNKNOWN );
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:104:68:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::LoadCartridge(std::istream& stream,FavoredSystem system,AskProfile ask) throw()
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:106:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return Load( stream, system, ask, NULL, Core::Image::CARTRIDGE );
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:109:68:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::LoadCartridge(std::istream& stream,FavoredSystem system,Patch& patch,AskProfile ask) throw()
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:111:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return Load( stream, system, ask, &patch, Core::Image::CARTRIDGE );
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:114:63:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::LoadDisk(std::istream& stream,FavoredSystem system) throw()
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:116:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return Load( stream, system, DONT_ASK_PROFILE, NULL, Core::Image::DISK );
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:119:64:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
		Result Machine::LoadSound(std::istream& stream,FavoredSystem system) throw()
data/nestopia-1.50/source/core/api/NstApiMachine.cpp:121:25:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			return Load( stream, system, DONT_ASK_PROFILE, NULL, Core::Image::SOUND );
data/nestopia-1.50/source/core/api/NstApiMachine.hpp:184:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			Result Load(std::istream& stream,FavoredSystem system,AskProfile askProfile=DONT_ASK_PROFILE) throw();
data/nestopia-1.50/source/core/api/NstApiMachine.hpp:195:51:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			Result Load(std::istream& stream,FavoredSystem system,Patch& patch,AskProfile askProfile=DONT_ASK_PROFILE) throw();
data/nestopia-1.50/source/core/api/NstApiMachine.hpp:205:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			Result LoadCartridge(std::istream& stream,FavoredSystem system,AskProfile askProfile=DONT_ASK_PROFILE) throw();
data/nestopia-1.50/source/core/api/NstApiMachine.hpp:216:60:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			Result LoadCartridge(std::istream& stream,FavoredSystem system,Patch& patch,AskProfile askProfile=DONT_ASK_PROFILE) throw();
data/nestopia-1.50/source/core/api/NstApiMachine.hpp:225:55:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			Result LoadDisk(std::istream& stream,FavoredSystem system) throw();
data/nestopia-1.50/source/core/api/NstApiMachine.hpp:234:56:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
			Result LoadSound(std::istream& stream,FavoredSystem system) throw();
data/nestopia-1.50/source/core/board/NstBoardMmc5.cpp:55:23:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
				static const byte access[6][8] =
data/nestopia-1.50/source/core/board/NstBoardMmc5.cpp:65:25:  [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.
				std::memcpy( banks, access[s==SIZE_16K ? 2 : s==SIZE_32K ? 3 : s==SIZE_40K ? 4 : s==SIZE_64K ? 5 : s ? 1 : 0], 8 );
data/nestopia-1.50/source/common/cli.cpp:90:7:  [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.
		c = getopt_long(argc, argv, "defhl:mnopqrs:tuvw",
data/nestopia-1.50/source/common/nstcommon.cpp:355:14:  [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.
	char *pwd = getenv("PWD");
data/nestopia-1.50/source/common/nstcommon.cpp:648:70:  [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.
	snprintf(nstpaths.nstdir, sizeof(nstpaths.nstdir), "%s/.nestopia/", getenv("HOME"));
data/nestopia-1.50/source/core/api/NstApiBarcodeReader.cpp:67:10:  [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.
				std::srand( std::time(NULL) + extra++ );
data/nestopia-1.50/libretro/libretro-common/include/libretro.h:1388:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
	retro_vfs_open_t open;
data/nestopia-1.50/libretro/libretro.cpp:55: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 g_basename[256];
data/nestopia-1.50/libretro/libretro.cpp:56: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 g_rom_dir[256];
data/nestopia-1.50/libretro/libretro.cpp:58: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 samp_dir[256];
data/nestopia-1.50/libretro/libretro.cpp:229: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 samp_path[292];
data/nestopia-1.50/libretro/libretro.cpp:234: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 fmt[4] = { 0x66, 0x6d, 0x74, 0x20};
data/nestopia-1.50/libretro/libretro.cpp:235: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 subchunk2id[4] = { 0x64, 0x61, 0x74, 0x61};
data/nestopia-1.50/libretro/libretro.cpp:308:13:  [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 base[256];
data/nestopia-1.50/libretro/libretro.cpp:322:13:  [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 base[256];
data/nestopia-1.50/libretro/libretro.cpp:875: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.
         unsigned char raw_palette[512][3];
data/nestopia-1.50/libretro/libretro.cpp:939:16:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
      tpulse = atoi(var.value);
data/nestopia-1.50/libretro/libretro.cpp:1028: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 db_path[256];
data/nestopia-1.50/libretro/libretro.cpp:1029: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 palette_path[256];
data/nestopia-1.50/libretro/libretro.cpp:1166: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.
         char fds_bios_path[256];
data/nestopia-1.50/libretro/libretro.cpp:1359: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 codeCopy[256];
data/nestopia-1.50/libretro/libretro_core_options.h:373:16:  [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(values_buf[i], "; ");
data/nestopia-1.50/source/common/cheats.cpp:93: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 gg[9];
data/nestopia-1.50/source/common/cheats.cpp:105: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 par[9];
data/nestopia-1.50/source/common/cheats.cpp:161:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		wchar_t wbuf[32];
data/nestopia-1.50/source/common/cheats.cpp:162:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char buf[2];
data/nestopia-1.50/source/common/cli.cpp:118:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				optint = atoi(optarg);
data/nestopia-1.50/source/common/cli.cpp:144:14:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
				optint = atoi(optarg);
data/nestopia-1.50/source/common/config.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 confpath[256];
data/nestopia-1.50/source/common/config.cpp:47: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 confpath[256];
data/nestopia-1.50/source/common/config.cpp:50: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 *fp = fopen(confpath, "w");
data/nestopia-1.50/source/common/config.cpp:225:58:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	if (MATCH("video", "filter")) { pconfig->video_filter = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:226:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "scale_factor")) { pconfig->video_scale_factor = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:227:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "palette_mode")) { pconfig->video_palette_mode = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:228:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "decoder")) { pconfig->video_decoder = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:229:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "brightness")) { pconfig->video_brightness = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:230:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "saturation")) { pconfig->video_saturation = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:231:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "contrast")) { pconfig->video_contrast = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:232:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "hue")) { pconfig->video_hue = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:233:69:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "ntsc_mode")) { pconfig->video_ntsc_mode = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:234:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "ntsc_sharpness")) { pconfig->video_ntsc_sharpness = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:235:81:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "ntsc_resolution")) { pconfig->video_ntsc_resolution = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:236:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "ntsc_bleed")) { pconfig->video_ntsc_bleed = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:237:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "ntsc_artifacts")) { pconfig->video_ntsc_artifacts = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:238:77:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "ntsc_fringing")) { pconfig->video_ntsc_fringing = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:239:89:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "xbr_corner_rounding")) { pconfig->video_xbr_corner_rounding = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:240:77:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "linear_filter")) { pconfig->video_linear_filter = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:241:69:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "tv_aspect")) { pconfig->video_tv_aspect = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:242:81:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "unmask_overscan")) { pconfig->video_unmask_overscan = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:243:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "fullscreen")) { pconfig->video_fullscreen = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:244:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "stretch_aspect")) { pconfig->video_stretch_aspect = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:245:85:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "unlimited_sprites")) { pconfig->video_unlimited_sprites = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:246:87:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("video", "xbr_pixel_blending")) { pconfig->video_xbr_pixel_blending = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:249:57:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "api")) { pconfig->audio_api = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:250:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "stereo")) { pconfig->audio_stereo = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:251:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "sample_rate")) { pconfig->audio_sample_rate = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:252:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "volume")) { pconfig->audio_volume = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:253:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_sq1")) { pconfig->audio_vol_sq1 = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:254:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_sq2")) { pconfig->audio_vol_sq2 = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:255:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_tri")) { pconfig->audio_vol_tri = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:256:69:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_noise")) { pconfig->audio_vol_noise = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:257:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_dpcm")) { pconfig->audio_vol_dpcm = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:258:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_fds")) { pconfig->audio_vol_fds = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:259:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_mmc5")) { pconfig->audio_vol_mmc5 = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:260:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_vrc6")) { pconfig->audio_vol_vrc6 = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:261:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_vrc7")) { pconfig->audio_vol_vrc7 = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:262:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_n163")) { pconfig->audio_vol_n163 = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:263:65:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("audio", "vol_s5b")) { pconfig->audio_vol_s5b = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:266:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("timing", "speed")) { pconfig->timing_speed = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:267:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("timing", "ffspeed")) { pconfig->timing_ffspeed = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:268:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("timing", "turbopulse")) { pconfig->timing_turbopulse = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:269:63:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("timing", "vsync")) { pconfig->timing_vsync = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:270:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("timing", "limiter")) { pconfig->timing_limiter = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:273:77:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "default_system")) { pconfig->misc_default_system = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:274:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "soft_patching")) { pconfig->misc_soft_patching = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:276:81:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "genie_distortion")) { pconfig->misc_genie_distortion = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:278:73:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "config_pause")) { pconfig->misc_config_pause = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:279:77:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "disable_cursor")) { pconfig->misc_disable_cursor = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:280:93:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "disable_cursor_special")) { pconfig->misc_disable_cursor_special = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:282:71:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "power_state")) { pconfig->misc_power_state = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:283:67:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "overclock")) { pconfig->misc_overclock = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:284:75:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "homebrew_exit")) { pconfig->misc_homebrew_exit = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:285:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "homebrew_stdout")) { pconfig->misc_homebrew_stdout = atoi(value); }
data/nestopia-1.50/source/common/config.cpp:286:79:  [2] (integer) atoi:
  Unless checked, the resulting number can exceed the expected range
  (CWE-190). If source untrusted, check both minimum and maximum, even if the
  input had no minus sign (large numbers can roll over into negative number;
  consider saving to an unsigned value if that is intended).
	else if (MATCH("misc", "homebrew_stderr")) { pconfig->misc_homebrew_stderr = atoi(value); }
data/nestopia-1.50/source/common/ini.cpp:89: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 line[INI_MAX_LINE];
data/nestopia-1.50/source/common/ini.cpp:93: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 section[MAX_SECTION] = "";
data/nestopia-1.50/source/common/ini.cpp:94: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 prev_name[MAX_NAME] = "";
data/nestopia-1.50/source/common/ini.cpp:190:12:  [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 = fopen(filename, "r");
data/nestopia-1.50/source/common/input.cpp:37: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 controller[32];
data/nestopia-1.50/source/common/nstcommon.cpp:163: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 fdsname[512];
data/nestopia-1.50/source/common/nstcommon.cpp:191: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 fdsname[512];
data/nestopia-1.50/source/common/nstcommon.cpp:330: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 dbpath[512];
data/nestopia-1.50/source/common/nstcommon.cpp:392: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 dippath[512];
data/nestopia-1.50/source/common/nstcommon.cpp:401: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 biospath[512];
data/nestopia-1.50/source/common/nstcommon.cpp:428: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 textbuf[24];
data/nestopia-1.50/source/common/nstcommon.cpp:550: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 custgamepalpath[512];
data/nestopia-1.50/source/common/nstcommon.cpp:554:9:  [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 = fopen(custgamepalpath, "rb");
data/nestopia-1.50/source/common/nstcommon.cpp:555:22:  [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).
	if (!file) { file = fopen(filename, "rb"); }
data/nestopia-1.50/source/common/nstcommon.cpp:584:9:  [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 = fopen(nstpaths.palettepath, "wb");
data/nestopia-1.50/source/common/nstcommon.cpp:589: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(custpalout, custompalette, custpalsize);
data/nestopia-1.50/source/common/nstcommon.cpp:603: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 filedir[512];
data/nestopia-1.50/source/common/nstcommon.cpp:618: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).
	if ((file = fopen(patchname, "rb")) != NULL) { fclose(file); return 1; }
data/nestopia-1.50/source/common/nstcommon.cpp:621: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).
		if ((file = fopen(patchname, "rb")) != NULL) { fclose(file); return 1; }
data/nestopia-1.50/source/common/nstcommon.cpp:654: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 dirstr[256];
data/nestopia-1.50/source/common/nstcommon.cpp:802: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 slotpath[520];
data/nestopia-1.50/source/common/nstcommon.cpp:810: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 slotpath[520];
data/nestopia-1.50/source/common/nstcommon.cpp:926: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 patchname[512];
data/nestopia-1.50/source/common/nstcommon.cpp:937: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 reqfile[256]; // Requested file inside the archive
data/nestopia-1.50/source/common/nstcommon.cpp:964: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 errorstring[32];
data/nestopia-1.50/source/common/nstcommon.h:19: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 nstdir[256];
data/nestopia-1.50/source/common/nstcommon.h:20: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 savedir[256];
data/nestopia-1.50/source/common/nstcommon.h:21: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 gamename[256];
data/nestopia-1.50/source/common/nstcommon.h:22: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 savename[512];
data/nestopia-1.50/source/common/nstcommon.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 fdssave[512];
data/nestopia-1.50/source/common/nstcommon.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 statepath[512];
data/nestopia-1.50/source/common/nstcommon.h:25: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 cheatpath[512];
data/nestopia-1.50/source/common/nstcommon.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 palettepath[512];
data/nestopia-1.50/source/common/nstcommon.h: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 sampdir[512];
data/nestopia-1.50/source/common/png.cpp:375:10:  [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 = fopen(filename, "rb");
data/nestopia-1.50/source/common/png.cpp:397:10:  [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 = fopen(filename, "wb" );
data/nestopia-1.50/source/common/png.cpp:2392:25:  [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.
void lodepng_chunk_type(char type[5], const unsigned char* chunk)
data/nestopia-1.50/source/common/png.h:566: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 palette[1024]; /*Remembers up to the first 256 RGBA colors, in no particular order*/
data/nestopia-1.50/source/common/png.h:690:25:  [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.
void lodepng_chunk_type(char type[5], const unsigned char* chunk);
data/nestopia-1.50/source/common/samples.cpp:46:9:  [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 = fopen(filepath, "rb");
data/nestopia-1.50/source/common/samples.cpp:132: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 reqfile[16];
data/nestopia-1.50/source/common/samples.cpp:133: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 samppath[576];
data/nestopia-1.50/source/common/video.cpp:315:49:  [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.
			video.GetPalette().SetCustom((const unsigned char (*)[3])custompalette, Video::Palette::EXT_PALETTE);
data/nestopia-1.50/source/common/video.cpp:535: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, low, rowsize);
data/nestopia-1.50/source/common/video.cpp:536: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(low, high, rowsize);
data/nestopia-1.50/source/common/video.cpp:537: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(high, row, rowsize);
data/nestopia-1.50/source/common/video.cpp:553: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 sshotpath[512];
data/nestopia-1.50/source/common/video.cpp:583: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 currentsong[10];
data/nestopia-1.50/source/common/video.cpp:595: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 textbuf[32];
data/nestopia-1.50/source/common/video.cpp:596: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 buttontext[8];
data/nestopia-1.50/source/common/video.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 textbuf[32];
data/nestopia-1.50/source/common/video.h: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 timebuf[6];
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:637: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( header, file, 16 );
data/nestopia-1.50/source/core/NstCartridgeInes.cpp:896: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( file, header, 16 );
data/nestopia-1.50/source/core/NstCartridgeRomset.cpp:826:16:  [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( rom, filedata, NST_MIN(size,filesize) );
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:63:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char crc[12];
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:338:14:  [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( dst.Mem(size), src.data.Mem(), src.data.Size() );
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:427:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char name[DUMPER_NAME_LENGTH];
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:431:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char agent[DUMPER_AGENT_LENGTH];
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:659: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 name[5];
data/nestopia-1.50/source/core/NstCartridgeUnif.cpp:715: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 name[5];
data/nestopia-1.50/source/core/NstCore.hpp:194:43:  [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.
#define NST_COMPILE_ASSERT(expr_) typedef char NST_CAT(Nestopia_assertion_at_line_,__LINE__)[(expr_) ? 1 : -1]
data/nestopia-1.50/source/core/NstFds.cpp:927:13:  [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.front(), src, size );
data/nestopia-1.50/source/core/NstFile.cpp:123:13:  [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( it->data, filedata, size );
data/nestopia-1.50/source/core/NstFile.cpp:436:15:  [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[offset], it->data, it->size );
data/nestopia-1.50/source/core/NstLog.cpp:77: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 buffer[24];
data/nestopia-1.50/source/core/NstLog.cpp:79:29:  [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.
				const int length = std::sprintf( buffer, "%li", value );
data/nestopia-1.50/source/core/NstLog.cpp:93: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 buffer[24];
data/nestopia-1.50/source/core/NstLog.cpp:95:29:  [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.
				const int length = std::sprintf( buffer, "%lu", value );
data/nestopia-1.50/source/core/NstLog.cpp:109: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 buffer[24];
data/nestopia-1.50/source/core/NstLog.cpp:113:29:  [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.
				const int length = std::sprintf( buffer, "%I64d", value );
data/nestopia-1.50/source/core/NstLog.cpp:115:29:  [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.
				const int length = std::sprintf( buffer, "%lli", value );
data/nestopia-1.50/source/core/NstLog.cpp:131: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 buffer[24];
data/nestopia-1.50/source/core/NstLog.cpp:134:29:  [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.
				const int length = std::sprintf( buffer, "%I64u", value );
data/nestopia-1.50/source/core/NstLog.cpp:136:29:  [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.
				const int length = std::sprintf( buffer, "%llu", value );
data/nestopia-1.50/source/core/NstLog.cpp:169: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 buffer[16];
data/nestopia-1.50/source/core/NstMemory.hpp:51:13:  [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.
				typedef char TypeComplete[sizeof(T)];
data/nestopia-1.50/source/core/NstNsf.cpp:176: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( ram + SIZE_4K * page, prg.Source().Mem(bank * SIZE_4K), SIZE_4K );
data/nestopia-1.50/source/core/NstNsf.cpp:646:11:  [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( chips->fds->ram + (i-0x6000), prg.Source().Mem(j * 0x1000), 0x1000 );
data/nestopia-1.50/source/core/NstNsf.hpp:209:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char name[32];
data/nestopia-1.50/source/core/NstNsf.hpp:210:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char artist[32];
data/nestopia-1.50/source/core/NstNsf.hpp:211:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char copyright[32];
data/nestopia-1.50/source/core/NstPatcherIps.cpp:218:11:  [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( dst, src, length );
data/nestopia-1.50/source/core/NstPatcherIps.cpp:234:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						std::memcpy( dst + pos, it->data, part );
data/nestopia-1.50/source/core/NstPatcherIps.cpp:329:13:  [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( block.data, dst + j, block.length );
data/nestopia-1.50/source/core/NstPpu.cpp:178: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( palette.ram, powerUpPalette, Palette::SIZE );
data/nestopia-1.50/source/core/NstRam.cpp:223:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						std::memcpy( mem + i, mem + n, block );
data/nestopia-1.50/source/core/NstRam.cpp:226:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						std::memcpy( mem + i, mem, nearest );
data/nestopia-1.50/source/core/NstSha1.cpp:162:11:  [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+j, data, i );
data/nestopia-1.50/source/core/NstSha1.cpp:171: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( buffer+j, data+i, length-i );
data/nestopia-1.50/source/core/NstSha1.cpp:184: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( end, buffer, length );
data/nestopia-1.50/source/core/NstTrackerRewinder.cpp:51: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( pixels, src, Video::Screen::PIXELS * sizeof(Video::Screen::Pixel) );
data/nestopia-1.50/source/core/NstVector.cpp:61: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( dst, src, size );
data/nestopia-1.50/source/core/NstVideoRenderer.cpp:235: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( custom->palette, colors, 64*3 );
data/nestopia-1.50/source/core/NstVideoRenderer.cpp:238:11:  [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( custom->emphasis, colors + 64, 7*64*3 );
data/nestopia-1.50/source/core/NstVideoRenderer.cpp:248: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( colors, custom ? custom->palette : pc10Palette, 64*3 );
data/nestopia-1.50/source/core/NstVideoRenderer.cpp:253: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( colors + 64, custom->emphasis, 7*64*3 );
data/nestopia-1.50/source/core/NstVideoRenderer.cpp:263:11:  [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( custom->palette, pc10Palette, 64*3 );
data/nestopia-1.50/source/core/api/NstApiFds.hpp:238:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char name[12];
data/nestopia-1.50/source/core/board/NstBoardBenshengBs5.cpp:116:22:  [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 names[4][9] =
data/nestopia-1.50/source/core/board/NstBoardBenshengBs5.cpp:129:22:  [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 names[4][9] =
data/nestopia-1.50/source/core/board/NstBoardBenshengBs5.cpp:142:22:  [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 names[4][9] =
data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.cpp:124:22:  [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 names[2][8] =
data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.cpp:135:22:  [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 names[2][8] =
data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.cpp:146:22:  [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 names[2][8] =
data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.cpp:158:22:  [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 names[8][9] =
data/nestopia-1.50/source/core/board/NstBoardBmcFk23c.cpp:175:22:  [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 names[8][9] =
data/nestopia-1.50/source/core/board/NstBoardBmcGoldenGame260in1.cpp:88:87:  [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).
						state.Begin( AsciiId<'B','G','G'>::V ).Begin( AsciiId<'B','U','S'>::V ).Write8( open != 0 ).End().End();
data/nestopia-1.50/source/core/board/NstBoardBmcGoldenGame260in1.cpp:128: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).
					return !open ? prg.Peek(address - 0x8000) : (address >> 8);
data/nestopia-1.50/source/core/board/NstBoardBmcGoldenGame260in1.hpp:55: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).
					uint open;
data/nestopia-1.50/source/core/board/NstBoardEvent.cpp:49:10:  [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.
				std::strcpy( text, "Time left: x:xx" );
data/nestopia-1.50/source/core/board/NstBoardEvent.cpp:77: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.
					static const char times[16][7] =
data/nestopia-1.50/source/core/board/NstBoardEvent.hpp:100: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 text[16];
data/nestopia-1.50/source/core/board/NstBoardFfe.cpp:44:11:  [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, ram.Mem(), SIZE );
data/nestopia-1.50/source/core/board/NstBoardFfe.cpp:77:11:  [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( wrk.Source().Mem(0x1000), trainer.data, Trainer::SIZE );
data/nestopia-1.50/source/core/board/NstBoardKonamiVrc7.cpp:460:13:  [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( patch.tone, patch.instrument == Patch::CUSTOM ? patch.custom : Patch::preset[patch.instrument-1], 8 );
data/nestopia-1.50/source/core/board/NstBoardKonamiVrc7.cpp:780:12:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
						std::memcpy( patch.tone, patch.instrument == Patch::CUSTOM ? patch.custom : Patch::preset[patch.instrument-1], 8 );
data/nestopia-1.50/source/core/board/NstBoardMmc5.cpp:65: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( banks, access[s==SIZE_16K ? 2 : s==SIZE_32K ? 3 : s==SIZE_40K ? 4 : s==SIZE_64K ? 5 : s ? 1 : 0], 8 );
data/nestopia-1.50/source/gtkui/gtkui.cpp:52:1:  [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 iconpath[512];
data/nestopia-1.50/source/gtkui/gtkui.cpp:53:1:  [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 padpath[512];
data/nestopia-1.50/source/gtkui/gtkui.cpp:151: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 title[24];
data/nestopia-1.50/source/gtkui/gtkui.cpp:224:50:  [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).
	gtk_menu_shell_append(GTK_MENU_SHELL(filemenu), open);
data/nestopia-1.50/source/gtkui/gtkui.cpp:343:28:  [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).
	g_signal_connect(G_OBJECT(open), "activate",
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:321: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 codebuf[9];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:322: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 descbuf[512];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:367:6:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
					char rawbuf[11];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:419: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 codebuf[9];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:420: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 descbuf[512];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:453: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 codebuf[9];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:454: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 descbuf[512];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:539: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 buf[5];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:573: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/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:574:2:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	wchar_t wbuf[9];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:605: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 descbuf[512];
data/nestopia-1.50/source/gtkui/gtkui_cheats.cpp:606:3:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		wchar_t wdescbuf[512];
data/nestopia-1.50/source/gtkui/gtkui_config.cpp:41: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.
extern char padpath[512];
data/nestopia-1.50/source/gtkui/gtkui_dialogs.cpp:96:2:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	char statepath[512];
data/nestopia-1.50/source/gtkui/gtkui_dialogs.cpp:143: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 sshotpath[512];
data/nestopia-1.50/source/gtkui/gtkui_dialogs.cpp:144: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 sshotfile[768];
data/nestopia-1.50/source/gtkui/gtkui_dialogs.cpp:168: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 moviepath[512];
data/nestopia-1.50/source/gtkui/gtkui_input.cpp:38: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 inputconfpath[256];
data/nestopia-1.50/source/gtkui/gtkui_input.cpp:197: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 *fp = fopen(inputconfpath, "w");
data/nestopia-1.50/source/nes_ntsc/benchmark.c:20: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  in  [ in_height] [ in_width];
data/nestopia-1.50/source/nes_ntsc/demo.c:106: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* out = fopen( "nes.pal", "wb" );
data/nestopia-1.50/source/nes_ntsc/demo.c:109:13:  [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 palette [nes_ntsc_palette_size * 3];
data/nestopia-1.50/source/sdl/sdlinput.cpp:44: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 inputconfpath[256];
data/nestopia-1.50/source/sdl/sdlinput.cpp:47: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 nescodes[TOTALBUTTONS] = {
data/nestopia-1.50/source/sdl/sdlinput.cpp:646: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 *fp = fopen(inputconfpath, "w");
data/nestopia-1.50/source/sdl/sdlinput.cpp:761: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 inputcode[6];
data/nestopia-1.50/source/sdl/sdlinput.cpp:765: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(inputcode, "j%da%d%d", event.jaxis.which, event.jaxis.axis, nstsdl_input_checksign(event.jaxis.value));
data/nestopia-1.50/source/sdl/sdlinput.cpp:769: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(inputcode, "j%dh%d%d", event.jhat.which, event.jhat.hat, event.jhat.value);
data/nestopia-1.50/source/sdl/sdlinput.cpp:774: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(inputcode, "j%db%d", event.jbutton.which, event.jbutton.button);
data/nestopia-1.50/libretro/libretro-common/include/libretro.h:1393:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	retro_vfs_read_t read;
data/nestopia-1.50/libretro/libretro-common/include/libretro.h:1473:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   retro_midi_read_t read;
data/nestopia-1.50/libretro/libretro.cpp:248:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	   samp_file.read(wavfile, length);
data/nestopia-1.50/libretro/libretro.cpp:1000:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy(buf, base, size - 1);
data/nestopia-1.50/libretro/libretro.cpp:1010:4:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
   strncpy(buf, path, size - 1);
data/nestopia-1.50/libretro/libretro.cpp:1122:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      custompalette->read((char*)custpal, sizeof(custpal));
data/nestopia-1.50/libretro/libretro.cpp:1368: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).
      if ((strlen(part) == 7) && (part[4]==':'))
data/nestopia-1.50/libretro/libretro.cpp:1375: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).
      else if ((strlen(part)==10) && (part[4]=='?') && (part[7]==':'))
data/nestopia-1.50/libretro/libretro_core_options.h:353: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).
                  buf_len += strlen(values[num_values].value);
data/nestopia-1.50/libretro/libretro_core_options.h:366: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).
               buf_len += strlen(desc);
data/nestopia-1.50/libretro/libretro_core_options.h:383:22:  [1] (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 character.
                     strcat(values_buf[i], "|");
data/nestopia-1.50/source/common/ini.cpp:46: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).
    char* p = s + strlen(s);
data/nestopia-1.50/source/common/ini.cpp:76:5:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
    strncpy(dest, src, size);
data/nestopia-1.50/source/common/nstcommon.cpp:106:45:  [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).
			nst_video_print_time((const char*)data + strlen((char*)data) - 5, true);
data/nestopia-1.50/source/common/nstcommon.cpp:220: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).
	int len = strlen(filename);
data/nestopia-1.50/source/common/nstcommon.cpp:607:2:  [1] (buffer) strncpy:
  Easily used incorrectly; doesn't always \0-terminate or check for invalid
  pointers [MS-banned] (CWE-120).
	strncpy(filedir, filename, sizeof(filedir));
data/nestopia-1.50/source/common/nstcommon.cpp:716:15:  [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 = strlen(nstpaths.savename)-1; i > 0; i--) {
data/nestopia-1.50/source/common/png.cpp:322: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 insize = strlen(in), i;
data/nestopia-1.50/source/common/png.cpp:2401:6:  [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(type) != 4) return 0;
data/nestopia-1.50/source/common/png.cpp:4916:24:  [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 i, textsize = strlen(textstring);
data/nestopia-1.50/source/common/png.cpp:4943:24:  [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 i, textsize = strlen(textstring);
data/nestopia-1.50/source/common/png.cpp:5658:10:  [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(info.text_keys[i]) > 79)
data/nestopia-1.50/source/common/png.cpp:5663:10:  [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(info.text_keys[i]) < 1)
data/nestopia-1.50/source/common/png.cpp:5697:10:  [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(info.itext_keys[i]) > 79)
data/nestopia-1.50/source/common/png.cpp:5702:10:  [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(info.itext_keys[i]) < 1)
data/nestopia-1.50/source/common/png.cpp:5928:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(size > 0) file.read((char*)(&buffer[0]), size);
data/nestopia-1.50/source/common/samples.cpp:86:13:  [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).
		int len = strlen(currentfile);
data/nestopia-1.50/source/common/video.cpp:642: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).
	int numchars = strlen(text);
data/nestopia-1.50/source/core/NstAssert.cpp:71:24:  [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).
				(msg ?        std::strlen(msg)        :  0) +
data/nestopia-1.50/source/core/NstAssert.cpp:72:24:  [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).
				(expression ? std::strlen(expression) : 16) +
data/nestopia-1.50/source/core/NstAssert.cpp:73:24:  [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).
				(file ?       std::strlen(file)       : 16) +
data/nestopia-1.50/source/core/NstAssert.cpp:74:24:  [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).
				(function ?   std::strlen(function)   : 16) +
data/nestopia-1.50/source/core/NstCartridge.cpp:283:63:  [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).
					profile.board.type = std::wstring( b.name, b.name + std::strlen(b.name) );
data/nestopia-1.50/source/core/NstImageDatabase.cpp:815:11:  [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( chips.begin(), chips.end(), item.chips.begin() )
data/nestopia-1.50/source/core/NstImageDatabase.cpp:1660:26:  [1] (buffer) wcslen:
  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).
				stringLength += std::wcslen(string) + 1;
data/nestopia-1.50/source/core/NstMemory.hpp:339:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				void ReadEnable(bool read) const
data/nestopia-1.50/source/core/NstMemory.hpp:341:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					ref.sources[source].ReadEnable( read );
data/nestopia-1.50/source/core/NstMemory.hpp:349:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				void SetSecurity(bool read,bool write) const
data/nestopia-1.50/source/core/NstMemory.hpp:351:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					ref.sources[source].SetSecurity( read, write );
data/nestopia-1.50/source/core/NstMemory.hpp:369:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				void Set(Ram::Type type,bool read,bool write,dword size,byte* mem) const
data/nestopia-1.50/source/core/NstMemory.hpp:371:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					ref.sources[source].Set( type, read, write, size, mem );
data/nestopia-1.50/source/core/NstMemory.hpp:374:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				void Set(Ram::Type type,bool read,bool write,dword size) const
data/nestopia-1.50/source/core/NstMemory.hpp:376:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
					ref.sources[source].Set( type, read, write, size );
data/nestopia-1.50/source/core/NstMemory.hpp:438:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			Memory(byte* mem,dword size,bool read,bool write)
data/nestopia-1.50/source/core/NstMemory.hpp:440:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				Source().Set( mem, size, read, write );
data/nestopia-1.50/source/core/NstMemory.hpp:443:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
			Memory(dword size,bool read,bool write)
data/nestopia-1.50/source/core/NstMemory.hpp:445:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				Source().Set( size, read, write );
data/nestopia-1.50/source/core/NstPins.cpp:54:37:  [1] (buffer) wcslen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
			return ulong(end - component) == wcslen(s) && Core::StringCompare( component, s, end - component ) == 0;
data/nestopia-1.50/source/core/NstStream.cpp:45:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
				static_cast<std::istream*>(stream)->read( reinterpret_cast<char*>(data), size );
data/nestopia-1.50/source/core/NstXml.cpp:390:45:  [1] (buffer) wcslen:
  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).
					root = new BaseNode( type, type + std::wcslen(type), BaseNode::OUT );
data/nestopia-1.50/source/core/NstXml.cpp:1258:44:  [1] (buffer) wcslen:
  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).
			*next = new BaseNode( type, type + std::wcslen(type), BaseNode::OUT );
data/nestopia-1.50/source/core/NstXml.cpp:1261:44:  [1] (buffer) wcslen:
  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).
				(*next)->SetValue( value, value + std::wcslen(value), BaseNode::OUT );
data/nestopia-1.50/source/core/NstXml.cpp:1278:18:  [1] (buffer) wcslen:
  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).
					type + std::wcslen(type),
data/nestopia-1.50/source/core/NstXml.cpp:1280:27:  [1] (buffer) wcslen:
  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).
					value ? value + std::wcslen(value) : NULL,
data/nestopia-1.50/source/gtkui/gtkui_callbacks.cpp:287:15:  [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 ln = strlen(filename) - 2;
data/nestopia-1.50/source/nes_ntsc/benchmark.c:55:2:  [1] (buffer) getchar:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	getchar();

ANALYSIS SUMMARY:

Hits = 460
Lines analyzed = 132453 in approximately 10.44 seconds (12681 lines/second)
Physical Source Lines of Code (SLOC) = 89481
Hits@level = [0] 388 [1]  56 [2] 230 [3]   4 [4] 170 [5]   0
Hits@level+ = [0+] 848 [1+] 460 [2+] 404 [3+] 174 [4+] 170 [5+]   0
Hits/KSLOC@level+ = [0+] 9.47687 [1+] 5.14076 [2+] 4.51492 [3+] 1.94455 [4+] 1.89984 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.