November 2017
Intermediate to advanced
452 pages
11h 46m
English
Common Linux utilities are helpful to search through C/C++ code files. Although, there are commercially available source code analysis tools available that do a much better job than common utilities to prevent from memory corruption vulnerabilities with IDE plugins developers can use. For demonstration purposes, we will show how to search through code files for a list of predefined function vulnerable calls and rules with grep as well as flawfinder in the following steps.
$ grep -E '(strcpy|strcat|sprintf|strlen|memcpy|fopen|gets)' code.c
This expression can be ...
Read now
Unlock full access