diff options
author | Matthew Maurer <mmaurer@google.com> | 2024-10-16 02:16:37 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2024-10-20 00:35:07 +0300 |
commit | c92aab819d56d51631f0484ed7af11d9d8ff4cb0 (patch) | |
tree | 9969cdfe33bbae15e92cb78148ec3f0d0a83c3c5 /tools/perf/scripts/python/syscall-counts.py | |
parent | 90f8f312db720dbabec7c6258ef580b50129cc21 (diff) | |
download | linux-c92aab819d56d51631f0484ed7af11d9d8ff4cb0.tar.xz |
module: Factor out elf_validity_cache_sechdrs
Factor out and document the validation of section headers.
Because we now validate all section offsets and lengths before accessing
them, we can remove the ad-hoc checks.
Signed-off-by: Matthew Maurer <mmaurer@google.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions