]> git.lizzy.rs Git - rust.git/commitdiff
Fixed a typo
authorDr. Koutheir Attouchi <koutheir@gmail.com>
Fri, 21 Aug 2020 18:47:18 +0000 (14:47 -0400)
committerGitHub <noreply@github.com>
Fri, 21 Aug 2020 18:47:18 +0000 (14:47 -0400)
src/doc/unstable-book/src/compiler-flags/control-flow-guard.md

index 901c053877d56de7b55b60b5e95a8dac3f9c43dd..03065f5a90723cc8027c0a45e63969e67177322c 100644 (file)
@@ -21,7 +21,7 @@ CFG functionality is completely implemented in the LLVM backend and is supported
 
 The primary motivation for enabling CFG in Rust is to enhance security when linking against non-Rust code, especially C/C++ code. To achieve full CFG protection, all indirect calls (including any from Rust code) must have the appropriate CFG checks, as added by this flag. CFG can also improve security for Rust code that uses the `unsafe` keyword.
 
-Another motivation behind CFG is to harden programs against [return-oriented programming (ROP)](https://en.wikipedia.org/wiki/Return-oriented_programming) attacks. CFG disallows an attacker from taking advantage of the programs own instructions while redirecting control flow in unexpected ways.
+Another motivation behind CFG is to harden programs against [return-oriented programming (ROP)](https://en.wikipedia.org/wiki/Return-oriented_programming) attacks. CFG disallows an attacker from taking advantage of the program's own instructions while redirecting control flow in unexpected ways.
 
 ## Overhead of Control Flow Guard