Wireshark-commits: [Wireshark-commits] master ff1dbba: CMake: Add a hardening-check target.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ff1dbba6ec981d32438235587c52ca4d0c039b0a
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
ff1dbba by Gerald Combs (gerald@xxxxxxxxxxxxx):
CMake: Add a hardening-check target.
On Windows, add a hardening-check target which checks for DYNAMICBASE
and NXCOMPAT using the PowerShell script Get-HardenFlags.ps1.
For a Visual Studio solution, run the check by calling:
msbuild /m /p:Configuration=RelWithDebInfo hardening-check.vcxproj
using the config as appropriate for your build.
Otherwise if we find the Debian/Fedora hardening-check script add a
target which runs it for each of our executables.
Change-Id: I62263e81d155c66e8c8edc751ffab535bf9f3b96
Reviewed-on: https://code.wireshark.org/review/10641
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 44d17c7 airpdcap: fix WEP decryption
adds ff1dbba CMake: Add a hardening-check target.
Summary of changes:
CMakeLists.txt | 27 +++++++++++++++
tools/Get-HardenFlags.ps1 | 84 +++++++++++++++++++++++++++++++++++++++++++++
tools/Makefile.am | 7 ++--
3 files changed, 115 insertions(+), 3 deletions(-)
create mode 100644 tools/Get-HardenFlags.ps1