docs: add readme

This commit is contained in:
2026-05-08 00:35:17 +02:00
parent 6f7de5d8b5
commit afa59627a7
2 changed files with 26 additions and 1 deletions

25
README.md Normal file
View File

@@ -0,0 +1,25 @@
# SAS Project 2026 - Program
## Building
Required dependencies:
- `riscv64-unknown-elf` toolchain
- `riscv64-unknown-elf-gcc`
- `gcc`
- Python 3
```sh
make
```
### Getting the flag
Compiling with `make` will print the correct flag to stderr, e.g.:
```
[Codegen] Generated Flag: ctf{3P1WBAldo2PxYZtJIoadV_NnL1nueJAbVDtMiJhY0vQ}
```
## Running the challenge
The built binary is at `build/main[.exe]`