Fix behaviour for division/modulus by 0
qmonnet opened this issue · comments
Instead of panicking, we should return 0 or dividend as a result of division or modulus by 0.
See kernel docs, and also iovisor/ubpf#116.
Rust virtual machine and JIT compiler for eBPF programs
qmonnet opened this issue · comments
Instead of panicking, we should return 0 or dividend as a result of division or modulus by 0.
See kernel docs, and also iovisor/ubpf#116.