mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-11-29 21:44:11 +03:00
f13eb7c01f
We originally left this case out to catch cases where the PC was written to directly (skipping the special `LoadWritePC` logic in the semantics). At this point we are confident that the ARM semantics handle that correctly. The translation of the semantics into macaw (via TH) are not entirely lazy, and the interpretation will call this function indirectly (via `get_gpr_uf`); returning Nothing in the `r15` case caused that part of the translation to fail. The resulting value is never actually used (because the ARM semantics have special behavior when reading from `r15`), but the error was too eager and caused a crash. This change just lets that code continue. |
||
---|---|---|
.. | ||
src/Data/Macaw | ||
tests | ||
ChangeLog.md | ||
LICENSE | ||
macaw-aarch32.cabal | ||
REAMDE.md | ||
Setup.hs |