llvm-mirror/test/tools/llvm-readobj
Saleem Abdulrasool f19ae77520 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.

llvm-svn: 206145
2014-04-14 02:37:23 +00:00
..
ARM tools: add support for decoding ARM attributes 2014-01-30 04:46:33 +00:00
Inputs tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
codeview-linetables.test Teach the llvm-readobj COFF dumper to dump debug line tables from object files 2013-12-19 11:37:14 +00:00
coff-non-null-terminated-file.test tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
coff-zero-string-table.test Relax COFF string table check 2014-02-26 19:51:44 +00:00
cxx-cli-aux.test llvm-readobj: Print referred symbol name for CLR token definition 2014-03-17 01:46:52 +00:00
dynamic.test [Mips] Add support for DT_MIPS_RLD_MAP and DT_MIPS_PLTGOT dynamic 2014-01-05 13:40:27 +00:00
file-headers.test Object/COFF: Add function to check if section number is reserved one. 2014-03-18 23:37:53 +00:00
peplus.test Rename IMAGE_DLL_CHARACTERISTICS_HIGH_ENTROPY_VA. 2014-01-27 04:22:24 +00:00
program-headers.test
reloc-types.test
relocations.test
rpath.test
sections-ext.test Fix the printing of n_type. 2014-03-06 20:13:41 +00:00
sections.test
symbols.test Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00