Bytebeat inputs such as t -1 << or t -1 >> cause rust to panic with thread 'main' panicked at 'attempt to shift left with overflow', src/lib.rs:113 or similar. This is due to the fact that t << -1 is always illegal in Rust. To fix, we should probably make sure that the shift amount is always positive.
Bytebeat inputs such as
t -1 <<
ort -1 >>
cause rust to panic withthread 'main' panicked at 'attempt to shift left with overflow', src/lib.rs:113
or similar. This is due to the fact thatt << -1
is always illegal in Rust. To fix, we should probably make sure that the shift amount is always positive.