3 ms·
> Sanitizers aren't part of ANSI C. Nobody claimed that they were. I only mentioned that there are C implementations that protect against these kinds of things
by snakeanus 10y ago
> Sanitizers aren't part of ANSI C.
Nobody claimed that they were. I only mentioned that there are C implementations that protect against these kinds of things in the runtime and that the standard does not force the implementation to not do any checks.
> Besides, gcc and clang are just two of many C compilers.
The reason that I mentioned them was because they are two most popular ones.
- pjmlp 10y agoThey aren't usable when writing portable code, if the target system doesn't have them, specially in the embedded space.