def highlight_stack_pointer(self, sp, width=8):
""" Removes old stack pointer highlights and creates a new one """
if self.stack_pointer is not None:
self.get_widget('stack').clear_named_highlight('sp')
self.highlight_bytes_at_address('stack', sp, width, QColor(162, 217, 175), 'sp')
self.stack_pointer = sp
评论列表
文章目录