Hi, On Mon, 20 Feb 2023 at 19:03, Aleksei Vetrov <vvv...@google.com> wrote: > On Mon, Feb 20, 2023 at 3:55 PM Mark Wielaard <m...@klomp.org> wrote: > > > > .debug sections are raw bytes and don't need conversion even when host > > and file have different endian order. > > Thank you! I like this patch more for its simplicity, looks good to me.
Agreed. I haven't actually tested the patch though but since it's covered by the fuzz target it should be tested once it's merged anyway. On a somewhat related looking at some recent patches and especially https://sourceware.org/git/?p=elfutils.git;a=commit;h=64ee2cb792e7b6ba6ad2a5759bff7ce8714e4668 it seems apart from OSS-Fuzz elfutils is fuzzed elsewhere. Aleksei I wonder if it would be possible to add those fuzz targets to OSS-Fuzz? There are blind spots there and I think it would be really great to start covering at least some of them. Thanks, Evgeny Vereshchagin