1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/tools/llvm-objdump
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
..
Inputs tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
coff-file.test tools: teach objdump about FILE aux records 2014-04-13 03:11:08 +00:00
coff-many-relocs.test Object/COFF: Support large relocation table. 2014-03-21 00:44:19 +00:00
coff-non-null-terminated-file.test tools: address possible non-null terminated filenames 2014-04-14 02:37:23 +00:00
coff-private-headers.test llvm-objdump/COFF: Print SEH table addresses. 2014-02-20 06:51:07 +00:00
disassembly-show-raw.test
hex-relocation-addr.test llvm-objdump output hex to match binutils' objdump 2014-03-20 22:55:15 +00:00
lit.local.cfg
out-of-section-sym.test llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
win64-unwind-data.test llvm-objdump: Indent unwind info contents. 2014-03-04 19:23:56 +00:00