Skip to content

KOLANICH-libs/Hardening.cmake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Hardening.cmake

Enables various mitigations. Position Independent Code (enables ASLR and is a prereq for sanitizers), DEP (for Windows), various mitigations against microarchitectural vulnrs that destroy performance ... stuff like this.

How to use

  1. Add this repo as a submodule into your repo.
  2. Point CMake to search for modules in it.
  3. include(Hardening)
  4. harden(<your target>)

About

A module for CMake to enable various mitigations implemented in compilers

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors

Languages