| Date | Thu, 6 Feb 2020 04:39:43 -0800 | From | Kees Cook <> | Subject | Re: [RFC PATCH 02/11] x86: tools/relocs: Support >64K section headers |
| |
On Wed, Feb 05, 2020 at 02:39:41PM -0800, Kristen Carlson Accardi wrote: > While it is already supported to find the total number of section > headers if we exceed 64K sections, we need to support the > extended symbol table to get section header indexes for symbols > when there are > 64K sections. Parse the elf file to read > the extended symbol table info, and then replace all direct references > to st_shndx with calls to sym_index(), which will determine whether > we can read the value directly or whether we need to pull it out of > the extended table. > > Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Looks good to me.
Reviewed-by: Kees Cook <keescook@chromium.org>
-Kees
-- Kees Cook
|