stalker Package
The stalker subsystem is a breakpoint based coverage tool
-
class vdb.stalker.StalkerBlockBreak(address, expression=None)[source]
Bases: vtrace.breakpoints.Breakpoint
A breakpoint object which is put on codeblock boundaries
to track hits.
-
notify(event, trace)[source]
-
class vdb.stalker.StalkerBreak(address, expression=None)[source]
Bases: vtrace.breakpoints.Breakpoint
Stalker breakpoints are added to function entry points
to trigger code-flow analysis and subsequent block breakpoint
addition.
-
notify(event, trace)[source]
-
resolvedaddr(trace, address)[source]
-
class vdb.stalker.StalkerCodeFlow(trace)[source]
Bases: envi.codeflow.CodeFlowContext
-
setupBreakLists(mmap)[source]
-
class vdb.stalker.StalkerDynBreak(address, expression=None)[source]
Bases: vtrace.breakpoints.Breakpoint
A breakpoint which is placed on dynamic branches to track
code flow across them.
-
notify(event, trace)[source]
-
resolvedaddr(trace, address)[source]
-
vdb.stalker.addStalkerEntry(trace, va)[source]
Add stalker coverage beginning with the specified entry point
-
vdb.stalker.clearStalkerBreaks(trace)[source]
Cleanup all stalker breaks and metadata
-
vdb.stalker.clearStalkerHits(trace)[source]
Clear the stalker hit list for the given trace
-
vdb.stalker.getStalkerHits(trace)[source]
Retrieve the list of blocks hit in the current stalker
-
vdb.stalker.initStalker(trace)[source]
-
vdb.stalker.resetStalkerBreaks(trace)[source]
Re-enable all previously hit stalker breakpoints.