mxmssh / drltrace

Drltrace is a library calls tracer for Windows and Linux applications.
BSD 3-Clause "New" or "Revised" License
387 stars 65 forks source link

Function name filtering by wildcard, and module-level filtering #19

Closed jtesta closed 4 years ago

jtesta commented 4 years ago

This patch allows function names to be filtered with a wildcard. For example, all the Rtl functions from ntdll.dll can be ignored by putting in the blacklist block: ntdll.dll!Rtl*.

Furthermore, all of a module's functions can be filtered at once by specifying the module's name on its own. For example, to only log calls to kernel32.dll, place KERNEL32.dll on a line on its own in the whitelist block. (This feature obsoletes the -only_to_lib feature, hence it is removed.)