[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/26441] New: ASAN error: in get_b_cc /home/mliska/Programmi

From: mliska at suse dot cz
Subject: [Bug binutils/26441] New: ASAN error: in get_b_cc /home/mliska/Programming/binutils/gas/config/tc-cr16.c:1533
Date: Thu, 20 Aug 2020 12:20:34 +0000


            Bug ID: 26441
           Summary: ASAN error: in get_b_cc
           Product: binutils
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: mliska at suse dot cz
  Target Milestone: ---

The following fails when I build binutils with:
configure --build=x86_64-linux --disable-nls --disable-gdb --disable-gdbserver
--disable-sim --disable-readline --disable-libdecnumber --enable-obsolete
--target=cr16-elf CFLAGS="-g -O2 -fsanitize=address,undefined -Wno-error"
CXXLAGS="-g -O2 -fsanitize=address,undefined -Wno-error" LDFLAGS="-ldl"
Target: cr16-elf
PASS: gas/macros/paren
Executing on host: sh -c {../as-new  
/home/mliska/Programming/binutils/gas/testsuite/gas/macros/exit.s 2>gas.stderr}
 /dev/null  (timeout = 300)
==42113==ERROR: AddressSanitizer: stack-buffer-overflow on address
0x7fffffffbbe5 at pc 0x0000004ccea0 bp 0x7fffffffbb80 sp 0x7fffffffbb78
    #0 0x4cce9f in get_b_cc
    #1 0x4dbe40 in is_bcc_insn
    #2 0x4dbe40 in md_assemble
    #3 0x488f87 in read_a_source_file
    #4 0x41444f in perform_an_assembly_pass
    #5 0x41444f in main /home/mliska/Programming/binutils/gas/as.c:1417
    #6 0x7ffff6adacc9 in __libc_start_main (/lib64/libc.so.6+0x26cc9)
    #7 0x4167f9 in _start (/dev/shm/y8krvqy2/gas/as-new+0x4167f9)

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]