Add lib_exports.sh for printing list of exported functions.
Prints the list of exported functions from a built library object. Useful for sanity checking.
This commit is contained in:
parent
583f8b761b
commit
811e56a0f0
1 changed files with 3 additions and 0 deletions
3
lib_exports.sh
Executable file
3
lib_exports.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
# Print public API (ground truth list of functions exported from the built library)
|
||||
readelf -W --dyn-syms "$(dirname "$0")"/build/libolm.so | grep -v UND | grep olm_ | awk '{ print $8 }' | sort -u
|
Loading…
Reference in a new issue