Add temporary scripts

This commit is contained in:
Manuel Pégourié-Gonnard 2015-04-02 17:59:30 +01:00
parent f5fc64997c
commit 3385cf4eec
8 changed files with 285 additions and 0 deletions

11
tmp/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