From Day 0 to 0day Chapter 1
Introduction
Taint Analysis
Life is not like water. Things in life don’t necessarily flow over the shortest possible route Haruki Murakami - 1Q84
Taint analysis (or source and sink analysis ) is the analysis of the flow of input through a program from sources to sinks .
It relies on a simple idea: a large number of vulnerabilities occur because attacker controlled input (the source) flows to a dangerous function (the sink). If the input modifies other variables along the way, these variables become “tainted” and are included in the analysis.