4 ms·
> Panics are implemented in the same way as exceptions are in C++ If this is true or at least fundamentally very close to each other, and given that exceptions
by menaerus 3y ago
> Panics are implemented in the same way as exceptions are in C++
If this is true or at least fundamentally very close to each other, and given that exceptions can be abused for arbitrary code execution [1] [2], then it follows that Rust is no different/safer with respect to that, no?
[1] https://billdemirkapi.me/exception-oriented-programming-abusing-exceptions-for-code-execution-part-1 https://billdemirkapi.me/exception-oriented-programming-abus...
[2] https://billdemirkapi.me/abusing-exceptions-for-code-execution-part-2 https://billdemirkapi.me/abusing-exceptions-for-code-executi...