We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2151792 commit a4d6d9aCopy full SHA for a4d6d9a
src/doc/rustc/src/exploit-mitigations.md
@@ -439,9 +439,9 @@ Fig. 14. IDA Pro listing cross references to `__stack_chk_fail` in
439
hello-rust.
440
441
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).
+for cross references to `__stack_chk_fail`. The presence of these
+cross-references in Rust-compiled code (e.g., `hello_rust::main`) indicates
+that the stack smashing protection is enabled (see Fig. 14).
445
446
447
### Forward-edge control flow protection
src/doc/rustc/src/images/image3.png
-52.1 KB
0 commit comments