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)
| 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 | """ |
nothing calls this directly
no test coverage detected