(lines)
| 988 | |
| 989 | def GetDisasmLines(self, address, size): |
| 990 | def CountUndefinedInstructions(lines): |
| 991 | pattern = "<UNDEFINED>" |
| 992 | return sum([line.count(pattern) for (ignore, line) in lines]) |
| 993 | |
| 994 | location = self.FindLocation(address) |
| 995 | if location is None: return [] |