chore: clean up unused log parameter

This commit is contained in:
Benjamin Lipp
2025-05-06 16:34:35 +02:00
parent 3e161d8c8d
commit 18359ef3f4
3 changed files with 7 additions and 7 deletions

View File

@@ -1,14 +1,16 @@
# TODO for the project of rewriting Marzipan
## Next steps
## Done
* ~~figure out why ProVerif is started on the non-processed mpv file~~
* ~~rework rebound warnings (`clean_warnings` Bash function)~~
```bash
rosenpass$ rosenpass-marzipan run-proverif target/proverif/03_identity_hiding_responder.entry.o.pv target/proverif/03_identity_hiding_responder.entry.log
```
* ~~provide log parameter to `rosenpass-marzipan`-call~~ (no, it was intentionally not used)
## Next Steps
* provide log parameter to `rosenpass-marzipan`-call
* cpp pre-processing stuff
* awk pre-processing stuff
* `pretty_output` Bash function

View File

@@ -20,9 +20,8 @@ def exc(argv, **kwargs):
@click.command()
@click.argument("file")
@click.argument("log")
@click.argument("extra_args", required=False)
def run_proverif(file, log, extra_args=[]):
def run_proverif(file, extra_args=[]):
if extra_args is None:
extra_args = []
params = ["proverif", "-test", *extra_args, file]

View File

@@ -7,10 +7,9 @@ exc() {
run_proverif() {
local file; file="$1"; shift
local log; log="$1"; shift
#exc proverif -test "${@}" "${file}" 2>&1
local log; log="$1"; shift # intentionally unused
exc rosenpass-marzipan run-proverif "${file}" "${log}" "${@}"
exc rosenpass-marzipan run-proverif "${file}" "${@}"
}
clean_warnings() {