diff options
Diffstat (limited to 'lib/esan/esan.h')
-rw-r--r-- | lib/esan/esan.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/esan/esan.h b/lib/esan/esan.h index c231d3c21..2dc8d1991 100644 --- a/lib/esan/esan.h +++ b/lib/esan/esan.h @@ -37,6 +37,10 @@ extern ToolType WhichTool; void initializeLibrary(ToolType Tool); int finalizeLibrary(); +// Esan creates the variable per tool per compilation unit at compile time +// and passes its pointer Ptr to the runtime library. +void processCompilationUnitInit(void *Ptr); +void processCompilationUnitExit(void *Ptr); void processRangeAccess(uptr PC, uptr Addr, int Size, bool IsWrite); void initializeInterceptors(); |