Re: [v6 PATCH 03/21] x86/mpx: Do not use R/EBP as base in the SIB byte with Mod = 0

2017-04-11 Thread Borislav Petkov
On Tue, Mar 07, 2017 at 04:32:36PM -0800, Ricardo Neri wrote: > Section 2.2.1.2 of the Intel 64 and IA-32 Architectures Software > Developer's Manual volume 2A states that when a SIB byte is used and the > base of the SIB byte points to R/EBP (i.e., base = 5) and the mod part > of the ModRM byte

Re: [v6 PATCH 01/21] x86/mpx: Use signed variables to compute effective addresses

2017-04-11 Thread Borislav Petkov
On Tue, Mar 07, 2017 at 04:32:34PM -0800, Ricardo Neri wrote: > Even though memory addresses are unsigned. The operands used to compute the ... unsigned, the operands ... > effective address do have a sign. This is true for the r/m part of the > ModRM byte, the