Re: Xcode/gcc help in enforcing secure coding?
Re: Xcode/gcc help in enforcing secure coding?
- Subject: Re: Xcode/gcc help in enforcing secure coding?
- From: Jens Ayton <email@hidden>
- Date: Tue, 15 Aug 2006 09:46:54 +0200
- Openpgp: id=84FF254B
John C. Daub:
>
> I was wondering if there's anything Xcode/gcc can currently do to help
> enforce secure coding?
>
> I grant there's a lot here the compiler can't do, but for example take the
> list of string functions to avoid:
Copy the declarations into a file, say BadStuff.h. Then add
__attribute__((deprecated)) or __attribute__((poison)) to each
declaration. Include BadStuff.h from a prefix header.
--
Jens Ayton
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden