1
0
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:
Manuel Pégourié-Gonnard
2015-04-09 10:12:44 +02:00
parent e546ad4afd
commit 0edba1a8ee
4 changed files with 0 additions and 0 deletions

11
tests/scripts/list-macros.sh Executable file
View 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