]> git.ipfire.org Git - thirdparty/hostap.git/commit
trace: Add active reference tracking
authorJouni Malinen <j@w1.fi>
Mon, 21 Dec 2009 23:11:15 +0000 (01:11 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 21 Dec 2009 23:11:15 +0000 (01:11 +0200)
commita6ff0e0810b49c8f8901406a42e3c975f3aed85e
tree91acf59c33689f248a8f5878e7ade92b873ac6f3
parenta698d28415e9d510321954673b4a76b862b4066d
trace: Add active reference tracking

This WPA_TRACE=y additions allows components to register active references
to memory that has been provided to them as a pointer. If such an actively
referenced memory area is freed, tracer will report this as an error and
backtraces of both the invalid free and the location where this pointer
was marked referenced are shown.
src/utils/eloop.c
src/utils/os_unix.c
src/utils/trace.c
src/utils/trace.h