SameBoy/Core
Jakub Kądziołka c9665d0449
value_to_string: use snprintf
Currently, value_to_string and debugger_value_to_string use an
error-prone calculation to avoid overflow. This was once adjusted
already, and one of the codepaths is still vulnerable. Put this in a
symfile:

    01:5678 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

and execute `p 1:$5679`. On Linux, the canary terminates the process.
2021-02-27 19:33:31 +01:00
..
graphics Allow displaying borders outside of SGB emulation, including borrowing SGB border. Allow not displaying SGB borders. (Todo: libretro support) 2020-02-08 13:28:46 +02:00
apu.c Tell GCC to calm down 2021-02-25 15:52:48 +02:00
apu.h Redo the volume envelope with better timings, locking emulation and zombie mode edge cases. Fixes #344 2021-02-25 15:43:38 +02:00
camera.c Better camera noise on frontends without camera support 2021-01-03 16:52:18 +02:00
camera.h Stabilizing API: New joypad, debugger and reset APIs; internal APIs and direct struct access are no longer available without defining GB_INTERNAL. The SDL port uses the new “public” APIs, as well as most of the non-debug Cocoa code. 2017-04-17 20:16:17 +03:00
cheats.c Minor bug fixes 2020-11-13 23:02:17 +02:00
cheats.h Fix libretro build 2020-04-25 15:12:10 +03:00
debugger.c value_to_string: use snprintf 2021-02-27 19:33:31 +01:00
debugger.h Console auto complete 2020-06-05 02:10:05 +03:00
display.c Rename UNROLL to unrolled (unrolled for) 2021-02-22 14:45:30 +02:00
display.h Color temperature control 2020-12-25 14:17:57 +02:00
gb_struct_def.h Stabilizing API: New joypad, debugger and reset APIs; internal APIs and direct struct access are no longer available without defining GB_INTERNAL. The SDL port uses the new “public” APIs, as well as most of the non-debug Cocoa code. 2017-04-17 20:16:17 +03:00
gb.c Add accurate RTC emulation mode 2021-02-25 22:12:14 +02:00
gb.h Fix PAL SGB in the Cocoa port 2021-02-25 22:42:02 +02:00
joypad.c Pass the SGB multiplayer tests 2019-09-14 12:31:52 +03:00
joypad.h ICD JOYP write API 2019-07-16 21:42:57 +03:00
mbc.c More accurate emulation of NR10 writes 2021-01-09 00:31:16 +02:00
mbc.h HuC1 IR support 2020-05-13 22:21:31 +03:00
memory.c Slightly improve MBC3 accuracy 2021-02-26 00:52:18 +02:00
memory.h Merge bsnes’s changes 2019-08-16 17:38:43 +03:00
printer.c Make the printer not deadlock after a sudden termination 2021-02-26 16:40:35 +02:00
printer.h Make the printer not deadlock after a sudden termination 2021-02-26 16:40:35 +02:00
random.c Don’t use libc’s random/rand 2019-06-14 16:49:41 +03:00
random.h Don’t use libc’s random/rand 2019-06-14 16:49:41 +03:00
rewind.c Include cleanup (#73) 2018-05-27 19:30:23 +03:00
rewind.h Include cleanup (#73) 2018-05-27 19:30:23 +03:00
rumble.c Redo channel 4's timing accurately, emulate NR43 write quirks 2020-12-12 16:02:25 +02:00
rumble.h Rumble mode selection 2020-04-29 16:50:31 +03:00
save_state.c Update the model enum so comparisons work correctly for SGB PAL and no-SFC SGBs 2021-01-16 14:51:06 +02:00
save_state.h Make gb.h compatible with C++ again for bsnes integration. Fixed #300 2020-10-09 16:39:23 +03:00
sgb.c Fixing inconsistent style 2020-04-24 20:37:57 +03:00
sgb.h Allow displaying borders outside of SGB emulation, including borrowing SGB border. Allow not displaying SGB borders. (Todo: libretro support) 2020-02-08 13:28:46 +02:00
sm83_cpu.c More accurate emulation of NR10 writes 2021-01-09 00:31:16 +02:00
sm83_cpu.h The CPU core of the Game Boy is (most likely) called SM83 2019-01-12 00:42:16 +02:00
sm83_disassembler.c Fixing inconsistent style 2020-04-24 20:37:57 +03:00
symbol_hash.c Allow more than 1 symbol per debug address 2020-05-07 00:12:35 +02:00
symbol_hash.h Include cleanup (#73) 2018-05-27 19:30:23 +03:00
timing.c Make the printer not deadlock after a sudden termination 2021-02-26 16:40:35 +02:00
timing.h Add accurate RTC emulation mode 2021-02-25 22:12:14 +02:00
workboy.c Workboy emulation (Cocoa only) 2020-09-19 19:31:24 +03:00
workboy.h Workboy emulation (Cocoa only) 2020-09-19 19:31:24 +03:00