mirror of
https://github.com/rosenpass/rosenpass.git
synced 2026-02-28 14:33:37 -08:00
chore: clean up unused log parameter
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
# TODO for the project of rewriting Marzipan
|
# TODO for the project of rewriting Marzipan
|
||||||
|
|
||||||
## Next steps
|
## Done
|
||||||
|
|
||||||
* ~~figure out why ProVerif is started on the non-processed mpv file~~
|
* ~~figure out why ProVerif is started on the non-processed mpv file~~
|
||||||
* ~~rework rebound warnings (`clean_warnings` Bash function)~~
|
* ~~rework rebound warnings (`clean_warnings` Bash function)~~
|
||||||
```bash
|
```bash
|
||||||
rosenpass$ rosenpass-marzipan run-proverif target/proverif/03_identity_hiding_responder.entry.o.pv target/proverif/03_identity_hiding_responder.entry.log
|
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
|
* cpp pre-processing stuff
|
||||||
* awk pre-processing stuff
|
* awk pre-processing stuff
|
||||||
* `pretty_output` Bash function
|
* `pretty_output` Bash function
|
||||||
|
|||||||
@@ -20,9 +20,8 @@ def exc(argv, **kwargs):
|
|||||||
|
|
||||||
@click.command()
|
@click.command()
|
||||||
@click.argument("file")
|
@click.argument("file")
|
||||||
@click.argument("log")
|
|
||||||
@click.argument("extra_args", required=False)
|
@click.argument("extra_args", required=False)
|
||||||
def run_proverif(file, log, extra_args=[]):
|
def run_proverif(file, extra_args=[]):
|
||||||
if extra_args is None:
|
if extra_args is None:
|
||||||
extra_args = []
|
extra_args = []
|
||||||
params = ["proverif", "-test", *extra_args, file]
|
params = ["proverif", "-test", *extra_args, file]
|
||||||
|
|||||||
@@ -7,10 +7,9 @@ exc() {
|
|||||||
|
|
||||||
run_proverif() {
|
run_proverif() {
|
||||||
local file; file="$1"; shift
|
local file; file="$1"; shift
|
||||||
local log; log="$1"; shift
|
local log; log="$1"; shift # intentionally unused
|
||||||
#exc proverif -test "${@}" "${file}" 2>&1
|
|
||||||
|
|
||||||
exc rosenpass-marzipan run-proverif "${file}" "${log}" "${@}"
|
exc rosenpass-marzipan run-proverif "${file}" "${@}"
|
||||||
}
|
}
|
||||||
|
|
||||||
clean_warnings() {
|
clean_warnings() {
|
||||||
|
|||||||
Reference in New Issue
Block a user