Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gmh5225 authored Nov 10, 2023
1 parent fc00f89 commit 5f6344e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ libwindrv is a windows driver library for testing the llvm-msvc compiler when tu
- [llvm-msvc](https://github.com/backengineering/llvm-msvc/releases)

## How to enable Kernel CET
- Run [enable_cet.bat](https://github.com/backengineering/libwindrv/blob/dev/tools/enable_cet.bat) in administrator mode
- Reboot 2 times
```
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\HypervisorEnforcedCodeIntegrity /v Enabled /t REG_DWORD /d 1 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\KernelShadowStacks /v Enabled /t REG_DWORD /d 1 /f
reg add HKLM\SYSTEM\CurrentControlSet\Control\DeviceGuard\Scenarios\KernelShadowStacks /v AuditModeEnabled /t REG_DWORD /d 1 /f
```


## Building win-x64 with llvm-msvc
Expand Down

0 comments on commit 5f6344e

Please sign in to comment.