HideLeak

delphi package - automated exception handling
Post Reply
Han312
Posts: 54
Joined: Mon Mar 14, 2016 3:49 pm

HideLeak

Post by Han312 »

We are using HideLeak( unit|function ) to hide specific leak messages (unit from an external)

This worked till now fine.
Now we updated to the newest libraries and have the problem that all functions have random names.
And we get hundreds of leaks reported.

Does HideLeak( unit ) hide all leaks from that unit?

It seems to work, but it is not mentioned in the help
http://help.madshi.net/madExceptUnit.htm


But one exception we cannot hide:
allocation number: 22002470
program up time: 55,83 s
type: Mutex Handle
handle: $b44
access rights: $1f0001
name: \BaseNamedObjects\SafeNet-SentinelSMEMINIT

main thread ($11b0):
671a915e madExcept32.dll madExceptDbg 3770 CreateMutexACallback
0041baba abc.exe Winapi.Windows CreateMutexA

Code: Select all

HideLeak ( 'WinApi.Windows|CreateMutexA' )
does not seem to work.
How can we ignore (hide) that leak?

Edit:

Code: Select all

HideLeak ( 'Windows|CreateMutexA' )

works
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Re: HideLeak

Post by madshi »

Hiding all leaks of one unit by using "HideLeak(unit)" is (I think) not something I intended to support, but if it works fine, I see no problem with using it... :D
Post Reply