Extern Ref, Wasm and C / C++

I should subtitle this post as “That’s not a pointer… This is a Pointer!” . In the previous two posts I showed how to import and export functions between Wasm and the host environment. This seems pretty safe, but can open up an attack vector which extern_ref shuts down. Let’s check that out…