[Bug binutils/22192] float point exception in decode_line_info in binutils 2.29 dwarf2.c

2017-09-23 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22192 --- Comment #1 from skysider --- Oops, it's perhaps a dupicate of bug 22186. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list

[Bug binutils/22192] New: float point exception in decode_line_info in binutils 2.29 dwarf2.c

2017-09-23 Thread luanjunchao at 163 dot com
: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10464 --> https://sourceware.org/bugzilla/attachment.cgi?id=10464=edit floating point except

[Bug binutils/22191] New: memory leak in dwarf2.c in gnu binutils 2.29

2017-09-23 Thread luanjunchao at 163 dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10463 --> https://sourceware.org/bugzilla/attachment.cgi?id=10463=edit memory leak poc The output of running "objdump --x -S

[Bug binutils/22163] New: null pointer dereference in elf_x86_64_get_synthetic_symtab, elf64-x86-64.c:6945 in binutils 2.29.1

2017-09-21 Thread luanjunchao at 163 dot com
Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10435 --> https://sourceware.org/bugzi

[Bug binutils/22148] New: Integer overflow in elf64-x86-64.c, binutils 2.29.1

2017-09-17 Thread luanjunchao at 163 dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10418 --> https://sourceware.org/bugzilla/attachment.cgi?id=10418=edit poc of integer overlow In elf64-x86-64.c:6718, funct

[Bug binutils/22203] memory leak in display_rel_file in nm.c in binutils 2.29

2017-09-25 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22203 skysider changed: What|Removed |Added Summary|memory leak in elfxx-x86.c |memory leak in |and

[Bug binutils/22204] New: integer overflow in decode_line_info in dwarf2.c:2294 in binutils 2.29

2017-09-25 Thread luanjunchao at 163 dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10477 --> https://sourceware.org/bugzilla/attachment.cgi?id=10477=edit poc of inte

[Bug binutils/22212] New: memory leak in nm in binutils 2.30(HEAD)

2017-09-26 Thread luanjunchao at 163 dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10486 --> https://sourceware.org/bugzilla/attachment.cgi?id=10486=edit poc of memory leak The command I execute is "nm-new -A -a

[Bug binutils/22210] New: large loop in read_formatted_entries in dwarf2.c in binutils 2.30(HEAD)

2017-09-26 Thread luanjunchao at 163 dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10484 --> https://sourceware.org/bugzilla/attachment.cgi?id=10484=edit poc of la

[Bug binutils/22210] large loop in read_formatted_entries in dwarf2.c in binutils 2.30(HEAD)

2017-09-26 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22210 --- Comment #2 from skysider --- My purpose is to test whether nm works well when opening crafted elf file. -- You are receiving this mail because: You are on the CC list for the bug. ___

[Bug binutils/22203] New: memory leak in elfxx-x86.c and _bfd_generic_read_minisymbols in binutils 2.29

2017-09-25 Thread luanjunchao at 163 dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10475 --> https://sourceware.org/bugzilla/attachment.cgi?id=10475=edit poc of mem

[Bug binutils/22216] New: infinite loop in process_symbol_table in readelf.c in binutils 2.30(HEAD)

2017-09-26 Thread luanjunchao at 163 dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10489 --> https://sourceware.org/bugzilla/attachment.cgi?id=10489=edit

[Bug binutils/22219] New: infinite loop in process_debug_info in dwarf.c in binutils 2.30(HEAD)

2017-09-27 Thread luanjunchao at 163 dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- Created attachment 10490 --> https://sourceware.org/bugzilla/attachment.cgi?id=10490=edit poc of infin

[Bug binutils/22887] New: null pointer dereference in aout_32_swap_std_reloc_out

2018-02-23 Thread luanjunchao at 163 dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- The test command is objcopy with specific elf file. Below is part of gdb debugging output. Program received signal SIGSEGV, Segmentation fault

[Bug binutils/22881] New: null pointer dereference in assign_file_positions_for_non_load_sections

2018-02-23 Thread luanjunchao at 163 dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- When I test latest objcopy with elf file, there is null pointer dereference problem. Here is part of output

[Bug binutils/22893] New: heap buffer overflow in bfd_getl32

2018-02-25 Thread luanjunchao at 163 dot com
: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- The command I test is "nm-new -A -a -l -S -s --special-syms --synthetic --with-symbol-versions -D $POC". Here is

[Bug binutils/22894] New: integer overflow in parse_die

2018-02-25 Thread luanjunchao at 163 dot com
: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- The command I test is "nm-new -A -a -l -S -s --special-syms --synthetic --with-symbol-versions -D $POC". In function parse_die, I find a case which can lead t

[Bug binutils/22895] New: integer overflow in read_attribute_value

2018-02-25 Thread luanjunchao at 163 dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- The command I test is "nm-new -A -a -l -S -s --special-syms --synthetic --with-symbol-versions -D $POC". In function read_attribute_value in dwa

[Bug binutils/22905] New: integer overflow in display_debug_ranges

2018-02-28 Thread luanjunchao at 163 dot com
Component: binutils Assignee: unassigned at sourceware dot org Reporter: luanjunchao at 163 dot com Target Milestone: --- The command I test is "objdump -x -D -S -s -g -e -G --dwarf -t -T -r -R --special-syms --inlines --dwarf-check $POC". The binutils tools are compile

[Bug binutils/22893] heap buffer overflow in bfd_getl32

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22893 --- Comment #2 from skysider --- I compile it in 32 bit mode and it crashes. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list

[Bug binutils/22895] integer overflow in read_attribute_value

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22895 --- Comment #1 from skysider --- Compile binutils in 32 bit machine. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org

[Bug binutils/22894] integer overflow in parse_die

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894 --- Comment #2 from skysider --- I test it in 32bit machine. I wonder if you compile in 32bit mode and it seems that it only crashes in 32 bit . -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/22887] null pointer dereference in aout_32_swap_std_reloc_out

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22887 --- Comment #1 from skysider --- I compile binutils in 32bit machine. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org

[Bug binutils/22895] integer overflow in read_attribute_value

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22895 --- Comment #3 from skysider --- Sure, I will test it a few hours later (it's night in my region) -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils

[Bug binutils/22887] null pointer dereference in aout_32_swap_std_reloc_out

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22887 --- Comment #4 from skysider --- The command I use is "objcopy --debugging -p -D --keep-file-symbols $POC /tmp/1" and it still crashes. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/22895] integer overflow in read_attribute_value

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22895 --- Comment #4 from skysider --- The patch doesn't work for the crash corpus. Part of my gdb debugging: (gdb) list 1186 if (blk == NULL) 1187return NULL; 1188 blk->size = _bfd_safe_read_leb128 (abfd, info_ptr,

[Bug binutils/22894] integer overflow in parse_die

2018-02-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22894 --- Comment #3 from skysider --- The patch works. -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org

[Bug binutils/22895] integer overflow in read_attribute_value

2018-02-28 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22895 --- Comment #6 from skysider --- The patch works. And the command I compile binutils is configure --disable-shared LIBS=-ldl LDFLAGS=-ldl --disable-64-bit-bfd CFLAGS="-g -O0 -fsanitize=address" CXXFLAGS="-g -O0 -fsanitize=address" make