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.209.tar.gz (147.6 kB view details)

Uploaded Source

Built Distribution

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

claripy-9.2.209-py3-none-any.whl (141.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for claripy-9.2.209.tar.gz
Algorithm Hash digest
SHA256 9a84d8e4c1d19c169dcbdead256aa2379e90013eeff471382a64e488448381fd
MD5 4c35c4c3acfb9d1032a4a0dccedb9bf9
BLAKE2b-256 550e5686fdd2f3ca4aa3bc12aa434748b71ca0c89169f30e13c2f38a07f13102

See more details on using hashes here.

Provenance

The following attestation bundles were made for claripy-9.2.209.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.209-py3-none-any.whl.

File metadata

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

File hashes

Hashes for claripy-9.2.209-py3-none-any.whl
Algorithm Hash digest
SHA256 0fc885d5835ec3626368c898941a037dd2f2a6f8b9f43e08a5c5472ea841ca7f
MD5 3d3d017b809b79dca5565da47d57816f
BLAKE2b-256 e1bb88864d2012a0d564113afb048f5c1832ade771061f6d033ab94ec70e111d

See more details on using hashes here.

Provenance

The following attestation bundles were made for claripy-9.2.209-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 Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page