Skip to main content

A ESBMC command line wrapper.

Project description

esbmc-wr

A ESBMC wrapper thats allow to verify multiples files and functions on a single run.

Installation

Dependecies

You must have ESBMC built and exported on yout PATH variable.
This guide describe how build ESBMC.

Install esbmc-wr

From repo
  1. Clone this repo:
$ git clone https://github.com/thalestas/esbmc-wr.git
  1. Install using pip
$ cd esbmc-wr 
$ pip3 install .
From Pypi
$ pip3 install esbmc-wr

Usage

1. Verify all .c files in a folder:

In the project that you want to verify, run:

$ esbmc-wr
2. Configure ESBMC parameters:

To set the ESBMC parameter, you should use -e:

$ esbmc-wr -e "--unwind 1 --no-unwinding-assertions"
3. esbmc-wr help
$ esbmc-wr -h

usage: Input Options [-h] [-e ESBMC_PARAMETER] [-i LIBRARIES] [-f] [-v] [-r] [-d DIRECTORY] [-fl FILE] [-rp]

optional arguments:  
  -h, --help		show this help message and exit  
  -e ESBMC_PARAMETER, --esbmc-parameter ESBMC_PARAMETER  
                        Use ESBMC parameter  
  -i LIBRARIES, --libraries LIBRARIES  
                        Path to the file that describe the libraries dependecies  
  -f, --functions       Enable Functions Verification  
  -v, --verbose         Enable Verbose Output  
  -r, --recursive       Enable Recursive Verification  
  -d DIRECTORY, --directory DIRECTORY  
                        Set the directory to be verified  
  -fl FILE, --file FILE  
                        File to be verified  
  -rp, --retest-pointer  
                        Retest Invalid Pointer

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

esbmc-wr-0.1.1.tar.gz (8.0 kB view hashes)

Uploaded Source

Built Distribution

esbmc_wr-0.1.1-py2.py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 2 Python 3

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