Skip to content

Instantly share code, notes, and snippets.

@connglli
connglli / taint-analysis.cpp
Last active June 6, 2019 05:59
Taint Analysis Example (Intel Pin 3.7, Ubuntu 14.04, 32bit)
/* See the following link for a tutorial
* http://shell-storm.org/blog/Taint-analysis-and-pattern-matching-with-Pin/#1
*/
#include <iostream>
#include <list>
#include <set>
#include <algorithm>
#include <asm/unistd.h>
#include "pin.H"