binutils: enable dwarf analysis in readelf fuzzer (#6628)

This commit is contained in:
DavidKorczynski 2021-10-21 16:20:33 +01:00 committed by GitHub
parent 498f38adbe
commit e3c24aa9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
do_arch = true;
do_notes = true;
// Main fuzz entrypoint
// Enable DWARF analysis
dwarf_select_sections_all();
// Main fuzz entrypoint
process_file(filename);
unlink(filename);