[PATCH] Report fatal errors instead of segfaulting/asserting on a few invalid accesses while reading MachO files.

Filipe Cabecinhas filcab+llvm.phabricator at gmail.com
Mon Jan 12 18:59:42 PST 2015


Hi rafael,

Shift an older “invalid file” test to get a consistent naming for these
tests.

http://reviews.llvm.org/D6945

Files:
  lib/Object/MachOObjectFile.cpp
  test/Object/Inputs/macho-invalid-bad-symbol-index
  test/Object/Inputs/macho-invalid-no-size-for-sections
  test/Object/Inputs/macho-invalid-section-index
  test/Object/Inputs/macho-invalid-symbol-name-past-eof
  test/Object/Inputs/macho-invalid-too-small-load-command
  test/Object/Inputs/macho-invalid-zero-ncmds
  test/Object/Inputs/macho-zero-ncmds
  test/Object/Inputs/macho64-invalid-getsection-index
  test/Object/Inputs/macho64-invalid-no-size-for-sections
  test/Object/Inputs/macho64-invalid-too-small-load-command
  test/Object/macho-invalid.test
  test/Object/objdump-macho-quirks.test

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6945.18067.patch
Type: text/x-patch
Size: 7004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150113/470cb84b/attachment.bin>


More information about the llvm-commits mailing list