wasm: import functions from the module before starting VM. (#33)
wasm: import functions from the module before starting VM. (#33)

This prevents a nullptr-dereference when global constructors
call host function which calls module function (e.g. malloc).

Signed-off-by: Piotr Sikora <ba6f3a1a6d7e1ecae91b31e93969cc392fbd0fdd@google.com>
istio/envoy,istio/envoy,istio/envoy,envoyproxy/envoy-wasm,istio/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm,istio/envoy,istio/envoy,istio/envoy,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm,envoyproxy/envoy-wasm