[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
Thu Jan 15 14:54:02 PST 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D6945

Files:
  llvm/trunk/lib/Object/MachOObjectFile.cpp
  llvm/trunk/test/Object/Inputs/macho-invalid-bad-symbol-index
  llvm/trunk/test/Object/Inputs/macho-invalid-getsection-index
  llvm/trunk/test/Object/Inputs/macho-invalid-no-size-for-sections
  llvm/trunk/test/Object/Inputs/macho-invalid-section-index-getSectionRawFinalSegmentName
  llvm/trunk/test/Object/Inputs/macho-invalid-section-index-getSectionRawName
  llvm/trunk/test/Object/Inputs/macho-invalid-symbol-name-past-eof
  llvm/trunk/test/Object/Inputs/macho-invalid-too-small-load-command
  llvm/trunk/test/Object/Inputs/macho-invalid-too-small-segment-load-command
  llvm/trunk/test/Object/Inputs/macho-invalid-zero-ncmds
  llvm/trunk/test/Object/Inputs/macho-zero-ncmds
  llvm/trunk/test/Object/Inputs/macho64-invalid-getsection-index
  llvm/trunk/test/Object/Inputs/macho64-invalid-incomplete-load-command
  llvm/trunk/test/Object/Inputs/macho64-invalid-no-size-for-sections
  llvm/trunk/test/Object/Inputs/macho64-invalid-too-small-load-command
  llvm/trunk/test/Object/Inputs/macho64-invalid-too-small-segment-load-command
  llvm/trunk/test/Object/macho-invalid.test
  llvm/trunk/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.18266.patch
Type: text/x-patch
Size: 8772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150115/29fd338e/attachment.bin>


More information about the llvm-commits mailing list