Hi, On Tue, 2023-02-21 at 12:24 +0100, Mark Wielaard wrote: > On Tue, 2023-02-21 at 05:28 +0300, Evgeny Vereshchagin wrote: > > 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. > > I was actually planning on pushing both patches. > This one makes sure the conversion code isn't called, because that is > unnecessary in this case. The first patch adjusts the conversion code > so it doesn't leave some undefined bytes in the section data.
I have pushed both now. Cheers, Mark