docs: add readme
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal 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]`
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[project]
|
||||
name = "codegen"
|
||||
version = "0.1.0"
|
||||
description = "Add your description here"
|
||||
description = "C challenge code generator for SAS 2026"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = []
|
||||
|
||||
Reference in New Issue
Block a user