Re:Being Sneaky in C
by mpu on Saturday June 13, 2015 @10:21AM
(#9711071)
The C standard works at an abstraction level that makes it unsuitable for security applications, I would advocate for a new language here. It needs serious PL research with informarion flow reasoning, what we need is just a new kind of language much more machine aware (yes, more low-level) than C.
[ Parent
| on HN ]
Re:Being Sneaky in C
by TheLoneWolfling on Saturday June 13, 2015 @10:49AM
(#9711157)
Agreed on some level.
On the other hand, something as simple as a keyword marking a variable as "as secure as possible given hardware constraints (read: should wipe any temporary copies and the variable itself after it goes out of scope, should attempt to prevent it from being written to non-volatile storage, that sort of thing)" (sort of like how inline works), with compilers required to bail if the constraint cannot be done to the level specified, would be a massive step in the right direction.