Skip to main content

Tools for working with symbolic constraints from Kbuild Makefile.

Project description

The Kmax Tool Suite

Getting Started

Install pip3, Linux's build dependencies, and kmaxtools:

sudo apt install -y python3-pip flex bison bc libssl-dev
sudo pip3 install kmaxtools

Download the Linux source:

wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.4.tar.xz
tar -xvf linux-5.4.tar.xz

Run klocalizer

cd linux-5.4/
klocalizer drivers/usb/storage/alauda.o

Build the .config file made by klocalizer:

make ARCH=x86_64 olddefconfig
make ARCH=x86_64 clean drivers/usb/storage/alauda.o

Cross-Compiling

Get make.cross:

sudo apt install -y xz-utils lftp
wget https://raw.githubusercontent.com/fengguang/lkp-tests/master/sbin/make.cross

Run klocalizer with a different architecture:

klocalizer -a powerpc drivers/block/ps3disk.o
bash make.cross ARCH=powerpc olddefconfig; bash make.cross ARCH=powerpc clean drivers/block/ps3disk.o

Additional Documentation

Overview

Advanced Usage

Bugs Found by kmaxtools

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kmaxtools-2.2.tar.gz (409.6 kB view details)

Uploaded Source

File details

Details for the file kmaxtools-2.2.tar.gz.

File metadata

  • Download URL: kmaxtools-2.2.tar.gz
  • Upload date:
  • Size: 409.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.10.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/2.7.18rc1

File hashes

Hashes for kmaxtools-2.2.tar.gz
Algorithm Hash digest
SHA256 3cb3758738dc18ea7bfee081accfc773671d826d59d3aa1b5a099fe16ebd3cb9
MD5 fd4cb590c5e8eb283d759dd08676053e
BLAKE2b-256 8684f4bf446070f7dee8f201e228a2a6b09512ffa3ce2336c2c9a3b2b1fbb323

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page