Tries to determine if the given address belongs to this module. @type address: int @param address: Memory address. @rtype: bool or None @return: C{True} if the address belongs to the module, C{False} if it doesn't, and C{None} if i
(self, address)
| 664 | return _ModuleContainer.parse_label(module, function, offset) |
| 665 | |
| 666 | def is_address_here(self, address): |
| 667 | """ |
| 668 | Tries to determine if the given address belongs to this module. |
| 669 | |
| 670 | @type address: int |
| 671 | @param address: Memory address. |
| 672 | |
| 673 | @rtype: bool or None |
| 674 | @return: C{True} if the address belongs to the module, |
| 675 | C{False} if it doesn't, |
| 676 | and C{None} if it can't be determined. |
| 677 | """ |
| 678 | base = self.get_base() |
| 679 | size = self.get_size() |
| 680 | if base and size: |
| 681 | return base <= address < (base + size) |
| 682 | return None |
| 683 | |
| 684 | def resolve(self, function): |
| 685 | """ |
no test coverage detected