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

Method get_label

pydevd_attach_to_process/winappdbg/module.py:601–615  ·  view source on GitHub ↗

Retrieves the label for the given function of this module or the module base address if no function name is given. @type function: str @param function: (Optional) Exported function name. @type offset: int @param offset: (Optional) Offset from the

(self, function=None, offset=None)

Source from the content-addressed store, hash-verified

599 # ------------------------------------------------------------------------------
600
601 def get_label(self, function=None, offset=None):
602 """
603 Retrieves the label for the given function of this module or the module
604 base address if no function name is given.
605
606 @type function: str
607 @param function: (Optional) Exported function name.
608
609 @type offset: int
610 @param offset: (Optional) Offset from the module base address.
611
612 @rtype: str
613 @return: Label for the module base address, plus the offset if given.
614 """
615 return _ModuleContainer.parse_label(self.get_name(), function, offset)
616
617 def get_label_at_address(self, address, offset=None):
618 """

Callers

nothing calls this directly

Calls 2

get_nameMethod · 0.95
parse_labelMethod · 0.80

Tested by

no test coverage detected