Get the Whitepaper called Taint analysis and pattern matching with Pin. All examples in this document are considered a proof of concept and are meant to give others ideas.
You can download it from the following link: https://packetstormsecurity.com/files/download/122760/Jonathan-Salwan-Tain-analysis-and-pattern-matching-with-Pin.pdf
Source: https://packetstormsecurity.com/files/122760/Taint-Analysis-And-Pattern-Matching-With-Pin.html

