visualboyadvance-m/src/sdl
Rafael Kitover 6b4862581e fix some ELF parsing vulnerabilities #255
Implement the recommendations described in issue #255 by @zzazzdzz:

- Check bounds when reading ELF program header sections.

- Skip reading ELF section headers if the string table pointer is NULL.

- Increase the buffer size for dissassembled instructions in the
  dissassembly view and pass the buffer size to the disArm() and
  disThumb() functions so that rudimentary bounds checking can be done.

Also add the constants WORK_RAM_SIZE and ROM_SIZE to reduce incidence of
magic numbers and make the code a bit cleaner.
2018-06-29 08:17:13 -07:00
..
SDL.cpp remove version.h in ConfigManager and AutoBuild.h 2017-08-27 13:32:13 -07:00
debugger.cpp fix some ELF parsing vulnerabilities #255 2018-06-29 08:17:13 -07:00
debugger.h Kill common/Types.h, replace its old typedefs w/ standard types 2016-07-29 11:07:11 +02:00
expr-lex.cpp gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
expr.cpp Fix namespace issue, missing parens, missing func 2016-10-24 12:40:43 -07:00
expr.cpp.h gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
expr.l shuffles magic mush...... trunk MSVC2010 buildfix 2012-01-20 22:03:27 +00:00
expr.ypp Fix namespace issue, missing parens, missing func 2016-10-24 12:40:43 -07:00
exprNode.cpp Kill common/Types.h, replace its old typedefs w/ standard types 2016-07-29 11:07:11 +02:00
exprNode.h Kill common/Types.h, replace its old typedefs w/ standard types 2016-07-29 11:07:11 +02:00
filters.cpp Moved all filters into interframe.cpp file, original code by EmporerArthur 2016-11-19 20:43:07 -05:00
filters.h Re-add Types.h, remove some more #ifdef 2018-06-08 20:14:45 +08:00
getopt.c gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
getopt.h gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
getopt1.c gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
inputSDL.cpp gb folder is done, next up gba, once this is all up I'm going to look at enhancing the cores 2016-07-09 11:41:31 -04:00
inputSDL.h Fix SDL.h includes 2016-07-31 00:11:21 +02:00
text.cpp Fix FSF address information 2016-12-10 19:19:34 -05:00
text.h Kill common/Types.h, replace its old typedefs w/ standard types 2016-07-29 11:07:11 +02:00
vbam.cfg-example changed the throttle for sdl config example 2017-03-07 06:48:41 -05:00