The new tools/symbol-check.py
aims to ensure that only expected symbols are exported in the secp256k1
shared library.
The script itself stems from Bitcoin Core’s contrib/devtools/symbol-check.py
and bitcoin/bitcoin#25020. It uses the LIEF library.
Useful to ensure that build system changes (including bitcoin-core/secp256k1#1113) will not introduce any unexpected regressions.