[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/11513] Garbage is loaded into asection#lineno
From: |
dzidzitop at lavabit dot com |
Subject: |
[Bug binutils/11513] Garbage is loaded into asection#lineno |
Date: |
30 Apr 2010 20:09:33 -0000 |
------- Additional Comments From dzidzitop at lavabit dot com 2010-04-30 20:09
-------
Created an attachment (id=4758)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4758&action=view)
testcase to re-produce the issue
compile this source (specify proper path in the PATH_TO_EXECUTABLE constant and
run against bbb.exe. You will see offsets > 1000 which is simply wrong. bbb.exe
was built from main.cpp which has lines > 40. There are no lines with such
numbers displayed.
For more complicated binaries line numbers are random. The binary is too large
to upload it here to demonstate.
There is also a question. Why sections within BFD are initialised if and only
if bfd_check_format_matches(abfd, bfd_object, &matching) is called? This looks
like a hack.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11513
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.