(self, addr)
| 104 | self.setUpdatedLines(self.generateLines()) |
| 105 | |
| 106 | def navigate(self, addr): |
| 107 | # Find correct function based on most recent use |
| 108 | block = self.data.get_recent_basic_block_at(addr) |
| 109 | if block is None: |
| 110 | # If function isn't done analyzing yet, it may have a function start but no basic blocks |
| 111 | func = self.data.get_recent_function_at(addr) |
| 112 | else: |
| 113 | func = block.function |
| 114 | |
| 115 | if func is None: |
| 116 | # No function contains this address, fail navigation in this view |
| 117 | return False |
| 118 | |
| 119 | self.function = func |
| 120 | self.setFunction(self.function) |
| 121 | self.setLines(self.generateLines()) |
| 122 | return True |
| 123 | |
| 124 | def getHistoryEntry(self): |
| 125 | class LinearMLILHistoryEntry(TokenizedTextViewHistoryEntry): |
nothing calls this directly
no test coverage detected