1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/tools/dsymutil
Frederic Riss 9572f5c72f [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.

llvm-svn: 268924
2016-05-09 14:44:14 +00:00
..
BinaryHolder.cpp [dsymutil] Prevent use-after-free 2016-05-09 14:44:14 +00:00
BinaryHolder.h [dsymutil] Prevent use-after-free 2016-05-09 14:44:14 +00:00
CMakeLists.txt
DebugMap.cpp Thread Expected<...> up from libObject’s getName() for symbols to allow llvm-objdump to produce a good error message. 2016-04-20 21:24:34 +00:00
DebugMap.h [dsymutil] Allow debug map mappings with no object file address. NFC 2016-01-31 04:29:22 +00:00
dsymutil.cpp [dsymutil] Create the temporary files in the system temp directory. 2016-05-02 21:06:14 +00:00
dsymutil.h
DwarfLinker.cpp dsymutil: Only warn about clang module DWO id mismatches in verbose mode. 2016-04-25 17:04:32 +00:00
LLVMBuild.txt
MachODebugMapParser.cpp [dsymutil] Fix -arch option for thumb variants. 2016-05-09 06:01:12 +00:00
MachOUtils.cpp
MachOUtils.h
NonRelocatableStringpool.h One more batch of self-containing headers. 2016-01-27 19:29:56 +00:00