Load the library in current process :rtype: :class:`LoadedModule`
(self, dll_path)
| 698 | return WinThread._from_handle(handle) |
| 699 | |
| 700 | def load_library(self, dll_path): |
| 701 | """Load the library in current process |
| 702 | |
| 703 | :rtype: :class:`LoadedModule` |
| 704 | """ |
| 705 | dllbase = winproxy.LoadLibraryA(dll_path) |
| 706 | return [m for m in self.peb.modules if m.baseaddr == dllbase][0] |
| 707 | |
| 708 | def execute(self, code, parameter=0): |
| 709 | """Execute native code ``code`` in the current thread. |
nothing calls this directly
no outgoing calls
no test coverage detected