[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.21.2004061110450.26870@pobox.suse.cz>
Date: Mon, 6 Apr 2020 11:11:03 +0200 (CEST)
From: Miroslav Benes <mbenes@...e.cz>
To: Julien Thierry <jthierry@...hat.com>
cc: linux-kernel@...r.kernel.org, jpoimboe@...hat.com,
peterz@...radead.org
Subject: Re: [PATCH] objtool: Fix off-by-one in symbol_by_offset()
On Fri, 3 Apr 2020, Julien Thierry wrote:
> Sometimes, WARN_FUNC() and other users of symbol_by_offset() will
> associate the first instruction of a symbol with the symbol preceding
> it.
> This is because symbol->offset + symbol->len is already outside of the
> symbol's range.
>
> Signed-off-by: Julien Thierry <jthierry@...hat.com>
Reviewed-by: Miroslav Benes <mbenes@...e.cz>
Powered by blists - more mailing lists