Commit 811e56a0 authored by Denis Kasak's avatar Denis Kasak
Browse files

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.
parent 583f8b76
Pipeline #7667 passed with stages
in 2 minutes and 29 seconds
#!/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment