Skip to main content

A delta debugger for SMT-LIBv2 files

Project description

GitHub Workflow Status Read the Docs PyPI PyPI - Python Version PyPI - License

ddSMT

ddSMT is a delta debugger for Sat Modulo Theories (SMT) benchmarks in SMT-LIB v2 format. It serves as an input minimizer for SMT benchmarks on which a given executable shows unexpected or faulty behavior and supports all SMT-LIB v2 logics. For more details on the SMT-LIB v2 format see [1].

ddSMT is implemented in Python 3 and developed on a Linux OS. ddSMT requires Python version 3.2 or later. Note that due to major improvements with respect to the internal string representation in Python 3.3 (see [2]) it is strongly recommended to use Python version 3.3 or later.

ddSMT is free software released under the GPLv3. You should have received a copy of the GNU General Public License along with ddSMT (see file COPYING). If not, see [3].

Download:

The latest version of ddSMT can be found on GitHub: https://github.com/aniemetz/ddSMT

Usage:

ddSMT minimizes a failure-inducing input in SMT-LIB v2 format based on the exit code and the error output of a given command when executed on that input.

Note that ddSMT supports on-the-fly input minimization, i.e. as soon as an input minimization was successful it is available as the output file specified. Hence, it is not necessary to wait for ddSMT until completion, which can be useful for hard to minimize input files with long solver execution times.

Invocation:

/path/to/ddsmt.py [<options>] <infile> <outfile> <cmd> [<cmd options>]

Positional arguments:

infile:   the input file in SMT-LIB v2 format  
outfile:  the outputfile  
cmd:      the command to be executed (with optional arguments)  

Optional arguments:

-h, --help  show this help message and exit  
-t val      timeout for test runs in seconds (default: none)  
-v          increase verbosity  
-o          use err exit code only to identify failing input
            (default: error exit code AND stderr output)  
--version   show program's version number and exit  

References:

[1] http://www.smtlib.org
[2] http://docs.python.org/3/whatsnew/3.3.html#pep-393
[3] http://www.gnu.org/licenses/

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

ddSMT-0.1.dev358.tar.gz (34.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddSMT-0.1.dev358-py3-none-any.whl (40.9 kB view details)

Uploaded Python 3

File details

Details for the file ddSMT-0.1.dev358.tar.gz.

File metadata

  • Download URL: ddSMT-0.1.dev358.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for ddSMT-0.1.dev358.tar.gz
Algorithm Hash digest
SHA256 4fe4f60d81bb0b7426bfe7f2b0c30943183641dc0cbffb8854883ff3c8a96af2
MD5 7bc47faaf22e7924583105c5e37d8592
BLAKE2b-256 d4c963d330e3abfa13b322b6cf485cd61f719a6540e0247406620ed8dbe6ff34

See more details on using hashes here.

File details

Details for the file ddSMT-0.1.dev358-py3-none-any.whl.

File metadata

  • Download URL: ddSMT-0.1.dev358-py3-none-any.whl
  • Upload date:
  • Size: 40.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for ddSMT-0.1.dev358-py3-none-any.whl
Algorithm Hash digest
SHA256 17d86d171621707f1508c980c5f93debbd2148a28efdfed7824f7ace3fb61755
MD5 30db6968961b7e61fc272a9a6bbf35a2
BLAKE2b-256 632a925e502be2e0d97ef5ddfba5b54004b20c95df71e2dec3f48d77454130e6

See more details on using hashes here.

Supported by

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