[vlc-devel] [PATCH 13/41] Define COLOR as VLC_COLOR on OS/2.

Rafaël Carré funman at videolan.org
Wed Oct 12 14:58:47 CEST 2011

Le Mon, 10 Oct 2011 18:31:36 +0300,
"Rémi Denis-Courmont" <remi at remlab.net> a écrit :

> Anyone knows a simple way to look for static non constant data throughout the 
> code base?

nm --defined-only libfoo.so|grep -E ' (b|B) '

This will catch uninitialized static data (set to 0 by default -> put into BSS)

It leaves initialized static data, and static const data set to zero as false positive

Rafaël Carré

More information about the vlc-devel mailing list