Re: [PATCH -tip v5 1/7] x86: instruction decorder API

Masami Hiramatsu
2009-05-11T14:35:39Z

Christoph Hellwig wrote:
> On Fri, May 08, 2009 at 08:48:42PM -0400, Masami Hiramatsu wrote:
>> Add x86 instruction decoder to arch-specific libraries. This decoder
>> can decode x86 instructions used in kernel into prefix, opcode, modrm,
>> sib, displacement and immediates. This can also show the length of
>> instructions.
>
> Could also be used to implement a simple disasembler for OOPS output ala
> arch/s390/kernel/dis.c?

Yes, but as you may know, it's not so "simple"...especially show it as
"gas-like(a.k.a. at&t)" expression :-)

Thank you,