Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hssllvmsetup

Setup scripts to install and configure LLVM

This is a basic starter repo designed for writing LLVM passes to help Holistic Software Security Course.

Installing LLVM

wget https://apt.llvm.org/llvm.sh
chmod +x llvm.sh
sudo ./llvm.sh <version number>
sudo ln -s /usr/bin/clang-12 /usr/bin/clang
sudo ln -s /usr/bin/clang++-12 /usr/bin/clang++
sudo ln -s /usr/bin/llvm-config-12 /usr/bin/llvm-config
sudo ln -s /usr/bin/opt-12 /usr/bin/opt

We will be using LLVM 12 in our course. So, you should be installing version 12, i.e., sudo ./llvm.sh 12

Refer llvm-passes folder for sample passes.

About

Setup scripts to install and configure LLVM

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages