I have output like this with IwMemBucketDebugCheck:
bucket\System allocated\2787 num\ FirstID\59479
I cannot use FirstID since this leak is floating.
What I could possibly use, is to track which allocation has specific size and or specific data. However the log does not show info on individual blocks.
Neither I see run time interface to enumerate blocks.
I can override malloc by s3eMemorySetUserMemMgr but this does not work with buckets. Moreover, I cant find how to disable creation/use of buckets.
Next thing I thought about is to override symbols "malloc,realloc,free" with globally included header.
I dont assume inserting IW_CALLSTACK by binary chop since this is ridiculously long.
So what is your ideas on doing this?
P.S. I found that skipping IwUtilInit() has no harm atm and disables use of buckets.