Build and analyze functions' control flow graphs from within a pintool
PinCFG is a tool for analyzing procedure control flow graphs inside your RTN analysis function.