llvm-project/llvm/tools/llvm-objdump
Kuba Mracek a7c48b79a9 [llvm-objdump] Fix jumptable detection when disassembling Mach-O binaries
- Add LC_SEGMENT_64 handling in getSectionsAndSymbols to be able to find the base segment address from 64-bit Mach-O binaries.
- Add "data in code" detection into the !symbolTableWorked case, extract it into a separate function.
- Fix uninitialized variable usage on BaseSegmentAddress (initialize to 0).
- Add test.

Differential Revision: https://reviews.llvm.org/D65491

llvm-svn: 367578
2019-08-01 15:51:14 +00:00
..
CMakeLists.txt Fix debug build by adding missing dependencies on libBinaryFormat 2018-05-15 00:46:43 +00:00
COFFDump.cpp [Object] Change ObjectFile::getSectionContents to return Expected<ArrayRef<uint8_t>> 2019-05-14 04:22:51 +00:00
ELFDump.cpp [llvm-objdump] errorToErrorCode+message -> toString 2019-04-25 04:31:26 +00:00
LLVMBuild.txt Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
MachODump.cpp [llvm-objdump] Fix jumptable detection when disassembling Mach-O binaries 2019-08-01 15:51:14 +00:00
WasmDump.cpp [llvm-objdump] Wrap things in namespace llvm 2019-04-15 15:31:42 +00:00
llvm-objdump.cpp Revert "[llvm-objdump] Add warning messages if disassembly + source for problematic inputs" 2019-07-30 07:05:27 +00:00
llvm-objdump.h Revert "[llvm-objdump] Add warning messages if disassembly + source for problematic inputs" 2019-07-30 07:05:27 +00:00