This project leverages LLVM to implement two custom passes for analyzing and optimizing code:
-
SpeculativeKernelSafety.cpp:
- Analyzes speculative execution paths to ensure kernel safety.
- Identifies potential speculative vulnerabilities and inserts safeguards.
-
VulnerableMask.cpp:
- Detects and masks vulnerable code patterns.
- Focuses on mitigating risks associated with data leaks and side-channel attacks.
- LLVM: Ensure LLVM is installed on your system. You can download it from LLVM Official Website.
- C++ Compiler: LLVM requires a modern C++ compiler (e.g.,
clang++org++). - CMake: Used for building the project.