diff options
| author | J08nY | 2023-10-06 15:26:06 +0200 |
|---|---|---|
| committer | J08nY | 2023-10-06 15:26:06 +0200 |
| commit | 71579306e7c63123426e5bda105e3ab850fbbb20 (patch) | |
| tree | 854403cca3e31606e365bf762fb00066ce95c843 /test | |
| parent | 135a0ba95497e10fb3b22bef25eaff1d043b0c0b (diff) | |
| download | pyecsca-codegen-71579306e7c63123426e5bda105e3ab850fbbb20.tar.gz pyecsca-codegen-71579306e7c63123426e5bda105e3ab850fbbb20.tar.zst pyecsca-codegen-71579306e7c63123426e5bda105e3ab850fbbb20.zip | |
Test under -fsanitize and fix Keccak issue.
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_impl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/test_impl.py b/test/test_impl.py index c125ce6..cb5b583 100644 --- a/test/test_impl.py +++ b/test/test_impl.py @@ -187,6 +187,9 @@ def target(request, additional, secp128r1) -> ImplTarget: f"{mult_name}({','.join(f'{key}={value}' for key, value in mult_kwargs.items())})", ".", ], + env={ + "CFLAGS": "-fsanitize=address -fsanitize=undefined -fno-sanitize-recover=all" + } ) assert res.exit_code == 0 target = HostTarget( |
