[Offtopic] Are these good coding rules for C?

Anuz Pratap Singh Tomar chambilkethakur at gmail.com
Sat Apr 22 06:47:34 EDT 2017


Hi,
I came across this paper http://spinroot.com/gerard/pdf/P10.pdf written by
someone at JPL, NASA.
Some of the rules stated in this paper are good rules about bound checking
and keeping functions short makes sense, whereas some others about malloc
and pointers seems less of rules, but believing that programs are unable to
handle these tasks properly.
I am not sure if Linux in areas which are safety critical and if so does
that code follow similar rules?

-- 
Thank you
Warm Regards
Anuz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170422/4a4fa0f1/attachment.html 


More information about the Kernelnewbies mailing list