def everything(use_cache=False):
'''Return all the tags within the database as (globals, contents, frames).'''
if use_cache:
g, f = cached()
else:
print >>output, '--> Grabbing globals...'
g = {ea : d for ea, d in globals()}
print >>output, '--> Grabbing contents from all functions...'
res = (function(ea) for ea in db.functions())
f = {}
map(f.update, itertools.imap(dict, itertools.ifilter(None, res)))
print >>output, '--> Grabbing frames from all functions...'
h = {ea : d for ea, d in frames()}
return (g, f, h)
评论列表
文章目录