Re: [PATCH] RISC-V: Add initial return value location support.

2019-01-10 Thread Mark Wielaard
On Thu, 2018-12-27 at 15:26 -0800, Jim Wilson wrote: > Started with the aarch64 support and modified it for RISC-V. The > flattened > structure support hasn't been written yet, but the rest of it should > be > correct for the LP64D ABI. We have potentially 6 different ABIs to > support, > so this

[Bug libelf/24081] New: Use-After-free Problem in elf32_xlatetom function in libelf

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24081 Bug ID: 24081 Summary: Use-After-free Problem in elf32_xlatetom function in libelf Product: elfutils Version: unspecified Status: UNCONFIRMED Severity: norma

[Bug libelf/24081] Use-After-free Problem in elf32_xlatetom function in libelf

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24081 --- Comment #1 from wcventure --- Created attachment 11528 --> https://sourceware.org/bugzilla/attachment.cgi?id=11528&action=edit POC2 -- You are receiving this mail because: You are on the CC list for the bug.

Re: [PATCH] RISC-V: Add initial return value location support.

2019-01-10 Thread Jim Wilson
On Thu, Jan 10, 2019 at 4:26 AM Mark Wielaard wrote: > The comments explain things well, but it would be good to have official > references to the calling convention and DWARF register mappings. > The calling convention is explained in: > > https://github.com/riscv/riscv-elf-psabi-doc/blob/master/

Re: [PATCH] RISC-V: Add initial return value location support.

2019-01-10 Thread Jim Wilson
On Thu, Jan 10, 2019 at 4:26 AM Mark Wielaard wrote: > We really should add a non-native test, so it is easier to test on > other arches. But currently only aarch64 has one (run-funcretval.sh). > I'll see if I can extend that to other arches. Then we can also see if > we can get the aggregates cor

[Bug backends/24084] New: Negative-size-param when when calling memcpy function in elf_cvt_note function in libelf the latest elfutils-0.174 code base, this inputs will cause the segment faults and I

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24084 Bug ID: 24084 Summary: Negative-size-param when when calling memcpy function in elf_cvt_note function in libelf the latest elfutils-0.174 code base, this inputs will cause the

[Bug backends/24084] Negative-size-param when when calling memcpy function in elf_cvt_note function in libelf

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24084 wcventure changed: What|Removed |Added Summary|Negative-size-param when|Negative-size-param when

[Bug libelf/24085] New: An Out of Memory problem was discovered in function in read_long_names in elf_begin.c in libelf

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24085 Bug ID: 24085 Summary: An Out of Memory problem was discovered in function in read_long_names in elf_begin.c in libelf Product: elfutils Version: unspecified Status: U

[Bug libelf/24085] An Out of Memory problem was discovered in function in read_long_names in elf_begin.c in libelf

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24085 --- Comment #1 from wcventure --- Please use the "./eu-ar -tv $POC" to reproduce the bug. If you have any questions, please let me know. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug general/24086] New: Multiple memory leak issues were discovered in in libelf and libdwelf

2019-01-10 Thread wcventure at 126 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24086 Bug ID: 24086 Summary: Multiple memory leak issues were discovered in in libelf and libdwelf Product: elfutils Version: unspecified Status: UNCONFIRMED Sever