Deduplicate AtomWrapper
, Repeat
, and SymFns
code across macaw-*-symbolic
packages
#410
Labels
arch:aarch32
AArch32 (32 bit ARM) issues
arch:ppc
PowerPC issues
arch:riscv
RISC-V issues
arch:x86
x86 issues
symbolic-execution
Issues relating to macaw-symbolic and symbolic execution
tech-debt
Technical debt that would be nice to clean up
The
macaw-*-symbolic
suite of packages all define various boilerplate code in order to translate Macaw into Crucible, and each package in the suite duplicates all of this boilerplate. I propose that we deduplicate this code and put it in a better home (perhaps inmacaw-symbolic
,parameterized-utils
, or elsewhere).AtomWrapper
This is defined separately in
macaw-aarch32-symbolic
,macaw-ppc-symbolic
,macaw-riscv-symbolic
, andmacaw-x86-symbolic
:macaw/macaw-aarch32-symbolic/src/Data/Macaw/AArch32/Symbolic/AtomWrapper.hs
Lines 17 to 29 in eb0a3c7
macaw/macaw-ppc-symbolic/src/Data/Macaw/PPC/Symbolic/AtomWrapper.hs
Lines 16 to 28 in eb0a3c7
macaw/macaw-riscv-symbolic/src/Data/Macaw/RISCV/Symbolic/AtomWrapper.hs
Lines 17 to 29 in 1a2b928
macaw/x86_symbolic/src/Data/Macaw/X86/Crucible.hs
Lines 1059 to 1071 in eb0a3c7
Repeat
This is defined separately in
macaw-ppc-symbolic
,macaw-riscv-symbolic
, andmacaw-x86-symbolic
:macaw/macaw-ppc-symbolic/src/Data/Macaw/PPC/Symbolic/Repeat.hs
Lines 17 to 30 in eb0a3c7
macaw/macaw-riscv-symbolic/src/Data/Macaw/RISCV/Symbolic/Repeat.hs
Lines 17 to 30 in 1a2b928
macaw/x86_symbolic/src/Data/Macaw/X86/Symbolic.hs
Lines 67 to 80 in eb0a3c7
SymFns
This is defined separately in
macaw-aarch32-symbolic
andmacaw-ppc-symbolic
:macaw/macaw-aarch32-symbolic/src/Data/Macaw/AArch32/Symbolic/Functions.hs
Lines 40 to 45 in eb0a3c7
macaw/macaw-ppc-symbolic/src/Data/Macaw/PPC/Symbolic/Functions.hs
Lines 47 to 52 in eb0a3c7
The text was updated successfully, but these errors were encountered: