Muteria is written in Python and thus can run on Windows, Linux or macOS.
muteria requires Python 3.
- Install Muteria by running:
pip install muteria
- View the usage help:
muteria --help
Muteria requires to have the underlying tools installed on the system.
A docker image, with preinstalled tools, can be used to run muteria on a sample C language program. The installed tools are: GNU GCov, KLEE, Shadow, Mart, SEMu.
- Pull the docker image:
docker pull thierrytct/cm
- run the docker image in a container:
docker run -it --rm thierrytct/cm bash
- Download the example program:
git clone https://github.com/muteria/example_c.git
- Change into the example program directory:
cd example_c
- run using the configuration file in ctrl/conf.py
muteria --config ctrl/conf.py --lang c run
Example of measuring coverage for a python program using coverage.py.
- Install
coverage.py
: