Skip to content

lvwr/kfineibt_testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

FineIBT kernel build. This is the way:

- git clone git@github.com:lvwr/kfineibt_testing.git
- cd kfineibt_testing
- git clone git@github.com:lvwr/llvm-project.git
- git clone git@github.com:lvwr/linux
- cd llvm-project
- git checkout fineibt/kernel
- cd ..
- mkdir build
- cd build
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX=../install/ -DCMAKE_BUILD_TYPE=release -DLLVM_ENABLE_PROJECTS="clang;lld" ../llvm-project/llvm  (or whatever suits you)
- ninja install #(or whatever suits you)
- cd ../linux/
- git checkout x86/fineibt
- cp ../config ./.config
- make CC=<path>/install/bin/clang HOSTCC=<path>/install/bin/clang LD=<path>/install/bin/ld.lld LLVM=1 -j<X>
- ... make modules and make install and whatever you need to install the new kernel.
-
- insmod <path>/fineibt_test.ko
- dmesg | grep FineIBT (should show a violation).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published