forked from OSchip/llvm-project
[libfuzzer] use %p for printing addresses
llvm-svn: 258370
This commit is contained in:
parent
394524d940
commit
e313f8f8ff
|
@ -265,7 +265,7 @@ size_t Fuzzer::RecordBlockCoverage() {
|
|||
LastCoveragePcBufferLen = __sanitizer_get_coverage_pc_buffer(&CoverageBuf);
|
||||
assert(CoverageBuf);
|
||||
for (size_t i = PrevBufferLen; i < LastCoveragePcBufferLen; ++i) {
|
||||
Printf("0x%x\n", CoverageBuf[i]);
|
||||
Printf("%p\n", CoverageBuf[i]);
|
||||
}
|
||||
|
||||
return LastRecordedBlockCoverage;
|
||||
|
|
Loading…
Reference in New Issue