mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Move temporary list scripts to tests/scripts
This commit is contained in:
11
tests/scripts/list-macros.sh
Executable file
11
tests/scripts/list-macros.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
set =eu
|
||||
|
||||
HEADERS=$( ls include/mbedtls/*.h )
|
||||
|
||||
sed -n -e 's/.*#define \([a-zA-Z0-9_]*\).*/\1/p' $HEADERS \
|
||||
| egrep -v '^(asm|inline|EMIT|_CRT_SECURE_NO_DEPRECATE)$|^MULADDC_' \
|
||||
| sort -u > macros
|
||||
|
||||
wc -l macros
|
Reference in New Issue
Block a user