Skip to content

OVM always return 0 on error

Errors thrown by OVM always exit with 0.

For example, this ill formatted code returns 0 instead of the 1 returned by HAVM:

label main
move
   temp t1
label end

In case of segmentation fault by out-of-bounds access, OVM returns 0 instead of the 120 returned by HAVM.