tools/testing/selftests/riscv/cfi/shadowstack.h

Source file repositories/reference/linux-study-clean/tools/testing/selftests/riscv/cfi/shadowstack.h

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/riscv/cfi/shadowstack.h
Extension
.h
Size
802 bytes
Lines
28
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

struct shadow_stack_tests {
	char *name;
	shstk_test_func t_func;
};

bool shadow_stack_fork_test(unsigned long test_num, void *ctx);
bool shadow_stack_map_test(unsigned long test_num, void *ctx);
bool shadow_stack_protection_test(unsigned long test_num, void *ctx);
bool shadow_stack_gup_tests(unsigned long test_num, void *ctx);
bool shadow_stack_signal_test(unsigned long test_num, void *ctx);

int execute_shadow_stack_tests(void);

#endif

Annotation

Implementation Notes