Skip to content

Commit a4d6d9a

Browse files
committed
doc: Update exploit-mitigations.md, update image3.png
1 parent 2151792 commit a4d6d9a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/doc/rustc/src/exploit-mitigations.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -439,9 +439,9 @@ Fig. 14. IDA Pro listing cross references to `__stack_chk_fail` in
439439
hello-rust.
440440

441441
To check if stack smashing protection is enabled for a given binary, search
442-
for cross references to `__stack_chk_fail`. The only cross references to
443-
`__stack_chk_fail` in hello-rust are from the statically-linked libbacktrace
444-
library (see Fig. 14).
442+
for cross references to `__stack_chk_fail`. The presence of these
443+
cross-references in Rust-compiled code (e.g., `hello_rust::main`) indicates
444+
that the stack smashing protection is enabled (see Fig. 14).
445445

446446

447447
### Forward-edge control flow protection

src/doc/rustc/src/images/image3.png

-52.1 KB
Loading

0 commit comments

Comments
 (0)