(self, word)
| 959 | return None |
| 960 | |
| 961 | def FindWordList(self, word): |
| 962 | aligned_res = [] |
| 963 | unaligned_res = [] |
| 964 | def search_inside_region(reader, start, size, location): |
| 965 | for i in range(size - self.MachinePointerSize()): |
| 966 | loc = location + i |
| 967 | if reader._ReadWord(loc) == word: |
| 968 | slot = start + (loc - location) |
| 969 | if self.IsAlignedAddress(slot): |
| 970 | aligned_res.append(slot) |
| 971 | else: |
| 972 | unaligned_res.append(slot) |
| 973 | self.ForEachMemoryRegion(search_inside_region) |
| 974 | return (aligned_res, unaligned_res) |
| 975 | |
| 976 | def FindLocation(self, address): |
| 977 | offset = 0 |
no test coverage detected