diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2024-06-21 21:39:33 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-06-29 05:36:30 +0300 |
commit | 961a2851324561caed579764ffbee3db82b32829 (patch) | |
tree | 7575bd1e2f612067e1ae7bccc2c0add96833caee /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 6073496a20c5e2e8eee63c50af4b30fb2f521643 (diff) | |
download | linux-961a2851324561caed579764ffbee3db82b32829.tar.xz |
build-id: require program headers to be right after ELF header
Neither ELF spec not ELF loader require program header to be placed right
after ELF header, but build-id code very much assumes such placement:
See
find_get_page(vma->vm_file->f_mapping, 0);
line and checks against PAGE_SIZE.
Returns errors for now until someone rewrites build-id parser
to be more inline with load_elf_binary().
Link: https://lkml.kernel.org/r/d58bc281-6ca7-467a-9a64-40fa214bd63e@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions