[Bug binutils/17531] readelf -a crashes on fuzzed samples

2014-11-01 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17531

--- Comment #1 from Alexander Cherepanov  ---
Created attachment 7883
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7883&action=edit
`readelf -a` assertion failed

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/17531] readelf -a crashes on fuzzed samples

2014-11-01 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17531

--- Comment #2 from Alexander Cherepanov  ---
Created attachment 7884
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7884&action=edit
`readelf -a` loops forever

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/17531] New: readelf -a crashes on fuzzed samples

2014-11-01 Thread cherepan at mccme dot ru
https://sourceware.org/bugzilla/show_bug.cgi?id=17531

Bug ID: 17531
   Summary: readelf -a crashes on fuzzed samples
   Product: binutils
   Version: 2.26 (HEAD)
Status: NEW
  Severity: normal
  Priority: P2
 Component: binutils
  Assignee: unassigned at sourceware dot org
  Reporter: cherepan at mccme dot ru

Created attachment 7882
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7882&action=edit
`readelf -a` crashes

`readelf -a` (both 2.24 and head) fails on some fuzzed samples:
- crashes  -- readelf-crash attached;
- triggers assertions -- readelf-assert;
- loops forever -- readelf-loop.

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

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Question about MSP430 assembler compiler

2014-11-01 Thread Andreas Schwab
Eugene  writes:

> Loop:  xor.b  #0b0101,&P1OUT

gas/config/tc-msp430.h defines NUMBERS_WITH_SUFFIX, so this is the
number 0 with trailing garbage (which isn't properly diagnosed).  Use
0101B instead.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils