mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
To help with backtraces if we ever fix them due to the lkmc_asm_main_after_prologue debacle.
10 lines
217 B
ArmAsm
10 lines
217 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#arm-b-instruction */
|
|
|
|
#include <lkmc.h>
|
|
LKMC_PROLOGUE
|
|
/* Jump over the fail. 26-bit PC-relative. */
|
|
b .Lok
|
|
LKMC_ASSERT_FAIL
|
|
.Lok:
|
|
LKMC_EPILOGUE
|