Package vivisect :: Package tools :: Module fscope
[hide private]
[frames] | no frames]

Module fscope

source code

Home of the newer, cleaner iterators (yield based generators...)

Functions [hide private]
 
iterOps(vw, va)
Iterate over the virtual addresses of all the code blocks from the specified function downward...
source code
 
getImportCalls(vw, va)
Get all the import calls which happen from the given function and down....
source code
 
getStringRefs(vw, va)
Get all of the immedates which point to string or unicode types in the workspace for this function scope.
source code
Function Details [hide private]

iterOps(vw, va)

source code 

Iterate over the virtual addresses of all the code blocks from the specified function downward...

Example: for va in fscope.iterOps(vw, funcaddr):

getImportCalls(vw, va)

source code 

Get all the import calls which happen from the given function and down....

Example: for callva,impname in getImportCalls(vw, fva)

getStringRefs(vw, va)

source code 

Get all of the immedates which point to string or unicode types in the workspace for this function scope. Returns a list of (refva, strva, strval) tuples.

Example: for instrva, strva, strrepr in getStringRefs(vw, funcva)