diff options
author | Iru Cai <mytbk920423@gmail.com> | 2019-05-28 10:54:20 +0800 |
---|---|---|
committer | Iru Cai <mytbk920423@gmail.com> | 2019-05-28 10:54:20 +0800 |
commit | 3f83b8392ec40b23374b3005b4f08c5b39f1c8c1 (patch) | |
tree | 160d6e6bfedc29b462221697d3a5a99b61162dd6 /chap/encl1.tex | |
parent | 4373e758965599ea71312c556ee3483d43b4452d (diff) | |
download | dissertation-3f83b8392ec40b23374b3005b4f08c5b39f1c8c1.tar.xz |
fixes DIFT
Diffstat (limited to 'chap/encl1.tex')
-rw-r--r-- | chap/encl1.tex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chap/encl1.tex b/chap/encl1.tex index 6a8e62a..0c47c6e 100644 --- a/chap/encl1.tex +++ b/chap/encl1.tex @@ -3,7 +3,10 @@ \chapter{附件} -\section{在 gem5 中验证处理器模型安全性的代码}\label{lst:poc_for_gem5} +\section{在 Gem5 中验证处理器模型安全性的代码}\label{lst:poc_for_gem5} + +以下 C 程序使用 Evict+Reload 的方式对受害者函数 victim 进行 Spectre 攻击。 +对于不安全的处理器模型,运行该程序时,数据 X 对应的行(以下程序为123)会输出 hit,其他行均输出 miss. 而安全的处理器模型中,所有行均输出 miss. \begin{minted}{C} #include <stdio.h> |