Amocy-Wang / chisel

A System for Debloating C/C++ Programs

Home Page:https://chisel.cis.upenn.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chisel CircleCI

Installation

Installing Dependencies

See INSTALL.md.

Installing Chisel

Once you have all the requirements, run the following commands:

$ git clone https://github.com/aspire-project/chisel.git
$ cd chisel
$ mkdir build && cd build
$ cmake ..
$ make

Make sure to add Chisel to the PATH:

$ export PATH=[chisel directory]/build/bin:$PATH

For ensuring that everything is working properly, run the following command:

make test

Quick Start

After building the project run the below command:

$ chisel ./test.sh file.c

where file.c is a C program that you aim to reduce, and test.sh is the property testing script that returns 0 in a successful call. The reduced program is saved in file.c.chisel.c by default.

About

A System for Debloating C/C++ Programs

https://chisel.cis.upenn.edu


Languages

Language:C++ 78.4%Language:CMake 9.1%Language:C 7.3%Language:Shell 4.6%Language:Dockerfile 0.4%Language:Makefile 0.2%