bug-binutils
[Top][All Lists]
Advanced

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

Re: Objdump missinterpretes padding bytes


From: Dominic Schell
Subject: Re: Objdump missinterpretes padding bytes
Date: Mon, 08 Aug 2005 13:38:41 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050727

Hi Nick,

Nick Clifton wrote:
> Hi Dominic,
>
>> I'm using objdump as a preprocessor for a tool which analyzes a binary's
>> assembly and discovered that a jump instruction in the libc function
>> "strrchr" has no target or rather the target lies within an instruction.
>> Objdump missinterpretes 3 padding bytes and thus creates incorrect
>> disassembly
>> output:
>
> Thanks very much for submitting this bug report and the patch.  I have
> asked the x86 binutils maintainers about but unfortunately they feel
> that the patch is not appropriate.  The whole question of how to start
> disassembly at a wrong address is a difficult one to solve and this
> patch only addresses a small subset of the problem.

Thanks for your kind reply. I know that my patch just cures a symptom, not the 
problem
itself. But it worked for me and maybe someone else lurking on this list can 
use the
patch, too :o)

Bye,
 __
|  \ _  _ . _ . _
|__/(_)||||| )|(_

-- 
Dipl.-Inf. Dominic Schell                               room: 05.156
Lehrstuhl fuer Programmiersysteme (Informatik 2)        phone:+49 9131 852 7599
Martensstr. 3, 91058 Erlangen, Germany                  fax:  +49 9131 852 8809




reply via email to

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