Hook the requested API calls (in self.apiHooks). This method is called automatically whenever a DLL is loaded.
(self, event)
| 1436 | return result |
| 1437 | |
| 1438 | def __hook_dll(self, event): |
| 1439 | """ |
| 1440 | Hook the requested API calls (in self.apiHooks). |
| 1441 | |
| 1442 | This method is called automatically whenever a DLL is loaded. |
| 1443 | """ |
| 1444 | debug = event.debug |
| 1445 | pid = event.get_pid() |
| 1446 | for hook_api_stub in self.__get_hooks_for_dll(event): |
| 1447 | hook_api_stub.hook(debug, pid) |
| 1448 | |
| 1449 | def __unhook_dll(self, event): |
| 1450 | """ |
no test coverage detected