logan_2023/day3
2023-12-04 22:35:43 -07:00
..
answer1 Added Day 3 Part 1 sample and answer 2023-12-04 19:54:59 -07:00
answer2 Day 3 Part 2 (Linux Kernel Module) 2023-12-04 22:23:57 -07:00
aoc2023d3p1.c Added comment in D3P1 redirecting users to D3P2 for a better example 2023-12-04 22:24:56 -07:00
aoc2023d3p2.c Day 3 Part 2 (Linux Kernel Module) 2023-12-04 22:23:57 -07:00
input Day 3 input 2023-12-04 02:53:07 -07:00
Makefile Helps to add the Makefile 2023-12-04 22:24:35 -07:00
README.md Improved Day 3 README 2023-12-04 22:35:43 -07:00
sample1 Added Day 3 Part 1 sample and answer 2023-12-04 19:54:59 -07:00
sample2 Day 3 Part 2 (Linux Kernel Module) 2023-12-04 22:23:57 -07:00

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