logan_2023/day3/README.md

18 lines
660 B
Markdown
Raw Normal View History

2023-12-05 00:32:44 -05:00
# AOC 2023 Day 3 (Linux Kernel)
2023-12-05 00:32:44 -05:00
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`
2023-12-05 00:35:43 -05:00
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.
2023-12-05 00:32:44 -05:00
# WARNING:
2023-12-05 00:35:43 -05:00
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).