def info (self, verbose=False):
'''
Get a string describing various properties of the app.
'''
offset = self.address
fields = self.tbfh.fields
out = ''
out += 'Name: {}\n'.format(self.name)
out += 'Enabled: {}\n'.format(self.tbfh.is_enabled())
out += 'Sticky: {}\n'.format(self.tbfh.is_sticky())
out += 'Total Size in Flash: {} bytes\n'.format(self.get_size())
if verbose:
out += textwrap.indent(str(self.tbfh), ' ')
return out
评论列表
文章目录