Add gdb zeroize test when compiling with clang
This commit is contained in:
parent
f2d17929c0
commit
d0d7bf614e
1 changed files with 10 additions and 0 deletions
|
@ -907,6 +907,16 @@ make test
|
||||||
cd "$MBEDTLS_ROOT_DIR"
|
cd "$MBEDTLS_ROOT_DIR"
|
||||||
rm -rf "$OUT_OF_SOURCE_DIR"
|
rm -rf "$OUT_OF_SOURCE_DIR"
|
||||||
|
|
||||||
|
msg "test: gcc, mbedtls_zeroize()"
|
||||||
|
cleanup
|
||||||
|
CC=gcc DEBUG=1 make programs
|
||||||
|
gdb -x tests/scripts/test_zeroize.gdb
|
||||||
|
|
||||||
|
msg "test: clang, mbedtls_zeroize()"
|
||||||
|
cleanup
|
||||||
|
CC=clang DEBUG=1 make programs
|
||||||
|
gdb -x tests/scripts/test_zeroize.gdb
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
|
|
Loading…
Reference in a new issue