logan_2023/day3/README.md
2023-12-04 22:35:43 -07:00

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).