I found the following line in "Console" of eclipse when building the NDK project. I think it' s the answer.
scan-build: Using '/opt/android-ndk/toolchains/llvm-3.2/prebuilt/linux-x86_64/bin/armeabi/analyzer' for static analysis
And in the console at last it shows:
scan-build: 1 bugs found. scan-build: Run 'scan-view /tmp/scan-build-2013-03-29-4' to examine bug reports.
It detects basic errors such as divide by zero, not memory issues, though.