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/libretro-bsnes-mercury-094+git20160126/sfc/controller/multitap/multitap.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/multitap/multitap.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/mouse/mouse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/mouse/mouse.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/controller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/gamepad/gamepad.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/gamepad/gamepad.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/justifier/justifier.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/justifier/justifier.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/superscope/superscope.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/superscope/superscope.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/controller/controller.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/list.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/mode7.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/scheduler/scheduler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/scheduler/scheduler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/timing/timing.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/timing/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/superfx.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/core/core.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/core/core.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/superfx.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/decomp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/decomp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/interface/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/interface/interface.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/st0010.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/opcodes.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/st0010.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/data.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/opcodes.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/data.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/bsx/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/bsx/bsx.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/bsx/bsx.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/armdsp/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/armdsp/armdsp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/armdsp/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/armdsp/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/armdsp/armdsp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/dcu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/alu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/data.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/decompressor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/epsonrtc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/time.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/epsonrtc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp3/dsp3.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp3/dsp3.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp3/dsp3emu.c
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/dma/dma.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/dma/dma.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/sa1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/sa1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/hitachidsp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/hitachidsp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/time.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/sharprtc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/sharprtc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/necdsp/necdsp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/necdsp/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/necdsp/necdsp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4emu.h
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4emu.c
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hsu1/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hsu1/hsu1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hsu1/hsu1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1emu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1emu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sgb-external/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sgb-external/sgb-external.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sgb-external/sgb-external.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/nss/nss.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/nss/nss.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/opcodes.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/dsp2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/dsp2.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/chip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/obc1/obc1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/obc1/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/obc1/obc1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_source.h
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/dsp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_common.h
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.h
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_config.h
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/dsp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/window/window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/window/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/screen/screen.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/screen/screen.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/ppu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/cache/cache.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/cache/cache.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/background/background.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/background/mode7.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/background/background.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/sprite/sprite.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/sprite/sprite.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/ppu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/oam.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/render.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/cache.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/addsub.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/render.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/bg.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/mode7.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/windows.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/render/line.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/ppu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/ppu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/opcycle_rmw.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/op_mov.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/op_misc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/generate.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/opcycle_pc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/opcycle_mov.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/opcycle_misc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/opcycle_read.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/op_pc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/op_read.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/op_rmw.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/smp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/algorithms.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/smp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/cpu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/cpu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/dma.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/timing/irq.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/timing/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/timing/joypad.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/timing/timing.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/mmio/mmio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/mmio/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/dma/dma.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/dma/dma.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/dsp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/counter.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/echo.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/gaussian.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/moduloarray.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/envelope.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/dsp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/misc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/voice.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/brr.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/video.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/audio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/input.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/audio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/input.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/video.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/slot/sufamiturbo/sufamiturbo.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/slot/sufamiturbo/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/slot/sufamiturbo/sufamiturbo.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/slot/satellaview/satellaview.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/slot/satellaview/satellaview.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/slot/slot.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/cartridge.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/cartridge.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cheat/cheat.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/cheat/cheat.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/smp/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/smp/smp.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/smp/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/smp/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/smp/smp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/base/satellaview/satellaview.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/base/satellaview/satellaview.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/base/base.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/profile-accuracy.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/profile-performance.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/sfc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/sfc/profile-balanced.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/console.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/list-view.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/check-button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/radio-button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/layout.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/horizontal-slider.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/line-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/radio-label.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/combo-button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/check-label.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/horizontal-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/frame.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/vertical-slider.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/widget.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/text-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/vertical-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/list-view.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/hex-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/progress-bar.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/line-edit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/horizontal-scroller.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/label.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/tab-frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/canvas.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/viewport.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/widget.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/sizable.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/text-edit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/vertical-scroller.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/console.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/hex-edit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/progress-bar.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/check-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/radio-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/horizontal-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/radio-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/combo-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/check-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/tab-frame.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/canvas.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/vertical-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/viewport.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/keyboard.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/check-item.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/radio-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/separator.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/action.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/menu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/radio-item.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/separator.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/action.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/menu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/check-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/action/item.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/application.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/header.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/mouse.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/platform.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/monitor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/timer.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/message-window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/utility.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/browser-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/font.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/platform.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/monitor.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/desktop.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/object.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/keyboard.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/browser-window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/font.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/application.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/mouse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/timer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/desktop.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/object.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/message-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/hex-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/canvas.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/progress-bar.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/check-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/vertical-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/vertical-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/list-view.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/line-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/console.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/radio-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/radio-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/combo-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/check-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/text-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/horizontal-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/viewport.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/widget.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/tab-frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/horizontal-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/timer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/browser-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/keyboard.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/platform.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/action/radio-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/action/action.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/action/menu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/action/separator.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/action/item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/action/check-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/monitor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/utility.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/font.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/settings.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/desktop.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/platform.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/header.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/mouse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/message-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/application.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/action/menu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/action/action.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/action/check-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/action/radio-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/action/separator.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/action/item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/vertical-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/radio-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/horizontal-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/console.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/list-view.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/line-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/canvas.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/text-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/vertical-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/progress-bar.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/check-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/viewport.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/combo-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/hex-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/widget.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/tab-frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/check-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/radio-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/horizontal-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/keyboard.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/desktop.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/font.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/platform.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/object.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/application.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/header.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/message-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/browser-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/mouse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/settings.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/timer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/monitor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/utility.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/platform.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/combo-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/radio-label.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/tab-frame.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/check-label.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/canvas.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/frame.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/viewport.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/hex-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/horizontal-scroller.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/list-view.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/vertical-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/horizontal-slider.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/progress-bar.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/line-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/check-button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/radio-button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/combo-button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/vertical-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/viewport.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/label.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/widget.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/text-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/hex-edit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/list-view.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/vertical-slider.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/sizable.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/console.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/layout.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/line-edit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/radio-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/tab-frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/check-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/canvas.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/vertical-scroller.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/widget.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/text-edit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/horizontal-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/button.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/horizontal-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/console.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/progress-bar.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/check-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/widget/radio-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/application.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/monitor.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/action.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/radio-item.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/menu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/separator.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/item.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/check-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/menu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/separator.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/check-item.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/action.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/action/radio-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/message-window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/browser-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/platform.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/font.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/mouse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/object.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/keyboard.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/desktop.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/browser-window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/timer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/font.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/application.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/mouse.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/monitor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/object.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/keyboard.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/message-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/desktop.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/timer.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/header.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/platform.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/console.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/vertical-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/tab-frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/vertical-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/canvas.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/hex-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/list-view.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/progress-bar.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/frame.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/line-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/viewport.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/horizontal-slider.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/text-edit.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/widget.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/check-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/horizontal-scroller.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/radio-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/combo-button.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/radio-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/check-label.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/platform.moc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/header.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/keyboard.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/action/action.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/action/check-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/action/radio-item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/action/item.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/action/menu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/action/separator.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/utility.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/font.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/message-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/mouse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/browser-window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/timer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/desktop.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/settings.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/application.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/monitor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/platform.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/layout/vertical-layout.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/layout/horizontal-layout.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/layout/vertical-layout.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/layout/fixed-layout.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/layout/fixed-layout.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/layout/horizontal-layout.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/state.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/core.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/keyboard.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/core/core.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/phoenix.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/phoenix/phoenix.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/famicom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/database/sufami-turbo.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/database/super-famicom.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/database/bsx-satellaview.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/super-famicom.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/famicom.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/game-boy.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/satellaview.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/game-boy-advance.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/sufami-turbo.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/resource/resource.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/resource/resource.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/patch.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/configuration.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/archive.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/sufami-turbo.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy-advance.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/file-dialog.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ananke/bsx-satellaview.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/huc1/huc1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/huc1/huc1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc0/mbc0.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc0/mbc0.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc1/mbc1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc1/mbc1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/huc3/huc3.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/huc3/huc3.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mmm01/mmm01.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mmm01/mmm01.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc2/mbc2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc2/mbc2.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc3/mbc3.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc3/mbc3.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc5/mbc5.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/mbc5/mbc5.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/system/system.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/system/system.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/system/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/wave/wave.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/wave/wave.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/master/master.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/master/master.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/apu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/square2/square2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/square2/square2.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/square1/square1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/square1/square1.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/noise/noise.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/noise/noise.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/apu/apu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/scheduler/scheduler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/scheduler/scheduler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cpu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cpu/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cpu/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cpu/cpu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cpu/cpu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cpu/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cheat/cheat.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/cheat/cheat.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/ppu/ppu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/ppu/cgb.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/ppu/dmg.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/ppu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/ppu/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/ppu/ppu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/video/video.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/video/video.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gb/gb.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/shared/rawinput.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/mouse/xlib.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/mouse/rawinput.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/keyboard/rawinput.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/keyboard/xlib.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/joypad/xinput.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/joypad/directinput.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/joypad/sdl.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/joypad/udev.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/carbon.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/xlib.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/windows.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/udev.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/input/sdl.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/pulseaudio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/pulseaudiosimple.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/xaudio2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/directsound.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/openal.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/ao.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/alsa.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/xaudio2.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio/oss.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/ruby.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/xshm.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/utility.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/main.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/bind.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/surface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/shaders.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/program.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/texture.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/opengl.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/xv.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/sdl.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/gdi.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/wgl.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/directdraw.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/cgl.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/direct3d.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video/glx.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/video.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/implementation.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/ruby.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/ruby/audio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/group.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/xorg/xorg.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/xorg/guard.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/varint.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/odbc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/parser.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/context.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/bitstream.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/endian.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/trim.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/strpos.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/utility.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/utf8.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/convert.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/base.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/strm.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char/match.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/vector.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/copy-on-write.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/variadic.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/eval/parser.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/eval/evaluator.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/eval/node.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/eval/literal.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/markup/xml.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/markup/node.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/markup/document.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/markup/bml.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/base.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/filename.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/split.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/char.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/core.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/format.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/file.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/ref.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/list.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/datetime.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/replace.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string/wrapper.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/invoke.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/crc32.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/lib/sinc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/nearest.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/sinc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/linear.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cubic.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/hermite.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cosine.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/average.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/settings.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp/buffer.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/delta.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/linear.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/windows/registry.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/windows/launcher.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/windows/detour.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/windows/utf8.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/windows/guid.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/serial.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/vector.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/gzip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/http.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/zip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/auto.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/vector.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/core.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/utility.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/load.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/static.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/blend.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/fill.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/interpolation.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image/base.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/public-cast.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stdint.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/map.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/serializer.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/smtp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/mosaic.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/image.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/bmp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/random.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/sort.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/inflate.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/any.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/priority-queue.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/set.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/zip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/string.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dsp.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/crc16.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/ips.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/thread.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/config.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/hashset.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/property.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/directory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/matrix.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/bit.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/sha256.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/interpolation.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/algorithm.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/hid.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/intrinsics.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/base64.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/atoi.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/traits.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/gzip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/stream.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/function.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/ups.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/utility.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/nall/nall.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/system/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/system/bios.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/system/system.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/system/system.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/ppu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/screen.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/background.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/state.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/registers.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/mosaic.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/object.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/ppu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/ppu/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/apu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/fifo.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/wave.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/apu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/noise.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/square1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/square.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/square2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/apu/sequencer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/memory/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/video/video.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/video/video.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/gba.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/player/player.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/player/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/player/player.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/dma.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/cpu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/registers.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/mmio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/state.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/cpu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cpu/timer.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/flashrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/eeprom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/scheduler/scheduler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/gba/scheduler/scheduler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/r65816.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/opcode_pc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/table.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/r65816.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/opcode_write.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/opcode_misc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/algorithms.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/opcode_rmw.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r65816/opcode_read.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/r6502.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/instructions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/r6502.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/r6502/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/instructions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/spc700.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/spc700.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/spc700/algorithms.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/processor.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/registers.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-arm.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/arm.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-thumb.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/algorithms.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-thumb.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-arm.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/arm/arm.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/lr35902.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/instructions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/lr35902.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/hg51b/hg51b.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/hg51b/registers.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/hg51b/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/hg51b/instructions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/hg51b/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/hg51b/hg51b.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/gsu/gsu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/gsu/instructions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/gsu/table.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/gsu/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/gsu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/gsu/gsu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/instructions.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/upd96050.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/disassembler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/registers.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/processor/upd96050/upd96050.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/interface/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/interface/interface.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/input/hotkeys.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/input/input.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/input/input.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/advanced.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/hotkey.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/timing.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/audio.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/input.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/server.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/hotkey.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/audio.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/settings.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/video.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/input.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/advanced.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/server.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/settings.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/settings/video.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-editor.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-database.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/tools.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-editor.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/tools.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-database.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/window/window.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/window/window.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/configuration/configuration.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/configuration/configuration.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/library.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/dip-switches.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/general.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/general.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/library.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/dip-switches.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/resource/resource.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/resource/resource.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/bootstrap.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.h
Examining data/libretro-bsnes-mercury-094+git20160126/fc/ppu/ppu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/ppu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/ppu/ppu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/chip.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc4.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc7.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc3.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc3.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/chip.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc6.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc6.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-hkrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc7.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/board.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc2.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-uxrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/bandai-fcg.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-gxrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-fxrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-cnrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-pxrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc3.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-exrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-bnrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-txrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc6.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-nrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-axrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-sxrom.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc1.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/sunsoft-5b.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/board.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc4.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/cartridge.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/cartridge.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/video/video.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/video/video.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cpu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cpu/timing.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/scheduler/scheduler.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/scheduler/scheduler.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/input/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/input/input.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/input/input.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/noise.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/envelope.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/sweep.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/triangle.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/apu.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/dmc.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/pulse.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/sweep.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/triangle.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/apu.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/dmc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/pulse.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/noise.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/envelope.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/apu/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/system/serialization.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/system/system.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/system/system.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/fc.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/memory/memory.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/memory/memory.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cheat/cheat.cpp
Examining data/libretro-bsnes-mercury-094+git20160126/fc/cheat/cheat.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/emulator/interface.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/emulator/emulator.hpp
Examining data/libretro-bsnes-mercury-094+git20160126/libco/ppc.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/x86.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/fiber.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/amd64.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/armeabi.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/sjlj.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/libco.h
Examining data/libretro-bsnes-mercury-094+git20160126/libco/libco.c
Examining data/libretro-bsnes-mercury-094+git20160126/libco/ucontext.c

FINAL RESULTS:

data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/cartridge.cpp:38:3:  [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.load();
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:86:3:  [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.power();
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:90:3:  [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.reset();
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:94:3:  [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.run();
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:98:3:  [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.runtosave();
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:99: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.
  return system.serialize();
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:103: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.
  return system.unserialize(s);
data/libretro-bsnes-mercury-094+git20160126/fc/system/serialization.cpp:39:3:  [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.serialize(s);
data/libretro-bsnes-mercury-094+git20160126/fc/system/system.cpp:6:8:  [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/libretro-bsnes-mercury-094+git20160126/fc/system/system.hpp:22: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.
extern System system;
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:30:3:  [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.load(revision);
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:36:3:  [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.revision = revision;  //needed for ID::Manifest to return correct group ID
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:99:3:  [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.load(revision);
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:135: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.
    switch(system.revision) { default:
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:136:44:  [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.
    case System::Revision::GameBoy: data = system.bootROM.dmg; break;
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:137:49:  [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.
    case System::Revision::SuperGameBoy: data = system.bootROM.sgb; break;
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:138:49:  [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.
    case System::Revision::GameBoyColor: data = system.bootROM.cgb; break;
data/libretro-bsnes-mercury-094+git20160126/gb/cartridge/cartridge.cpp:141:44:  [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(addr >= 0x0200 && addr <= 0x08ff && system.cgb()) return data[addr - 256];
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/cpu.cpp:124:6:  [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(system.cgb()) {
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/timing.cpp:18:3:  [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.clocks_executed += clocks;
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/timing.cpp:19:6:  [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(system.sgb()) scheduler.exit(Scheduler::ExitReason::StepEvent);
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:44: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.
    switch(system.revision) {
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:68: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.
    stream.read(system.bootROM.dmg, min( 256u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:72: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.
    stream.read(system.bootROM.sgb, min( 256u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:76: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.
    stream.read(system.bootROM.cgb, min(2048u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:102:3:  [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.power();
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:106:3:  [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.power();
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:110:3:  [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.run();
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:114:3:  [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.runtosave();
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:115: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.
  return system.serialize();
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:119: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.
  return system.unserialize(s);
data/libretro-bsnes-mercury-094+git20160126/gb/ppu/ppu.cpp:32:9:  [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.cgb() ? cgb_run() : dmg_run();
data/libretro-bsnes-mercury-094+git20160126/gb/ppu/ppu.cpp:60: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.cgb() ? cgb_scanline() : dmg_scanline();
data/libretro-bsnes-mercury-094+git20160126/gb/ppu/ppu.cpp:103:6:  [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(system.cgb()) {
data/libretro-bsnes-mercury-094+git20160126/gb/system/serialization.cpp:43:3:  [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.serialize(s);
data/libretro-bsnes-mercury-094+git20160126/gb/system/system.cpp:7:8:  [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/libretro-bsnes-mercury-094+git20160126/gb/system/system.hpp:49: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.
extern System system;
data/libretro-bsnes-mercury-094+git20160126/gb/video/video.cpp:10:6:  [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(system.dmg()) for(unsigned n = 0; n < 4; n++) palette[n] = palette_dmg(n);
data/libretro-bsnes-mercury-094+git20160126/gb/video/video.cpp:11:6:  [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(system.sgb()) for(unsigned n = 0; n < 4; n++) palette[n] = palette_sgb(n);
data/libretro-bsnes-mercury-094+git20160126/gb/video/video.cpp:12:6:  [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(system.cgb()) for(unsigned n = 0; n < (1 << 15); n++) palette[n] = palette_cgb(n);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:73:3:  [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.load();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:92:3:  [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.power();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:96:3:  [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.power();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:100:3:  [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.run();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:104:3:  [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.runtosave();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:105: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.
  return system.serialize();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:109: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.
  return system.unserialize(s);
data/libretro-bsnes-mercury-094+git20160126/gba/system/serialization.cpp:42:3:  [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.serialize(s);
data/libretro-bsnes-mercury-094+git20160126/gba/system/system.cpp:8:8:  [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/libretro-bsnes-mercury-094+git20160126/gba/system/system.hpp:37: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.
extern System system;
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:29:14:  [4] (shell) popen:
  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.
  FILE* fp = popen("gconftool-2 --get /apps/metacity/general/compositing_manager", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:42:10:  [4] (shell) popen:
  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.
    fp = popen("gconftool-2 --set --type bool /apps/metacity/general/compositing_manager true", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:44:10:  [4] (shell) popen:
  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.
    fp = popen("gconftool-2 --set --type bool /apps/metacity/general/compositing_manager false", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:54:14:  [4] (shell) popen:
  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.
  FILE* fp = popen("xfconf-query -c xfwm4 -p '/general/use_compositing'", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:67:10:  [4] (shell) popen:
  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.
    fp = popen("xfconf-query -c xfwm4 -p '/general/use_compositing' -t 'bool' -s 'true'", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:69:10:  [4] (shell) popen:
  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.
    fp = popen("xfconf-query -c xfwm4 -p '/general/use_compositing' -t 'bool' -s 'false'", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:84:8:  [4] (shell) popen:
  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.
  fp = popen("pidof metacity", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:88:8:  [4] (shell) popen:
  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.
  fp = popen("pidof xfwm4", "r");
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:29:48:  [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.
  enum class time : unsigned { create, modify, access };
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:285:22:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    case file::time::access: return data.st_atime;
data/libretro-bsnes-mercury-094+git20160126/nall/invoke.hpp:42:8:  [4] (shell) execvp:
  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(execvp(name, (char* const*)argv) < 0) {
data/libretro-bsnes-mercury-094+git20160126/nall/invoke.hpp:43:7:  [4] (shell) execlp:
  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.
      execlp("xdg-open", "xdg-open", (const char*)name, nullptr);
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:66:14:  [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.
  inline int access(const char* path, int amode) { return _waccess(nall::utf16_t(path), amode); }
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:68:123:  [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).
  inline char* getcwd(char* buf, size_t size) { wchar_t wpath[PATH_MAX] = L""; if(!_wgetcwd(wpath, size)) return nullptr; strcpy(buf, nall::utf8_t(wpath)); return buf; }
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:70:187:  [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).
  inline char* realpath(const char* file_name, char* resolved_name) { wchar_t wfile_name[PATH_MAX] = L""; if(!_wfullpath(wfile_name, nall::utf16_t(file_name), PATH_MAX)) return nullptr; strcpy(resolved_name, nall::utf8_t(wfile_name)); return resolved_name; }
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/utility.hpp:44:3:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
  strcpy(result, s);
data/libretro-bsnes-mercury-094+git20160126/nall/string/filename.hpp:78:8:  [4] (race) access:
  This usually indicates a security flaw. If an attacker can change anything
  along the path between the call to access() and the file's actual use
  (e.g., by moving files), the attacker can exploit the race condition
  (CWE-362/CWE-367!). Set up the correct permissions (e.g., using setuid())
  and try to open the file directly.
    if(access(filename, F_OK) != 0) return filename;
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:104:11:  [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).
  if(str) strcpy(str, buffer);
data/libretro-bsnes-mercury-094+git20160126/nall/windows/utf8.hpp:82:7:  [4] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused).
      strcpy(argv[i], nall::utf8_t(wargv[i]));
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/application.cpp:170:17:  [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.
                wcscpy(write, output);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:406:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s, t);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:411:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s, t);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:427:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/cpu.cpp:117: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.
  create(Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/timing.cpp:34:30:  [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.
      unsigned framelines = (system.region() == System::Region::NTSC ? 262 : 312) + field();
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/timing.cpp:65:3:  [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.scanline();
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/memory/memory.cpp:33: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.
    uint16 ls = ((system.region() == System::Region::NTSC ? 525 : 625) >> 1) - 1;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/ppu.cpp:110:3:  [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.frame();
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/ppu.cpp:134: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.
  region = (system.region() == System::Region::NTSC ? 0 : 1);  //0 = NTSC, 1 = PAL
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-balanced/ppu.cpp:344: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.
  create(Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/mmio/mmio.cpp:272: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.
    regs.ppu2_mdr |= (system.region() == System::Region::NTSC ? 0 : 1) << 4;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/ppu.cpp:78:3:  [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.frame();
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/ppu-performance/ppu.cpp:100: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.
  create(Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:289:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:293:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:304:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(s, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/smp.cpp:36: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.
  Thread::frequency = system.apu_frequency();
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/cartridge.cpp:132:3:  [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.load();
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/cartridge.cpp:219:3:  [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.unload();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp:16: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.
      GameBoy::system.runtosave();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp:21: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.
      GameBoy::system.run();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp:22: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.
      step(GameBoy::system.clocks_executed);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp:23: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.
      GameBoy::system.clocks_executed = 0;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp:77: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.
  GameBoy::system.init();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.cpp:78: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.
  GameBoy::system.power();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/serialization.cpp:5: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.
  GameBoy::system.serialize_all(s);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/sa1.cpp:137: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.
  create(SA1::Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/sa1.cpp:161: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.
  status.scanlines = (system.region() == System::Region::NTSC ? 262 : 312);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sgb-external/sgb-external.cpp:66:41:  [4] (shell) system:
  This causes a new program to execute and is difficult to use safely
  (CWE-78). try using a library call that implements the same functionality
  if available.
  unsigned frequency = (revision == 1 ? system.cpu_frequency() / 10 : 2097152);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/opcodes.cpp:196: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.
  if((system && (dy <= 6 && dy >= -8) && (dx <= 126 && dx >= -128)) || (!system && (dx <= 6 && dx >= -8) && (dy <= 126 && dy >= -128))) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/opcodes.cpp:196: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.
  if((system && (dy <= 6 && dy >= -8) && (dx <= 126 && dx >= -128)) || (!system && (dx <= 6 && dx >= -8) && (dy <= 126 && dy >= -128))) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:98:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(output, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:155:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(output, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:212:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(output, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:269:3:  [4] (buffer) strcat:
  Does not check for buffer overflows when concatenating to destination
  [MS-banned] (CWE-120). Consider using strcat_s, strncat, strlcat, or
  snprintf (warning: strncat is easily misused).
  strcat(output, t);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/superfx.cpp:60:26:  [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.
  create(SuperFX::Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp:136: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.
  create(Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/timing/timing.cpp:49:3:  [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.scanline();
data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/dsp.cpp:278: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.
  create(Enter, system.apu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:12: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.
  switch(system.region()) { default:
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:13: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.
  case System::Region::NTSC: return system.cpu_frequency() / (262.0 * 1364.0 - 4.0);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:14: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.
  case System::Region::PAL:  return system.cpu_frequency() / (312.0 * 1364.0);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:19: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.
  return system.apu_frequency() / 768.0;
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:193:26:  [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.
    stream.read(GameBoy::system.bootROM.sgb, min(stream.size(), 256u));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:281:3:  [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.power();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:285:3:  [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.reset();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:289:3:  [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.run();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:304:3:  [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.runtosave();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:305: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.
  return system.serialize();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:309: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.
  return system.unserialize(s);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:378:3:  [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.init();
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:30: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.
  if((system.region() == System::Region::NTSC && status.interlace == false && status.vcounter == 262)
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:31: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.region() == System::Region::NTSC && status.interlace == true  && status.vcounter == 263)
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:32: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.region() == System::Region::NTSC && status.interlace == true  && status.vcounter == 262 && status.field == 1)
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:33: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.region() == System::Region::PAL  && status.interlace == false && status.vcounter == 312)
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:34: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.region() == System::Region::PAL  && status.interlace == true  && status.vcounter == 313)
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:35: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.region() == System::Region::PAL  && status.interlace == true  && status.vcounter == 312 && status.field == 1)
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:61:6:  [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(system.region() == System::Region::NTSC && status.interlace == false && vcounter() == 240 && field() == 1) {
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/counter/counter-inline.hpp:69:6:  [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(system.region() == System::Region::NTSC && status.interlace == false &&  vcounter() == 240 &&  field() == 1) return 1360;
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:707: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.
  regs.ppu2_mdr |= (system.region() == System::Region::NTSC ? 0 : 1) << 4;
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.cpp:96: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.
  create(Enter, system.cpu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.cpp:131:3:  [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.frame();
data/libretro-bsnes-mercury-094+git20160126/sfc/smp/smp.cpp:54: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.
  create(Enter, system.apu_frequency());
data/libretro-bsnes-mercury-094+git20160126/sfc/system/audio.cpp:17:34:  [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.
  dspaudio.setResamplerFrequency(system.apu_frequency() / 768.0);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp:53:3:  [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.serialize(s);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.cpp:6:8:  [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/libretro-bsnes-mercury-094+git20160126/sfc/system/system.hpp:45: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.
extern System system;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/bootstrap.cpp:14: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.
  for(auto& system : emulator) system->bind = interface;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp:8: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.
Emulator::Interface& system() {
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp:32:27:  [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(active == nullptr || system().loaded() == false || pause || autopause) {
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp:38:3:  [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().run();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.hpp:31: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.
Emulator::Interface& system();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:36:30:  [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.
    saveStateMenu.setVisible(system().information.capability.states);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:37:30:  [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.
    loadStateMenu.setVisible(system().information.capability.states);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:38:35:  [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.
    stateMenuSeparator.setVisible(system().information.capability.states);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:40:29:  [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.
    stateManager.setVisible(system().information.capability.states);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:41:28:  [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.
    cheatEditor.setVisible(system().information.capability.cheats);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:42:32:  [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.
    synchronizeTime.setVisible(system().rtc());
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/presentation.cpp:169:38:  [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.
  synchronizeTime.onActivate = [&] { system().rtcsync(); };
data/libretro-bsnes-mercury-094+git20160126/target-ethos/input/hotkeys.cpp:149: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().exportMemory();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/interface/interface.cpp:71:8:  [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(system().information.overscan && config->video.maskOverscan.enable) {
data/libretro-bsnes-mercury-094+git20160126/target-ethos/interface/interface.cpp:112: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.
  unsigned guid = system().port[port].device[device].input[input].guid;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/interface/interface.cpp:117: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.
  unsigned guid = system().port[port].device[device].input[input].guid;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-database.cpp:33: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.
  const string sha256 = system().sha256();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-editor.cpp:82:3:  [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().cheatSet(codes);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-editor.cpp:157:33:  [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.
  fp.print("cartridge sha256:", system().sha256(), "\n");
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:117:3:  [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().unserialize(s);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:122:35:  [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.
    slot[stateList.selection()] = system().serialize();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:40:3:  [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().load(media.id);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:41:3:  [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().power();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:55:3:  [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().load(id);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:60:33:  [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.
  string pathname = {this->path(system().group(id)), path};
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:63: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.
  return system().load(id, stream);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:68:33:  [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.
  string pathname = {this->path(system().group(id)), path};
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:70: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.
  return system().save(id, stream);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:75:3:  [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().connect(port, device);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:80:3:  [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().power();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:85:3:  [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().reset();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:89:26:  [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.
  presentation->setTitle(system().title());
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:109:3:  [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().unload();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:126: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.
  serializer s = system().serialize();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:138:6:  [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(system().unserialize(s) == false) return showMessage({"Slot ", slot, " state incompatible"});
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:145: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.
  bool result = system().tracerEnable(tracerEnable);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:156:34:  [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 dspaudio.setFrequency(system().audioFrequency());
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:159: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.
  double inputRatio = system().audioFrequency() / system().videoFrequency();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:159: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.
  double inputRatio = system().audioFrequency() / system().videoFrequency();
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:186: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().paletteUpdate(Emulator::Interface::PaletteMode::Channel);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:188: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().paletteUpdate(Emulator::Interface::PaletteMode::Emulation);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:190: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().paletteUpdate(Emulator::Interface::PaletteMode::Standard);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:233: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.
  unsigned width  = system().information.width;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:234: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.
  unsigned height = system().information.height;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:241: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.
    width *= system().information.aspectRatio;
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:72:3:  [4] (format) vfprintf:
  If format strings can be influenced by an attacker, they can be exploited
  (CWE-134). Use a constant for the format specification.
  vfprintf(stderr, fmt, args);
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:603: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.
  SuperFamicom::system.init();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:609: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.
  SuperFamicom::system.term();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:613: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.
  SuperFamicom::system.reset();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:621: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.
  SuperFamicom::system.run();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:629:24:  [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 SuperFamicom::system.serialize_size();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:633: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.
  SuperFamicom::system.runtosave();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:634:32:  [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.
  serializer s = SuperFamicom::system.serialize();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:642:24:  [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 SuperFamicom::system.unserialize(s);
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:741: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.
  SuperFamicom::system.power();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:756: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.
  SuperFamicom::system.power();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:773: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.
  SuperFamicom::system.power();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:793: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.
  SuperFamicom::system.power();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:819: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.
  SuperFamicom::system.power();
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:1028:24:  [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 SuperFamicom::system.region() == SuperFamicom::System::Region::NTSC ? RETRO_REGION_NTSC : RETRO_REGION_PAL;
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:70:16:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  inline char* realpath(const char* file_name, char* resolved_name) { wchar_t wfile_name[PATH_MAX] = L""; if(!_wfullpath(wfile_name, nall::utf16_t(file_name), PATH_MAX)) return nullptr; strcpy(resolved_name, nall::utf8_t(wfile_name)); return resolved_name; }
data/libretro-bsnes-mercury-094+git20160126/nall/random.hpp:36:17:  [3] (random) random:
  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.
inline uint64_t random() {
data/libretro-bsnes-mercury-094+git20160126/nall/smtp.hpp:250:15:  [3] (random) random:
  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.
  random_lfsr random;
data/libretro-bsnes-mercury-094+git20160126/nall/smtp.hpp:251:3:  [3] (random) random:
  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.
  random.seed(time(0));
data/libretro-bsnes-mercury-094+git20160126/nall/smtp.hpp:253:59:  [3] (random) random:
  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.
  for(unsigned n = 0; n < 16; n++) boundary.append(hex<2>(random()));
data/libretro-bsnes-mercury-094+git20160126/nall/string/base.hpp:203:15:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
inline string realpath(const string& name);
data/libretro-bsnes-mercury-094+git20160126/nall/string/filename.hpp:74:3:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
  srand(time(nullptr));
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:15:8:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
string realpath(const string& name) {
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:18:8:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  if(::realpath(name, path)) result = dir(path);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/armdsp/armdsp.cpp:102:59:  [3] (random) random:
  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.
  for(unsigned n = 0; n < 16 * 1024; n++) programRAM[n] = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp:125:33:  [3] (random) random:
  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.
  for(auto& byte : wram) byte = random(0x55);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:216:25:  [3] (random) random:
  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.
  regs.tiledata_addr = (random(0x0000) & 0x07) << 13;
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:217:23:  [3] (random) random:
  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.
  regs.screen_addr = (random(0x0000) & 0x7c) << 9;
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:218:22:  [3] (random) random:
  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.
  regs.screen_size = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:219:17:  [3] (random) random:
  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.
  regs.mosaic = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:220:20:  [3] (random) random:
  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.
  regs.tile_size = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:224:22:  [3] (random) random:
  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.
  regs.main_enable = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:225:21:  [3] (random) random:
  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.
  regs.sub_enable = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:226:18:  [3] (random) random:
  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.
  regs.hoffset = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/background/background.cpp:227:18:  [3] (random) random:
  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.
  regs.voffset = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:713:19:  [3] (random) random:
  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.
  regs.ppu1_mdr = random(0xff);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:714:19:  [3] (random) random:
  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.
  regs.ppu2_mdr = random(0xff);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:716:26:  [3] (random) random:
  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.
  regs.vram_readbuffer = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:717:24:  [3] (random) random:
  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.
  regs.oam_latchdata = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:718:26:  [3] (random) random:
  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.
  regs.cgram_latchdata = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:719:26:  [3] (random) random:
  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.
  regs.bgofs_latchdata = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:720:26:  [3] (random) random:
  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.
  regs.mode7_latchdata = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:734:23:  [3] (random) random:
  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.
  regs.oam_baseaddr = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:735:19:  [3] (random) random:
  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.
  regs.oam_addr = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:736:23:  [3] (random) random:
  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.
  regs.oam_priority = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:743:24:  [3] (random) random:
  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.
  regs.mode7_hoffset = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:746:24:  [3] (random) random:
  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.
  regs.mode7_voffset = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:749:23:  [3] (random) random:
  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.
  regs.vram_incmode = random(1);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:750:23:  [3] (random) random:
  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.
  regs.vram_mapping = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:755:20:  [3] (random) random:
  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.
  regs.vram_addr = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:758:23:  [3] (random) random:
  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.
  regs.mode7_repeat = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:759:22:  [3] (random) random:
  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.
  regs.mode7_vflip = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:760:22:  [3] (random) random:
  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.
  regs.mode7_hflip = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:763:14:  [3] (random) random:
  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.
  regs.m7a = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:766:14:  [3] (random) random:
  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.
  regs.m7b = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:769:14:  [3] (random) random:
  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.
  regs.m7c = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:772:14:  [3] (random) random:
  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.
  regs.m7d = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:775:14:  [3] (random) random:
  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.
  regs.m7x = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:778:14:  [3] (random) random:
  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.
  regs.m7y = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:781:21:  [3] (random) random:
  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.
  regs.cgram_addr = random(0x0000);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:784:22:  [3] (random) random:
  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.
  regs.mode7_extbg = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/mmio/mmio.cpp:785:23:  [3] (random) random:
  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.
  regs.pseudo_hires = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.cpp:90:27:  [3] (random) random:
  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.
  for(auto& n : vram) n = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.cpp:91:26:  [3] (random) random:
  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.
  for(auto& n : oam) n = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/ppu.cpp:92:28:  [3] (random) random:
  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.
  for(auto& n : cgram) n = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:167:22:  [3] (random) random:
  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.
  regs.addsub_mode = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:168:23:  [3] (random) random:
  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.
  regs.direct_color = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:169:21:  [3] (random) random:
  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.
  regs.color_mode = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:170:22:  [3] (random) random:
  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.
  regs.color_halve = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:171:27:  [3] (random) random:
  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.
  regs.bg1_color_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:172:27:  [3] (random) random:
  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.
  regs.bg2_color_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:173:27:  [3] (random) random:
  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.
  regs.bg3_color_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:174:27:  [3] (random) random:
  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.
  regs.bg4_color_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:175:27:  [3] (random) random:
  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.
  regs.oam_color_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:176:28:  [3] (random) random:
  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.
  regs.back_color_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:177:18:  [3] (random) random:
  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.
  regs.color_r = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:178:18:  [3] (random) random:
  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.
  regs.color_g = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/screen/screen.cpp:179:18:  [3] (random) random:
  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.
  regs.color_b = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp:197:22:  [3] (random) random:
  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.
  regs.main_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp:198:21:  [3] (random) random:
  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.
  regs.sub_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp:199:20:  [3] (random) random:
  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.
  regs.interlace = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp:201:20:  [3] (random) random:
  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.
  regs.base_size = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp:202:21:  [3] (random) random:
  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.
  regs.nameselect = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/sprite/sprite.cpp:203:25:  [3] (random) random:
  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.
  regs.tiledata_addr = (random(0x0000) & 3) << 14;
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:113:25:  [3] (random) random:
  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.
  regs.bg1_one_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:114:25:  [3] (random) random:
  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.
  regs.bg1_one_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:115:25:  [3] (random) random:
  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.
  regs.bg1_two_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:116:25:  [3] (random) random:
  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.
  regs.bg1_two_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:117:25:  [3] (random) random:
  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.
  regs.bg2_one_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:118:25:  [3] (random) random:
  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.
  regs.bg2_one_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:119:25:  [3] (random) random:
  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.
  regs.bg2_two_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:120:25:  [3] (random) random:
  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.
  regs.bg2_two_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:121:25:  [3] (random) random:
  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.
  regs.bg3_one_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:122:25:  [3] (random) random:
  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.
  regs.bg3_one_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:123:25:  [3] (random) random:
  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.
  regs.bg3_two_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:124:25:  [3] (random) random:
  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.
  regs.bg3_two_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:125:25:  [3] (random) random:
  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.
  regs.bg4_one_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:126:25:  [3] (random) random:
  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.
  regs.bg4_one_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:127:25:  [3] (random) random:
  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.
  regs.bg4_two_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:128:25:  [3] (random) random:
  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.
  regs.bg4_two_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:129:25:  [3] (random) random:
  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.
  regs.oam_one_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:130:25:  [3] (random) random:
  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.
  regs.oam_one_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:131:25:  [3] (random) random:
  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.
  regs.oam_two_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:132:25:  [3] (random) random:
  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.
  regs.oam_two_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:133:25:  [3] (random) random:
  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.
  regs.col_one_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:134:25:  [3] (random) random:
  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.
  regs.col_one_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:135:25:  [3] (random) random:
  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.
  regs.col_two_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:136:25:  [3] (random) random:
  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.
  regs.col_two_invert = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:137:19:  [3] (random) random:
  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.
  regs.one_left = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:138:20:  [3] (random) random:
  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.
  regs.one_right = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:139:19:  [3] (random) random:
  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.
  regs.two_left = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:140:20:  [3] (random) random:
  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.
  regs.two_right = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:141:19:  [3] (random) random:
  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.
  regs.bg1_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:142:19:  [3] (random) random:
  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.
  regs.bg2_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:143:19:  [3] (random) random:
  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.
  regs.bg3_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:144:19:  [3] (random) random:
  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.
  regs.bg4_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:145:19:  [3] (random) random:
  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.
  regs.oam_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:146:19:  [3] (random) random:
  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.
  regs.col_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:147:26:  [3] (random) random:
  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.
  regs.bg1_main_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:148:25:  [3] (random) random:
  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.
  regs.bg1_sub_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:149:26:  [3] (random) random:
  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.
  regs.bg2_main_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:150:25:  [3] (random) random:
  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.
  regs.bg2_sub_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:151:26:  [3] (random) random:
  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.
  regs.bg3_main_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:152:25:  [3] (random) random:
  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.
  regs.bg3_sub_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:153:26:  [3] (random) random:
  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.
  regs.bg4_main_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:154:25:  [3] (random) random:
  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.
  regs.bg4_sub_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:155:26:  [3] (random) random:
  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.
  regs.oam_main_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:156:25:  [3] (random) random:
  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.
  regs.oam_sub_enable = random(false);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:157:24:  [3] (random) random:
  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.
  regs.col_main_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/ppu/window/window.cpp:158:23:  [3] (random) random:
  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.
  regs.col_sub_mask = random(0);
data/libretro-bsnes-mercury-094+git20160126/sfc/smp/smp.cpp:63:29:  [3] (random) random:
  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.
  for(auto& n : apuram) n = random(0x00);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp:54:3:  [3] (random) random:
  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.
  random.serialize(s);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.cpp:8:8:  [3] (random) random:
  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.
Random random;
data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.cpp:195:3:  [3] (random) random:
  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.
  random.seed((unsigned)time(0));
data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.hpp:81:15:  [3] (random) random:
  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.
extern Random random;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp:48:18:  [3] (buffer) realpath:
  This function does not protect against buffer overflows, and some
  implementations can overflow internally (CWE-120/CWE-785!). Ensure that the
  destination buffer is at least of size MAXPATHLEN, andto protect against
  implementation problems, the input argument should also be checked to
  ensure it is no larger than MAXPATHLEN.
  basepath = dir(realpath(argv[0]));
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:78:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  string open(string filename = "");
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:118:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
string Ananke::open(string filename) {
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:125: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).
    filename = fileDialog->open();
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:168:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return ananke.open();
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:173:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return ananke.open(filename);
data/libretro-bsnes-mercury-094+git20160126/ananke/archive.cpp:3:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(archive.open(information.archive)) {
data/libretro-bsnes-mercury-094+git20160126/ananke/archive.cpp:21:14:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(archive.open(information.archive)) {
data/libretro-bsnes-mercury-094+git20160126/ananke/file-dialog.cpp:12:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  string open() {
data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/game-boy-advance.hpp:38:11:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
          char text[16];
data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/game-boy-advance.hpp:39: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.
          memcpy(text, data + n, id.size + 3);
data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/game-boy.hpp:51:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(header, romdata + base, 0x8000);
data/libretro-bsnes-mercury-094+git20160126/ananke/heuristics/game-boy.hpp:53:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(romdata, header, 0x8000);
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:154:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer.data() + position, data.data(), data.size());
data/libretro-bsnes-mercury-094+git20160126/fc/system/serialization.cpp:5: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/fc/system/serialization.cpp:6: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(&hash, (const char*)cartridge.sha256(), 64);
data/libretro-bsnes-mercury-094+git20160126/fc/system/serialization.cpp:20: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/fc/system/serialization.cpp:51: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/gb/memory/memory.cpp:23:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, data_, size);
data/libretro-bsnes-mercury-094+git20160126/gb/system/serialization.cpp:7: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/gb/system/serialization.cpp:8: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(&hash, (const char*)cartridge.sha256(), 64);
data/libretro-bsnes-mercury-094+git20160126/gb/system/serialization.cpp:22: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/gb/system/serialization.cpp:53: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/gba/system/serialization.cpp:5: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/gba/system/serialization.cpp:6: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(&hash, (const char*)cartridge.sha256(), 64);
data/libretro-bsnes-mercury-094+git20160126/gba/system/serialization.cpp:20: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/gba/system/serialization.cpp:54: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 hash[64], description[512];
data/libretro-bsnes-mercury-094+git20160126/libco/ppc.c:295:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
			memcpy( t, (void*) entry, sizeof (void*) * 3 );
data/libretro-bsnes-mercury-094+git20160126/nall/base64.hpp:27: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 lookup[65];
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:10:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(beatname, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:27:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if(stream.open({pathname, name}, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:48:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(beatname, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:66:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        if(stream.open({pathname, name}, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/delta.hpp:51:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(sourceFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/delta.hpp:57:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(targetFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/delta.hpp:64:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(modifyFile.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/linear.hpp:44:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(sourceFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/linear.hpp:50:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(targetFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/linear.hpp:57:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(modifyFile.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:23:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(sourceFile.open(filename, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[metadataSize + 1];
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:58:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(targetFile.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:59:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(sourceFile.open() == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:24:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open()) fp.close();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:25:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp.open(patchName, file::mode::write);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:43:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        sp.open({sourcePath, targetName}, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:44:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        dp.open({targetPath, targetName}, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:101:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open()) fp.close();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:102:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp.open(patchName, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:119:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
        fp.open({targetPath, targetName}, file::mode::write);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:81:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[modifyMarkupSize + 1];
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:100:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(modifyFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:105:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(sourceFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:112:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(fp.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:116:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(targetFile.open(filename, filemap::mode::readwrite) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/bmp.hpp:18:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(fp.open(filename, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/bmp.hpp:60:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(fp.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:57:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/libretro-bsnes-mercury-094+git20160126/nall/compositor.hpp:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[512];
data/libretro-bsnes-mercury-094+git20160126/nall/config.hpp:94:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!fp.open()) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:21:43:  [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).
  explicit operator bool() const { return open(); }
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:22:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open() const { return handle; }
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:23:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open(const string&, const string& = "");
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:39:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
inline bool library::open(const string& name, const string& path) {
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:63:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
inline bool library::open(const string& name, const string& path) {
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:87:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
inline bool library::open(const string& name, const string& path) {
data/libretro-bsnes-mercury-094+git20160126/nall/dl.hpp:111:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
inline bool library::open(const string&, const string&) { return false; }
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:90:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(usart.open("/dev/ttyACM0", 57600, true) == false) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:20: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).
  return fopen(filename, mode);
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:33:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(rd.open(sourcename, mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:34:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(wr.open(targetname, mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:61:16:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    FILE* fp = fopen(filename, "rb+");
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:73:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, mode::read)) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:82:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:90:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:98:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:106:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:115:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:289:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open() const {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:294:12:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    return open();
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:297:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open(const string& filename, mode mode_) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:302:32:  [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).
    case mode::read:      fp = fopen(filename, "rb" ); break;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:303:32:  [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).
    case mode::write:     fp = fopen(filename, "wb+"); break;  //need read permission for buffering
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:304:32:  [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).
    case mode::readwrite: fp = fopen(filename, "rb+"); break;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:305:32:  [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).
    case mode::writeread: fp = fopen(filename, "wb+"); break;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:333:5:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    open(filename, mode_);
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:345:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[buffer_size] = {0};
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:25:43:  [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).
  explicit operator bool() const { return open(); }
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:26:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open() const { return p_open(); }
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:27:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open(const string& filename, mode mode_) { return p_open(filename, mode_); }
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:172: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).
    p_fd = ::open(filename, open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
data/libretro-bsnes-mercury-094+git20160126/nall/gzip.hpp:54: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[PATH_MAX];
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:79:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[2];
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:91:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char buffer[2];
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:110:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[length];
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:114: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.
          memcpy(data + size, buffer, packetlength);
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:122:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[256];
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:127:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(data + size, buffer, packetlength);
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:133:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char buffer[256];
data/libretro-bsnes-mercury-094+git20160126/nall/http.hpp:138:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(data + size, buffer, packetlength);
data/libretro-bsnes-mercury-094+git20160126/nall/image/core.hpp:43:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, source.data, source.size);
data/libretro-bsnes-mercury-094+git20160126/nall/ips.hpp:36:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, sourceData, sourceSize);
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/bitstream.hpp:26:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open(const string& filename) {
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/bitstream.hpp:28:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fp.open(filename, filemap::mode::readwrite) == false) {
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/bitstream.hpp:30:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(fp.open(filename, filemap::mode::read) == false) {
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:68:49:  [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.
  inline char* getcwd(char* buf, size_t size) { wchar_t wpath[PATH_MAX] = L""; if(!_wgetcwd(wpath, size)) return nullptr; strcpy(buf, nall::utf8_t(wpath)); return buf; }
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:70:71:  [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.
  inline char* realpath(const char* file_name, char* resolved_name) { wchar_t wfile_name[PATH_MAX] = L""; if(!_wfullpath(wfile_name, nall::utf16_t(file_name), PATH_MAX)) return nullptr; strcpy(resolved_name, nall::utf8_t(wfile_name)); return resolved_name; }
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:125:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(compressedData + compressedSize, sourceData + offset + 8, length);
data/libretro-bsnes-mercury-094+git20160126/nall/serial.hpp:58:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  bool open(const string& portname, unsigned rate, bool flowcontrol) {
data/libretro-bsnes-mercury-094+git20160126/nall/serial.hpp:61: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).
    port = ::open(portname, O_RDWR | O_NOCTTY | O_NDELAY | O_NONBLOCK);
data/libretro-bsnes-mercury-094+git20160126/nall/serializer.hpp:102:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(_data, s._data, s._capacity);
data/libretro-bsnes-mercury-094+git20160126/nall/serializer.hpp:134:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(_data, data, capacity);
data/libretro-bsnes-mercury-094+git20160126/nall/sha256.hpp:57:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(p->h, T_H, sizeof(T_H));
data/libretro-bsnes-mercury-094+git20160126/nall/sha256.hpp:104:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(p->in + p->inlen, s, l);
data/libretro-bsnes-mercury-094+git20160126/nall/smtp.hpp:101:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer.data(), data, size);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:25: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).
    pfile.open(filename, file::mode::readwrite);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:26:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    pwritable = pfile.open();
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:27:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!pwritable) pfile.open(filename, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:31: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).
    pfile.open(filename, mode);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/gzip.hpp:24:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(pdata, archive.data, psize);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:28: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).
    pmmap.open(filename, filemap::mode::readwrite);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:29:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    pwritable = pmmap.open();
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:30:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(!pwritable) pmmap.open(filename, filemap::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/zip.hpp:18:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(archive.open(data, size) == false) return;
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/copy-on-write.hpp:38:19:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  if(_data.get()) memcpy(copy, _data.get(), min(_capacity, _size));
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:39:9:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        char temp[SSO];
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:40:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(temp, _text, SSO);
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:42:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(_data, temp, SSO);
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:71:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(_data, source.data(), source.size() + 1);
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:73:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(_text, source._text, SSO);
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:83: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(this, &source, sizeof(string));
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/vector.hpp:57:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(_data, source.data(), source.size() + 1);
data/libretro-bsnes-mercury-094+git20160126/nall/string/base.hpp:25: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[SSO];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:18:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[2];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:26:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:32:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:38:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:44:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:50:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:56:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:64:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:70:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:76:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:82:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:88:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:94:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:102:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:108:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:114:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char data[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:126:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(text, value.data(), value.size());
data/libretro-bsnes-mercury-094+git20160126/nall/string/cast.hpp:138:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(text, value.data(), value.size());
data/libretro-bsnes-mercury-094+git20160126/nall/string/core.hpp:47:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data() + basesize, s, length);
data/libretro-bsnes-mercury-094+git20160126/nall/string/file.hpp:9:14:  [2] (misc) fopen:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  FILE* fp = fopen(filename, "rb");
data/libretro-bsnes-mercury-094+git20160126/nall/string/file.hpp:23:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(result.data(), fdata, fsize);
data/libretro-bsnes-mercury-094+git20160126/nall/string/format.hpp:20:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(buffer.data() + (padright ? padding - value.size() : 0), value, value.size());
data/libretro-bsnes-mercury-094+git20160126/nall/string/markup/xml.hpp:42:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(target(), source, length);
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:6: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 path[PATH_MAX] = "";
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:17: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 path[PATH_MAX] = "";
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:29: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 path[PATH_MAX] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:46: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 path[PATH_MAX] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:65: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 path[PATH_MAX] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/string/platform.hpp:83: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 path[PATH_MAX] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/string/replace.hpp:37:36:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      if(key[n] == 0) { counter--; memcpy(o, token, token.size()); t += key.size(); o += token.size(); break; }
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:9:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(result.data(), source.data() + offset, length);
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:48:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[64];
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:65:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[64];
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:83:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char buffer[256];
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:86:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%f", (double)value);
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:88:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(buffer, "%Lf", value);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:21:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  inline bool open(const string& filename) {
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:23:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fm.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:24:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(open(fm.data(), fm.size()) == false) {
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:31:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  inline bool open(const uint8_t* data, unsigned size) {
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:65:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(filename, directory + 46, namelength);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:88:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buffer.data(), file.data, file.size);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:102:11:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(fm.open()) fm.close();
data/libretro-bsnes-mercury-094+git20160126/nall/ups.hpp:37:19:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(patch_file.open(patchfilename, file::mode::write) == false) return result::patch_unwritable;
data/libretro-bsnes-mercury-094+git20160126/nall/windows/launcher.hpp:44: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(entryHook + 14, buffer, 2 * wcslen(buffer) + 2);
data/libretro-bsnes-mercury-094+git20160126/nall/windows/registry.hpp:33:7:  [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 data[NWR_SIZE] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/windows/registry.hpp:48:7:  [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 data[NWR_SIZE] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/windows/registry.hpp:92:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t name[NWR_SIZE] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/windows/registry.hpp:98:9:  [2] (buffer) wchar_t:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
        wchar_t name[NWR_SIZE] = L"";
data/libretro-bsnes-mercury-094+git20160126/nall/windows/utf8.hpp:36:25:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      unsigned length = MultiByteToWideChar(CP_UTF8, 0, s, -1, nullptr, 0);
data/libretro-bsnes-mercury-094+git20160126/nall/windows/utf8.hpp:38:7:  [2] (buffer) MultiByteToWideChar:
  Requires maximum length in CHARACTERS, not bytes (CWE-120).
      MultiByteToWideChar(CP_UTF8, 0, s, -1, buffer, length);
data/libretro-bsnes-mercury-094+git20160126/nall/zip.hpp:13:8:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    fp.open(filename, file::mode::write);
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/browser-window.cpp:21:24:  [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).
string pBrowserWindow::open(BrowserWindow::State& state) {
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/browser-window.hpp:5:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  static string open(BrowserWindow::State& state);
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/utility.cpp:14: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([bitmap bitmapData], image.data, image.height * image.pitch);
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/canvas.cpp:171:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(target, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/canvas.cpp:180:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(target, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/canvas.cpp:187:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(target, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/cocoa/widget/canvas.cpp:192: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.
          memcpy(target, canvas.state.data, width * height * sizeof(uint32_t));
data/libretro-bsnes-mercury-094+git20160126/phoenix/core/core.cpp:195:23:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
string BrowserWindow::open() {
data/libretro-bsnes-mercury-094+git20160126/phoenix/core/core.cpp:196:26:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  return pBrowserWindow::open(state);
data/libretro-bsnes-mercury-094+git20160126/phoenix/core/core.hpp:161:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  nall::string open();
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/application.cpp:37:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(argv[0], "phoenix");
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/browser-window.cpp:38:24:  [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).
string pBrowserWindow::open(BrowserWindow::State& state) {
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/keyboard.cpp:124: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 state[256];
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/keyboard.cpp:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char state[256];
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/platform.hpp:78:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  static string open(BrowserWindow::State& state);
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/utility.cpp:18: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(gdk_pixbuf_get_pixels(pixbuf), gdkImage.data, gdkImage.width * gdkImage.height * 4);
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/canvas.cpp:137:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/canvas.cpp:144:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(buffer, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/widget/canvas.cpp:149:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(buffer, canvas.state.data, width * height * sizeof(uint32_t));
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/application.cpp:46:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(argv[0], "phoenix");
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/browser-window.cpp:14:24:  [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).
string pBrowserWindow::open(BrowserWindow::State& state) {
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/keyboard.cpp:124: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 state[256];
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/keyboard.cpp:138:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char state[256];
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/platform.moc.hpp:74:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  static string open(BrowserWindow::State& state);
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/canvas.cpp:73:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(surface->bits(), image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/canvas.cpp:80:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(surface->bits(), image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/canvas.cpp:85:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(surface->bits(), canvas.state.data, width * height * sizeof(uint32_t));
data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/browser-window.cpp:7:24:  [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).
string pBrowserWindow::open(BrowserWindow::State& state) {
data/libretro-bsnes-mercury-094+git20160126/phoenix/reference/browser-window.hpp:5:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  static string open(BrowserWindow::State& state);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/browser-window.cpp:29: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 wname[PATH_MAX + 1] = L"";
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/browser-window.cpp:66: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 wname[PATH_MAX + 1] = L"";
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/browser-window.cpp:97:24:  [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).
string pBrowserWindow::open(BrowserWindow::State& state) {
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/platform.hpp:67:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  static string open(BrowserWindow::State& state);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/utility.cpp:28: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.
  if(bits) memcpy(bits, image.data, image.width * image.height * 4);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/canvas.cpp:132: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.
  if(bits) memcpy(bits, data, width * height * sizeof(uint32_t));
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/canvas.cpp:165:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(surface, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/canvas.cpp:174:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(surface, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/canvas.cpp:181:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(surface, image.data, image.size);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/canvas.cpp:186:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(surface, canvas.state.data, width * height * sizeof(uint32_t));
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/label.cpp:51:5:  [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 text[length + 1];
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/line-edit.cpp:20: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 text[length + 1];
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/widget/text-edit.cpp:30: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 buffer[length + 1];
data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/disassembler.cpp:2: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 output[80];
data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/disassembler.cpp:15: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(output +   0, hex<4>(pc), 4);
data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/disassembler.cpp:16: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(output +   6, opcode, opcode.length());
data/libretro-bsnes-mercury-094+git20160126/processor/lr35902/disassembler.cpp:17: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(output +  23, registers, registers.length());
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:107: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 t[256];
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:111:5:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
    strcpy(s, "?????? <CPU within opcode>");
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:116:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(s, "%.6x ", (uint32)pc.d);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:130:14:  [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.
  case 0x00: sprintf(t, "brk #$%.2x              ", op8); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:131:14:  [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.
  case 0x01: sprintf(t, "ora ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:132:14:  [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.
  case 0x02: sprintf(t, "cop #$%.2x              ", op8); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:133:14:  [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.
  case 0x03: sprintf(t, "ora $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:134:14:  [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.
  case 0x04: sprintf(t, "tsb $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:135:14:  [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.
  case 0x05: sprintf(t, "ora $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:136:14:  [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.
  case 0x06: sprintf(t, "asl $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:137:14:  [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.
  case 0x07: sprintf(t, "ora [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:138:14:  [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.
  case 0x08: sprintf(t, "php                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:139:20:  [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.
  case 0x09: if(a8)sprintf(t, "ora #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:140:20:  [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.
             else  sprintf(t, "ora #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:141:14:  [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.
  case 0x0a: sprintf(t, "asl a                 "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:142:14:  [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.
  case 0x0b: sprintf(t, "phd                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:143:14:  [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.
  case 0x0c: sprintf(t, "tsb $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:144:14:  [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.
  case 0x0d: sprintf(t, "ora $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:145:14:  [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.
  case 0x0e: sprintf(t, "asl $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:146:14:  [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.
  case 0x0f: sprintf(t, "ora $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:147:14:  [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.
  case 0x10: sprintf(t, "bpl $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:148:14:  [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.
  case 0x11: sprintf(t, "ora ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:149:14:  [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.
  case 0x12: sprintf(t, "ora ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:150:14:  [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.
  case 0x13: sprintf(t, "ora ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:151:14:  [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.
  case 0x14: sprintf(t, "trb $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:152:14:  [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.
  case 0x15: sprintf(t, "ora $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:153:14:  [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.
  case 0x16: sprintf(t, "asl $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:154:14:  [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.
  case 0x17: sprintf(t, "ora [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:155:14:  [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.
  case 0x18: sprintf(t, "clc                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:156:14:  [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.
  case 0x19: sprintf(t, "ora $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:157:14:  [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.
  case 0x1a: sprintf(t, "inc                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:158:14:  [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.
  case 0x1b: sprintf(t, "tcs                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:159:14:  [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.
  case 0x1c: sprintf(t, "trb $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:160:14:  [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.
  case 0x1d: sprintf(t, "ora $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:161:14:  [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.
  case 0x1e: sprintf(t, "asl $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:162:14:  [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.
  case 0x1f: sprintf(t, "ora $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:163:14:  [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.
  case 0x20: sprintf(t, "jsr $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR_PC, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:164:14:  [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.
  case 0x21: sprintf(t, "and ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:165:14:  [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.
  case 0x22: sprintf(t, "jsl $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:166:14:  [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.
  case 0x23: sprintf(t, "and $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:167:14:  [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.
  case 0x24: sprintf(t, "bit $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:168:14:  [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.
  case 0x25: sprintf(t, "and $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:169:14:  [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.
  case 0x26: sprintf(t, "rol $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:170:14:  [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.
  case 0x27: sprintf(t, "and [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:171:14:  [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.
  case 0x28: sprintf(t, "plp                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:172:20:  [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.
  case 0x29: if(a8)sprintf(t, "and #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:173:20:  [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.
             else  sprintf(t, "and #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:174:14:  [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.
  case 0x2a: sprintf(t, "rol a                 "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:175:14:  [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.
  case 0x2b: sprintf(t, "pld                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:176:14:  [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.
  case 0x2c: sprintf(t, "bit $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:177:14:  [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.
  case 0x2d: sprintf(t, "and $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:178:14:  [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.
  case 0x2e: sprintf(t, "rol $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:179:14:  [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.
  case 0x2f: sprintf(t, "and $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:180:14:  [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.
  case 0x30: sprintf(t, "bmi $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:181:14:  [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.
  case 0x31: sprintf(t, "and ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:182:14:  [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.
  case 0x32: sprintf(t, "and ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:183:14:  [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.
  case 0x33: sprintf(t, "and ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:184:14:  [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.
  case 0x34: sprintf(t, "bit $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:185:14:  [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.
  case 0x35: sprintf(t, "and $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:186:14:  [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.
  case 0x36: sprintf(t, "rol $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:187:14:  [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.
  case 0x37: sprintf(t, "and [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:188:14:  [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.
  case 0x38: sprintf(t, "sec                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:189:14:  [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.
  case 0x39: sprintf(t, "and $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:190:14:  [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.
  case 0x3a: sprintf(t, "dec                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:191:14:  [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.
  case 0x3b: sprintf(t, "tsc                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:192:14:  [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.
  case 0x3c: sprintf(t, "bit $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:193:14:  [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.
  case 0x3d: sprintf(t, "and $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:194:14:  [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.
  case 0x3e: sprintf(t, "rol $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:195:14:  [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.
  case 0x3f: sprintf(t, "and $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:196:14:  [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.
  case 0x40: sprintf(t, "rti                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:197:14:  [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.
  case 0x41: sprintf(t, "eor ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:198:14:  [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.
  case 0x42: sprintf(t, "wdm                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:199:14:  [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.
  case 0x43: sprintf(t, "eor $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:200:14:  [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.
  case 0x44: sprintf(t, "mvp $%.2x,$%.2x           ", op1, op8); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:201:14:  [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.
  case 0x45: sprintf(t, "eor $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:202:14:  [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.
  case 0x46: sprintf(t, "lsr $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:203:14:  [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.
  case 0x47: sprintf(t, "eor [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:204:14:  [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.
  case 0x48: sprintf(t, "pha                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:205:20:  [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.
  case 0x49: if(a8)sprintf(t, "eor #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:206:20:  [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.
             else  sprintf(t, "eor #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:207:14:  [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.
  case 0x4a: sprintf(t, "lsr a                 "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:208:14:  [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.
  case 0x4b: sprintf(t, "phk                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:209:14:  [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.
  case 0x4c: sprintf(t, "jmp $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR_PC, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:210:14:  [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.
  case 0x4d: sprintf(t, "eor $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:211:14:  [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.
  case 0x4e: sprintf(t, "lsr $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:212:14:  [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.
  case 0x4f: sprintf(t, "eor $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:213:14:  [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.
  case 0x50: sprintf(t, "bvc $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:214:14:  [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.
  case 0x51: sprintf(t, "eor ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:215:14:  [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.
  case 0x52: sprintf(t, "eor ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:216:14:  [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.
  case 0x53: sprintf(t, "eor ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:217:14:  [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.
  case 0x54: sprintf(t, "mvn $%.2x,$%.2x           ", op1, op8); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:218:14:  [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.
  case 0x55: sprintf(t, "eor $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:219:14:  [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.
  case 0x56: sprintf(t, "lsr $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:220:14:  [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.
  case 0x57: sprintf(t, "eor [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:221:14:  [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.
  case 0x58: sprintf(t, "cli                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:222:14:  [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.
  case 0x59: sprintf(t, "eor $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:223:14:  [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.
  case 0x5a: sprintf(t, "phy                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:224:14:  [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.
  case 0x5b: sprintf(t, "tcd                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:225:14:  [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.
  case 0x5c: sprintf(t, "jml $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:226:14:  [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.
  case 0x5d: sprintf(t, "eor $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:227:14:  [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.
  case 0x5e: sprintf(t, "lsr $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:228:14:  [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.
  case 0x5f: sprintf(t, "eor $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:229:14:  [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.
  case 0x60: sprintf(t, "rts                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:230:14:  [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.
  case 0x61: sprintf(t, "adc ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:231:14:  [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.
  case 0x62: sprintf(t, "per $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:232:14:  [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.
  case 0x63: sprintf(t, "adc $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:233:14:  [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.
  case 0x64: sprintf(t, "stz $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:234:14:  [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.
  case 0x65: sprintf(t, "adc $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:235:14:  [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.
  case 0x66: sprintf(t, "ror $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:236:14:  [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.
  case 0x67: sprintf(t, "adc [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:237:14:  [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.
  case 0x68: sprintf(t, "pla                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:238:20:  [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.
  case 0x69: if(a8)sprintf(t, "adc #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:239:20:  [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.
             else  sprintf(t, "adc #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:240:14:  [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.
  case 0x6a: sprintf(t, "ror a                 "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:241:14:  [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.
  case 0x6b: sprintf(t, "rtl                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:242:14:  [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.
  case 0x6c: sprintf(t, "jmp ($%.4x)   [%.6x]", op16, decode(OPTYPE_IADDR_PC, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:243:14:  [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.
  case 0x6d: sprintf(t, "adc $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:244:14:  [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.
  case 0x6e: sprintf(t, "ror $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:245:14:  [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.
  case 0x6f: sprintf(t, "adc $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:246:14:  [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.
  case 0x70: sprintf(t, "bvs $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:247:14:  [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.
  case 0x71: sprintf(t, "adc ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:248:14:  [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.
  case 0x72: sprintf(t, "adc ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:249:14:  [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.
  case 0x73: sprintf(t, "adc ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:250:14:  [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.
  case 0x74: sprintf(t, "stz $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:251:14:  [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.
  case 0x75: sprintf(t, "adc $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:252:14:  [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.
  case 0x76: sprintf(t, "ror $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:253:14:  [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.
  case 0x77: sprintf(t, "adc [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:254:14:  [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.
  case 0x78: sprintf(t, "sei                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:255:14:  [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.
  case 0x79: sprintf(t, "adc $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:256:14:  [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.
  case 0x7a: sprintf(t, "ply                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:257:14:  [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.
  case 0x7b: sprintf(t, "tdc                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:258:14:  [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.
  case 0x7c: sprintf(t, "jmp ($%.4x,x) [%.6x]", op16, decode(OPTYPE_IADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:259:14:  [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.
  case 0x7d: sprintf(t, "adc $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:260:14:  [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.
  case 0x7e: sprintf(t, "ror $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:261:14:  [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.
  case 0x7f: sprintf(t, "adc $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:262:14:  [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.
  case 0x80: sprintf(t, "bra $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:263:14:  [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.
  case 0x81: sprintf(t, "sta ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:264:14:  [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.
  case 0x82: sprintf(t, "brl $%.4x     [%.6x]", uint16(decode(OPTYPE_RELW, op16)), decode(OPTYPE_RELW, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:265:14:  [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.
  case 0x83: sprintf(t, "sta $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:266:14:  [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.
  case 0x84: sprintf(t, "sty $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:267:14:  [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.
  case 0x85: sprintf(t, "sta $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:268:14:  [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.
  case 0x86: sprintf(t, "stx $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:269:14:  [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.
  case 0x87: sprintf(t, "sta [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:270:14:  [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.
  case 0x88: sprintf(t, "dey                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:271:20:  [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.
  case 0x89: if(a8)sprintf(t, "bit #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:272:20:  [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.
             else  sprintf(t, "bit #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:273:14:  [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.
  case 0x8a: sprintf(t, "txa                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:274:14:  [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.
  case 0x8b: sprintf(t, "phb                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:275:14:  [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.
  case 0x8c: sprintf(t, "sty $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:276:14:  [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.
  case 0x8d: sprintf(t, "sta $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:277:14:  [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.
  case 0x8e: sprintf(t, "stx $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:278:14:  [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.
  case 0x8f: sprintf(t, "sta $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:279:14:  [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.
  case 0x90: sprintf(t, "bcc $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:280:14:  [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.
  case 0x91: sprintf(t, "sta ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:281:14:  [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.
  case 0x92: sprintf(t, "sta ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:282:14:  [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.
  case 0x93: sprintf(t, "sta ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:283:14:  [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.
  case 0x94: sprintf(t, "sty $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:284:14:  [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.
  case 0x95: sprintf(t, "sta $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:285:14:  [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.
  case 0x96: sprintf(t, "stx $%.2x,y     [%.6x]", op8, decode(OPTYPE_DPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:286:14:  [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.
  case 0x97: sprintf(t, "sta [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:287:14:  [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.
  case 0x98: sprintf(t, "tya                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:288:14:  [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.
  case 0x99: sprintf(t, "sta $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:289:14:  [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.
  case 0x9a: sprintf(t, "txs                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:290:14:  [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.
  case 0x9b: sprintf(t, "txy                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:291:14:  [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.
  case 0x9c: sprintf(t, "stz $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:292:14:  [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.
  case 0x9d: sprintf(t, "sta $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:293:14:  [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.
  case 0x9e: sprintf(t, "stz $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:294:14:  [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.
  case 0x9f: sprintf(t, "sta $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:295:20:  [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.
  case 0xa0: if(x8)sprintf(t, "ldy #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:296:20:  [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.
             else  sprintf(t, "ldy #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:297:14:  [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.
  case 0xa1: sprintf(t, "lda ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:298:20:  [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.
  case 0xa2: if(x8)sprintf(t, "ldx #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:299:20:  [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.
             else  sprintf(t, "ldx #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:300:14:  [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.
  case 0xa3: sprintf(t, "lda $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:301:14:  [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.
  case 0xa4: sprintf(t, "ldy $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:302:14:  [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.
  case 0xa5: sprintf(t, "lda $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:303:14:  [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.
  case 0xa6: sprintf(t, "ldx $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:304:14:  [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.
  case 0xa7: sprintf(t, "lda [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:305:14:  [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.
  case 0xa8: sprintf(t, "tay                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:306:20:  [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.
  case 0xa9: if(a8)sprintf(t, "lda #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:307:20:  [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.
             else  sprintf(t, "lda #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:308:14:  [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.
  case 0xaa: sprintf(t, "tax                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:309:14:  [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.
  case 0xab: sprintf(t, "plb                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:310:14:  [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.
  case 0xac: sprintf(t, "ldy $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:311:14:  [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.
  case 0xad: sprintf(t, "lda $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:312:14:  [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.
  case 0xae: sprintf(t, "ldx $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:313:14:  [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.
  case 0xaf: sprintf(t, "lda $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:314:14:  [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.
  case 0xb0: sprintf(t, "bcs $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:315:14:  [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.
  case 0xb1: sprintf(t, "lda ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:316:14:  [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.
  case 0xb2: sprintf(t, "lda ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:317:14:  [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.
  case 0xb3: sprintf(t, "lda ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:318:14:  [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.
  case 0xb4: sprintf(t, "ldy $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:319:14:  [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.
  case 0xb5: sprintf(t, "lda $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:320:14:  [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.
  case 0xb6: sprintf(t, "ldx $%.2x,y     [%.6x]", op8, decode(OPTYPE_DPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:321:14:  [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.
  case 0xb7: sprintf(t, "lda [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:322:14:  [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.
  case 0xb8: sprintf(t, "clv                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:323:14:  [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.
  case 0xb9: sprintf(t, "lda $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:324:14:  [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.
  case 0xba: sprintf(t, "tsx                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:325:14:  [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.
  case 0xbb: sprintf(t, "tyx                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:326:14:  [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.
  case 0xbc: sprintf(t, "ldy $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:327:14:  [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.
  case 0xbd: sprintf(t, "lda $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:328:14:  [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.
  case 0xbe: sprintf(t, "ldx $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:329:14:  [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.
  case 0xbf: sprintf(t, "lda $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:330:20:  [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.
  case 0xc0: if(x8)sprintf(t, "cpy #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:331:20:  [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.
             else  sprintf(t, "cpy #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:332:14:  [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.
  case 0xc1: sprintf(t, "cmp ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:333:14:  [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.
  case 0xc2: sprintf(t, "rep #$%.2x              ", op8); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:334:14:  [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.
  case 0xc3: sprintf(t, "cmp $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:335:14:  [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.
  case 0xc4: sprintf(t, "cpy $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:336:14:  [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.
  case 0xc5: sprintf(t, "cmp $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:337:14:  [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.
  case 0xc6: sprintf(t, "dec $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:338:14:  [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.
  case 0xc7: sprintf(t, "cmp [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:339:14:  [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.
  case 0xc8: sprintf(t, "iny                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:340:20:  [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.
  case 0xc9: if(a8)sprintf(t, "cmp #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:341:20:  [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.
             else  sprintf(t, "cmp #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:342:14:  [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.
  case 0xca: sprintf(t, "dex                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:343:14:  [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.
  case 0xcb: sprintf(t, "wai                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:344:14:  [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.
  case 0xcc: sprintf(t, "cpy $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:345:14:  [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.
  case 0xcd: sprintf(t, "cmp $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:346:14:  [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.
  case 0xce: sprintf(t, "dec $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:347:14:  [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.
  case 0xcf: sprintf(t, "cmp $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:348:14:  [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.
  case 0xd0: sprintf(t, "bne $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:349:14:  [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.
  case 0xd1: sprintf(t, "cmp ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:350:14:  [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.
  case 0xd2: sprintf(t, "cmp ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:351:14:  [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.
  case 0xd3: sprintf(t, "cmp ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:352:14:  [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.
  case 0xd4: sprintf(t, "pei ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:353:14:  [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.
  case 0xd5: sprintf(t, "cmp $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:354:14:  [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.
  case 0xd6: sprintf(t, "dec $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:355:14:  [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.
  case 0xd7: sprintf(t, "cmp [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:356:14:  [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.
  case 0xd8: sprintf(t, "cld                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:357:14:  [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.
  case 0xd9: sprintf(t, "cmp $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:358:14:  [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.
  case 0xda: sprintf(t, "phx                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:359:14:  [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.
  case 0xdb: sprintf(t, "stp                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:360:14:  [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.
  case 0xdc: sprintf(t, "jmp [$%.4x]   [%.6x]", op16, decode(OPTYPE_ILADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:361:14:  [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.
  case 0xdd: sprintf(t, "cmp $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:362:14:  [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.
  case 0xde: sprintf(t, "dec $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:363:14:  [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.
  case 0xdf: sprintf(t, "cmp $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:364:20:  [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.
  case 0xe0: if(x8)sprintf(t, "cpx #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:365:20:  [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.
             else  sprintf(t, "cpx #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:366:14:  [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.
  case 0xe1: sprintf(t, "sbc ($%.2x,x)   [%.6x]", op8, decode(OPTYPE_IDPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:367:14:  [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.
  case 0xe2: sprintf(t, "sep #$%.2x              ", op8); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:368:14:  [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.
  case 0xe3: sprintf(t, "sbc $%.2x,s     [%.6x]", op8, decode(OPTYPE_SR, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:369:14:  [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.
  case 0xe4: sprintf(t, "cpx $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:370:14:  [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.
  case 0xe5: sprintf(t, "sbc $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:371:14:  [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.
  case 0xe6: sprintf(t, "inc $%.2x       [%.6x]", op8, decode(OPTYPE_DP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:372:14:  [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.
  case 0xe7: sprintf(t, "sbc [$%.2x]     [%.6x]", op8, decode(OPTYPE_ILDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:373:14:  [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.
  case 0xe8: sprintf(t, "inx                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:374:20:  [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.
  case 0xe9: if(a8)sprintf(t, "sbc #$%.2x              ", op8);
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:375:20:  [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.
             else  sprintf(t, "sbc #$%.4x            ", op16); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:376:14:  [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.
  case 0xea: sprintf(t, "nop                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:377:14:  [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.
  case 0xeb: sprintf(t, "xba                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:378:14:  [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.
  case 0xec: sprintf(t, "cpx $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:379:14:  [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.
  case 0xed: sprintf(t, "sbc $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:380:14:  [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.
  case 0xee: sprintf(t, "inc $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:381:14:  [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.
  case 0xef: sprintf(t, "sbc $%.6x   [%.6x]", op24, decode(OPTYPE_LONG, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:382:14:  [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.
  case 0xf0: sprintf(t, "beq $%.4x     [%.6x]", uint16(decode(OPTYPE_RELB, op8)), decode(OPTYPE_RELB, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:383:14:  [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.
  case 0xf1: sprintf(t, "sbc ($%.2x),y   [%.6x]", op8, decode(OPTYPE_IDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:384:14:  [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.
  case 0xf2: sprintf(t, "sbc ($%.2x)     [%.6x]", op8, decode(OPTYPE_IDP, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:385:14:  [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.
  case 0xf3: sprintf(t, "sbc ($%.2x,s),y [%.6x]", op8, decode(OPTYPE_ISRY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:386:14:  [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.
  case 0xf4: sprintf(t, "pea $%.4x     [%.6x]", op16, decode(OPTYPE_ADDR, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:387:14:  [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.
  case 0xf5: sprintf(t, "sbc $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:388:14:  [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.
  case 0xf6: sprintf(t, "inc $%.2x,x     [%.6x]", op8, decode(OPTYPE_DPX, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:389:14:  [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.
  case 0xf7: sprintf(t, "sbc [$%.2x],y   [%.6x]", op8, decode(OPTYPE_ILDPY, op8)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:390:14:  [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.
  case 0xf8: sprintf(t, "sed                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:391:14:  [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.
  case 0xf9: sprintf(t, "sbc $%.4x,y   [%.6x]", op16, decode(OPTYPE_ADDRY, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:392:14:  [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.
  case 0xfa: sprintf(t, "plx                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:393:14:  [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.
  case 0xfb: sprintf(t, "xce                   "); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:394:14:  [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.
  case 0xfc: sprintf(t, "jsr ($%.4x,x) [%.6x]", op16, decode(OPTYPE_IADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:395:14:  [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.
  case 0xfd: sprintf(t, "sbc $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:396:14:  [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.
  case 0xfe: sprintf(t, "inc $%.4x,x   [%.6x]", op16, decode(OPTYPE_ADDRX, op16)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:397:14:  [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.
  case 0xff: sprintf(t, "sbc $%.6x,x [%.6x]", op24, decode(OPTYPE_LONGX, op24)); break;
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:409:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(t, "A:%.4x X:%.4x Y:%.4x S:%.4x D:%.4x DB:%.2x ",
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:414:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(t, "%c%c%c%c%c%c%c%c",
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:420:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(t, "%c%c%c%c%c%c%c%c",
data/libretro-bsnes-mercury-094+git20160126/ruby/audio/directsound.cpp:111:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(output, device.buffer, device.latency * 4);
data/libretro-bsnes-mercury-094+git20160126/ruby/audio/oss.cpp:72:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    device.fd = open(device.name, O_WRONLY, O_NONBLOCK);
data/libretro-bsnes-mercury-094+git20160126/ruby/input/joypad/udev.cpp:180:13:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    jp.fd = open(deviceNode, O_RDWR | O_NONBLOCK);
data/libretro-bsnes-mercury-094+git20160126/ruby/input/keyboard/xlib.cpp:26: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 state[32];
data/libretro-bsnes-mercury-094+git20160126/ruby/input/mouse/xlib.cpp:119: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.
    static char invisibleData[8] = {0};
data/libretro-bsnes-mercury-094+git20160126/ruby/input/shared/rawinput.cpp:42:7:  [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 path[4096];
data/libretro-bsnes-mercury-094+git20160126/ruby/video/direct3d.cpp:214:5:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
    memcpy(vertex_ptr, vertex, sizeof(d3dvertex) * 4);
data/libretro-bsnes-mercury-094+git20160126/ruby/video/direct3d.cpp:357:7:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
      char t[256];
data/libretro-bsnes-mercury-094+git20160126/ruby/video/direct3d.cpp:358:7:  [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(t, "d3dx9_%u.dll", i);
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/utility.hpp:73: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[length + 1];
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/utility.hpp:90: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[length + 1];
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/utility.hpp:101: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[length + 1];
data/libretro-bsnes-mercury-094+git20160126/ruby/video/sdl.cpp:112: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 env[512];
data/libretro-bsnes-mercury-094+git20160126/ruby/video/sdl.cpp:113:5:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
    sprintf(env, "SDL_WINDOWID=%ld", (long int)settings.handle);
data/libretro-bsnes-mercury-094+git20160126/ruby/video/xv.cpp:350:7:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
      memcpy(output, input, width * 4);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.cpp:864:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( m.regs, regs, sizeof m.regs );
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.cpp:906:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
		char temp [64];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.cpp:981:2:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
	memcpy( &m.echo_hist [echo_hist_size], m.echo_hist, echo_hist_size * sizeof m.echo_hist [0] );
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:70:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	return  (unsigned) ((unsigned char const*) p) [1] << 8 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:71:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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) ((unsigned char const*) p) [0];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:76:32:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	return  (unsigned) ((unsigned char const*) p) [0] << 8 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:77:26:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (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) ((unsigned char const*) p) [1];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:82:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	return  (blargg_ulong) ((unsigned char const*) p) [3] << 24 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:83:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			(blargg_ulong) ((unsigned char const*) p) [2] << 16 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:84:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			(blargg_ulong) ((unsigned char const*) p) [1] <<  8 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:85:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			(blargg_ulong) ((unsigned char const*) p) [0];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:90:36:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
	return  (blargg_ulong) ((unsigned char const*) p) [0] << 24 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:91:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			(blargg_ulong) ((unsigned char const*) p) [1] << 16 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:92:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			(blargg_ulong) ((unsigned char const*) p) [2] <<  8 |
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/blargg_endian.h:93:30:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
			(blargg_ulong) ((unsigned char const*) p) [3];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/serialization.cpp:4: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(*out, in, size);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/serialization.cpp:9: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(out, *in, size);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/serialization.cpp:17: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 state[SPC_DSP::state_size];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/core/generate.cpp:16:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  fp.open(targetFilename, file::mode::write);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:13: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 t[512];
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:18:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(s, "..%.4x ", addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:27:3:  [2] (buffer) strcpy:
  Does not check for buffer overflows when copying to destination [MS-banned]
  (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy
  easily misused). Risk is low because the source is a constant string.
  strcpy(t, "                       ");
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:30:16:  [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.
    case 0x00: sprintf(t, "nop");                                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:31:16:  [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.
    case 0x01: sprintf(t, "tcall 0");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:32:16:  [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.
    case 0x02: sprintf(t, "set0  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:33:16:  [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.
    case 0x03: sprintf(t, "bbs0  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:34:16:  [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.
    case 0x04: sprintf(t, "or    a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:35:16:  [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.
    case 0x05: sprintf(t, "or    a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:36:16:  [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.
    case 0x06: sprintf(t, "or    a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:37:16:  [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.
    case 0x07: sprintf(t, "or    a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:38:16:  [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.
    case 0x08: sprintf(t, "or    a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:39:16:  [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.
    case 0x09: sprintf(t, "or    $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:40:16:  [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.
    case 0x0a: sprintf(t, "or1   c,$%.4x:%d", opw & 0x1fff, opw >> 13);  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:41:16:  [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.
    case 0x0b: sprintf(t, "asl   $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:42:16:  [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.
    case 0x0c: sprintf(t, "asl   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:43:16:  [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.
    case 0x0d: sprintf(t, "push  p");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:44:16:  [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.
    case 0x0e: sprintf(t, "tset  $%.4x,a", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:45:16:  [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.
    case 0x0f: sprintf(t, "brk");                                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:46:16:  [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.
    case 0x10: sprintf(t, "bpl   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:47:16:  [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.
    case 0x11: sprintf(t, "tcall 1");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:48:16:  [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.
    case 0x12: sprintf(t, "clr0  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:49:16:  [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.
    case 0x13: sprintf(t, "bbc0  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:50:16:  [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.
    case 0x14: sprintf(t, "or    a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:51:16:  [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.
    case 0x15: sprintf(t, "or    a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:52:16:  [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.
    case 0x16: sprintf(t, "or    a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:53:16:  [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.
    case 0x17: sprintf(t, "or    a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:54:16:  [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.
    case 0x18: sprintf(t, "or    $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:55:16:  [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.
    case 0x19: sprintf(t, "or    (x),(y)");                              break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:56:16:  [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.
    case 0x1a: sprintf(t, "decw  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:57:16:  [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.
    case 0x1b: sprintf(t, "asl   $%.3x+x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:58:16:  [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.
    case 0x1c: sprintf(t, "asl   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:59:16:  [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.
    case 0x1d: sprintf(t, "dec   x");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:60:16:  [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.
    case 0x1e: sprintf(t, "cmp   x,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:61:16:  [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.
    case 0x1f: sprintf(t, "jmp   ($%.4x+x)", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:62:16:  [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.
    case 0x20: sprintf(t, "clrp");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:63:16:  [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.
    case 0x21: sprintf(t, "tcall 2");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:64:16:  [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.
    case 0x22: sprintf(t, "set1  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:65:16:  [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.
    case 0x23: sprintf(t, "bbs1  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:66:16:  [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.
    case 0x24: sprintf(t, "and   a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:67:16:  [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.
    case 0x25: sprintf(t, "and   a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:68:16:  [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.
    case 0x26: sprintf(t, "and   a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:69:16:  [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.
    case 0x27: sprintf(t, "and   a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:70:16:  [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.
    case 0x28: sprintf(t, "and   a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:71:16:  [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.
    case 0x29: sprintf(t, "and   $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:72:16:  [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.
    case 0x2a: sprintf(t, "or1   c,!$%.4x:%d", opw & 0x1fff, opw >> 13); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:73:16:  [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.
    case 0x2b: sprintf(t, "rol   $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:74:16:  [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.
    case 0x2c: sprintf(t, "rol   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:75:16:  [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.
    case 0x2d: sprintf(t, "push  a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:76:16:  [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.
    case 0x2e: sprintf(t, "cbne  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:77:16:  [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.
    case 0x2f: sprintf(t, "bra   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:78:16:  [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.
    case 0x30: sprintf(t, "bmi   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:79:16:  [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.
    case 0x31: sprintf(t, "tcall 3");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:80:16:  [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.
    case 0x32: sprintf(t, "clr1  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:81:16:  [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.
    case 0x33: sprintf(t, "bbc1  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:82:16:  [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.
    case 0x34: sprintf(t, "and   a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:83:16:  [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.
    case 0x35: sprintf(t, "and   a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:84:16:  [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.
    case 0x36: sprintf(t, "and   a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:85:16:  [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.
    case 0x37: sprintf(t, "and   a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:86:16:  [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.
    case 0x38: sprintf(t, "and   $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:87:16:  [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.
    case 0x39: sprintf(t, "and   (x),(y)");                              break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:88:16:  [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.
    case 0x3a: sprintf(t, "incw  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:89:16:  [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.
    case 0x3b: sprintf(t, "rol   $%.3x+x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:90:16:  [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.
    case 0x3c: sprintf(t, "rol   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:91:16:  [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.
    case 0x3d: sprintf(t, "inc   x");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:92:16:  [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.
    case 0x3e: sprintf(t, "cmp   x,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:93:16:  [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.
    case 0x3f: sprintf(t, "call  $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:94:16:  [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.
    case 0x40: sprintf(t, "setp");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:95:16:  [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.
    case 0x41: sprintf(t, "tcall 4");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:96:16:  [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.
    case 0x42: sprintf(t, "set2  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:97:16:  [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.
    case 0x43: sprintf(t, "bbs2  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:98:16:  [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.
    case 0x44: sprintf(t, "eor   a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:99:16:  [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.
    case 0x45: sprintf(t, "eor   a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:100:16:  [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.
    case 0x46: sprintf(t, "eor   a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:101:16:  [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.
    case 0x47: sprintf(t, "eor   a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:102:16:  [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.
    case 0x48: sprintf(t, "eor   a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:103:16:  [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.
    case 0x49: sprintf(t, "eor   $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:104:16:  [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.
    case 0x4a: sprintf(t, "and1  c,$%.4x:%d", opw & 0x1fff, opw >> 13);  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:105:16:  [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.
    case 0x4b: sprintf(t, "lsr   $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:106:16:  [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.
    case 0x4c: sprintf(t, "lsr   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:107:16:  [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.
    case 0x4d: sprintf(t, "push  x");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:108:16:  [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.
    case 0x4e: sprintf(t, "tclr  $%.4x,a", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:109:16:  [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.
    case 0x4f: sprintf(t, "pcall $ff%.2x", op0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:110:16:  [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.
    case 0x50: sprintf(t, "bvc   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:111:16:  [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.
    case 0x51: sprintf(t, "tcall 5");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:112:16:  [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.
    case 0x52: sprintf(t, "clr2  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:113:16:  [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.
    case 0x53: sprintf(t, "bbc2  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:114:16:  [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.
    case 0x54: sprintf(t, "eor   a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:115:16:  [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.
    case 0x55: sprintf(t, "eor   a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:116:16:  [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.
    case 0x56: sprintf(t, "eor   a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:117:16:  [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.
    case 0x57: sprintf(t, "eor   a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:118:16:  [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.
    case 0x58: sprintf(t, "eor   $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:119:16:  [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.
    case 0x59: sprintf(t, "eor   (x),(y)");                              break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:120:16:  [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.
    case 0x5a: sprintf(t, "cmpw  ya,$%.3x", opdp0);                      break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:121:16:  [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.
    case 0x5b: sprintf(t, "lsr   $%.3x+x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:122:16:  [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.
    case 0x5c: sprintf(t, "lsr   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:123:16:  [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.
    case 0x5d: sprintf(t, "mov   x,a");                                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:124:16:  [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.
    case 0x5e: sprintf(t, "cmp   y,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:125:16:  [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.
    case 0x5f: sprintf(t, "jmp   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:126:16:  [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.
    case 0x60: sprintf(t, "clrc");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:127:16:  [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.
    case 0x61: sprintf(t, "tcall 6");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:128:16:  [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.
    case 0x62: sprintf(t, "set3  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:129:16:  [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.
    case 0x63: sprintf(t, "bbs3  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:130:16:  [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.
    case 0x64: sprintf(t, "cmp   a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:131:16:  [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.
    case 0x65: sprintf(t, "cmp   a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:132:16:  [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.
    case 0x66: sprintf(t, "cmp   a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:133:16:  [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.
    case 0x67: sprintf(t, "cmp   a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:134:16:  [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.
    case 0x68: sprintf(t, "cmp   a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:135:16:  [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.
    case 0x69: sprintf(t, "cmp   $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:136:16:  [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.
    case 0x6a: sprintf(t, "and1  c,!$%.4x:%d", opw & 0x1fff, opw >> 13); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:137:16:  [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.
    case 0x6b: sprintf(t, "ror   $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:138:16:  [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.
    case 0x6c: sprintf(t, "ror   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:139:16:  [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.
    case 0x6d: sprintf(t, "push  y");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:140:16:  [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.
    case 0x6e: sprintf(t, "dbnz  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:141:16:  [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.
    case 0x6f: sprintf(t, "ret");                                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:142:16:  [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.
    case 0x70: sprintf(t, "bvs   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:143:16:  [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.
    case 0x71: sprintf(t, "tcall 7");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:144:16:  [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.
    case 0x72: sprintf(t, "clr3  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:145:16:  [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.
    case 0x73: sprintf(t, "bbc3  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:146:16:  [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.
    case 0x74: sprintf(t, "cmp   a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:147:16:  [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.
    case 0x75: sprintf(t, "cmp   a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:148:16:  [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.
    case 0x76: sprintf(t, "cmp   a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:149:16:  [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.
    case 0x77: sprintf(t, "cmp   a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:150:16:  [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.
    case 0x78: sprintf(t, "cmp   $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:151:16:  [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.
    case 0x79: sprintf(t, "cmp   (x),(y)");                              break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:152:16:  [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.
    case 0x7a: sprintf(t, "addw  ya,$%.3x", opdp0);                      break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:153:16:  [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.
    case 0x7b: sprintf(t, "ror   $%.3x+x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:154:16:  [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.
    case 0x7c: sprintf(t, "ror   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:155:16:  [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.
    case 0x7d: sprintf(t, "mov   a,x");                                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:156:16:  [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.
    case 0x7e: sprintf(t, "cmp   y,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:157:16:  [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.
    case 0x7f: sprintf(t, "reti");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:158:16:  [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.
    case 0x80: sprintf(t, "setc");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:159:16:  [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.
    case 0x81: sprintf(t, "tcall 8");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:160:16:  [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.
    case 0x82: sprintf(t, "set4  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:161:16:  [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.
    case 0x83: sprintf(t, "bbs4  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:162:16:  [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.
    case 0x84: sprintf(t, "adc   a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:163:16:  [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.
    case 0x85: sprintf(t, "adc   a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:164:16:  [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.
    case 0x86: sprintf(t, "adc   a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:165:16:  [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.
    case 0x87: sprintf(t, "adc   a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:166:16:  [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.
    case 0x88: sprintf(t, "adc   a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:167:16:  [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.
    case 0x89: sprintf(t, "adc   $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:168:16:  [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.
    case 0x8a: sprintf(t, "eor1  c,$%.4x:%d", opw & 0x1fff, opw >> 13);  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:169:16:  [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.
    case 0x8b: sprintf(t, "dec   $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:170:16:  [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.
    case 0x8c: sprintf(t, "dec   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:171:16:  [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.
    case 0x8d: sprintf(t, "mov   y,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:172:16:  [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.
    case 0x8e: sprintf(t, "pop   p");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:173:16:  [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.
    case 0x8f: sprintf(t, "mov   $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:174:16:  [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.
    case 0x90: sprintf(t, "bcc   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:175:16:  [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.
    case 0x91: sprintf(t, "tcall 9");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:176:16:  [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.
    case 0x92: sprintf(t, "clr4  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:177:16:  [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.
    case 0x93: sprintf(t, "bbc4  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:178:16:  [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.
    case 0x94: sprintf(t, "adc   a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:179:16:  [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.
    case 0x95: sprintf(t, "adc   a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:180:16:  [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.
    case 0x96: sprintf(t, "adc   a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:181:16:  [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.
    case 0x97: sprintf(t, "adc   a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:182:16:  [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.
    case 0x98: sprintf(t, "adc   $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:183:16:  [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.
    case 0x99: sprintf(t, "adc   (x),(y)");                              break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:184:16:  [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.
    case 0x9a: sprintf(t, "subw  ya,$%.3x", opdp0);                      break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:185:16:  [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.
    case 0x9b: sprintf(t, "dec   $%.3x+x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:186:16:  [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.
    case 0x9c: sprintf(t, "dec   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:187:16:  [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.
    case 0x9d: sprintf(t, "mov   x,sp");                                 break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:188:16:  [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.
    case 0x9e: sprintf(t, "div   ya,x");                                 break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:189:16:  [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.
    case 0x9f: sprintf(t, "xcn   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:190:16:  [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.
    case 0xa0: sprintf(t, "ei");                                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:191:16:  [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.
    case 0xa1: sprintf(t, "tcall 10");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:192:16:  [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.
    case 0xa2: sprintf(t, "set5  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:193:16:  [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.
    case 0xa3: sprintf(t, "bbs5  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:194:16:  [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.
    case 0xa4: sprintf(t, "sbc   a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:195:16:  [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.
    case 0xa5: sprintf(t, "sbc   a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:196:16:  [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.
    case 0xa6: sprintf(t, "sbc   a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:197:16:  [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.
    case 0xa7: sprintf(t, "sbc   a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:198:16:  [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.
    case 0xa8: sprintf(t, "sbc   a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:199:16:  [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.
    case 0xa9: sprintf(t, "sbc   $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:200:16:  [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.
    case 0xaa: sprintf(t, "mov1  c,$%.4x:%d", opw & 0x1fff, opw >> 13);  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:201:16:  [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.
    case 0xab: sprintf(t, "inc   $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:202:16:  [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.
    case 0xac: sprintf(t, "inc   $%.4x", opw);                           break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:203:16:  [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.
    case 0xad: sprintf(t, "cmp   y,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:204:16:  [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.
    case 0xae: sprintf(t, "pop   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:205:16:  [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.
    case 0xaf: sprintf(t, "mov   (x)+,a");                               break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:206:16:  [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.
    case 0xb0: sprintf(t, "bcs   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:207:16:  [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.
    case 0xb1: sprintf(t, "tcall 11");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:208:16:  [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.
    case 0xb2: sprintf(t, "clr5  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:209:16:  [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.
    case 0xb3: sprintf(t, "bbc5  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:210:16:  [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.
    case 0xb4: sprintf(t, "sbc   a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:211:16:  [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.
    case 0xb5: sprintf(t, "sbc   a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:212:16:  [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.
    case 0xb6: sprintf(t, "sbc   a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:213:16:  [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.
    case 0xb7: sprintf(t, "sbc   a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:214:16:  [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.
    case 0xb8: sprintf(t, "sbc   $%.3x,#$%.2x", opdp1, op0);             break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:215:16:  [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.
    case 0xb9: sprintf(t, "sbc   (x),(y)");                              break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:216:16:  [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.
    case 0xba: sprintf(t, "movw  ya,$%.3x", opdp0);                      break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:217:16:  [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.
    case 0xbb: sprintf(t, "inc   $%.3x+x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:218:16:  [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.
    case 0xbc: sprintf(t, "inc   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:219:16:  [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.
    case 0xbd: sprintf(t, "mov   sp,x");                                 break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:220:16:  [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.
    case 0xbe: sprintf(t, "das   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:221:16:  [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.
    case 0xbf: sprintf(t, "mov   a,(x)+");                               break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:222:16:  [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.
    case 0xc0: sprintf(t, "di");                                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:223:16:  [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.
    case 0xc1: sprintf(t, "tcall 12");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:224:16:  [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.
    case 0xc2: sprintf(t, "set6  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:225:16:  [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.
    case 0xc3: sprintf(t, "bbs6  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:226:16:  [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.
    case 0xc4: sprintf(t, "mov   $%.3x,a", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:227:16:  [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.
    case 0xc5: sprintf(t, "mov   $%.4x,a", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:228:16:  [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.
    case 0xc6: sprintf(t, "mov   (x),a");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:229:16:  [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.
    case 0xc7: sprintf(t, "mov   ($%.3x+x),a", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:230:16:  [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.
    case 0xc8: sprintf(t, "cmp   x,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:231:16:  [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.
    case 0xc9: sprintf(t, "mov   $%.4x,x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:232:16:  [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.
    case 0xca: sprintf(t, "mov1  $%.4x:%d,c", opw & 0x1fff, opw >> 13);  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:233:16:  [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.
    case 0xcb: sprintf(t, "mov   $%.3x,y", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:234:16:  [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.
    case 0xcc: sprintf(t, "mov   $%.4x,y", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:235:16:  [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.
    case 0xcd: sprintf(t, "mov   x,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:236:16:  [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.
    case 0xce: sprintf(t, "pop   x");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:237:16:  [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.
    case 0xcf: sprintf(t, "mul   ya");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:238:16:  [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.
    case 0xd0: sprintf(t, "bne   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:239:16:  [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.
    case 0xd1: sprintf(t, "tcall 13");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:240:16:  [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.
    case 0xd2: sprintf(t, "clr6  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:241:16:  [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.
    case 0xd3: sprintf(t, "bbc6  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:242:16:  [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.
    case 0xd4: sprintf(t, "mov   $%.3x+x,a", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:243:16:  [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.
    case 0xd5: sprintf(t, "mov   $%.4x+x,a", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:244:16:  [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.
    case 0xd6: sprintf(t, "mov   $%.4x+y,a", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:245:16:  [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.
    case 0xd7: sprintf(t, "mov   ($%.3x)+y,a", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:246:16:  [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.
    case 0xd8: sprintf(t, "mov   $%.3x,x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:247:16:  [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.
    case 0xd9: sprintf(t, "mov   $%.3x+y,x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:248:16:  [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.
    case 0xda: sprintf(t, "movw  $%.3x,ya", opdp0);                      break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:249:16:  [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.
    case 0xdb: sprintf(t, "mov   $%.3x+x,y", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:250:16:  [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.
    case 0xdc: sprintf(t, "dec   y");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:251:16:  [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.
    case 0xdd: sprintf(t, "mov   a,y");                                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:252:16:  [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.
    case 0xde: sprintf(t, "cbne  $%.3x+x,$%.4x", opdp0, relb(op1, 3));   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:253:16:  [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.
    case 0xdf: sprintf(t, "daa   a");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:254:16:  [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.
    case 0xe0: sprintf(t, "clrv");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:255:16:  [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.
    case 0xe1: sprintf(t, "tcall 14");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:256:16:  [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.
    case 0xe2: sprintf(t, "set7  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:257:16:  [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.
    case 0xe3: sprintf(t, "bbs7  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:258:16:  [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.
    case 0xe4: sprintf(t, "mov   a,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:259:16:  [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.
    case 0xe5: sprintf(t, "mov   a,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:260:16:  [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.
    case 0xe6: sprintf(t, "mov   a,(x)");                                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:261:16:  [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.
    case 0xe7: sprintf(t, "mov   a,($%.3x+x)", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:262:16:  [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.
    case 0xe8: sprintf(t, "mov   a,#$%.2x", op0);                        break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:263:16:  [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.
    case 0xe9: sprintf(t, "mov   x,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:264:16:  [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.
    case 0xea: sprintf(t, "not1  c,$%.4x:%d", opw & 0x1fff, opw >> 13);  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:265:16:  [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.
    case 0xeb: sprintf(t, "mov   y,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:266:16:  [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.
    case 0xec: sprintf(t, "mov   y,$%.4x", opw);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:267:16:  [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.
    case 0xed: sprintf(t, "notc");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:268:16:  [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.
    case 0xee: sprintf(t, "pop   y");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:269:16:  [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.
    case 0xef: sprintf(t, "sleep");                                      break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:270:16:  [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.
    case 0xf0: sprintf(t, "beq   $%.4x", relb(op0, 2));                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:271:16:  [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.
    case 0xf1: sprintf(t, "tcall 15");                                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:272:16:  [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.
    case 0xf2: sprintf(t, "clr7  $%.3x", opdp0);                         break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:273:16:  [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.
    case 0xf3: sprintf(t, "bbc7  $%.3x,$%.4x", opdp0, relb(op1, 3));     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:274:16:  [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.
    case 0xf4: sprintf(t, "mov   a,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:275:16:  [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.
    case 0xf5: sprintf(t, "mov   a,$%.4x+x", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:276:16:  [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.
    case 0xf6: sprintf(t, "mov   a,$%.4x+y", opw);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:277:16:  [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.
    case 0xf7: sprintf(t, "mov   a,($%.3x)+y", opdp0);                   break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:278:16:  [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.
    case 0xf8: sprintf(t, "mov   x,$%.3x", opdp0);                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:279:16:  [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.
    case 0xf9: sprintf(t, "mov   x,$%.3x+y", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:280:16:  [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.
    case 0xfa: sprintf(t, "mov   $%.3x,$%.3x", opdp1, opdp0);            break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:281:16:  [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.
    case 0xfb: sprintf(t, "mov   y,$%.3x+x", opdp0);                     break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:282:16:  [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.
    case 0xfc: sprintf(t, "inc   y");                                    break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:283:16:  [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.
    case 0xfd: sprintf(t, "mov   y,a");                                  break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:284:16:  [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.
    case 0xfe: sprintf(t, "dbnz  y,$%.4x", relb(op0, 2));                break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:285:16:  [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.
    case 0xff: sprintf(t, "stop");                                       break;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:291:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(t, "A:%.2x X:%.2x Y:%.2x SP:01%.2x YA:%.4x ",
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:295:3:  [2] (buffer) sprintf:
  Does not check for buffer overflows (CWE-120). Use sprintf_s, snprintf, or
  vsnprintf. Risk is low because the source has a constant maximum length.
  sprintf(t, "%c%c%c%c%c%c%c%c",
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1emu.cpp:263:4:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
   memcpy(output, DataRom, 1024);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4emu.c:63: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(DSP4.output + DSP4.out_count, ( d ), 32); DSP4.out_count += 32; }
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hsu1/hsu1.cpp:95:9:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
        memcpy(rxbuffer.data(), data, size);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/interface/interface.cpp:10: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(lcd.buffer + offset, GameBoy::ppu.screen + GameBoy::ppu.status.ly * 160, 160 * sizeof(uint32));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:26:20:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
      if(audiofile.open()) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:64:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(datafile.open()) datafile.close();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:65:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(audiofile.open()) audiofile.close();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:89:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(datafile.open()) datafile.close();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:93:15:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(datafile.open({interface->path(ID::SuperFamicom), name}, file::mode::read)) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:99:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(audiofile.open()) audiofile.close();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:107:16:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(audiofile.open({interface->path(ID::SuperFamicom), name}, file::mode::read)) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:127:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(datafile.open()) return datafile.read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:150:17:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(datafile.open()) datafile.seek(mmio.data_offset);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:157:18:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
    if(audiofile.open()) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:169:36:  [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).
    mmio.audio_error  = !audiofile.open();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:45: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 t[256] = "";
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:47:19:  [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.
    case  (0x00): sprintf(t, "stop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:48:19:  [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.
    case  (0x01): sprintf(t, "nop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:49:19:  [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.
    case  (0x02): sprintf(t, "cache"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:50:19:  [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.
    case  (0x03): sprintf(t, "lsr"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:51:19:  [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.
    case  (0x04): sprintf(t, "rol"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:52:19:  [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.
    case  (0x05): sprintf(t, "bra %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:53:19:  [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.
    case  (0x06): sprintf(t, "blt %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:54:19:  [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.
    case  (0x07): sprintf(t, "bge %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:55:19:  [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.
    case  (0x08): sprintf(t, "bne %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:56:19:  [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.
    case  (0x09): sprintf(t, "beq %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:57:19:  [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.
    case  (0x0a): sprintf(t, "bpl %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:58:19:  [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.
    case  (0x0b): sprintf(t, "bmi %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:59:19:  [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.
    case  (0x0c): sprintf(t, "bcc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:60:19:  [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.
    case  (0x0d): sprintf(t, "bcs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:61:19:  [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.
    case  (0x0e): sprintf(t, "bvc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:62:19:  [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.
    case  (0x0f): sprintf(t, "bvs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:63:19:  [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.
    case16(0x10): sprintf(t, "to r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:64:19:  [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.
    case16(0x20): sprintf(t, "with r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:65:19:  [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.
    case12(0x30): sprintf(t, "stw (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:66:19:  [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.
    case  (0x3c): sprintf(t, "loop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:67:19:  [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.
    case  (0x3d): sprintf(t, "alt1"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:68:19:  [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.
    case  (0x3e): sprintf(t, "alt2"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:69:19:  [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.
    case  (0x3f): sprintf(t, "alt3"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:70:19:  [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.
    case12(0x40): sprintf(t, "ldw (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:71:19:  [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.
    case  (0x4c): sprintf(t, "plot"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:72:19:  [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.
    case  (0x4d): sprintf(t, "swap"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:73:19:  [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.
    case  (0x4e): sprintf(t, "color"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:74:19:  [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.
    case  (0x4f): sprintf(t, "not"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:75:19:  [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.
    case16(0x50): sprintf(t, "add r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:76:19:  [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.
    case16(0x60): sprintf(t, "sub r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:77:19:  [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.
    case  (0x70): sprintf(t, "merge"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:78:19:  [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.
    case15(0x71): sprintf(t, "and r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:79:19:  [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.
    case16(0x80): sprintf(t, "mult r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:80:19:  [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.
    case  (0x90): sprintf(t, "sbk"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:81:19:  [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.
    case4 (0x91): sprintf(t, "link #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:82:19:  [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.
    case  (0x95): sprintf(t, "sex"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:83:19:  [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.
    case  (0x96): sprintf(t, "asr"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:84:19:  [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.
    case  (0x97): sprintf(t, "ror"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:85:19:  [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.
    case6 (0x98): sprintf(t, "jmp r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:86:19:  [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.
    case  (0x9e): sprintf(t, "lob"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:87:19:  [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.
    case  (0x9f): sprintf(t, "fmult"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:88:19:  [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.
    case16(0xa0): sprintf(t, "ibt r%u,#$%.2x", op0 & 15, op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:89:19:  [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.
    case16(0xb0): sprintf(t, "from r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:90:19:  [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.
    case  (0xc0): sprintf(t, "hib"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:91:19:  [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.
    case15(0xc1): sprintf(t, "or r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:92:19:  [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.
    case15(0xd0): sprintf(t, "inc r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:93:19:  [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.
    case  (0xdf): sprintf(t, "getc"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:94:19:  [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.
    case15(0xe0): sprintf(t, "dec r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:95:19:  [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.
    case  (0xef): sprintf(t, "getb"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:96:19:  [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.
    case16(0xf0): sprintf(t, "iwt r%u,#$%.2x%.2x", op0 & 15, op2, op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:102: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 t[256] = "";
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:104:19:  [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.
    case  (0x00): sprintf(t, "stop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:105:19:  [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.
    case  (0x01): sprintf(t, "nop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:106:19:  [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.
    case  (0x02): sprintf(t, "cache"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:107:19:  [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.
    case  (0x03): sprintf(t, "lsr"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:108:19:  [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.
    case  (0x04): sprintf(t, "rol"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:109:19:  [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.
    case  (0x05): sprintf(t, "bra %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:110:19:  [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.
    case  (0x06): sprintf(t, "blt %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:111:19:  [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.
    case  (0x07): sprintf(t, "bge %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:112:19:  [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.
    case  (0x08): sprintf(t, "bne %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:113:19:  [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.
    case  (0x09): sprintf(t, "beq %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:114:19:  [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.
    case  (0x0a): sprintf(t, "bpl %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:115:19:  [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.
    case  (0x0b): sprintf(t, "bmi %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:116:19:  [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.
    case  (0x0c): sprintf(t, "bcc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:117:19:  [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.
    case  (0x0d): sprintf(t, "bcs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:118:19:  [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.
    case  (0x0e): sprintf(t, "bvc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:119:19:  [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.
    case  (0x0f): sprintf(t, "bvs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:120:19:  [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.
    case16(0x10): sprintf(t, "to r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:121:19:  [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.
    case16(0x20): sprintf(t, "with r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:122:19:  [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.
    case12(0x30): sprintf(t, "stb (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:123:19:  [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.
    case  (0x3c): sprintf(t, "loop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:124:19:  [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.
    case  (0x3d): sprintf(t, "alt1"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:125:19:  [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.
    case  (0x3e): sprintf(t, "alt2"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:126:19:  [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.
    case  (0x3f): sprintf(t, "alt3"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:127:19:  [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.
    case12(0x40): sprintf(t, "ldb (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:128:19:  [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.
    case  (0x4c): sprintf(t, "rpix"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:129:19:  [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.
    case  (0x4d): sprintf(t, "swap"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:130:19:  [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.
    case  (0x4e): sprintf(t, "cmode"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:131:19:  [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.
    case  (0x4f): sprintf(t, "not"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:132:19:  [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.
    case16(0x50): sprintf(t, "adc r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:133:19:  [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.
    case16(0x60): sprintf(t, "sbc r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:134:19:  [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.
    case  (0x70): sprintf(t, "merge"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:135:19:  [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.
    case15(0x71): sprintf(t, "bic r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:136:19:  [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.
    case16(0x80): sprintf(t, "umult r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:137:19:  [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.
    case  (0x90): sprintf(t, "sbk"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:138:19:  [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.
    case4 (0x91): sprintf(t, "link #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:139:19:  [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.
    case  (0x95): sprintf(t, "sex"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:140:19:  [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.
    case  (0x96): sprintf(t, "div2"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:141:19:  [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.
    case  (0x97): sprintf(t, "ror"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:142:19:  [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.
    case6 (0x98): sprintf(t, "ljmp r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:143:19:  [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.
    case  (0x9e): sprintf(t, "lob"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:144:19:  [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.
    case  (0x9f): sprintf(t, "lmult"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:145:19:  [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.
    case16(0xa0): sprintf(t, "lms r%u,(#$%.4x)", op0 & 15, op1 << 1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:146:19:  [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.
    case16(0xb0): sprintf(t, "from r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:147:19:  [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.
    case  (0xc0): sprintf(t, "hib"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:148:19:  [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.
    case15(0xc1): sprintf(t, "xor r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:149:19:  [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.
    case15(0xd0): sprintf(t, "inc r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:150:19:  [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.
    case  (0xdf): sprintf(t, "getc"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:151:19:  [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.
    case15(0xe0): sprintf(t, "dec r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:152:19:  [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.
    case  (0xef): sprintf(t, "getbh"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:153:19:  [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.
    case16(0xf0): sprintf(t, "lm r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:159: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 t[256] = "";
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:161:19:  [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.
    case  (0x00): sprintf(t, "stop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:162:19:  [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.
    case  (0x01): sprintf(t, "nop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:163:19:  [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.
    case  (0x02): sprintf(t, "cache"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:164:19:  [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.
    case  (0x03): sprintf(t, "lsr"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:165:19:  [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.
    case  (0x04): sprintf(t, "rol"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:166:19:  [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.
    case  (0x05): sprintf(t, "bra %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:167:19:  [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.
    case  (0x06): sprintf(t, "blt %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:168:19:  [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.
    case  (0x07): sprintf(t, "bge %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:169:19:  [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.
    case  (0x08): sprintf(t, "bne %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:170:19:  [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.
    case  (0x09): sprintf(t, "beq %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:171:19:  [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.
    case  (0x0a): sprintf(t, "bpl %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:172:19:  [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.
    case  (0x0b): sprintf(t, "bmi %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:173:19:  [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.
    case  (0x0c): sprintf(t, "bcc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:174:19:  [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.
    case  (0x0d): sprintf(t, "bcs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:175:19:  [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.
    case  (0x0e): sprintf(t, "bvc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:176:19:  [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.
    case  (0x0f): sprintf(t, "bvs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:177:19:  [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.
    case16(0x10): sprintf(t, "to r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:178:19:  [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.
    case16(0x20): sprintf(t, "with r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:179:19:  [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.
    case12(0x30): sprintf(t, "stw (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:180:19:  [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.
    case  (0x3c): sprintf(t, "loop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:181:19:  [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.
    case  (0x3d): sprintf(t, "alt1"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:182:19:  [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.
    case  (0x3e): sprintf(t, "alt2"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:183:19:  [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.
    case  (0x3f): sprintf(t, "alt3"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:184:19:  [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.
    case12(0x40): sprintf(t, "ldw (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:185:19:  [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.
    case  (0x4c): sprintf(t, "plot"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:186:19:  [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.
    case  (0x4d): sprintf(t, "swap"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:187:19:  [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.
    case  (0x4e): sprintf(t, "color"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:188:19:  [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.
    case  (0x4f): sprintf(t, "not"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:189:19:  [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.
    case16(0x50): sprintf(t, "add #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:190:19:  [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.
    case16(0x60): sprintf(t, "sub #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:191:19:  [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.
    case  (0x70): sprintf(t, "merge"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:192:19:  [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.
    case15(0x71): sprintf(t, "and #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:193:19:  [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.
    case16(0x80): sprintf(t, "mult #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:194:19:  [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.
    case  (0x90): sprintf(t, "sbk"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:195:19:  [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.
    case4 (0x91): sprintf(t, "link #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:196:19:  [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.
    case  (0x95): sprintf(t, "sex"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:197:19:  [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.
    case  (0x96): sprintf(t, "asr"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:198:19:  [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.
    case  (0x97): sprintf(t, "ror"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:199:19:  [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.
    case6 (0x98): sprintf(t, "jmp r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:200:19:  [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.
    case  (0x9e): sprintf(t, "lob"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:201:19:  [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.
    case  (0x9f): sprintf(t, "fmult"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:202:19:  [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.
    case16(0xa0): sprintf(t, "sms r%u,(#$%.4x)", op0 & 15, op1 << 1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:203:19:  [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.
    case16(0xb0): sprintf(t, "from r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:204:19:  [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.
    case  (0xc0): sprintf(t, "hib"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:205:19:  [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.
    case15(0xc1): sprintf(t, "or #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:206:19:  [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.
    case15(0xd0): sprintf(t, "inc r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:207:19:  [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.
    case  (0xdf): sprintf(t, "ramb"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:208:19:  [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.
    case15(0xe0): sprintf(t, "dec r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:209:19:  [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.
    case  (0xef): sprintf(t, "getbl"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:210:19:  [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.
    case16(0xf0): sprintf(t, "sm r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:216: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 t[256] = "";
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:218:19:  [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.
    case  (0x00): sprintf(t, "stop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:219:19:  [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.
    case  (0x01): sprintf(t, "nop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:220:19:  [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.
    case  (0x02): sprintf(t, "cache"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:221:19:  [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.
    case  (0x03): sprintf(t, "lsr"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:222:19:  [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.
    case  (0x04): sprintf(t, "rol"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:223:19:  [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.
    case  (0x05): sprintf(t, "bra %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:224:19:  [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.
    case  (0x06): sprintf(t, "blt %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:225:19:  [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.
    case  (0x07): sprintf(t, "bge %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:226:19:  [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.
    case  (0x08): sprintf(t, "bne %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:227:19:  [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.
    case  (0x09): sprintf(t, "beq %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:228:19:  [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.
    case  (0x0a): sprintf(t, "bpl %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:229:19:  [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.
    case  (0x0b): sprintf(t, "bmi %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:230:19:  [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.
    case  (0x0c): sprintf(t, "bcc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:231:19:  [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.
    case  (0x0d): sprintf(t, "bcs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:232:19:  [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.
    case  (0x0e): sprintf(t, "bvc %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:233:19:  [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.
    case  (0x0f): sprintf(t, "bvs %+d", (int8_t)op1); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:234:19:  [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.
    case16(0x10): sprintf(t, "to r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:235:19:  [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.
    case16(0x20): sprintf(t, "with r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:236:19:  [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.
    case12(0x30): sprintf(t, "stb (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:237:19:  [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.
    case  (0x3c): sprintf(t, "loop"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:238:19:  [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.
    case  (0x3d): sprintf(t, "alt1"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:239:19:  [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.
    case  (0x3e): sprintf(t, "alt2"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:240:19:  [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.
    case  (0x3f): sprintf(t, "alt3"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:241:19:  [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.
    case12(0x40): sprintf(t, "ldb (r%u)", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:242:19:  [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.
    case  (0x4c): sprintf(t, "rpix"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:243:19:  [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.
    case  (0x4d): sprintf(t, "swap"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:244:19:  [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.
    case  (0x4e): sprintf(t, "cmode"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:245:19:  [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.
    case  (0x4f): sprintf(t, "not"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:246:19:  [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.
    case16(0x50): sprintf(t, "adc #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:247:19:  [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.
    case16(0x60): sprintf(t, "cmp r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:248:19:  [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.
    case  (0x70): sprintf(t, "merge"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:249:19:  [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.
    case15(0x71): sprintf(t, "bic #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:250:19:  [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.
    case16(0x80): sprintf(t, "umult #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:251:19:  [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.
    case  (0x90): sprintf(t, "sbk"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:252:19:  [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.
    case4 (0x91): sprintf(t, "link #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:253:19:  [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.
    case  (0x95): sprintf(t, "sex"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:254:19:  [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.
    case  (0x96): sprintf(t, "div2"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:255:19:  [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.
    case  (0x97): sprintf(t, "ror"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:256:19:  [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.
    case6 (0x98): sprintf(t, "ljmp r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:257:19:  [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.
    case  (0x9e): sprintf(t, "lob"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:258:19:  [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.
    case  (0x9f): sprintf(t, "lmult"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:259:19:  [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.
    case16(0xa0): sprintf(t, "lms r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:260:19:  [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.
    case16(0xb0): sprintf(t, "from r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:261:19:  [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.
    case  (0xc0): sprintf(t, "hib"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:262:19:  [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.
    case15(0xc1): sprintf(t, "xor #%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:263:19:  [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.
    case15(0xd0): sprintf(t, "inc r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:264:19:  [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.
    case  (0xdf): sprintf(t, "romb"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:265:19:  [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.
    case15(0xe0): sprintf(t, "dec r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:266:19:  [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.
    case  (0xef): sprintf(t, "getbs"); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:267:19:  [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.
    case16(0xf0): sprintf(t, "lm r%u", op0 & 15); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.cpp:134:6:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(open()) close();
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp:90:24:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(interface->tracer.open()) {
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp:91: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[4096];
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:348:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(trace == true && !tracer.open()) {
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:352: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).
      tracer.open(filename, file::mode::write);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:357:31:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(trace == false && tracer.open()) {
data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp:7: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 hash[64], description[512], profile[16];
data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp:8: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(&hash, (const char*)cartridge.sha256(), 64);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp:25:3:  [2] (buffer) char:
  Statically-sized arrays can be improperly restricted, leading to potential
  overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use
  functions that limit length, or ensure that the size is larger than the
  maximum possible length.
  char hash[64], description[512], profile[16];
data/libretro-bsnes-mercury-094+git20160126/sfc/system/serialization.cpp:92: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 hash[64], profile[16], description[512];
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp:42:10:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  ananke.open("ananke");
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/library.cpp:98:22:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(program->ananke.open() == false) {
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-editor.cpp:155:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(fp.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:72:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(fp.open(filename, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:101:9:  [2] (misc) open:
  Check when opening files - can an attacker redirect it (via symlinks),
  force the opening of special file type (e.g., device files), move things
  around to create a race condition, control its ancestors, or change its
  contents? (CWE-362).
  if(fp.open(filename, file::mode::write) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:139: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 text[DescriptionLength];
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:636:3:  [2] (buffer) memcpy:
  Does not check for buffer overflows when copying to destination (CWE-120).
  Make sure destination can always hold the source data.
  memcpy(data, s.data(), s.size());
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:96:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  libraryPath = string::read({configpath(), "higan/library.bml"}).strip().ltrim<1>("Path: ").replace("\\", "/");
data/libretro-bsnes-mercury-094+git20160126/ananke/ananke.cpp:140:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    buffer = file::read(filename);
data/libretro-bsnes-mercury-094+git20160126/ananke/bsx-satellaview.cpp:48:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string databaseText = string::read({configpath(), "ananke/database/BS-X Satellaview.bml"}).strip();
data/libretro-bsnes-mercury-094+git20160126/ananke/bsx-satellaview.cpp:65:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto buffer = file::read({pathname, "program.rom"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy-advance.cpp:40:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto buffer = file::read({pathname, "program.rom"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy-advance.cpp:43:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto save = file::read({pathname, "save.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy-advance.cpp:44:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(save.size() == 0) save = file::read({pathname, "save.rwm"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy-advance.cpp:46:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto rtc = file::read({pathname, "rtc.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy-advance.cpp:47:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(rtc.size() == 0) rtc = file::read({pathname, "rtc.rwm"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy.cpp:41:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto buffer = file::read({pathname, "program.rom"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy.cpp:44:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto save = file::read({pathname, "save.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy.cpp:45:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(save.size() == 0) save = file::read({pathname, "save.rwm"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy.cpp:47:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto rtc = file::read({pathname, "rtc.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/game-boy.cpp:48:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(rtc.size() == 0) rtc = file::read({pathname, "rtc.rwm"});
data/libretro-bsnes-mercury-094+git20160126/ananke/sufami-turbo.cpp:59:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string databaseText = string::read({configpath(), "ananke/database/Sufami Turbo.bml"}).strip();
data/libretro-bsnes-mercury-094+git20160126/ananke/sufami-turbo.cpp:76:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto buffer = file::read({pathname, "program.rom"});
data/libretro-bsnes-mercury-094+git20160126/ananke/sufami-turbo.cpp:79:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto save = file::read({pathname, "save.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/sufami-turbo.cpp:80:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(save.size() == 0) save = file::read({pathname, "save.rwm"});
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:88:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto buffer = file::read({information.path, name});  //try and read from the containing directory
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:126:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string databaseText = string::read({configpath(), "ananke/database/Super Famicom.bml"}).strip();
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:149:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto data = file::read(filename);
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:200:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto save = file::read({pathname, "save.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:201:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(save.size() == 0) save = file::read({pathname, "save.rwm"});
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:203:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto rtc = file::read({pathname, "rtc.ram"});
data/libretro-bsnes-mercury-094+git20160126/ananke/super-famicom.cpp:204:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(rtc.size() == 0) rtc= file::read({pathname, "rtc.rwm"});
data/libretro-bsnes-mercury-094+git20160126/fc/apu/apu.cpp:115:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::read(uint16 addr) {
data/libretro-bsnes-mercury-094+git20160126/fc/apu/apu.hpp:11:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint16 addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/bandai-fcg.cpp:42:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return prgrom.read((bank << 14) | (addr & 0x3fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/board.cpp:22:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 Board::Memory::read(unsigned addr) const {
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/board.hpp:7:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    inline uint8 read(unsigned addr) const;
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc1.cpp:6:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(vrc1.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc2.cpp:15:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return prgrom.read(vrc2.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc3.cpp:14:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((addr & 0xe000) == 0x6000) return prgram.read(addr & 0x1fff);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc3.cpp:15:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(vrc3.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc3.cpp:29:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return chrram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc4.cpp:18:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0x8000) return prgram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc4.cpp:19:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return prgrom.read(vrc4.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc6.cpp:7:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(vrc6.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc7.cpp:11:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0x8000) return prgram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc7.cpp:12:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return prgrom.read(vrc7.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/konami-vrc7.cpp:23:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return chrram.read(vrc7.chr_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-axrom.cpp:12:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read((prg_bank << 15) | (addr & 0x7fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-bnrom.cpp:12:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read((prg_bank << 15) | (addr & 0x7fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-cnrom.cpp:12:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(addr & 0x7fff);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-fxrom.cpp:17:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0x8000) return prgram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-fxrom.cpp:19:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return prgrom.read((bank * 0x4000) | (addr & 0x3fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-gxrom.cpp:14:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read((prg_bank << 15) | (addr & 0x7fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-hkrom.cpp:11:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(mmc6.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-nrom.cpp:11:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-nrom.cpp:23:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(chrram.size) return chrram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-nrom.cpp:24:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return chrrom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-pxrom.cpp:17:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0x8000) return prgram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-pxrom.cpp:25:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return prgrom.read((bank * 0x2000) | (addr & 0x1fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-sxrom.cpp:48:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return prgram.read(ram_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-sxrom.cpp:56:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return prgrom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-txrom.cpp:29:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x8000) return prgrom.read(mmc3.prg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-uxrom.cpp:13:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((addr & 0xc000) == 0x8000) return prgrom.read((prg_bank << 14) | (addr & 0x3fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/nes-uxrom.cpp:14:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((addr & 0xc000) == 0xc000) return prgrom.read((    0x0f << 14) | (addr & 0x3fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/board/sunsoft-5b.cpp:97:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return prgrom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:112:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return board.prgrom.read((bank << 13) | addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:114:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return board.prgram.read((bank << 13) | addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:355:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return board.chrrom.read(chr_active ? chr_bg_addr(addr) : chr_sprite_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:378:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(vs_fetch) result = board.chrrom.read(chr_vs_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:379:72:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    else if(sprite_8x16 ? bg_fetch : chr_active) result = board.chrrom.read(chr_bg_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:380:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    else result = board.chrrom.read(chr_sprite_addr(addr));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc5.cpp:381:59:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(bg_fetch && exram_mode == 1) result = board.chrrom.read(exbank * 0x1000 + (addr & 0x0fff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/mmc6.cpp:89:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return board.prgram.read((region * 0x0200) + (addr & 0x01ff));
data/libretro-bsnes-mercury-094+git20160126/fc/cartridge/chip/vrc2.cpp:39:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return board.prgram.read(addr & 0x1fff);
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.cpp:53:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.pc  = bus.read(0xfffc) << 0;
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.cpp:54:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.pc |= bus.read(0xfffd) << 8;
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.cpp:75:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.cpp:86:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 CPU::read(uint16 addr) {
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.cpp:95:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return apu.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/cpu.hpp:35:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint16 addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/timing.cpp:9:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    regs.mdr = bus.read(status.rdy_addr_valid ? status.rdy_addr_value : addr);
data/libretro-bsnes-mercury-094+git20160126/fc/cpu/timing.cpp:13:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.mdr = bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:54:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.board->prgrom.data, min(cartridge.board->prgrom.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:58:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.board->prgram.data, min(cartridge.board->prgram.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:62:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.board->chrrom.data, min(cartridge.board->chrrom.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/fc/interface/interface.cpp:66:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.board->chrram.data, min(cartridge.board->chrram.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/fc/memory/memory.cpp:14:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 Bus::read(uint16 addr) {
data/libretro-bsnes-mercury-094+git20160126/fc/memory/memory.cpp:17:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  else if(addr <= 0x3fff) data = ppu.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/memory/memory.cpp:18:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  else if(addr <= 0x4017) data = cpu.read(addr);
data/libretro-bsnes-mercury-094+git20160126/fc/memory/memory.hpp:2:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint16 addr);
data/libretro-bsnes-mercury-094+git20160126/fc/ppu/ppu.cpp:101:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 PPU::read(uint16 addr) {
data/libretro-bsnes-mercury-094+git20160126/fc/ppu/ppu.hpp:12:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint16 addr);
data/libretro-bsnes-mercury-094+git20160126/fc/system/system.cpp:45:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string manifest = string::read({interface->path(ID::System), "manifest.bml"});
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/memory.cpp:12:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/memory.cpp:31:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0x8000) return bus.read(addr);  //0000-7fff
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/memory.cpp:33:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0xe000) return bus.read(addr);  //a000-dfff
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/memory.cpp:44:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/gb/cpu/timing.cpp:10:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      bus.write(0xfe00 + oamdma.offset, bus.read((oamdma.bank << 8) + oamdma.offset));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:68:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(system.bootROM.dmg, min( 256u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:72:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(system.bootROM.sgb, min( 256u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:76:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(system.bootROM.cgb, min(2048u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:82:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.romdata, min(cartridge.romsize, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gb/interface/interface.cpp:86:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.ramdata, min(stream.size(), cartridge.ramsize));
data/libretro-bsnes-mercury-094+git20160126/gb/memory/memory.cpp:44:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 Bus::read(uint16 addr) {
data/libretro-bsnes-mercury-094+git20160126/gb/memory/memory.hpp:25:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint16 addr);
data/libretro-bsnes-mercury-094+git20160126/gb/system/system.cpp:52:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string manifest = string::read({interface->path(ID::System), "manifest.bml"});
data/libretro-bsnes-mercury-094+git20160126/gba/apu/apu.hpp:8:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint32 addr);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/fifo.cpp:1:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void APU::FIFO::read() {
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:1:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::read(uint32 addr) {
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:5:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000060: return square1.read(0);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:9:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000062: return square1.read(1);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:10:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000063: return square1.read(2);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:13:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000064: return square1.read(3);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:14:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000065: return square1.read(4);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:17:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000068: return square2.read(1);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:18:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000069: return square2.read(2);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:21:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x0400006c: return square2.read(3);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:22:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x0400006d: return square2.read(4);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:25:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000070: return wave.read(0);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:29:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000072: return wave.read(1);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:30:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000073: return wave.read(2);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:33:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000074: return wave.read(3);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:34:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000075: return wave.read(4);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:37:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000078: return noise.read(1);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:38:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000079: return noise.read(2);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:41:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x0400007c: return noise.read(3);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:42:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x0400007d: return noise.read(4);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:45:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000080: return sequencer.read(0);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:46:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000081: return sequencer.read(1);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/mmio.cpp:56:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0x04000084: return sequencer.read(2);
data/libretro-bsnes-mercury-094+git20160126/gba/apu/noise.cpp:33:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::Noise::read(unsigned addr) const {
data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp:60:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr) const;
data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp:66:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr) const;
data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp:91:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr) const;
data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp:117:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr) const;
data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp:136:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr) const;
data/libretro-bsnes-mercury-094+git20160126/gba/apu/registers.hpp:154:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read();
data/libretro-bsnes-mercury-094+git20160126/gba/apu/sequencer.cpp:29:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::Sequencer::read(unsigned addr) const {
data/libretro-bsnes-mercury-094+git20160126/gba/apu/square1.cpp:25:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::Square1::read(unsigned addr) const {
data/libretro-bsnes-mercury-094+git20160126/gba/apu/square2.cpp:1:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::Square2::read(unsigned addr) const {
data/libretro-bsnes-mercury-094+git20160126/gba/apu/wave.cpp:20:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 APU::Wave::read(unsigned addr) const {
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:102:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint32 Cartridge::read(uint8 *data, uint32 addr, uint32 size) {
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:125:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint32 Cartridge::read(uint32 addr, uint32 size) {
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:133:66:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(has_sram     && (addr & 0x0e000000 ) == 0x0e000000 ) return read(ram.data, addr & ram.mask, size);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:134:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(has_eeprom   && (addr & eeprom.mask) == eeprom.test) return eeprom.read();
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:135:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(has_flashrom && (addr & 0x0e000000 ) == 0x0e000000 ) return flashrom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.cpp:136:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr < 0x0e000000) return read(rom.data, addr & 0x01ffffff, size);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.hpp:31:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint8* data, uint32 addr, uint32 size);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/cartridge.hpp:34:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint32 addr, uint32 size);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/eeprom.cpp:1:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Cartridge::EEPROM::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/eeprom.cpp:10:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool Cartridge::EEPROM::read() {
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/eeprom.cpp:24:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(offset >= 4) bit = read(address * 64 + (offset - 4));
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/flashrom.cpp:10:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 Cartridge::FlashROM::read(uint16 addr) {
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/memory.hpp:19:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/memory.hpp:22:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read();
data/libretro-bsnes-mercury-094+git20160126/gba/cartridge/memory.hpp:41:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint16 addr);
data/libretro-bsnes-mercury-094+git20160126/gba/cpu/cpu.cpp:80:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(addr, size);
data/libretro-bsnes-mercury-094+git20160126/gba/cpu/cpu.hpp:19:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint32 addr);
data/libretro-bsnes-mercury-094+git20160126/gba/cpu/dma.cpp:20:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint32 word = bus.read(dma.run.source, size);
data/libretro-bsnes-mercury-094+git20160126/gba/cpu/mmio.cpp:1:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 CPU::read(uint32 addr) {
data/libretro-bsnes-mercury-094+git20160126/gba/cpu/mmio.cpp:50:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(auto data = player.read()) return data() >> ((addr & 3) << 3);
data/libretro-bsnes-mercury-094+git20160126/gba/cpu/timer.cpp:34:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  apu.fifo[n].read();
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:50:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(bios.data, min(bios.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:56:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.rom.data, min(cartridge.rom.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:60:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.ram.data, min(cartridge.ram.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:64:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.eeprom.data, min(cartridge.eeprom.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gba/interface/interface.cpp:68:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(cartridge.flashrom.data, min(cartridge.flashrom.size, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:10:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint32 addr, uint32 size) { return 0u; }
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:73:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint32 Bus::read(uint32 addr, uint32 size) {
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:75:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(addr & 0x08000000) return cartridge.read(addr, size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:78:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 0: return bios.read(addr, size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:79:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  case 1: return bios.read(addr, size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:83:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if((addr & 0xfffffc00) == 0x04000000) return mmio[addr & 0x3ff]->read(addr, size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.cpp:84:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if((addr & 0xff00ffff) == 0x04000800) return ((MMIO&)cpu).read(0x04000800 | (addr & 3), size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.hpp:2:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual uint32 read(uint32 addr, uint32 size) = 0;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.hpp:7:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual uint8 read(uint32 addr) = 0;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.hpp:9:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint32 addr, uint32 size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/memory.hpp:20:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint32 addr, uint32 size);
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:1:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint32 MMIO::read(uint32 addr, uint32 size) {
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:7:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 0) <<  0;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:8:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 1) <<  8;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:9:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 2) << 16;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:10:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 3) << 24;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:14:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 0) <<  0;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:15:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 1) <<  8;
data/libretro-bsnes-mercury-094+git20160126/gba/memory/mmio.cpp:18:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    word |= read(addr + 0) <<  0;
data/libretro-bsnes-mercury-094+git20160126/gba/player/player.cpp:70:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
optional<uint32> Player::read() {
data/libretro-bsnes-mercury-094+git20160126/gba/player/player.hpp:18:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  optional<uint32> read();
data/libretro-bsnes-mercury-094+git20160126/gba/ppu/mmio.cpp:1:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 PPU::read(uint32 addr) {
data/libretro-bsnes-mercury-094+git20160126/gba/ppu/ppu.hpp:16:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint32 addr);
data/libretro-bsnes-mercury-094+git20160126/gba/system/bios.cpp:1:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint32 BIOS::read(uint32 addr, uint32 size) {
data/libretro-bsnes-mercury-094+git20160126/gba/system/bios.cpp:6:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(size == Word) return mdr = read(addr &~ 2, Half) << 0 | read(addr | 2, Half) << 16;
data/libretro-bsnes-mercury-094+git20160126/gba/system/bios.cpp:6:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(size == Word) return mdr = read(addr &~ 2, Half) << 0 | read(addr | 2, Half) << 16;
data/libretro-bsnes-mercury-094+git20160126/gba/system/bios.cpp:7:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(size == Half) return mdr = read(addr &~ 1, Byte) << 0 | read(addr | 1, Byte) <<  8;
data/libretro-bsnes-mercury-094+git20160126/gba/system/bios.cpp:7:62:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(size == Half) return mdr = read(addr &~ 1, Byte) << 0 | read(addr | 1, Byte) <<  8;
data/libretro-bsnes-mercury-094+git20160126/gba/system/system.cpp:27:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string manifest = string::read({interface->path(ID::System), "manifest.bml"});
data/libretro-bsnes-mercury-094+git20160126/gba/system/system.hpp:10:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint32 addr, uint32 size);
data/libretro-bsnes-mercury-094+git20160126/libco/armeabi.c:53:13:  [1] (free) memalign:
  On some systems (though not Linux-based systems) an attempt to free()
  results from memalign() may fail. This may, on a few systems, be
  exploitable. Also note that memalign() may not check that the boundary
  parameter is correct (CWE-676). Use posix_memalign instead (defined in
  POSIX's 1003.1d). Don't switch to valloc(); it is marked as obsolete in BSD
  4.3, as legacy in SUSv2, and is no longer defined in SUSv3. In some cases,
  malloc()'s alignment may be sufficient.
   handle = memalign(1024, size + 256);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:27:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        if(stream.open({pathname, name}, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:34:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          uint8_t data = stream.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:48:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(fp.open(beatname, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:54:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(length--) read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/archive.hpp:70:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          uint8_t data = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:51:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() {
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:52:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint8_t data = fp.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:60:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t x = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:73:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      text[n] = fp.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:82:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() <<  0;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:83:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() <<  8;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:84:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() << 16;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/base.hpp:85:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() << 24;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/delta.hpp:51:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(sourceFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/delta.hpp:57:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(targetFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/linear.hpp:44:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(sourceFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/linear.hpp:50:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(targetFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:23:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(sourceFile.open(filename, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:26:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return sourceFile.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:32:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t x = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:41:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != 'B') return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:42:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != 'P') return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:43:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != 'S') return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:44:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != '1') return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:49:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < metadataSize; n++) data[n] = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:63:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return sourceFile.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:69:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t x = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:98:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < 4; n++) write(read());
data/libretro-bsnes-mercury-094+git20160126/nall/beat/metadata.hpp:107:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < length; n++) write(read());
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:43:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        sp.open({sourcePath, targetName}, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:44:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dp.open({targetPath, targetName}, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:50:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          uint8_t byte = sp.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:51:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          if(identical && byte != dp.read()) identical = false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:77:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          auto buffer = file::read({temppath(), "temp.bps"});
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:84:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        auto buffer = file::read({targetPath, targetName});
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:102:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fp.open(patchName, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:107:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(metadataLength--) read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:121:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        while(fileSize--) fp.write(read());
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:130:61:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        for(unsigned n = 0; n < patchSize; n++) buffer[n] = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:146:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(read() != (uint8_t)(cksum >>  0)) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:147:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(read() != (uint8_t)(cksum >>  8)) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:148:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(read() != (uint8_t)(cksum >> 16)) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:149:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(read() != (uint8_t)(cksum >> 24)) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:204:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() {
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:205:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint8_t data = fp.read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:213:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t x = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:225:52:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0; n < length; n++) text[n] = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:232:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() <<  0;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:233:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() <<  8;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:234:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() << 16;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/multi.hpp:235:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    checksum |= read() << 24;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:100:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(modifyFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:105:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(sourceFile.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:144:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t x = read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:158:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != 'B') return result::patch_invalid_header;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:159:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != 'P') return result::patch_invalid_header;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:160:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != 'S') return result::patch_invalid_header;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:161:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read() != '1') return result::patch_invalid_header;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:166:50:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < modifyMarkupSize; n++) read();
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:181:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while(length--) write(read());
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:202:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < 32; n += 8) modifySourceChecksum |= read() << n;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:203:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < 32; n += 8) modifyTargetChecksum |= read() << n;
data/libretro-bsnes-mercury-094+git20160126/nall/beat/patch.hpp:205:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  for(unsigned n = 0; n < 32; n += 8) modifyModifyChecksum |= read() << n;
data/libretro-bsnes-mercury-094+git20160126/nall/bmp.hpp:12:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline static bool read(const string& filename, uint32_t*& data, unsigned& width, unsigned& height);
data/libretro-bsnes-mercury-094+git20160126/nall/bmp.hpp:16:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
bool bmp::read(const string& filename, uint32_t*& data, unsigned& width, unsigned& height) {
data/libretro-bsnes-mercury-094+git20160126/nall/bmp.hpp:18:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(fp.open(filename, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/config.hpp:87:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto document = Markup::Document(string::read(filename));
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/buffer.hpp:26:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline double& read(unsigned channel, signed offset = 0) {
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp:47:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline void read(signed channel[]);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp:107:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void DSP::read(signed channel[]) {
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp:112:51:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    channel[c] = clamp(settings.precision, output.read(c) * settings.intensity);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp:126:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    output.read(c) *= settings.volume;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp:132:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(settings.balance < 0.0) output.read(1) *= 1.0 + settings.balance;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/core.hpp:133:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(settings.balance > 0.0) output.read(0) *= 1.0 - settings.balance;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/average.hpp:33:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    dsp.output.write(c) += dsp.buffer.read(c) * scalar;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/average.hpp:44:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      dsp.output.write(c) = dsp.buffer.read(c) * fraction;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/average.hpp:56:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real a = dsp.buffer.read(n, -1);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/average.hpp:57:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real b = dsp.buffer.read(n, -0);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cosine.hpp:27:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real a = dsp.buffer.read(n, -1);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cosine.hpp:28:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real b = dsp.buffer.read(n, -0);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cubic.hpp:27:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real a = dsp.buffer.read(n, -3);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cubic.hpp:28:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real b = dsp.buffer.read(n, -2);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cubic.hpp:29:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real c = dsp.buffer.read(n, -1);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/cubic.hpp:30:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real d = dsp.buffer.read(n, -0);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/hermite.hpp:27:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real a = dsp.buffer.read(n, -3);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/hermite.hpp:28:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real b = dsp.buffer.read(n, -2);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/hermite.hpp:29:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real c = dsp.buffer.read(n, -1);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/hermite.hpp:30:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real d = dsp.buffer.read(n, -0);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/lib/sinc.hpp:41:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 inline resample_samp_t read(void) RESAMPLE_SSEREGPARM;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/lib/sinc.hpp:80:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
 inline resample_samp_t read(void) RESAMPLE_SSEREGPARM;
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/lib/sinc.hpp:235:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
resample_samp_t SincResampleHR::read(void)
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/lib/sinc.hpp:450:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
resample_samp_t SincResample::read(void)
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/lib/sinc.hpp:484:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   sample = hr.read();
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/linear.hpp:27:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real a = dsp.buffer.read(n, -1);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/linear.hpp:28:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real b = dsp.buffer.read(n, -0);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/nearest.hpp:27:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real a = dsp.buffer.read(n, -1);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/nearest.hpp:28:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      real b = dsp.buffer.read(n, -0);
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/sinc.hpp:26:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    sinc_resampler[c]->write(dsp.buffer.read(c));
data/libretro-bsnes-mercury-094+git20160126/nall/dsp/resample/sinc.hpp:32:50:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        dsp.output.write(c) = sinc_resampler[c]->read();
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:24:48:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  nall::function<void (unsigned milliseconds)> usleep,
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:26:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  nall::function<uint8_t ()> read,
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:31:18:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usart_usleep = usleep;
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:33:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  usart_read = read;
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:57:3:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  usleep(milliseconds);
data/libretro-bsnes-mercury-094+git20160126/nall/emulation/super-famicom-usart.hpp:67:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    signed length = usart.read((uint8_t*)&buffer, 1);
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:27:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  enum class mode : unsigned { read, write, modify, append, readwrite = modify, writeread = append };
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:33:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(rd.open(sourcename, mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:35:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0; n < rd.size(); n++) wr.write(rd.read());
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:70:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static vector<uint8_t> read(const string& filename) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:73:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(fp.open(filename, mode::read)) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:75:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      fp.read(memory.data(), memory.size());
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:80:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static bool read(const string& filename, uint8_t* data, unsigned size) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:82:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(fp.open(filename, mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:83:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    fp.read(data, size);
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:121:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto buffer = read(filename);
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:125:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:136:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      data |= (uintmax_t)read() << (i << 3);
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:145:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      data |= read();
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:150:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(uint8_t* buffer, unsigned length) {
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:151:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(length--) *buffer++ = read();
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:156:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(file_mode == mode::read) return;  //writes not permitted
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:207:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(file_mode == mode::read) {     //cannot seek past end of file
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:302:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case mode::read:      fp = fopen(filename, "rb" ); break;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:307:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case mode::read:      fp = _wfopen(utf16_t(filename), L"rb" ); break;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:351:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  mode file_mode = mode::read;
data/libretro-bsnes-mercury-094+git20160126/nall/file.hpp:366:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(file_mode == mode::read) return;  //buffer cannot be written to
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:23:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  enum class mode : unsigned { read, write, readwrite, writeread };
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:62:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case mode::read:
data/libretro-bsnes-mercury-094+git20160126/nall/filemap.hpp:154:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case mode::read:
data/libretro-bsnes-mercury-094+git20160126/nall/gzip.hpp:22:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(auto memory = file::read(filename)) {
data/libretro-bsnes-mercury-094+git20160126/nall/image/base.hpp:63:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline uint64_t read(const uint8_t* data) const;
data/libretro-bsnes-mercury-094+git20160126/nall/image/blend.hpp:13:37:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint64_t sourceColor = source.read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/blend.hpp:14:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint64_t targetColor = read(dp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/core.hpp:102:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint64_t image::read(const uint8_t* data) const {
data/libretro-bsnes-mercury-094+git20160126/nall/image/load.hpp:9:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(bmp::read(filename, outputData, outputWidth, outputHeight) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/image/load.hpp:33:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto buffer = file::read(filename);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:37:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t a = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:38:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t b = read(sp + stride);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:52:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      b = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:75:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t a = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:76:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t b = read(sp + pitch);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:90:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      b = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:116:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t a = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:117:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t b = read(sp + stride);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:118:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t c = read(sp + pitch);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:119:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t d = read(sp + pitch + stride);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:134:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      b = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:135:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      d = read(sp + pitch);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:163:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint64_t a = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/scale.hpp:175:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      a = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/utility.hpp:18:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      write(dp, read(sp));
data/libretro-bsnes-mercury-094+git20160126/nall/image/utility.hpp:42:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint64_t color = read(dp);
data/libretro-bsnes-mercury-094+git20160126/nall/image/utility.hpp:72:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint64_t color = read(sp);
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/bitstream.hpp:13:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bool read(uint64_t addr) const {
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/bitstream.hpp:30:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(fp.open(filename, filemap::mode::read) == false) {
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/context.hpp:161:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    string filedata = string::read(filename);
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/parser.hpp:27:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32_t read(unsigned x, unsigned y) const {
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/parser.hpp:79:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                        palette |= stream.read(offset + ctx.block(index, index)) << n;
data/libretro-bsnes-mercury-094+git20160126/nall/mosaic/parser.hpp:88:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
                      uint32_t palette = read(
data/libretro-bsnes-mercury-094+git20160126/nall/odbc.hpp:27:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline lstring read();
data/libretro-bsnes-mercury-094+git20160126/nall/odbc.hpp:131:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
lstring ODBC::read() {
data/libretro-bsnes-mercury-094+git20160126/nall/platform.hpp:72:15:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  inline void usleep(unsigned milliseconds) { Sleep(milliseconds / 1000); }
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:57:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline unsigned read(const uint8_t* data, unsigned length);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:61:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(auto memory = file::read(filename)) {
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:69:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read(sourceData + 0, 4) != 0x89504e47) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:70:6:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(read(sourceData + 4, 4) != 0x0d0a1a0a) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:77:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unsigned length   = read(sourceData + offset + 0, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:78:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unsigned fourCC   = read(sourceData + offset + 4, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:79:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unsigned checksum = read(sourceData + offset + 8 + length, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:82:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.width             = read(sourceData + offset +  8, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:83:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.height            = read(sourceData + offset + 12, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:84:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.bitDepth          = read(sourceData + offset + 16, 1);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:85:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.colorType         = read(sourceData + offset + 17, 1);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:86:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.compressionMethod = read(sourceData + offset + 18, 1);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:87:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.filterType        = read(sourceData + offset + 19, 1);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:88:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      info.interlaceMethod   = read(sourceData + offset + 20, 1);
data/libretro-bsnes-mercury-094+git20160126/nall/png.hpp:293:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
unsigned png::read(const uint8_t* data, unsigned length) {
data/libretro-bsnes-mercury-094+git20160126/nall/serial.hpp:34:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  int read(uint8_t* data, unsigned length) {
data/libretro-bsnes-mercury-094+git20160126/nall/serial.hpp:36:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return ::read(port, (void*)data, length);
data/libretro-bsnes-mercury-094+git20160126/nall/smtp.hpp:108:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto buffer = file::read(filename);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:9:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:21:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() const { return pfile.read(); }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:21:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() const { return pfile.read(); }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/file.hpp:27:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!pwritable) pfile.open(filename, file::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/gzip.hpp:9:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/gzip.hpp:15:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(data, size);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/http.hpp:9:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/http.hpp:21:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() const { return pdata[poffset++]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/http.hpp:24:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read(unsigned offset) const { return pdata[offset]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/memory.hpp:9:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/memory.hpp:22:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() const { return pdata[poffset++]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/memory.hpp:25:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read(unsigned offset) const { return pdata[offset]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:9:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:21:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() const { return pdata[poffset++]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:24:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read(unsigned offset) const { return pdata[offset]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/mmap.hpp:30:56:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(!pwritable) pmmap.open(filename, filemap::mode::read);
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:17:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual uint8_t read() const = 0;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:20:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual uint8_t read(unsigned) const { return 0; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:37:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(length--) { data |= read() << shift; shift += 8; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:43:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(length--) data = (data << 8) | read();
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:47:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  void read(uint8_t* data, unsigned length) const {
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:48:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    while(length--) *data++ = read();
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:56:5:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    read((uint8_t*)buffer.data(), size());
data/libretro-bsnes-mercury-094+git20160126/nall/stream/stream.hpp:80:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    operator uint8_t() const { return s.read(offset); }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/vector.hpp:10:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/vector.hpp:23:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read() const { return memory[poffset++]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/vector.hpp:26:11:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8_t read(unsigned offset) const { return memory[offset]; }
data/libretro-bsnes-mercury-094+git20160126/nall/stream/zip.hpp:9:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  using stream::read;
data/libretro-bsnes-mercury-094+git20160126/nall/stream/zip.hpp:15:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(data, size);
data/libretro-bsnes-mercury-094+git20160126/nall/string/allocator/small-string-optimization.hpp:75: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).
    _size = strlen(_text);
data/libretro-bsnes-mercury-094+git20160126/nall/string/base.hpp:56:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline static string read(const string& filename);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/base.hpp:34:13:  [1] (buffer) strccpy:
  Subject to buffer overflow if buffer is not as big as claimed (CWE-120).
  Ensure that destination buffer is sufficiently large.
inline bool strccpy(char* target, const char* source, unsigned length);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:31:16:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int i, ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:31:35:  [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 i, ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:39: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 ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:39:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:56: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 ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:56:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:64: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 ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/compare.hpp:64:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int ssl = strlen(str), ksl = strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/convert.hpp:49: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 sl = strlen(dest), bsl = strlen(before), asl = strlen(after);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/convert.hpp:49:32:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  int sl = strlen(dest), bsl = strlen(before), asl = strlen(after);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/convert.hpp:49:54:  [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 sl = strlen(dest), bsl = strlen(before), asl = strlen(after);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/strm.hpp:23:6:  [1] (buffer) strccpy:
  Subject to buffer overflow if buffer is not as big as claimed (CWE-120).
  Ensure that destination buffer is sufficiently large.
bool strccpy(char* target, const char* source, unsigned length) {
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/trim.hpp:11:23:  [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* src = str + strlen(key);
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/trim.hpp:26:9:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
    str[strlen(str) - strlen(key)] = 0;
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/trim.hpp:26:23:  [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).
    str[strlen(str) - strlen(key)] = 0;
data/libretro-bsnes-mercury-094+git20160126/nall/string/char/utility.hpp:42:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned length = strlen(s);
data/libretro-bsnes-mercury-094+git20160126/nall/string/core.hpp:16:42:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
unsigned string::length() const { return strlen(data()); }
data/libretro-bsnes-mercury-094+git20160126/nall/string/core.hpp:45:40:  [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).
  unsigned basesize = size(), length = strlen(s);
data/libretro-bsnes-mercury-094+git20160126/nall/string/file.hpp:5:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
string string::read(const string& filename) {
data/libretro-bsnes-mercury-094+git20160126/nall/string/ref.hpp:17: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 = strlen(_data);
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:94:26:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
      char* p = buffer + strlen(buffer) - 1;
data/libretro-bsnes-mercury-094+git20160126/nall/string/utility.hpp:103:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned length = strlen(buffer);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:23:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(fm.open(filename, filemap::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:42:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(read(footer, 4) == 0x06054b50) {
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:43:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        unsigned commentlength = read(footer + 20, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:48:39:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    const uint8_t* directory = data + read(footer + 16, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:51:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned signature = read(directory + 0, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:55:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      file.cmode = read(directory + 10, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:56:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      file.crc32 = read(directory + 16, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:57:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      file.csize = read(directory + 20, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:58:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      file.size  = read(directory + 24, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:60:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned namelength = read(directory + 28, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:61:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned extralength = read(directory + 30, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:62:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned commentlength = read(directory + 32, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:70:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned offset = read(directory + 42, 4);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:71:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned offsetNL = read(data + offset + 26, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:72:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      unsigned offsetEL = read(data + offset + 28, 2);
data/libretro-bsnes-mercury-094+git20160126/nall/unzip.hpp:114:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  unsigned read(const uint8_t* data, unsigned size) {
data/libretro-bsnes-mercury-094+git20160126/nall/varint.hpp:12:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual uint8_t read() = 0;
data/libretro-bsnes-mercury-094+git20160126/nall/varint.hpp:18:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8_t x = read();
data/libretro-bsnes-mercury-094+git20160126/nall/windows/launcher.hpp:44:38:  [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).
  memcpy(entryHook + 14, buffer, 2 * wcslen(buffer) + 2);
data/libretro-bsnes-mercury-094+git20160126/nall/windows/registry.hpp:42:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  static string read(const string& name) {
data/libretro-bsnes-mercury-094+git20160126/phoenix/gtk/window.cpp:272:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(20 * 1000);
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/application.cpp:34:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(2000);
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/widget/text-edit.cpp:5:28:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned lastCharacter = strlen(qtTextEdit->toPlainText().toUtf8().constData());
data/libretro-bsnes-mercury-094+git20160126/phoenix/qt/window.cpp:140:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(20 * 1000);
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/application.cpp:166:60:  [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).
            HGLOBAL resource = GlobalAlloc(GMEM_MOVEABLE, (wcslen(output) + 1) * sizeof(wchar_t));
data/libretro-bsnes-mercury-094+git20160126/phoenix/windows/window.cpp:195:7:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      usleep(20 * 1000);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/arm.cpp:34:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint32 ARM::read(uint32 addr, uint32 size) {
data/libretro-bsnes-mercury-094+git20160126/processor/arm/arm.cpp:42:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 word = read(addr, size);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/arm.hpp:23:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 read(uint32 addr, uint32 size);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:35:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 instruction = read(pc & ~3, Word);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:137:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(rn == 15) output.append(" =0x", hex<4>(read(pc + 8 + (up ? +immediate : -immediate), Half)));
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:187:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(rn == 15 && half == 1) output.append(" =0x", hex<4>(read(pc + 8 + (up ? +immediate : -immediate), Half)));
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:188:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(rn == 15 && half == 0) output.append(" =0x", hex<2>(read(pc + 8 + (up ? +immediate : -immediate), Byte)));
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:362:47:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(rn == 15) output.append(" =0x", hex<8>(read(pc + 8 + (up ? +immediate : -immediate), byte ? Byte : Word)));
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:460:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint16 instruction = read(pc & ~1, Half);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:574:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    output.append(" =0x", hex<8>(read(rm, Word)));
data/libretro-bsnes-mercury-094+git20160126/processor/arm/disassembler.cpp:743:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    instruction = read((pc & ~1) + 2, Half);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-arm.cpp:10:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    pipeline.fetch.instruction = read(pipeline.fetch.address, Word);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-arm.cpp:26:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(100000);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-arm.cpp:586:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(l == 1) r(m) = read(rn, Word);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-thumb.cpp:10:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    pipeline.fetch.instruction = read(pipeline.fetch.address, Half);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-thumb.cpp:340:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(l == 1) r(m) = read(sp, Word);  //POP
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-thumb.cpp:348:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(l == 1) r(15) = read(sp, Word);  //POP
data/libretro-bsnes-mercury-094+git20160126/processor/arm/instructions-thumb.cpp:371:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(l == 1) r(m) = read(r(n), Word);  //LDMIA
data/libretro-bsnes-mercury-094+git20160126/processor/arm/registers.cpp:71:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    pipeline.fetch.instruction = read(pipeline.fetch.address, Word);
data/libretro-bsnes-mercury-094+git20160126/processor/arm/registers.cpp:75:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    pipeline.fetch.instruction = read(pipeline.fetch.address, Half);
data/libretro-bsnes-mercury-094+git20160126/processor/gsu/table.cpp:83:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  op   (0xdf, getc)
data/libretro-bsnes-mercury-094+git20160126/processor/gsu/table.cpp:140:15:  [1] (buffer) getc:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  op   (0xdf, getc)
data/libretro-bsnes-mercury-094+git20160126/processor/r65816/disassembler.cpp:407:3:  [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(s, " ");
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:11:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto a = [&] { return hex<4>((read(addr + 1) << 0) + (read(addr + 2) << 8)); };
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:11:57:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto a = [&] { return hex<4>((read(addr + 1) << 0) + (read(addr + 2) << 8)); };
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:12:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto b = [&](unsigned n) { return hex<2>(read(addr + 1 + n)); };
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:13:77:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto r = [&](unsigned r, unsigned n = 0) { return hex<4>(addr + r + (int8)read(addr + 1 + n)); };
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:14:63:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto dp = [&](unsigned n) { return hex<3>((regs.p.p << 8) + read(addr + 1 + n)); };
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:16:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unsigned n = (read(addr + 1) << 0) + (read(addr + 2) << 8);
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:16:43:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    unsigned n = (read(addr + 1) << 0) + (read(addr + 2) << 8);
data/libretro-bsnes-mercury-094+git20160126/processor/spc700/disassembler.cpp:21:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    switch(read(addr)) {
data/libretro-bsnes-mercury-094+git20160126/ruby/input/joypad/udev.cpp:68:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while((length = read(jp.fd, events, sizeof(events))) > 0) {
data/libretro-bsnes-mercury-094+git20160126/ruby/ruby.cpp:4:8:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
#undef usleep
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/main.hpp:15:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    auto document = Markup::Document(file::read({pathname, "manifest.bml"}));
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/program.hpp:18:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    string source = file::read({pathname, node["vertex"].text()});
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/program.hpp:26:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    string source = file::read({pathname, node["geometry"].text()});
data/libretro-bsnes-mercury-094+git20160126/ruby/video/opengl/program.hpp:35:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    string source = file::read({pathname, node["fragment"].text()});
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/cpu.cpp:133:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.pc.l = bus.read(0xfffc);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/cpu.cpp:134:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.pc.h = bus.read(0xfffd);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/dma.cpp:20:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(abus);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/dma.cpp:33:55:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    uint8 data = dma_transfer_valid(bbus, abus) ? bus.read(0x2100 | bbus) : 0x00;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/memory.cpp:28:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.mdr = bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/cpu/mmio.cpp:11:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      uint8 result = bus.read(0x7e0000 | status.wram_addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.h:40:7:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
	int  read ( int addr ) const;
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/SPC_DSP.h:243:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
inline int SPC_DSP::read( int addr ) const
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/dsp.cpp:38:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP::read(uint8 addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/dsp.cpp:39:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return spc_dsp.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/dsp/dsp.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint8 addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/disassembler.cpp:288:5:  [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).
  t[strlen(t)] = ' ';
data/libretro-bsnes-mercury-094+git20160126/sfc/alt/smp/memory.cpp:16:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return dsp.read(status.dsp_addr & 0x7f);
data/libretro-bsnes-mercury-094+git20160126/sfc/base/satellaview/satellaview.cpp:13:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    {&SatellaviewBaseUnit::read, &satellaviewbaseunit},
data/libretro-bsnes-mercury-094+git20160126/sfc/base/satellaview/satellaview.cpp:18:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    {&SatellaviewBaseUnit::read, &satellaviewbaseunit},
data/libretro-bsnes-mercury-094+git20160126/sfc/base/satellaview/satellaview.cpp:34:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SatellaviewBaseUnit::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/base/satellaview/satellaview.hpp:8:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:102:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&ICD2::read, &icd2}, {&ICD2::write, &icd2});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:196:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&NSS::read, &nss}, {&NSS::write, &nss});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:448:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&NECDSP::read, &necdsp}, {&NECDSP::write, &necdsp});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:474:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&EpsonRTC::read, &epsonrtc}, {&EpsonRTC::write, &epsonrtc});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:493:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&SharpRTC::read, &sharprtc}, {&SharpRTC::write, &sharprtc});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:512:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&SPC7110::read, &spc7110}, {&SPC7110::write, &spc7110});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:542:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&SDD1::read, &sdd1}, {&SDD1::write, &sdd1});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:571:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&OBC1::read, &obc1}, {&OBC1::write, &obc1});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:586:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&HSU1::read, &hsu1}, {&HSU1::write, &hsu1});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:615:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Mapping m({&Cx4::read, &cx4}, {&Cx4::write, &cx4});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:630:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          m.reader = {&DSP1::read, &dsp1};
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:636:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          m.reader = {&DSP2::read, &dsp2};
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:642:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          m.reader = {&DSP3::read, &dsp3};
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:648:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          m.reader = {&DSP4::read, &dsp4};
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:660:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Mapping m({&ST0010::read, &st0010}, {&ST0010::write, &st0010});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:688:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      Mapping m({&SGBExternal::read, &sgbExternal}, {&SGBExternal::write, &sgbExternal});
data/libretro-bsnes-mercury-094+git20160126/sfc/cartridge/markup.cpp:703:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  reader = {&SuperFamicom::Memory::read,  &memory};
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/bsx/bsx.cpp:41:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return memory.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:90:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    write(dest++, bus.read(src++));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:176:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 Cx4::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:191:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:195:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(addr) | (read(addr + 1) << 8);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:195:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(addr) | (read(addr + 1) << 8);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:199:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(addr) | (read(addr + 1) << 8) + (read(addr + 2) << 16);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:199:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(addr) | (read(addr + 1) << 8) + (read(addr + 2) << 16);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.cpp:199:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return read(addr) | (read(addr + 1) << 8) + (read(addr + 2) << 16);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/cx4.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:89:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(bus.read(line) == 0xff && bus.read(line + 1) == 0xff) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:89:38:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(bus.read(line) == 0xff && bus.read(line + 1) == 0xff) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:91:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while(bus.read(tmp + 2) == 0xff && bus.read(tmp + 3) == 0xff && (tmp + 2) >= 0) { tmp -= 5; }
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:91:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      while(bus.read(tmp + 2) == 0xff && bus.read(tmp + 3) == 0xff && (tmp + 2) >= 0) { tmp -= 5; }
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:92:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      point1 = (read(0x1f82) << 16) | (bus.read(tmp + 2) << 8) | bus.read(tmp + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:92:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      point1 = (read(0x1f82) << 16) | (bus.read(tmp + 2) << 8) | bus.read(tmp + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:92:70:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      point1 = (read(0x1f82) << 16) | (bus.read(tmp + 2) << 8) | bus.read(tmp + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:94:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      point1 = (read(0x1f82) << 16) | (bus.read(line) << 8) | bus.read(line + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:94:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      point1 = (read(0x1f82) << 16) | (bus.read(line) << 8) | bus.read(line + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:94:67:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      point1 = (read(0x1f82) << 16) | (bus.read(line) << 8) | bus.read(line + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:96:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    point2 = (read(0x1f82) << 16) | (bus.read(line + 2) << 8) | bus.read(line + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:96:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    point2 = (read(0x1f82) << 16) | (bus.read(line + 2) << 8) | bus.read(line + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:96:69:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    point2 = (read(0x1f82) << 16) | (bus.read(line + 2) << 8) | bus.read(line + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:98:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    X1=(bus.read(point1 + 0) << 8) | bus.read(point1 + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:98:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    X1=(bus.read(point1 + 0) << 8) | bus.read(point1 + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:99:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Y1=(bus.read(point1 + 2) << 8) | bus.read(point1 + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:99:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Y1=(bus.read(point1 + 2) << 8) | bus.read(point1 + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:100:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Z1=(bus.read(point1 + 4) << 8) | bus.read(point1 + 5);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:100:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Z1=(bus.read(point1 + 4) << 8) | bus.read(point1 + 5);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:101:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    X2=(bus.read(point2 + 0) << 8) | bus.read(point2 + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:101:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    X2=(bus.read(point2 + 0) << 8) | bus.read(point2 + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:102:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Y2=(bus.read(point2 + 2) << 8) | bus.read(point2 + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:102:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Y2=(bus.read(point2 + 2) << 8) | bus.read(point2 + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:103:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Z2=(bus.read(point2 + 4) << 8) | bus.read(point2 + 5);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:103:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Z2=(bus.read(point2 + 4) << 8) | bus.read(point2 + 5);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:104:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    Color = bus.read(line + 4);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:114:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFScale = read(0x1f90);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:115:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFX2Val = read(0x1f86);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:116:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFY2Val = read(0x1f87);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:117:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFDist  = read(0x1f88);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:191:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 w = read(0x1f89) & ~7;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:192:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 h = read(0x1f8c) & ~7;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/functions.cpp:221:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        byte = read(0x600 + (addr >> 1));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:34:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(bus.read(spraddr)) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:36:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      for(int sprcnt = bus.read(spraddr++); sprcnt > 0 && sprcount > 0; sprcnt--, spraddr += 4) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:37:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        x = (int8)bus.read(spraddr + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:39:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          x = -x - ((bus.read(spraddr) & 0x20) ? 16 : 8);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:43:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          y = (int8)bus.read(spraddr + 2);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:45:28:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            y = -y - ((bus.read(spraddr) & 0x20) ? 16 : 8);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:51:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ram[oamptr + 2] = sprname + bus.read(spraddr + 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:52:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            ram[oamptr + 3] = sprattr ^ (bus.read(spraddr) & 0xc0);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:55:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            if(bus.read(spraddr) & 0x20) ram[oamptr2] |= 2 << offset;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:86:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFX2Val = read(0x1f83);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:87:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFY2Val = read(0x1f86);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:88:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFDist  = read(0x1f89);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:89:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFScale = read(0x1f8c);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:115:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    C4WFXVal  = readw((read(ptr + 0) << 4) + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:116:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    C4WFYVal  = readw((read(ptr + 0) << 4) + 5);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:117:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    C4WFX2Val = readw((read(ptr + 1) << 4) + 1);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:118:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    C4WFY2Val = readw((read(ptr + 1) << 4) + 5);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:146:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  width  = read(0x1f89);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:147:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  height = read(0x1f8c);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:181:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint32 waveptr = read(0x1f83);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:187:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int16 height = -((int8)read(waveptr + 0xb00)) - 16;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/oam.cpp:207:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      int16 height = -((int8)read(waveptr + 0xb00)) - 16;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/opcodes.cpp:171:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFX2Val = read (0x1f89);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/opcodes.cpp:172:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFY2Val = read (0x1f8a);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/cx4/opcodes.cpp:173:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  C4WFDist  = read (0x1f8b);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.cpp:35:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP1::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.cpp:74:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP1DR::read(unsigned addr) { return dsp1.dsp1.getDr(); }
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.cpp:77:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP1SR::read(unsigned addr) { return dsp1.dsp1.getSr(); }
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.cpp:83:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 NECDSP::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1.hpp:11:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1emu.cpp:62:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void Dsp1::fsmStep(bool read, uint8 &data)
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1emu.cpp:70:8:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
   if (read)
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp1/dsp1emu.hpp:84:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      void fsmStep(bool read, uint8 &data);            // FSM logic
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/dsp2.cpp:42:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP2::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/dsp2.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/dsp2.hpp:47:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp2/dsp2.hpp:52:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp3/dsp3.cpp:30:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP3::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp3/dsp3.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4.cpp:43:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP4::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/dsp4/dsp4.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/epsonrtc.cpp:147:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 EpsonRTC::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/epsonrtc/epsonrtc.hpp:14:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:44:67:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0408; n <= 0x040e; n++) mw = mw * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:45:67:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0413; n >= 0x0410; n--) fz = fz * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:46:67:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0418; n >= 0x0415; n--) pw = pw * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:53:67:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0408; n <= 0x040e; n++) ml = ml * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:54:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0413; n >= 0x0412; n--) mk[0] = mk[0] * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:55:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0411; n >= 0x0410; n--) mk[1] = mk[1] * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:56:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x0418; n >= 0x0415; n--) ba[0] = ba[0] * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:57:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0x041a; n >= 0x0419; n--) ba[1] = ba[1] * 10 + ram.read(n);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:150:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return rom[id].read(bus.mirror(addr, rom[id].size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:163:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return rom[id].read(bus.mirror(addr, rom[id].size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:169:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return rom[id].read(bus.mirror(addr, rom[id].size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/event/event.cpp:177:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return ram.read(bus.mirror(addr, ram.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/hitachidsp.cpp:20:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        bus.write(mmio.dma_target + n, bus.read(mmio.dma_source + n));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/memory.cpp:4:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((addr & 0x408000) == 0x008000) return bus.read(addr);  //$00-3f,80-bf:6000-7fff
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/memory.cpp:5:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if((addr & 0xf88000) == 0x700000) return bus.read(addr);  //$70-77:0000-7fff
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/memory.cpp:18:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return rom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hitachidsp/memory.cpp:29:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return ram.read(bus.mirror(addr, ram.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hsu1/hsu1.cpp:29:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 HSU1::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/hsu1/hsu1.hpp:8:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/icd2.hpp:13:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/icd2/mmio/mmio.cpp:17:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 ICD2::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:93:75:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(datafile.open({interface->path(ID::SuperFamicom), name}, file::mode::read)) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:107:76:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(audiofile.open({interface->path(ID::SuperFamicom), name}, file::mode::read)) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/msu1/msu1.cpp:127:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(datafile.open()) return datafile.read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/necdsp/necdsp.cpp:23:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 NECDSP::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/necdsp/necdsp.hpp:7:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/nss/nss.cpp:28:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 NSS::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/nss/nss.hpp:11:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/obc1/obc1.cpp:28:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 OBC1::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/obc1/obc1.cpp:73:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return ram.read(addr & 0x1fff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/obc1/obc1.hpp:10:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.cpp:9:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SA1::CPUIRAM::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.cpp:11:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return sa1.iram.read(addr & 0x07ff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.cpp:23:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SA1::CPUBWRAM::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.cpp:26:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return sa1.bwram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.hpp:3:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  alwaysinline uint8 read(unsigned);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/bus/bus.hpp:9:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  alwaysinline uint8 read(unsigned);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/dma/dma.cpp:31:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      data = iram.read(dsa & 0x07ff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/dma/dma.cpp:84:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        data |= (uint64)bwram.read((bwaddr + byte) & bwmask) << (byte << 3);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/dma/dma.cpp:109:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return iram.read((mmio.dda + (addr & charmask)) & 0x07ff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:22:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return iram.read(addr & 2047);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:27:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return iram.read(addr & 2047);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:32:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return bwram.read(addr & (bwram.size() - 1));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:88:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return bwram.read(addr & (bwram.size() - 1));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:92:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return bwram.read(addr & (bwram.size() - 1));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:96:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return iram.read(addr & 2047);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:100:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return iram.read(addr & 2047);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:137:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return sa1.rom.read(bus.mirror(addr, sa1.rom.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:142:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(mmio.cbmode == 0) return read(0x000000 | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:143:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.cb << 20) | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:148:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(mmio.dbmode == 0) return read(0x100000 | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:149:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.db << 20) | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:154:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(mmio.ebmode == 0) return read(0x200000 | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:155:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.eb << 20) | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:160:33:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    if(mmio.fbmode == 0) return read(0x300000 | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:161:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.fb << 20) | addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:165:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.cb << 20) | (addr & 0x0fffff));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:169:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.db << 20) | (addr & 0x0fffff));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:173:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.eb << 20) | (addr & 0x0fffff));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:177:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return read((mmio.fb << 20) | (addr & 0x0fffff));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:190:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return cpubwram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:194:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return cpubwram.read(addr & 0x0fffff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:217:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return bwram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:244:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 0: return (bwram.read(addr) >> 0) & 15;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:245:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 1: return (bwram.read(addr) >> 4) & 15;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:252:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 0: return (bwram.read(addr) >> 0) & 3;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:253:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 1: return (bwram.read(addr) >> 2) & 3;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:254:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 2: return (bwram.read(addr) >> 4) & 3;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:255:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 3: return (bwram.read(addr) >> 6) & 3;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:269:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 0: data = (bwram.read(addr) & 0xf0) | ((data & 15) << 0); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:270:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 1: data = (bwram.read(addr) & 0x0f) | ((data & 15) << 4); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:277:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 0: data = (bwram.read(addr) & 0xfc) | ((data &  3) << 0); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:278:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 1: data = (bwram.read(addr) & 0xf3) | ((data &  3) << 2); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:279:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 2: data = (bwram.read(addr) & 0xcf) | ((data &  3) << 4); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sa1/memory/memory.cpp:280:27:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    case 3: data = (bwram.read(addr) & 0x3f) | ((data &  3) << 6); break;
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/decomp.cpp:278:21:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SDD1::Decomp::read() {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/decomp.hpp:72:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:17:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bus.map({&SDD1::read, &sdd1}, {&SDD1::write, &sdd1}, 0x00, 0x3f, 0x4300, 0x437f);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:18:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  bus.map({&SDD1::read, &sdd1}, {&SDD1::write, &sdd1}, 0x80, 0xbf, 0x4300, 0x437f);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:45:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SDD1::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:90:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return rom.read(mmc[(addr >> 20) & 3] + (addr & 0x0fffff));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:113:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return rom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:132:31:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
          uint8 data = decomp.read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:153:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return ram.read(addr & 0x1fff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.cpp:157:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return ram.read(addr & 0x1fff);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sdd1/sdd1.hpp:11:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sgb-external/sgb-external.cpp:85:20:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SGBExternal::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sgb-external/sgb-external.hpp:15:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/sharprtc.cpp:69:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SharpRTC::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/sharprtc/sharprtc.hpp:12:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/data.cpp:8:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return drom.read(Bus::mirror(offset, drom.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/decompressor.cpp:10:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read() {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/decompressor.cpp:41:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    input = read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/decompressor.cpp:42:26:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    input = input << 8 | read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/decompressor.cpp:104:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
            input += read();
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.cpp:113:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SPC7110::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.cpp:276:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return prom.read(bus.mirror(0x000000 + addr, prom.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.cpp:287:19:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      return prom.read(bus.mirror(0x100000 + addr, prom.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.cpp:324:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return ram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/spc7110/spc7110.hpp:18:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/st0010.cpp:73:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 ST0010::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/st0010/st0010.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.cpp:9:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SuperFX::CPUROM::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.cpp:17:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return superfx.rom.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.cpp:28:24:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SuperFX::CPURAM::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.cpp:30:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return superfx.ram.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.hpp:3:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/bus/bus.hpp:9:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:22:21:  [1] (buffer) strlen:
  Does not handle strings that are not \0-terminated; if given one it may
  perform an over-read (it could cause a crash if unprotected) (CWE-126).
  unsigned length = strlen(output);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/disassembler/disassembler.cpp:23:24:  [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.
  while(length++ < 20) strcat(output, " ");
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/memory/memory.cpp:9:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return rom.read((((addr & 0x3f0000) >> 1) | (addr & 0x7fff)) & rom_mask);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/memory/memory.cpp:17:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return rom.read(addr & rom_mask);
data/libretro-bsnes-mercury-094+git20160126/sfc/chip/superfx/memory/memory.cpp:25:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return ram.read(addr & ram_mask);
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.cpp:21:16:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
      {&USART::usleep, this},
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.cpp:23:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      {&USART::read, this},
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.cpp:37:13:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
void USART::usleep(unsigned milliseconds) {
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.cpp:47:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 USART::read() {
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.hpp:5:8:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
  void usleep(unsigned milliseconds);
data/libretro-bsnes-mercury-094+git20160126/sfc/controller/usart/usart.hpp:7:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read();
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp:78:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        regs.pc.l = bus.read(0xfffc);
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/cpu.cpp:79:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
        regs.pc.h = bus.read(0xfffd);
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/dma/dma.cpp:29:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(abus);
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/dma/dma.cpp:52:53:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    regs.mdr = dma_transfer_valid(bbus, abus) ? bus.read(0x2100 | bbus) : 0x00;
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/memory/memory.cpp:19:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  regs.mdr = bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/memory/memory.cpp:46:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/cpu/mmio/mmio.cpp:8:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return bus.read(0x7e0000 | status.wram_addr++);
data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/dsp.cpp:206:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 DSP::read(uint8 addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/dsp.hpp:7:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(uint8 addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/dsp/moduloarray.hpp:6:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline T read(int index) const {
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:113:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(smp.iplrom, min(64u, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:117:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::ROM) cartridge.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:118:35:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::RAM) cartridge.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:120:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::EventROM0) event.rom[0].read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:121:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::EventROM1) event.rom[1].read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:122:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::EventROM2) event.rom[2].read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:123:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::EventROM3) event.rom[3].read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:124:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::EventRAM) event.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:126:32:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SA1ROM) sa1.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:127:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SA1IRAM) sa1.iram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:128:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SA1BWRAM) sa1.bwram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:130:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SuperFXROM) superfx.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:131:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SuperFXRAM) superfx.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:134:76:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0; n < 128 * 1024; n++) armdsp.programROM[n] = stream.read();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:137:73:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0; n <  32 * 1024; n++) armdsp.dataROM[n] = stream.read();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:140:76:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    for(unsigned n = 0; n <  16 * 1024; n++) armdsp.programRAM[n] = stream.read();
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:143:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::HitachiDSPROM) hitachidsp.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:144:46:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::HitachiDSPRAM) hitachidsp.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:173:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(data, min(stream.size(), sizeof data));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:179:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(data, min(stream.size(), sizeof data));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:183:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SPC7110PROM) spc7110.prom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:184:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SPC7110DROM) spc7110.drom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:185:40:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SPC7110RAM) spc7110.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:187:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SDD1ROM) sdd1.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:188:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SDD1RAM) sdd1.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:190:34:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::OBC1RAM) obc1.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:193:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(GameBoy::system.bootROM.sgb, min(stream.size(), 256u));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:196:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::BsxROM) bsxcartridge.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:197:41:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::BsxRAM) bsxcartridge.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:198:45:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::BsxPSRAM) bsxcartridge.psram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:203:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(GameBoy::cartridge.romdata, min(GameBoy::cartridge.romsize, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:207:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    stream.read(GameBoy::cartridge.ramdata, min(GameBoy::cartridge.ramsize, stream.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:211:60:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SatellaviewROM) satellaviewcartridge.memory.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:214:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SufamiTurboSlotAROM) sufamiturboA.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:215:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SufamiTurboSlotBROM) sufamiturboB.rom.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:218:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SufamiTurboSlotARAM) sufamiturboA.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/interface/interface.cpp:219:54:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(id == ID::SufamiTurboSlotBRAM) sufamiturboB.ram.read(stream);
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp:10:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 StaticRAM::read(unsigned addr) { return data_[addr]; }
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp:40:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  memory.read(data_, memory.size());
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp:43:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
void MappedRAM::read(const stream& memory) {
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp:44:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  memory.read(data_, min(memory.size(), size_));
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp:51:18:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 MappedRAM::read(unsigned addr) { return data_[addr]; }
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory-inline.hpp:93:12:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 Bus::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.hpp:7:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  virtual uint8 read(unsigned addr) = 0;
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.hpp:16:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.hpp:33:15:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline void read(const stream& memory);
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.hpp:39:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  inline uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/memory/memory.hpp:54:22:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  alwaysinline uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/slot/satellaview/satellaview.cpp:39:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
uint8 SatellaviewCartridge::read(unsigned addr) {
data/libretro-bsnes-mercury-094+git20160126/sfc/slot/satellaview/satellaview.cpp:40:30:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(readonly) return memory.read(bus.mirror(addr, memory.size()));
data/libretro-bsnes-mercury-094+git20160126/sfc/slot/satellaview/satellaview.cpp:65:17:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  return memory.read(addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/slot/satellaview/satellaview.hpp:12:9:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  uint8 read(unsigned addr);
data/libretro-bsnes-mercury-094+git20160126/sfc/smp/memory.cpp:37:16:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    return dsp.read(status.dsp_addr & 0x7f);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/audio.cpp:33:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    dspaudio.read(samples);
data/libretro-bsnes-mercury-094+git20160126/sfc/system/system.cpp:108:29:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string manifest = string::read({interface->path(ID::System), "manifest.bml"});
data/libretro-bsnes-mercury-094+git20160126/target-ethos/ethos.cpp:34:5:  [1] (obsolete) usleep:
  This C routine is considered obsolete (as opposed to the shell command by
  the same name). The interaction of this function with SIGALRM and other
  timer functions such as sleep(), alarm(), setitimer(), and nanosleep() is
  unspecified (CWE-676). Use nanosleep(2) or setitimer(2) instead.
    usleep(20 * 1000);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/general/library.cpp:50:42:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto document = Markup::Document(file::read(manifest));
data/libretro-bsnes-mercury-094+git20160126/target-ethos/interface/interface.cpp:106:14:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
    dspaudio.read(samples);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-database.cpp:37:44:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto document = Markup::Document(string::read(program->path("cheats.bml")));
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/cheat-editor.cpp:122:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string data = string::read(filename);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:72:36:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  if(fp.open(filename, file::mode::read) == false) return false;
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:76:13:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      if(fp.read() == false) continue;  //slot is empty
data/libretro-bsnes-mercury-094+git20160126/target-ethos/tools/state-manager.cpp:79:10:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      fp.read(data, size);
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:135:23:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  auto memory = file::read({pathname[0], "bsnes/state-", slot, ".bsa"});
data/libretro-bsnes-mercury-094+git20160126/target-ethos/utility/utility.cpp:321:25:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
  string path = string::read({configpath(), "higan/library.bml"}).strip().ltrim<1>("Path: ").transform("\\", "/");
data/libretro-bsnes-mercury-094+git20160126/target-libretro/libretro.cpp:214:48:  [1] (buffer) read:
  Check buffer boundaries if used in a loop including recursive loops
  (CWE-120, CWE-20).
      filestream stream(load_path, file::mode::read);

ANALYSIS SUMMARY:

Hits = 2158
Lines analyzed = 138871 in approximately 4.20 seconds (33087 lines/second)
Physical Source Lines of Code (SLOC) = 99588
Hits@level = [0]  34 [1] 804 [2] 1036 [3] 121 [4] 197 [5]   0
Hits@level+ = [0+] 2192 [1+] 2158 [2+] 1354 [3+] 318 [4+] 197 [5+]   0
Hits/KSLOC@level+ = [0+] 22.0107 [1+] 21.6693 [2+] 13.596 [3+] 3.19316 [4+] 1.97815 [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.