mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-17 19:14:47 +00:00
lkdtm: add function for testing .rodata section
This adds a function that lives in the .rodata section. The section flags are corrected using objcopy since there is no way with gcc to declare section flags in an architecture-agnostic way. Signed-off-by: Kees Cook <keescook@chromium.org>
This commit is contained in:
parent
426f3a53d4
commit
9a49a528dc
4 changed files with 41 additions and 7 deletions
Loading…
Add table
Add a link
Reference in a new issue