Skip to content

Commit ade031b

Browse files
committed
Fix the incorrect Clang version for -fcf-protection=check
The -fcf-protection argument check is not currently supported by Clang. Signed-off-by: Thomas Nyman <[email protected]>
1 parent c39fa95 commit ade031b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Compiler-Hardening-Guides/Compiler-Options-Hardening-Guide-for-C-and-C++.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -759,7 +759,7 @@ The performance overhead is dependent on the number of function’s instrumented
759759
| <span id="-fcf-protection=branch">`-fcf-protection=branch`</span><br/> | GCC 8.0.0<br/>Clang 7.0.0 | Enable control-flow protection against JOP on x86_64 |
760760
| <span id="-fcf-protection=return">`-fcf-protection=return`</span><br/> | GCC 8.0.0<br/>Clang 7.0.0 | Enable control-flow protection against ROP on x86_64 |
761761
| <span id="-fcf-protection=none">`-fcf-protection=none`</span><br/> | GCC 8.0.0<br/>Clang 7.0.0 | Disable control-flow protections |
762-
| <span id="-fcf-protection=check">`-fcf-protection=check`</span><br/> | GCC 8.0.0<br/>Clang 7.0.0 | Instruct linker to verify all object files in final link with link-time optimization (LTO) are compiled with identical control-flow protections |
762+
| <span id="-fcf-protection=check">`-fcf-protection=check`</span><br/> | GCC 8.0.0 | Instruct linker to verify all object files in final link with link-time optimization (LTO) are compiled with identical control-flow protections |
763763
| <span id="-mbranch-protection-standard">`-mbranch-protection=standard`</span> | GCC 9.0.0<br/>Clang 8.0.0 | Enable branch protection to counter ROP and JOP attacks on AArch64 |
764764

765765
#### Synopsis

0 commit comments

Comments
 (0)