fix inconsistent comments & discussion questions

This commit is contained in:
Yuheng Yang 2024-06-05 13:11:31 -04:00
parent 8544adc054
commit 59f487a2b4
2 changed files with 2 additions and 4 deletions

View File

@ -30,9 +30,6 @@ CYCLES measure_one_block_access_time(ADDR_PTR addr)
/* /*
* CLFlushes the given address. * CLFlushes the given address.
*
* Note: clflush is provided to help you debug and should not be used in your
* final submission
*/ */
void clflush(ADDR_PTR addr) void clflush(ADDR_PTR addr)
{ {

View File

@ -24,7 +24,8 @@ L3-DRAM threshold:
## 2-2 ## 2-2
**If the victim want to read the kth byte of a file, where k is a secret, how can he/she avoid leaking the secret to the attacker?** **In the victim's pseudocode above, the victim attempts to load the data indexed by `flag` into the `value` variable. How can you change the victim's code to load the desired data without leaking the flag to the attacker?**
## 3-1 ## 3-1