I have just released a simple tool, called GALD, which will make our life as developers easier since it allows you to detect the line where the memory problem is.
The good thing is you don’t need to replace the standard malloc(), calloc(), realloc() or free() functions since a macro subsystem will address link these to the GALD’s functions.
You just need to #include and run the application to check if you missed something while coding.
I look forward to hearing from you with desired improvents or any other comments.
1. Thou shalt not trust user inputs.
2. Thou shalt not trust other applications usage of your APIs.
3. Thou shalt not trust any files, network incoming data yourapp may process.
4. Thou shalt not overstimate the size of the destinations buffers.
5. Thou shalt close all the strings (with the NULL character).
6. Thou shalt free all allocated memory.
7. Thou shalt not allocate more resources than needed.
8. Thou shalt reuse as much code as possible.
9. Thou shalt design before coding.
10. Thou shalt DOCUMENT!!
This September I will attend to a interesting summer school organized by the Nicolas Cabrera Institute (Universidad Autonoma de Madrid). I know I will enjoy it for sure since I love this field but I think it is not going to be easy, a lot of advanced mathematics are going to be used to explain these engines of life.
I paste the program below with the links to the abstracts:
Biophysics of genetic networks
Bela Novak. ‘Mathematical modeling of molecular regulatory networks’
Mark Goulian. ‘Two-component signaling in bacteria’
Pablo Iglesias. ‘Feedback control in biological signaling pathways’
Biophysics of neuronal circuits
Björn Brembs. ‘Brains as output/input devices’
Fabrizio Gabbiani. ‘An introduction to neural information processing and coding’
Dmitri Chklovskii. ‘Statistical theory of brain design’
Biophysics of single molecules and cell organization
Patricia Bassereau. ‘Molecular motors and intracellular traffic’