aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/symbol-check.py
AgeCommit message (Collapse)Author
2017-08-28Use sys.exit(...) instead of exit(...): exit(...) should not be used in programspracticalswift
2016-06-28Favour python over python2 as per PR #7723Matthew King
2016-06-26Use portable #! in python scripts (/usr/bin/env)Matthew King
2016-03-29build: python 3 compatibilityWladimir J. van der Laan
Ubuntu 16.04 "xenial xerus" does not come with Python 2.x by default. It is possible to install a python-2.7 package, but this has its own problem: no `python` or `python2` symlink (see #7717). This fixes the following scripts to work with python 3: - `make check` (bctest,py, bitcoin-util-test.py) - `make translate` (extract_strings_qt.py) - `make symbols-check` (symbol-check.py) - `make security-check` (security-check.py) Explicitly call the python commands using $(PYTHON) instead of relying on the interpreter line at the top of the scripts.
2016-01-26release: add _IO_stdin_used to ignored exportsCory Fields
For details see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261#109
2015-11-16devtools: add libraries for bitcoin-qt to symbol checkWladimir J. van der Laan
Forgot to add these. Also add a short description for each required library.
2015-10-22devtools: Add security-check.pyWladimir J. van der Laan
Perform the following ELF security checks: - PIE: Check for position independent executable (PIE), allowing for address space randomization - NX: Check that no sections are writable and executable (including the stack) - RELRO: Check for read-only relocations, binding at startup - Canary: Check for use of stack canary Also add a check to symbol-check.py that checks that only the subset of allowed libraries is imported (to avoid incompatibilities).
2014-12-16Remove references to X11 licenceMichael Ford
2014-08-17devtools: Exclude default exports from symbol-checker scriptWladimir J. van der Laan
See discussion in #4663.
2014-04-30devtools: have symbol check script check for exported symbolsWladimir J. van der Laan
After last commit, our executables should export no symbols anymore. To make sure that this stays the case, verify this in the symbol checker script.
2014-04-25devtools: add script to check symbols from Linux gitian executablesWladimir J. van der Laan
Add a script to check that the (Linux) executables produced by gitian only contain allowed gcc, glibc and libstdc++ version symbols. This makes sure they are still compatible with the minimum supported Linux distribution versions.