app.py 文件源码

python
阅读 32 收藏 0 点赞 0 评论 0

项目:tockloader 作者: helena-project 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号