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


_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to