cachepc

Prime+Probe cache-based side-channel attack on AMD SEV-SNP protected virtual machines
git clone https://git.sinitax.com/sinitax/cachepc
Log | Files | Refs | Submodules | README | sfeed.txt

commit 297900bdb5d58224bb1d65f5632a179de825c11d
parent d4ca1bb9a12e64e8b0a09f7a4316eda628f4edf1
Author: Louis Burda <quent.burda@gmail.com>
Date:   Mon, 26 Sep 2022 23:38:34 +0200

Removed unused variable

Diffstat:
M.gitignore | 1+
Mkmod/util.c | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.gitignore b/.gitignore @@ -3,5 +3,6 @@ push.sh .vscode *.o.cmd *.o +*.o.d *.out *.swp diff --git a/kmod/util.c b/kmod/util.c @@ -3,7 +3,7 @@ void random_perm(uint32_t *arr, uint32_t arr_len) { - uint32_t i, mid; + uint32_t i; /* no special ordering needed when prefetcher is disabled */ for (i = 0; i < arr_len; i++)