Skip to content

Include most of Linux pci/usb drivers bitcode and generate scripts

Notifications You must be signed in to change notification settings

hai119/generate_driverbc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

generate_driverbc

Include most of Linux pci/usb drivers bitcode and generate scripts

Environment

LLVM 10.0.1

Bear 2.3.9

Usage

pip install kconfiglib
git clone --depth 1 --branch v5.10 https://github.com/torvalds/linux.git # ~/generate_driverbc
cd linux
patch -p1 < ../scripts/makefile.patch # enable scriptconfig
cd ../scripts
bash generate_cmdjson.sh # Generate compile_commands.json in linux dir.
python2 get_bc.py -c ../linux/compile_commands.json -o ../bcout # -c COMPILE_COMMANDS -o OUTPUTDIR

About

Include most of Linux pci/usb drivers bitcode and generate scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages