Skip to content

fix(explorer): no more 'None' assignments crashing the executor in annotation mode#38

Open
nils-loose wants to merge 1 commit into
niklas/devfrom
fix/target-driver-none-assignment
Open

fix(explorer): no more 'None' assignments crashing the executor in annotation mode#38
nils-loose wants to merge 1 commit into
niklas/devfrom
fix/target-driver-none-assignment

Conversation

@nils-loose

@nils-loose nils-loose commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Mirrors the SV-Comp symbolic storage mechanism to register the full inputs to the TargetDriver s.t. inputs for non solved vars are correctly retrieved

…tDriver

When Z3's model omits a symbolic input (unconstrained on the solved path;
its int bounds arrive as literal "(assert true)"), the annotation driver
serialized "-Dswat.assignment.X=None", crashing the executor in the next
round with NumberFormatException: For input string: "None".

Register the branch inputs with their real DSE indices and keep the
concrete value recorded in the trace as fallback, mirroring
svcomp/SymbolicStorage. Also skip emitting an assignment when no value is
known at all, so the executor keeps the target's original value instead
of parsing garbage.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.

1 participant