vlc-android/dump-libs.sh
Martin Storsjö 5e53f9ab4d Add a script for dumping the list of defined symbols in system libraries
Signed-off-by: Martin Storsjö <martin@martin.st>
2012-01-24 12:30:14 +02:00

7 lines
248 B
Bash
Executable File

#!/bin/sh
for i in stagefright media utils binder; do
nm -D --defined-only lib$i.so | awk '{print $3}' | grep -v ^__aeabi | grep '\(IInterface\|OMXObserver\|MemoryDealer\|Binder\|RefBase\|String\|OMXClient\|IMemory\|^str\)' > lib$i.symbols
done