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


Groups > linux.kernel > #1669313

Re: [PATCH v7 10/26] x86/insn-eval: Add utility functions to get segment selector

From Borislav Petkov <bp@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH v7 10/26] x86/insn-eval: Add utility functions to get segment selector
Date 2017-06-19 17:40 +0200
Message-ID <tU6Wv-4tx-69@gated-at.bofh.it> (permalink)
References <tDPZD-5j6-3@gated-at.bofh.it> <tDPZE-5j6-15@gated-at.bofh.it> <tMMJc-6ag-9@gated-at.bofh.it> <tSHQu-5ZL-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jun 15, 2017 at 11:37:51AM -0700, Ricardo Neri wrote:
> Wouldn't this be ending up mixing the actual segment register and
> segment register overrides? I plan to have a function that parses the
> segment override prefixes and returns SEG_REG_CS/DS/ES/FS/GS or
> SEG_REG_IGNORE for long mode or SEG_REG_DEFAULT when the default segment
> register needs to be used. A separate function will determine what such
> default segment register is. Does this make sense?

Yes.

-- 
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: [PATCH v7 10/26] x86/insn-eval: Add utility functions to get  segment selector Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2017-06-15 20:40 +0200
  Re: [PATCH v7 10/26] x86/insn-eval: Add utility functions to get  segment selector Ricardo Neri <ricardo.neri-calderon@linux.intel.com> - 2017-06-15 21:10 +0200
    Re: [PATCH v7 10/26] x86/insn-eval: Add utility functions to get  segment selector Borislav Petkov <bp@suse.de> - 2017-06-19 18:00 +0200
  Re: [PATCH v7 10/26] x86/insn-eval: Add utility functions to get  segment selector Borislav Petkov <bp@suse.de> - 2017-06-19 17:40 +0200

csiph-web