Package vivisect :: Package analysis :: Package generic :: Module pointers
[hide private]
[frames] | no frames]

Source Code for Module vivisect.analysis.generic.pointers

 1   
 2  """ 
 3  generic workspace analysis module to seek through the undiscovered  
 4  country looking for pointers to interesting things. 
 5   
 6  in a previous life, this analysis code lived inside VivWorkspace.analyze() 
 7  """ 
8 -def analyze(vw):
9 10 if vw.verbose: vw.vprint('...analyzing pointers.') 11 12 # Now, lets find likely free-hanging pointers 13 for addr, pval in vw.findPointers(): 14 try: 15 vw.followPointer(pval) 16 except Exception, e: 17 if vw.verbose: vw.vprint("followPointer() failed for 0x%.8x (pval: 0x%.8x)" % (addr,pval))
18