摘要 |
A tandem interposer-logger approach exploits the interface of a DLL routine that is exposed to client software modules that interoperate with each other through the DLL routine. The DLL routine may also be used to interact with other resources on a computer, including hardware resources. The interposer routine exposes the same interface as the DLL routine. Transparently to the client software, an interposer routine is substituted for the DLL routine such that the client software modules call the interposer routine instead of the DLL routine. When a client software module calls an interface function, the interposer's respective function is called, which collects tracing information to transmit to a daemon process referred to as a logger. The logger process stores the tracing information in a log. Tracing information can then be viewed by human users. The logger process is also used to manage operation of the interposer routine.
|