6 Commits

Author SHA1 Message Date
Christopher Cole
40240fc4af
Fix a divide by zero panic in SysVHashTable.find() for empty tables
Also, add fuzz coverage for ElfBytes::find_common_sections() and its
associated types. This fuzzing is what discovered that panic in find().
2022-11-05 14:18:58 -07:00
Christopher Cole
40799c6961
Add ElfBytes::symbol_version_table() to get the GNU extension symbol version table. 2022-11-05 13:39:02 -07:00
Christopher Cole
6d6d1e23ce
Rename elf::File -> elf::ElfStream and make it specific to the Read + Seek interface 2022-11-04 23:04:25 -07:00
Christopher Cole
90a9975712
Move some fuzz targets over to testing ElfBytes 2022-11-04 22:24:32 -07:00
Christopher Cole
133fa08114
Rename gabi -> abi since it technically includes extension constants, too 2022-11-04 16:43:13 -07:00
Christopher Cole
848f648996
Add some fuzz targets for some parts of our ELF parsing interface via cargo-fuzz
I decided to make multiple smaller fuzz targets like this in order to give each one
a smaller fuzzing domain to explore for that particular feature.
2022-11-01 12:14:15 -07:00