Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1637054

Re: [v6 PATCH 10/21] x86/insn-eval: Do not use R/EBP as base if mod in ModRM is zero

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [v6 PATCH 10/21] x86/insn-eval: Do not use R/EBP as base if mod in ModRM is zero
Date 2017-05-08 00:00 +0200
Message-ID <tECnF-34t-53@gated-at.bofh.it> (permalink)
References <tixO1-76a-3@gated-at.bofh.it> <tiyh4-7wX-5@gated-at.bofh.it> <tyEBQ-55T-15@gated-at.bofh.it> <tAGzv-1XN-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Apr 26, 2017 at 06:29:59PM -0700, Ricardo Neri wrote:
> > 	if (X86_MODRM_MOD(insn->modrm.value) == 0 &&
> > 	    X86_MODRM_RM(insn->modrm.value)  == 5)
> > 
> > looks more understandable to me.
> 
> Should I go with !(X86_MODRM_MOD(insn->modrm.value)) as you suggested in
> other patches?

Ah, yes pls.

Thanks.

-- 
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [v6 PATCH 10/21] x86/insn-eval: Do not use R/EBP as base if mod  in ModRM is zero Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2017-04-27 03:40 +0200
  Re: [v6 PATCH 10/21] x86/insn-eval: Do not use R/EBP as base if mod  in ModRM is zero Borislav Petkov <bp@suse.de> - 2017-05-08 00:00 +0200

csiph-web