olm/lib_exports.sh

4 lines
207 B
Bash
Raw Permalink Normal View History

#!/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