Software Tools for Source Code Analysis
Abstract
This article aims to look at the risks derived from vulnerabilities introduced by the source-code and present the means to detect them. The software tools that are often used in such situations are called analyzers and can be categorized in static and dynamic analyzers. This article will present the main advantages and disadvantages of each software tool used and subsequently show the results and a comparison between these utilities. Finally, conclusions will be drawn explaining how source code introduced vulnerabilities can be handled and avoided.Keywords
Static, Dynamic, Analysis, Valgrind, Memory, Security, Source-Code, Vulnerabilities
References
- [1] Computer and internet penetration statistics: http://www.itu.int/en/ITU-D/Statistics/Pages/default.aspx http://www.internetworldstats.com/emarketing.htm
- [2] “The Evolution of Cyber Attacks and Next Generation Threat Protection Presentation” by Ashar Aziz, RSA Conference 2013
- [3] “History of attacks”, Lewis University, http://online.lewisu.edu/the-history-of-cyber-warfare.asp
- [4] “Software Vulnerabilities, Prevention and Detection Methods: A Review”, Willy Jimenez, Amel Mammar, Ana Cavalli,Telecom SudParis
- [5] Stack and Heap Overrun http://drdeath.myftp.org:881/books/Exploiting/Stack.and.Heap.Overflow.pdf
- [6] “Source Code Security” presentation, I. Smeureanu, University of Academic Studies of Bucharest, 2014
- [7] “Program Analysis presentation”, by Mario Barrenechea for Colorado University
- [8] Commercial dynamic Analyser: http://www.viva64.com/en/d/
- [9] Practical Memory Checking with Dr. Memory - Derek Bruening and Qin Zhao, http://www.burningcutlery.com/derek/docs/drmem-CGO11.pdf
- [10] CppCheck: http://cppcheck.sourceforge.net/
- [11] Flawfinder: http://www.dwheeler.com/flawfinder/
- [12] Valgrind: http://www.valgrind.org/
- [13] Dr. Memory http://www.drmemory.org/