(self, cb)
| 927 | return answer |
| 928 | |
| 929 | def ForEachMemoryRegion(self, cb): |
| 930 | if self.memory_list64 is not None: |
| 931 | for r in self.memory_list64.ranges: |
| 932 | location = self.memory_list64.base_rva + offset |
| 933 | cb(self, r.start, r.size, location) |
| 934 | offset += r.size |
| 935 | |
| 936 | if self.memory_list is not None: |
| 937 | for r in self.memory_list.ranges: |
| 938 | cb(self, r.start, r.memory.data_size, r.memory.rva) |
| 939 | |
| 940 | def FindWord(self, word, alignment=0): |
| 941 | def search_inside_region(reader, start, size, location): |
no test coverage detected