资源简介
复旦大学_软件安全_SEED labs_8- Spectre实验
是从雪城大学SEED labs上找的实验
资源包括: 攻击修改代码、实验报告详细版、实验指导书、参考链接
代码片段和文件信息
#include
#include
#include
#include
#include
uint8_t array[10*4096];
int main(int argc const char **argv) {
int junk=0;
register uint64_t time1 time2;
volatile uint8_t *addr;
int i;
// Initialize the array
for(i=0; i<10; i++) array[i*4096]=1;
// FLUSH the array from the CPU cache
for(i=0; i<10; i++) _mm_clflush(&array[i*4096]);
// Access some of the array items
array[3*4096] = 100;
array[7*4096] = 200;
for(i=0; i<10; i++) {
addr = &array[i*4096];
time1 = __rdtscp(&junk); junk = *addr;
time2 = __rdtscp(&junk) - time1;
printf(“Access time for array[%d*4096]: %d CPU cycles\n“i (int)time2);
}
return 0;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2019-06-27 23:58 复旦大学_软件安全_SEED labs_8- Spectre\
目录 0 2019-06-27 22:05 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack\
文件 462768 2019-05-30 13:04 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack.pdf
文件 723 2018-02-23 04:42 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack\CacheTime.c
文件 1085 2018-02-23 04:42 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack\FlushReload.c
文件 1855 2019-05-20 22:07 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack\SpectreAttack.c
文件 2485 2019-05-23 15:09 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack\SpectreAttackImproved.c
文件 1400 2018-02-23 04:42 复旦大学_软件安全_SEED labs_8- Spectre\Spectre_Attack\SpectreExperiment.c
文件 2204295 2019-06-27 23:58 复旦大学_软件安全_SEED labs_8- Spectre\spectre_report.docx
- 上一篇:计算机网络实验三运输层
- 下一篇:CHAdeMO 3.0
相关资源
- HCIP-Security试题03带解析.pdf
- The Handbook of Fixed Income Securities 8th Ed
- Modeling in Event-B System and Software Engine
- wdsecuritysetup
- CRYPTOGRAPHY AND NETWORK SECURITY PRINCIPLES A
- spring security教程
- Windows Security Monitoring Scenarios and Patt
- Domain Modeling Made Functional Tackle Softwar
- Mastering AWS Security Create and maintain a s
-
Growing ob
ject-Oriented Software Guided by - Software Development Design and Coding With Pa
- Software Architecture in Practice(3rd) 无水
- CompTIA Security+ Study Guide Exam SY0-501(7
- GH-Bladed software 英国培训材料(Day 5)
- Software testing By Ron Patton
- 智能手环教程
- Model-Driven Software Engineering in Practice
- 华为HCNA-Security题库
- SoftwareIdeasModeler10.30
- 软工原理与实践影印版第四版英文版
- SIP Security - Wiley 出版的好書!
- SELinux by Example Using Security Enhanced Lin
- H3C se 安全 Security 视频
- 计算机结构习题答案 Computer+Organizat
- SAE_J3061_Cybersecurity Guidebook for Cyber-Ph
- Network Security: Private Communication in a P
- 软件测试 第二版中文
- Microsoft iSCSI Software Target 3.3
- 软件设计哲学 A Philosophy of Software De
- Cryptography and Network Security Principles a
评论
共有 条评论