diff options
| author | Marcos Pividori <mpividori@google.com> | 2017-02-01 17:59:23 +0000 |
|---|---|---|
| committer | Marcos Pividori <mpividori@google.com> | 2017-02-01 17:59:23 +0000 |
| commit | 460886e3cf73c119e4773df1f141e5e5d3925fba (patch) | |
| tree | a1fae80ec342dda7138abb5fc089389439f83f34 /llvm/lib/Bitcode/Reader/BitstreamReader.cpp | |
| parent | 7a3a390afbbc84935a4a39fa60eff8e922e0e9f1 (diff) | |
| download | llvm-460886e3cf73c119e4773df1f141e5e5d3925fba.zip llvm-460886e3cf73c119e4773df1f141e5e5d3925fba.tar.gz llvm-460886e3cf73c119e4773df1f141e5e5d3925fba.tar.bz2 | |
[libFuzzer] Do not use llvm-objdump for disassembling a DSO.
When disassembling a DSO, for calls to functions from the PLT, llvm-objdump only
prints the offset from the PLT, like: <.plt+0x30>.
While objdump and dumpbin print the function name, like:
<__sanitizer_cov_trace_pc_guard@plt>
When analyzing the coverage in libFuzzer we dissasemble and look for the calls
to __sanitizer_cov_trace_pc_guard.
So, this fails when using llvm-objdump on a DSO.
Differential Revision: https://reviews.llvm.org/D29372
llvm-svn: 293791
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitstreamReader.cpp')
0 files changed, 0 insertions, 0 deletions
