diff options
author | Kees Cook <kees@kernel.org> | 2025-05-02 15:41:20 -0700 |
---|---|---|
committer | Kees Cook <kees@kernel.org> | 2025-05-08 09:42:40 -0700 |
commit | f55aef7e0cc7583062cbda9becaa3b2ba3255fa3 (patch) | |
tree | e7355e3243396e6089fcb04c67ea52ff1232b6d7 /scripts/gdb/linux/utils.py | |
parent | b370f7eacdcfe1dd17bee00506296aa3fdc773cb (diff) |
lib/tests: randstruct: Add deep function pointer layout test
The recent fix in commit c2ea09b193d2 ("randstruct: gcc-plugin: Remove
bogus void member") has fixed another issue: it was not always detecting
composite structures made only of function pointers and structures of
function pointers. Add a test for this case, and break out the layout
tests since this issue is actually a problem for Clang as well[1].
Link: https://github.com/llvm/llvm-project/issues/138355 [1]
Link: https://lore.kernel.org/r/20250502224116.work.591-kees@kernel.org
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions