Request for comments on language extension: Safe arrays and pointers for C.

2012-08-31 Thread John Nagle
ld be migrated to strict mode from the bottom up. First standard libraries, then security-critical libraries, then security-critical applications. What I'd like for now is an an estimate of how hard this would be to implement in GCC. Most of the necessary features, or something close to them, are

Re: Request for comments on language extension: Safe arrays and pointers for C.

2012-08-31 Thread John Nagle
person there (having had them included in a pre-meeting mailing), if > you want a wider range of implementer opinions. That may happen, but I'm still getting comments informally at this point. I'd like to see enough of this implemented in GCC as an extension that people could try it out. John Nagle Animats

Re: Request for comments on language extension: Safe arrays and pointers for C.

2012-09-01 Thread John Nagle
On 9/1/2012 9:59 AM, James Dennett wrote: > On Fri, Aug 31, 2012 at 2:55 PM, John Nagle > wrote: >> We have proposed an extension to C (primarily) and C++ (possibly) >> to address buffer overflow prevention. Buffer overflows are still >> a huge practical problem in C,

Re: Request for comments on language extension: Safe arrays and pointers for C.

2012-09-02 Thread John Nagle
On 9/2/2012 1:12 AM, Florian Weimer wrote: > * John Nagle: > >>We have proposed an extension to C (primarily) and C++ (possibly) >> to address buffer overflow prevention. Buffer overflows are still >> a huge practical problem in C, and much important code is still >

Re: Request for comments on language extension: Safe arrays and pointers for C.

2012-09-03 Thread John Nagle
strict mode, and would wring out the concept. Think of it as FORTIFY on steroids. It can do the parameter checks FORTIFY does, but for any function with an array parameter and a size. It's not limited to a built-in list of the usual suspect functions. John Nagle

Re: Request for comments on language extension: Safe arrays and pointers for C, September draft.

2012-10-12 Thread John Nagle
g. I'd appreciate comments on how difficult phase 1 would be. John Nagle