Re:Everything I wish I knew when learning C
by pjmlp on Tuesday November 29, 2022 @02:46AM
(#33784742)
I have long been convinced that WG14 has no real interest in improving C's security beyond what a Macro Assembler already offers out of the box.
Even the few "security" attempts that they have made, still require separate pointer and length arguments, thus voiding any kind of "security" that the functions might try to achieve.
However even a Macro Assembler is safer than modern C compilers, as they don't remove your code when one steps into a UB mine.
Even the few "security" attempts that they have made, still require separate pointer and length arguments, thus voiding any kind of "security" that the functions might try to achieve.
However even a Macro Assembler is safer than modern C compilers, as they don't remove your code when one steps into a UB mine.