doc: Update exploit-mitigations.md, update image3.png

This commit is contained in:
Marcin S 2023-05-21 08:22:03 -04:00
parent 21517923e1
commit a4d6d9a24f
No known key found for this signature in database
GPG Key ID: E73091D3C6754161
2 changed files with 3 additions and 3 deletions

View File

@ -439,9 +439,9 @@ Fig. 14. IDA Pro listing cross references to `__stack_chk_fail` in
hello-rust.
To check if stack smashing protection is enabled for a given binary, search
for cross references to `__stack_chk_fail`. The only cross references to
`__stack_chk_fail` in hello-rust are from the statically-linked libbacktrace
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).
### Forward-edge control flow protection

Binary file not shown.

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 19 KiB