Hacker GitHub

← All repos

cirosantilli/linux-kernel-module-cheat

View on GitHub ↗ ★ 4,523 Python

The perfect emulation setup to study and develop the Linux kernel, kernel modules, QEMU, gem5 and x86_64, ARMv7 and ARMv8 userland and baremetal assembly, ANSI C, C++ and POSIX. GDB step debug and KGDB just work. Powered by Buildroot and crosstool-NG. Highly automated. Thoroughly documented. Automated tests. "Tested" in an Ubuntu 24.04 host.

6 mentions on Hacker News by 3 people: 2 stories, 4 comments · first 2018-11-26 · latest 2023-10-13

Mentions per year 6 mentions · busiest year 2018 (3)
20082026
  1. …class, be sure to keep the class instructor(s) in loop. Automated build example [0] from [1]. [0] : http://github.com/cirosantilli/linux-kernel-module-cheat/tre... [1] : http://unix.stackexchange.com/questions/397939/turning-off-k ...
  2. …more accurately (sometimes), but it is also way slower as a result, some indications at: https://github.com/cirosantilli/linux-kernel-module-cheat/tr...
  3. This is trivial with Buildroot btw, see e.g.: https://github.com/cirosantilli/linux-kernel-module-cheat/tr... And a minimal hello world at: https://unix.stackexchange.com/questions/122717/how-to-creat...
  4. A similar effect can be achieved with Newlib, which is mentioned on the post, and exemplified at: https://github.com/cirosantilli/linux-kernel-module-cheat/tr... You might need to implement some syscalls though. Or similarly you can also…