tree: 3c5a348c06f4f71c8485da0f772d609cdac5aca2 [path history] [tgz]
  1. cache_sidechannel.cc
  2. cache_sidechannel.h
  3. CMakeLists.txt
  4. compiler_specifics.h
  5. eret_hvc_smc_wrapper.cc
  6. instr.cc
  7. instr.h
  8. l1tf.cc
  9. local_content.h
  10. meltdown.cc
  11. meltdown_ac.cc
  12. meltdown_br.cc
  13. meltdown_de.cc
  14. meltdown_local_content.h
  15. meltdown_of.cc
  16. meltdown_ss.cc
  17. meltdown_ud.cc
  18. README.md
  19. ret2spec.cc
  20. ret2spec_cyclic.cc
  21. spectre_v1.cc
  22. spectre_v1_btb_ca.cc
  23. spectre_v1_btb_sa.cc
  24. spectre_v4.cc
  25. speculation_over_exec_hw_breakpoint.cc
  26. speculation_over_hw_breakpoint.cc
  27. speculation_over_sw_breakpoint.cc
  28. speculation_over_syscall.cc
  29. utils.cc
  30. utils.h
demos/README.md

Demo programs

Build instructions

cd safeside
cmake -B build .
make -C build

# Everything should be built now.

./build/demos/spectre_v1

# You need to load the kernel module before running this
sudo ./build/demos/meltdown

./build/demos/spectre_v4

./build/demos/ret2spec

Tested environments

We currently test our changes on:

  • Linux - Intel Xeon Gold 6154 - {g++-6.4.0 - g++-8.0.1, clang-4.0 - clang-7}
  • Linux - {Intel Core i7-6700, AMD Ryzen 5 PRO 2400G} - {g++-5.4.0 - g+- +-9.1.0,
  • clang-6.0 - clang-8}
  • Linux - Intel Core2 Quad - g++-8.1.1
  • Linux - Intel XeonE5-2670 - g++-4.8.4
  • Linux - Intel Core i7-3520M - {g++-8.3.0, clang-6.0 - clang-7, - icc-19.0.4.243}
  • Windows 10 on Google Cloud - Intel Haswell - {MSVC2019 x86 release build,
  • MSVC2019 x64 release build}
  • MacOS - Intel Core i7-8750H - clang Apple LLVM 10.0.1
  • Linux - ARMv8 Cavium ThunderX2 T99 - g++-7.3.0
  • Linux - PowerPC POWER9 Boston 2.2 - g++-8.3.0