3 ms·
I wonder if anyone has done a safe form of goto that does static analysis or something to see if the jump is safe. My only experience was making error handling
by nickpsecurity 11y ago
I wonder if anyone has done a safe form of goto that does static analysis or something to see if the jump is safe. My only experience was making error handling easier to understand.
- sklogic 11y agoIt is rather trivial to check if a control flow is reducible (can be a platform requirement, e.g., OpenCL spec demands this). But it is unlikely that you can do too much of a static analysis with a computed goto, and the latter is the most interesting and the most useful form.