Re: [RFC] Have insn decoder functions return success/failure

From: Masami Hiramatsu
Date: Fri Oct 23 2020 - 06:47:11 EST


On Fri, 23 Oct 2020 11:32:54 +0200
Borislav Petkov <bp@xxxxxxxxx> wrote:

> On Fri, Oct 23, 2020 at 06:28:50PM +0900, Masami Hiramatsu wrote:
> > OK, would you think we also better to integrate it with insn_init()?
>
> That kinda makes sense because it would obviate the need to call it
> as user of the interface but simply do insn_decode() which will do
> everything for you. Lemme see how it works out in practice...
>
> > Borislav, would you handle it? I think you already started.
>
> Sure, I'll have a poke at it.

Thanks! I look forward to it.

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>