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


Groups > linux.kernel > #1536392

Re: [PATCH] objtool: fix bytes check of lea's rex_prefix

From Josh Poimboeuf <jpoimboe@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH] objtool: fix bytes check of lea's rex_prefix
Date 2016-12-05 21:30 +0100
Message-ID <sL83D-NU-1@gated-at.bofh.it> (permalink)
References <sKZa2-3tB-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 05, 2016 at 11:55:51AM +0100, Jiri Slaby wrote:
> For the "lea %(rsp), %rbp" case, we check if there is a rex_prefix. But
> we check "bytes" which is insn_byte_t[4] in rex_prefix (insn_field
> structure). Therefore, the check is always true.
> 
> Instead, check nbytes which is the right one.
> 
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Josh Poimboeuf <jpoimboe@redhat.com>

Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>

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


Thread

[PATCH] objtool: fix bytes check of lea's rex_prefix Jiri Slaby <jslaby@suse.cz> - 2016-12-05 12:00 +0100
  Re: [PATCH] objtool: fix bytes check of lea's rex_prefix Josh Poimboeuf <jpoimboe@redhat.com> - 2016-12-05 21:30 +0100
  [tip:core/urgent] objtool: Fix bytes check of lea's rex_prefix tip-bot for Jiri Slaby <tipbot@zytor.com> - 2016-12-06 11:20 +0100

csiph-web