Re: instruction-analysis API(s)

2009-03-06 Thread Jim Keniston
Quoting Masami Hiramatsu mhira...@redhat.com: Hi Jim and Sriker, Here, I almost rewrote my patch. Changelog: - rewrite decoding logic based on Intel' manual. - supoort insn_get_sib(),insn_get_displacement() and insn_get_immediate() too. - support 3 bytes opcode and 64bit immediate. -

Re: instruction-analysis API(s)

2009-03-04 Thread Masami Hiramatsu
Hi Jim, Jim Keniston wrote: On Fri, 2009-02-27 at 16:20 -0500, Masami Hiramatsu wrote: ... Here are a patch against your code and an example code for instruction length decoder. Curiously, KVM's instruction decoder does not completely cover all instructions(especially, Jcc/test...). I had

Re: instruction-analysis API(s)

2009-03-03 Thread Jim Keniston
On Fri, 2009-02-27 at 16:20 -0500, Masami Hiramatsu wrote: ... Here are a patch against your code and an example code for instruction length decoder. Curiously, KVM's instruction decoder does not completely cover all instructions(especially, Jcc/test...). I had to refer Intel manuals.

Re: instruction-analysis API(s)

2009-02-26 Thread Masami Hiramatsu
Jim Keniston wrote: Hi, Masami. Ananth, Srikar, Maneesh, and I talked about this last night. While I was on vacation, Srikar did further investigation into adapting x86 kvm's instuction analysis for more general use, and he's not optimistic. For the short term, at least (i.e., between now