0ce9f9aafad15cecded14d1bfc65a2c1ae947040
To run "make memcheck", uncomment Makefile line 36 (-m no-tbm). Without this, I get : vex amd64->IR: unhandled instruction bytes: 0x8F 0xEA 0xF8 0x10 0xFF 0x23 0x1D 0x0 0x0 0x89 vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0 vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0 ==888233== valgrind: Unrecognised instruction at address 0x109336.
My solutions to the 2020 and 2021 advent of code.
My own rules :
- C : Only standard libraries (for example, no external sort).
- bash: Pure bash only: No external commands allowed (grep, sed, etc...).
Done 2020 (both C and bash, Cobol for day 1) :
- Day 1: Bash, C, and Cobol
- Days 2-18: Bash and C
- Days 19-22: Bash
Done 2021 (C only) :
- Days 1-25: C
Description
Advent of Code 2019, 2020, 2021, and 2022 in both bash and C. Maybe experiments with different languages too.
Languages
C
72.3%
Makefile
13.4%
Shell
13.3%
COBOL
0.9%
C++
0.1%