Skip to content

Import claripy through the angr package - #14

Open
twizmwazin wants to merge 1 commit into
masterfrom
migrate/angr-claripy-import
Open

Import claripy through the angr package#14
twizmwazin wants to merge 1 commit into
masterfrom
migrate/angr-claripy-import

Conversation

@twizmwazin

Copy link
Copy Markdown
Member

Depends on angr/angr#6550, which merges claripy (clarirs) into the angr package: claripy is no longer importable as a standalone top-level module — it lives at angr.rustylib.claripy and is exposed as angr.claripy.

This PR rewrites every import claripy to from angr import claripy so the examples keep working (34 files, mechanical; the bound name stays claripy so no call sites change). It also replaces the one claripy.backends.concrete.convert(x).value in mma_howtouse with x.concrete_value: clarirs does not expose the claripy backend objects, and concrete_value reads an already-concrete AST's value directly (verified — the example still recovers the correct flag).

Linked PRs (for angr CI cross-checkout):

🤖 Generated with Claude Code

Follow-up to angr/angr#6550, which merges claripy (clarirs) into angr:
claripy is no longer importable as a standalone top-level module -- it
lives at angr.rustylib.claripy and is exposed as angr.claripy.

Rewrite every `import claripy` / `from claripy...` to
`from angr import claripy` / `from angr.claripy...` (34 files, mechanical).
Also replace claripy.backends.concrete.convert(x).value with x.concrete_value
in mma_howtouse: clarirs does not expose the claripy backends objects, and
concrete_value reads the value of an already-concrete AST directly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@angr-bot

angr-bot commented Jul 8, 2026

Copy link
Copy Markdown
Member

Corpus decompilation diffs can be found at angr/dec-snapshots@master...angr/angr-examples_14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants