github.com/google/osv-scalibr@v0.4.1/extractor/filesystem/os/kernel/module/README.md (about) 1 # Test Data Generation from Linux Source Code 2 3 This README provides the steps to reproduce the creation of the test data files, which were generated starting from the Linux source code. 4 5 ## Steps to Reproduce 6 7 ### 1. Download the Linux Source Code 8 - Download the desired version of the Linux source code (e.g., `linux-source-5.15.0.tar.bz2`). 9 10 ### 2. Install Required Dependencies 11 - Install the necessary dependencies to build the kernel modules (e.g. `sudo apt install build-essential linux-headers-$(uname -r) linux-source flex bison`) 12 13 ### 3. Compile Kernel Modules 14 - Compile the modules (e.g. `make modules`)