llvm-6502/tools/llvm-readobj
Saleem Abdulrasool 67635a7f8d tools: address possible non-null terminated filenames
If a filename is a multiple of 18 characters, there will be no null-terminator.
This will result in an invalid access by the constructed StringRef.  Add a test
case to exercise this and fix that handling.  Address this same vulnerability in
llvm-readobj as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206145 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-14 02:37:23 +00:00
..
ARMAttributeParser.cpp tools: remove unnecessary copy of array_lengthof 2014-04-12 18:04:27 +00:00
ARMAttributeParser.h tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00
ARMEHABIPrinter.h tools: remove unnecessary copy of array_lengthof 2014-04-12 18:04:27 +00:00
CMakeLists.txt tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00
COFFDumper.cpp tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
ELFDumper.cpp Create .symtab_shndxr only when needed. 2014-03-25 23:44:25 +00:00
Error.cpp Support: Make error_category's constructor public 2014-03-15 04:05:59 +00:00
Error.h Add missing std:: qualifiers 2014-03-07 14:55:30 +00:00
llvm-readobj.cpp Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
llvm-readobj.h tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00
LLVMBuild.txt
MachODumper.cpp [C++11] Introduce ObjectFile::symbols() to use range-based loops. 2014-03-17 07:28:19 +00:00
Makefile
ObjDumper.cpp Re-sort #include lines again, prior to moving headers around. 2014-01-13 08:04:33 +00:00
ObjDumper.h Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
StreamWriter.cpp
StreamWriter.h tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00