diff --git a/lib_exports.sh b/lib_exports.sh new file mode 100755 index 0000000..3140c79 --- /dev/null +++ b/lib_exports.sh @@ -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