mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
To help with backtraces if we ever fix them due to the lkmc_asm_main_after_prologue debacle.
13 lines
272 B
ArmAsm
13 lines
272 B
ArmAsm
/* https://github.com/cirosantilli/linux-kernel-module-cheat#x86-control-transfer-instructions
|
|
*
|
|
* Unconditional branch, address relative to the current address.
|
|
*/
|
|
|
|
#include <lkmc.h>
|
|
|
|
LKMC_PROLOGUE
|
|
jmp .Lafter_fail
|
|
LKMC_ASSERT_FAIL
|
|
.Lafter_fail:
|
|
LKMC_EPILOGUE
|