Skip to content

Commit

Permalink
inprove diagnostics for array out of bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmuth committed Jan 2, 2024
1 parent 6a631a5 commit 982bc43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions FrontEnd/eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ def _EvalNode(node: cwast.ALL_NODES) -> bool:
elif isinstance(node, cwast.ValSlice):
# TODO maybe track symbolic addresses
return False
elif isinstance(node, cwast.ExprUnionTag):
return False
else:
assert False, f"unexpected node {node}"

Expand Down

0 comments on commit 982bc43

Please sign in to comment.