4 ms·
Because that might add a bunch of code that may or may not be useful. It might be that this is inlined everywhere and so would bump some of code to a different
by dalore 7y ago
Because that might add a bunch of code that may or may not be useful. It might be that this is inlined everywhere and so would bump some of code to a different alignment. Perhaps it's timing critical and this saved a few calls. Perhaps they use static analysis only. Or they might have debug versions where they do use the safety checks and then for production versions it's preprocessed out.
There could be plenty of different reason.
- ptx 7y ago> Or they might have debug versions where they do use the safety checks and then for production versions it's preprocessed out. Why would you do that? Most attacks will probably target your production environment rather than your development environment.
- dalore 7y agoOne could fuzz test the debug versions to ensure it's safe. And they really need the extra performance for prod. Perhaps they are confident that is enough testing? We know it can never be 100%