HideLeak

delphi package - automated exception handling

HideLeak

Postby Han312 » Tue Jan 29, 2019 9:49 am

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
Han312
 
Posts: 34
Joined: Mon Mar 14, 2016 3:49 pm

Re: HideLeak

Postby madshi » Tue Jan 29, 2019 10:14 am

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
madshi
Site Admin
 
Posts: 9985
Joined: Sun Mar 21, 2004 5:25 pm


Return to madExcept

Who is online

Users browsing this forum: No registered users and 4 guests

cron