Skip to content

Commit 9e1e73d

Browse files
committed
Add software name to figure captions
1 parent 344d835 commit 9e1e73d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,8 @@ referred to as “stack probes” or “stack probing”.
255255
The Rust compiler supports stack clashing protection via stack probing, and
256256
enables it by default since version 1.20.0 (2017-08-31)[26][29].
257257

258-
![Screenshot listing cross references to __rust_probestack in hello-rust.](images/image1.png "Cross references to __rust_probestack in hello-rust.")
259-
Fig. 6. Cross references to `__rust_probestack` in hello-rust.
258+
![Screenshot of IDA Pro listing cross references to __rust_probestack in hello-rust.](images/image1.png "Cross references to __rust_probestack in hello-rust.")
259+
Fig. 6. IDA Pro listing cross references to `__rust_probestack` in hello-rust.
260260

261261
```rust
262262
fn hello() {
@@ -270,8 +270,8 @@ fn main() {
270270
```
271271
Fig 7. Modified hello-rust.
272272

273-
![Screenshot listing cross references to __rust_probestack in modified hello-rust.](images/image2.png "Cross references to __rust_probestack in modified hello-rust.")
274-
Fig. 8. Cross references to `__rust_probestack` in modified hello-rust.
273+
![Screenshot of IDA Pro listing cross references to __rust_probestack in modified hello-rust.](images/image2.png "Cross references to __rust_probestack in modified hello-rust.")
274+
Fig. 8. IDA Pro listing cross references to `__rust_probestack` in modified hello-rust.
275275

276276
To check if stack clashing protection is enabled for a given binary, search
277277
for cross references to `__rust_probestack`. The `__rust_probestack` is
@@ -413,8 +413,8 @@ The Rust compiler does not support stack smashing protection. However, more
413413
comprehensive alternatives to stack smashing protection exist, such as
414414
shadow and safe stack (see Backward-edge control flow protection).
415415

416-
![Screenshot listing cross references to __stack_chk_fail in hello-rust.](images/image3.png "Cross references to __stack_chk_fail in hello-rust.")
417-
Fig. 14. Cross references to `__stack_chk_fail` in hello-rust.
416+
![Screenshot of IDA Pro listing cross references to __stack_chk_fail in hello-rust.](images/image3.png "Cross references to __stack_chk_fail in hello-rust.")
417+
Fig. 14. IDA Pro listing cross references to `__stack_chk_fail` in hello-rust.
418418

419419
To check if stack smashing protection is enabled for a given binary, search
420420
for cross references to `__stack_chk_fail`. The only cross references to

0 commit comments

Comments
 (0)