macaw/macaw-aarch32
Tristan Ravitch f13eb7c01f Add an additional case handling reading/writing the PC directly
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.
2021-07-09 10:54:58 -07:00
..
src/Data/Macaw Add an additional case handling reading/writing the PC directly 2021-07-09 10:54:58 -07:00
tests Fix a bug in the AArch32-specific simplifier (#188) 2021-01-27 23:55:44 -08:00
ChangeLog.md Rename macaw-asl to macaw-aarch32 2020-04-05 15:16:39 -07:00
LICENSE Rename macaw-asl to macaw-aarch32 2020-04-05 15:16:39 -07:00
macaw-aarch32.cabal Switch from ansi-wl-pprint to the prettyprinter package. 2020-12-02 11:38:19 -08:00
REAMDE.md Support for mixed ARM/Thumb binaries (#174) 2020-11-02 12:48:01 -08:00
Setup.hs Rename macaw-asl to macaw-aarch32 2020-04-05 15:16:39 -07:00