test_control_flow_guard.rs |
To test that CFG is working, build this executable on Windows and run it
as:
`out\Release\cdb\cdb.exe -G -g -o .\out\Release\test_control_flow_guard.exe`
Which should print:
```
(a2d4.bcd8): Security check failure or stack buffer overrun - code c0000409
(!!! second chance !!!)
Subcode: 0xa FAST_FAIL_GUARD_ICALL_CHECK_FAILURE
```
If cdb.exe is not present, first run `ninja -C out\Release cdb\cdb.exe`. |
1330 |