660 B
660 B
AOC 2023 Day 3 (Linux Kernel)
This day was made as a Linux kernel module. This was tested on kernel 6.7.0-rc3.
Requirements:
- Linux
- Linux Kernel Headers
- GNU Make
- GCC
Building:
To compile: make
To run: insmod aoc2023d3p1.ko
or insmod aoc2023d3p2.ko
. By default it reads it's input from /tmp/input
, however you can change this by specifying the path
parameter and pointing it to the full path of your Unix formatted input file.
WARNING:
This program is not safe. This may crash your computer, resulting in permanent data loss. I do NOT recommend running it on real hardware (unless you're an idiot like me).