3 ms·
Could you not enforce that functions tagged can only call other functions with the tag and must not call panic? This would not protect against stack overflow o
by adament 5y ago
Could you not enforce that functions tagged can only call other functions with the tag and must not call panic?
This would not protect against stack overflow or similar environmental panics.
- vbezhenar 5y agoThat's the issue. Rust panics on division-by-zero, Rust panics on out-of-bounds, Rust panics on signed integer overflow in debug mode. Stack overflow can happen on every function call which is also panic. Too many implicit panic sources.