llvm/test/tools/dsymutil
Frederic Riss 856a0143b0 [dsymutil] Prevent use-after-free
The BinaryHolder would query the archive member MemoryBuffer name
to check if the current open archive also contains the next requested
objectfile. This comparison was using a StringRef to a temporary
buffer. It only happened with fat archives. This commit adds long-lived
storage along with the MemoryBuffers for the fat archive filename.

The added test would fail during an ASAN build without the fix.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268924 91177308-0d34-0410-b5e6-96231b3b80d8
2016-05-09 14:44:14 +00:00
..
ARM [dsymutil] Fix -arch option for thumb variants. 2016-05-09 06:01:12 +00:00
Inputs [dsymutil] Prevent use-after-free 2016-05-09 14:44:14 +00:00
X86 [dsymutil] Prevent use-after-free 2016-05-09 14:44:14 +00:00
absolute_symbol.test Fix tests that used CHECK-NEXT-NOT and CHECK-DAG-NOT. 2016-02-26 19:40:34 +00:00
arch-option.test MachO: remove weird ARM/Thumb interface from MachOObjectFile 2016-04-22 23:21:13 +00:00
archive-timestamp.test [dsymutil] Rename -v option to -verbose 2015-07-29 22:29:34 +00:00
basic-linking.test [dsymutil] Fix handling of common symbols. 2016-01-31 04:29:34 +00:00
debug-map-parsing.test [dsymutil] Fix handling of common symbols. 2016-01-31 04:29:34 +00:00
dump-symtab.test [dsymutil] Implement -symtab/-s option. 2015-08-31 00:29:09 +00:00
fat-binary-output.test [dsymutil] Create the temporary files in the system temp directory. 2016-05-02 21:06:14 +00:00
yaml-object-address-rewrite.test [dsymutil] Fix handling of common symbols. 2016-01-31 04:29:34 +00:00