Skip to content

thalestas/esbmc-wr

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

esbmc-wr

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

Installation

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. Verify each function of .c files recursively:

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

$ esbmc-wr -r -f -e "--unwind 1 --no-unwinding-assertions"
4. 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

Output

The verification output will be saved on output folder that will be created on currently path. Each verification will generate two files:

  • esbmc-DATE.log
  • esbmc-DATE.csv

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages