[Bug tools/28724] New: eu-elfclassify --no-stdin option is not effect

2021-12-24 Thread panxh_ran at 163 dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28724 Bug ID: 28724 Summary: eu-elfclassify --no-stdin option is not effect Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2

[Bug tools/28723] New: "eu-size -A" does not display .comment and .note.GNU-stack

2021-12-24 Thread panxh_ran at 163 dot com via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28723 Bug ID: 28723 Summary: "eu-size -A" does not display .comment and .note.GNU-stack Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: normal

Re: Cont.: Adding a new section to an ELF file aborts with Assertion `shdr != NULL'

2021-12-24 Thread ☯ D . Snezhkov via Elfutils-devel
Thank you, Mark. It worked. Sequence I followed: ``` // Open ELF readwrite if ((e = elf_begin(fd, ELF_C_RDWR, NULL)) == NULL) errx(EXIT_FAILURE, "elf_begin() failed: %s.", elf_errmsg(-1)); // Read existing section scn = elf_nextscn(e, NULL); shdr = elf64_getshdr(scn);

Re: Cont.: Adding a new section to an ELF file aborts with Assertion `shdr != NULL'

2021-12-24 Thread Mark Wielaard
Hi, On Fri, Dec 24, 2021 at 02:42:05PM -0600, P.B. via Elfutils-devel wrote: > Sorry I for some reason could not reply to the original thread here to > follow up: > https://www.mail-archive.com/elfutils-devel@sourceware.org/msg04076.html > > But I am facing the same issue, adding the section to a

Cont.: Adding a new section to an ELF file aborts with Assertion `shdr != NULL'

2021-12-24 Thread P.B. via Elfutils-devel
Hi, Sorry I for some reason could not reply to the original thread here to follow up: https://www.mail-archive.com/elfutils-devel@sourceware.org/msg04076.html But I am facing the same issue, adding the section to a very simple ELF file fails with Assertion `shdr != NULL'. I am new to this so I a

[Bug libdw/28720] UBSan: member access within misaligned address 0x7f6e8d80f142 for type 'struct Elf32_Phdr', which requires 4 byte alignment

2021-12-24 Thread evvers at ya dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28720 --- Comment #6 from Evgeny Vereshchagin --- (In reply to Mark Wielaard from comment #2) > Interesting. I did run afl for some time (more than a day) and it found some > more issues, but none of these (yet?). I'll try honggfuzz in the future to

[Bug libdw/28720] UBSan: member access within misaligned address 0x7f6e8d80f142 for type 'struct Elf32_Phdr', which requires 4 byte alignment

2021-12-24 Thread evvers at ya dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28720 --- Comment #5 from Evgeny Vereshchagin --- Created attachment 13875 --> https://sourceware.org/bugzilla/attachment.cgi?id=13875&action=edit File triggering "member access within misaligned address" -- You are receiving this mail because:

[Bug libdw/28720] UBSan: member access within misaligned address 0x7f6e8d80f142 for type 'struct Elf32_Phdr', which requires 4 byte alignment

2021-12-24 Thread evvers at ya dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28720 --- Comment #4 from Evgeny Vereshchagin --- Created attachment 13874 --> https://sourceware.org/bugzilla/attachment.cgi?id=13874&action=edit File triggering "variable length array bound evaluates to non-positive value 0" -- You are receivi

[Bug libdw/28720] UBSan: member access within misaligned address 0x7f6e8d80f142 for type 'struct Elf32_Phdr', which requires 4 byte alignment

2021-12-24 Thread evvers at ya dot ru via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=28720 --- Comment #3 from Evgeny Vereshchagin --- As far as I can see with the fuzz branch rebased on top on my fuzzing branch almost all the issues including https://sourceware.org/pipermail/elfutils-devel/2021q4/004596.html are gone. Thanks! I'll