Package envi :: Package symstore :: Module resolver :: Class SymbolResolver
[hide private]
[frames] | no frames]

Class SymbolResolver

source code

NOTE: Nothing should reach directly into a SymbolResolver!

Instance Methods [hide private]
 
__init__(self, width=4, casesens=True, baseaddr=0) source code
 
delSymbol(self, sym)
Delete a symbol from the resolver's namespace
source code
 
addSymbol(self, sym)
Add a symbol to the resolver.
source code
 
getSymByName(self, name)
Retrieve a Symbol object by name.
source code
 
delSymByName(self, name) source code
 
_symFromTup(self, symtup) source code
 
_addSymObject(self, sym) source code
 
getSymByAddr(self, va, exact=True)
Return a symbol object for the given virtual address.
source code
 
getSymList(self)
Return a list of the symbols which are contained in this resolver.
source code
 
getSymHint(self, va, hidx)
May be used by symbol resolvers who know what type they are resolving to store and retrieve "hints" with indexes.
source code
 
_nomSymTupAddrs(self, symtups) source code
 
_nomSymTupNames(self, symtups) source code
 
impSymCache(self, symcache, symfname=None, baseaddr=0)
Import a list of symbol tuples (see getCacheSyms()) at the given base address ( and for the given sub-file )
source code
Method Details [hide private]

getSymHint(self, va, hidx)

source code 

May be used by symbol resolvers who know what type they are
resolving to store and retrieve "hints" with indexes.

Used specifically by opcode render methods to resolve
any memory dereference info for a given operand.

NOTE: These are mostly symbolic references to FRAME LOCAL
      names....