Files
linux-kernel-module-cheat/lkmc/add.c
Ciro Santilli 六四事件 法轮功 5391bc1bfd Get rid of lkmc_assert_fail in favor of abort + assert
What was missing previously was implementing abort in baremetal.

I had done that previously and forgotten to do this conversion!
2019-05-21 00:00:00 +00:00

14 lines
201 B
C

#include <assert.h>
int main(void) {
int i, j, k;
i = 1;
/* test-gdb-op1 */
j = 2;
/* test-gdb-op2 */
k = i + j;
/* test-gdb-result */
if (k != 3)
assert(0);
}