Files
linux-kernel-module-cheat/userland/arch/x86_64/lkmc_assert_eq_fail.S
Ciro Santilli 六四事件 法轮功 53ef7281a4 userland x86_64: implement ASSERT_MEMCMP
2019-05-08 00:00:10 +00:00

10 lines
180 B
ArmAsm

/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-assembly */
#include "common.h"
ENTRY
mov $1, %rax
ASSERT_EQ(%rax, $1)
ASSERT_EQ(%rax, $2)
EXIT