HomePhabricator

[CMAKE] Add the check-security target

Description

[CMAKE] Add the check-security target

Summary:
This target runs the security-check.py scripts on the executables.
This is the equivalent of the autotools check-security rule.

Depends on D4136.

Test Plan:
Build the depends subsystem for linux 64, then:

mkdir buildcmake && cd buildcmake
cmake -GNinja .. \
  -DENABLE_GLIBC_BACK_COMPAT=ON \
  -DENABLE_STATIC_LIBSTDCXX=ON \
  -DENABLE_REDUCE_EXPORTS=ON \
  -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Linux64.cmake
ninja check-security

If should be successful.

Reviewers: #bitcoin_abc, deadalnix, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D4137

Details

Provenance
FabienAuthored on Sep 23 2019, 11:55
nakihitoPushed on Sep 25 2019, 21:53
Reviewer
Restricted Project
Differential Revision
D4137: [CMAKE] Add the check-security target
Parents
rSTAGINGa7b6fd856433: [CMAKE] Add the check-symbols target
Branches
Unknown
Tags
Unknown