(self, event)
Hook the requested API calls (in self.apiHooks).

        This method is called automatically whenever a DLL is loaded.
Hook the requested API calls (in self.apiHooks).
Hook the requested API calls ( in self . apiHooks ) .
def __hook_dll(self, event):
        """
        Hook the requested API calls (in self.apiHooks).

        This method is called automatically whenever a DLL is loaded.
        """
        debug = event.debug
        pid   = event.get_pid()
        for hook_api_stub in self.__get_hooks_for_dll(event):
            hook_api_stub.hook(debug, pid)
def __hook_dll ( self , event ) : debug = event . debug pid = event . get_pid ( ) for hook_api_stub in self . __get_hooks_for_dll ( event ) : hook_api_stub . hook ( debug , pid )