Files
Nam Cao 0d4a777c4c riscv: kprobes: add test case for c.jal instruction simulation
Add a test case validating that kprobes correctly simulates the
c.jal instruction on RV32.

The test uses two probe points: a forward c.jal and a backward
c.jal, and verifies that the containing function returns the
expected magic value KPROBE_TEST_MAGIC after kprobe interception.

Co-developed-by: Xiaofeng Yuan <[email protected]>
Signed-off-by: Nam Cao <[email protected]>
Signed-off-by: Xiaofeng Yuan <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Tested-by: Charlie Jenkins <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paul Walmsley <[email protected]>
2026-08-07 19:24:29 -06:00
..
2025-09-16 16:25:51 -06:00