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

Class Module

pydevd_attach_to_process/winappdbg/module.py:73–778  ·  view source on GitHub ↗

Interface to a DLL library loaded in the context of another process. @group Properties: get_base, get_filename, get_name, get_size, get_entry_point, get_process, set_process, get_pid, get_handle, set_handle, open_handle, close_handle @group Labels: get_

Source from the content-addressed store, hash-verified

71
72
73class Module(object):
74 """
75 Interface to a DLL library loaded in the context of another process.
76
77 @group Properties:
78 get_base, get_filename, get_name, get_size, get_entry_point,
79 get_process, set_process, get_pid,
80 get_handle, set_handle, open_handle, close_handle
81
82 @group Labels:
83 get_label, get_label_at_address, is_address_here,
84 resolve, resolve_label, match_name
85
86 @group Symbols:
87 load_symbols, unload_symbols, get_symbols, iter_symbols,
88 resolve_symbol, get_symbol_at_address
89
90 @group Modules snapshot:
91 clear
92
93 @type unknown: str
94 @cvar unknown: Suggested tag for unknown modules.
95
96 @type lpBaseOfDll: int
97 @ivar lpBaseOfDll: Base of DLL module.
98 Use L{get_base} instead.
99
100 @type hFile: L{FileHandle}
101 @ivar hFile: Handle to the module file.
102 Use L{get_handle} instead.
103
104 @type fileName: str
105 @ivar fileName: Module filename.
106 Use L{get_filename} instead.
107
108 @type SizeOfImage: int
109 @ivar SizeOfImage: Size of the module.
110 Use L{get_size} instead.
111
112 @type EntryPoint: int
113 @ivar EntryPoint: Entry point of the module.
114 Use L{get_entry_point} instead.
115
116 @type process: L{Process}
117 @ivar process: Process where the module is loaded.
118 Use the L{get_process} method instead.
119 """
120
121 unknown = "<unknown>"
122
123 class _SymbolEnumerator(object):
124 """
125 Internally used by L{Module} to enumerate symbols in a module.
126 """
127
128 def __init__(self, undecorate=False):
129 self.symbols = list()
130 self.undecorate = undecorate

Callers 5

get_moduleMethod · 0.90
get_moduleMethod · 0.90
scan_modulesMethod · 0.70
__add_loaded_moduleMethod · 0.70
run_ast_nodesMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected