This is a simple Python hook engine. 

As Python is an efficient script language, you are able to use it to HOOK any target functions that you want to analyse, so as to know what you need. 
It's up to you to decide how to use them.
