2 ms·
>dangling pointers C has no standard language provided range checks, and pointer security, but the amount of compiler macroses that do the same/coverage tools/
by baybal2 9y ago
>dangling pointers
C has no standard language provided range checks, and pointer security, but the amount of compiler macroses that do the same/coverage tools/runtime security tools/checks provided by compilers is huge.
At least part of "inherent issues" of C that Rust advocates often cite was long solved by these tools long time ago.
They are not a bullet proof solutions to lack of security features in C, but neither are the built in checks of novel languages. The amount of NX breakouts, syscall hijackings, clever tricks around range checks in so called secure languages being demonstrated every year confirms that.