Skip to main content

An abstraction layer for constraint solvers

Project description

claripy

Latest Release Python Version PyPI Statistics License

Claripy is an abstracted constraint-solving wrapper.

Project Links

Project repository: https://github.com/angr/claripy

Documentation: https://api.angr.io/projects/claripy/en/latest/

Usage

It is usable!

General usage is similar to Z3:

>>> import claripy
>>> a = claripy.BVV(3, 32)
>>> b = claripy.BVS('var_b', 32)
>>> s = claripy.Solver()
>>> s.add(b > a)
>>> print(s.eval(b, 1)[0])

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

claripy-9.2.156.tar.gz (147.1 kB view details)

Uploaded Source

Built Distribution

claripy-9.2.156-py3-none-any.whl (142.2 kB view details)

Uploaded Python 3

File details

Details for the file claripy-9.2.156.tar.gz.

File metadata

  • Download URL: claripy-9.2.156.tar.gz
  • Upload date:
  • Size: 147.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for claripy-9.2.156.tar.gz
Algorithm Hash digest
SHA256 ccd367c80b00c7914d28092bcb737f7aa0e04f15c7bb25a90213a69d57e41431
MD5 136d84c46c7a70dfa1dd73ccce77b79b
BLAKE2b-256 07254ba87facd80a492eff03988ad7e61fb8fb661b6e4e2637bbe3f90fde5686

See more details on using hashes here.

Provenance

The following attestation bundles were made for claripy-9.2.156.tar.gz:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file claripy-9.2.156-py3-none-any.whl.

File metadata

  • Download URL: claripy-9.2.156-py3-none-any.whl
  • Upload date:
  • Size: 142.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for claripy-9.2.156-py3-none-any.whl
Algorithm Hash digest
SHA256 cff8f8ef70a0296058524be05c975d9b33fbb80ad71d5122d3f03ac463b29aa4
MD5 42cf780ef0d2e96863cac57f80e4200b
BLAKE2b-256 aa1a80ae2ceba2073c8abd2bc1b7c4a7a08f9ad403ed45cbb25cd719b10f456e

See more details on using hashes here.

Provenance

The following attestation bundles were made for claripy-9.2.156-py3-none-any.whl:

Publisher: angr-release.yml on angr/ci-settings

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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