diff --git a/docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md b/docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md index 93026346..b595be47 100644 --- a/docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md +++ b/docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md @@ -209,7 +209,7 @@ Table 2: Recommended compiler options that enable run-time protection mechanisms | [`-fPIC -shared`](#-fPIC_-shared) | < Binutils 2.6.0
Clang 5.0.0 | Build as position-independent code. Can impact performance on 32-bit architectures. | | [`-fno-delete-null-pointer-checks`](#-fno-delete-null-pointer-checks) | GCC 3.0.0
Clang 7.0.0 | Force retention of null pointer checks | | [`-fno-strict-overflow`](#-fno-strict-overflow) | GCC 4.2.0 | Integer overflow may occur | -| [`-fno-strict-aliasing`](#-fno-strict-aliasing) | GCC 2.95.3
Clang 18.0.0 | Do not assume strict aliasing | +| [`-fno-strict-aliasing`](#-fno-strict-aliasing) | GCC 2.95.3
Clang 2.9.0 | Do not assume strict aliasing | | [`-ftrivial-auto-var-init`](#-ftrivial-auto-var-init) | GCC 12.0.0
Clang 8.0.0 | Perform trivial auto variable initialization | | [`-fexceptions`](#-fexceptions) | GCC 2.95.3
Clang 2.6.0 | Enable exception propagation to harden multi-threaded C code | | [`-fhardened`](#-fhardened) | GCC 14.0.0 | Enable pre-determined set of hardening options in GCC |