Add memory allocation analyzer to verify OS wrapper use
authorJouni Malinen <j@w1.fi>
Sat, 19 Dec 2009 19:47:56 +0000 (21:47 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 19 Dec 2009 19:47:56 +0000 (21:47 +0200)
commitfb4baa688bdb15c7776b424cce38cfc70f5aa524
tree8eec1b74013754ed4072df37c8e7ef9d47fcfaf2
parent80d77c31ff3ddb54f2c32b5026c6e66041f8608e
Add memory allocation analyzer to verify OS wrapper use

WPA_TRACE=y builds will now verify that memory allocation in done
consistently using os_{zalloc,malloc,realloc,strdup,free} (i.e., no
mixing of os_* functions and unwrapper functions). In addition, some
common memory allocation issues (double-free, memory leaks, etc.) are
detected automatically.
hostapd/Makefile
src/utils/os.h
src/utils/os_unix.c
src/utils/trace.c
wpa_supplicant/Makefile