MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / __init__

Method __init__

pydevd_attach_to_process/winappdbg/module.py:144–172  ·  view source on GitHub ↗

@type lpBaseOfDll: str @param lpBaseOfDll: Base address of the module. @type hFile: L{FileHandle} @param hFile: (Optional) Handle to the module file. @type fileName: str @param fileName: (Optional) Module filename. @type SizeOfImage: in

(self, lpBaseOfDll, hFile=None, fileName=None, SizeOfImage=None, EntryPoint=None, process=None)

Source from the content-addressed store, hash-verified

142 return win32.TRUE
143
144 def __init__(self, lpBaseOfDll, hFile=None, fileName=None, SizeOfImage=None, EntryPoint=None, process=None):
145 """
146 @type lpBaseOfDll: str
147 @param lpBaseOfDll: Base address of the module.
148
149 @type hFile: L{FileHandle}
150 @param hFile: (Optional) Handle to the module file.
151
152 @type fileName: str
153 @param fileName: (Optional) Module filename.
154
155 @type SizeOfImage: int
156 @param SizeOfImage: (Optional) Size of the module.
157
158 @type EntryPoint: int
159 @param EntryPoint: (Optional) Entry point of the module.
160
161 @type process: L{Process}
162 @param process: (Optional) Process where the module is loaded.
163 """
164 self.lpBaseOfDll = lpBaseOfDll
165 self.fileName = fileName
166 self.SizeOfImage = SizeOfImage
167 self.EntryPoint = EntryPoint
168
169 self.__symbols = list()
170
171 self.set_handle(hFile)
172 self.set_process(process)
173
174 # Not really sure if it's a good idea...
175 ## def __eq__(self, aModule):

Callers

nothing calls this directly

Calls 2

set_handleMethod · 0.95
set_processMethod · 0.95

Tested by

no test coverage detected