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]`

View File

@@ -1,7 +1,7 @@
[project] [project]
name = "codegen" name = "codegen"
version = "0.1.0" version = "0.1.0"
description = "Add your description here" description = "C challenge code generator for SAS 2026"
readme = "README.md" readme = "README.md"
requires-python = ">=3.13" requires-python = ">=3.13"
dependencies = [] dependencies = []