def eval(self, **kwds):
"""
modules -- dictionary of module name to SBModule
current_module -- current frame's module
"""
modules = kwds['modules']
m = modules.get(self.module, kwds['current_module'])
s = next(s for s in m.symbols if s.name == self.symbol)
a = s.addr
return a.load_addr
评论列表
文章目录