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.3.0.tar.gz (147.4 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.3.0-py3-none-any.whl (141.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for claripy-9.3.0.tar.gz
Algorithm Hash digest
SHA256 c6afd2fadc872eed06d886f0e742156063bd053f04b357328a4e5d2c40e6bd31
MD5 95d2f4ce941109b6e4fad88e7294ef22
BLAKE2b-256 b8095088f7d0f0aa5c7e6a816d55b1ec13304ff81283e0c89e648f7786932e0c

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for claripy-9.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e958e12c66d1ceb7eedfc550b9a64d244fb2387e83d29f4f8d020e66905984f4
MD5 4e6a7a78caca11e71d55e7c92886d307
BLAKE2b-256 e954a6420db02b517e2838f958d50758982a18fe8f4cb7057594e3d52ab1523b

See more details on using hashes here.

Provenance

The following attestation bundles were made for claripy-9.3.0-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