Execute native code ``code`` in the current thread. :rtype: :class:`int` the return value of the native code
(self, code, parameter=0)
| 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. |
| 710 | |
| 711 | :rtype: :class:`int` the return value of the native code""" |
| 712 | f = windows.native_exec.create_function(code, [PVOID, PVOID]) |
| 713 | return f(parameter) |
| 714 | |
| 715 | def exit(self, code=0): |
| 716 | """Exit the process""" |
nothing calls this directly
no outgoing calls
no test coverage detected