crucible-wasm
: Support Wasm's reference types and values
#1228
Labels
crucible-wasm
: Support Wasm's reference types and values
#1228
Per this proposal, Wasm now has first-class notions of reference types and values. The Haskell
wasm
library added support for references in SPY/haskell-wasm@51cf7e7.It would be nice if we could support these reference types and values in
crucible-wasm
as well. At a first glance, a reference value would have a Crucible type resemblingMaybeType IntegerType
, as a reference is either null or an index into the list of functions declared in a module. The challenge is that the list of functions does not currently support looking up a function with a potentially symbolic index, however. We could conceivably do so by representing the list of functions as aSymSequence
, but this would take a fair bit of refactoring to accomplish.The text was updated successfully, but these errors were encountered: