feat: add seeded flag generation
This commit is contained in:
3
Makefile
3
Makefile
@@ -8,6 +8,7 @@ endif
|
||||
# Default configuration
|
||||
FLAG_LEN ?= 32
|
||||
FLAG_FORMAT ?= ctf{FLAG_GOES_HERE}
|
||||
FLAG_SEED ?= false
|
||||
|
||||
# Compilation variables
|
||||
RISCV_CC ?= riscv64-unknown-elf-gcc
|
||||
@@ -105,7 +106,7 @@ endif
|
||||
|
||||
$(GENERATED): .FORCE
|
||||
mkdir -p $(dir $@)
|
||||
python codegen/generate.py $(FLAG_FORMAT) $(FLAG_LEN) > $@
|
||||
python codegen/generate.py $(FLAG_FORMAT) $(FLAG_LEN) $(FLAG_SEED) > $@
|
||||
|
||||
|
||||
build:
|
||||
|
||||
Reference in New Issue
Block a user