[Offtopic] Are these good coding rules for C?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux