libopcodes insn_type

Ian Lance Taylor iant@google.com
Sat Apr 17 03:16:00 GMT 2010


dyblast <dyblast@gmail.com> writes:

> During my work on this library i have notice that insn_type is set only
> on few arch (mips for exemple).
> Is it  intentional? Or there is another way to get it?
> If it is not, is there a easy way to implement it?

John Gilmore added insn_type for SPARC back in 1993.  There was never
any attempt to implement it for all architectures.  I'm not sure that
anything actually uses the information.  In any case, it's not
intentionally omitted, it was just never implemented.  It's not
particular difficult to implement for any given architecture, but it
can be tedious.

Ian



More information about the Binutils mailing list