1// input lines 3
2// output till ^MALLOC
3((WARNING : core size is limited.*
4)*(BFD     : Loading debug .*
5)*)
6MALLOC  : malloc\(1111\) = 0x[0-9a-f]* \[leak\.cc:89\]
7MALLOC  : malloc\(2222\) = 0x[0-9a-f]* \[leak\.cc:94\]
8MALLOC  : malloc\(3333\) = 0x[0-9a-f]* \[leak\.cc:99\]
9MALLOC  : malloc\(4444\) = 0x[0-9a-f]* \[leak\.cc:104\]
10MALLOC  : operator new \(size = (8|16)\) = 0x[0-9a-f]* \[leak\.cc:113\]
11// input lines 2
12// output till ^MALLOC
13(WARNING :     Object file (/usr/lib/debug)*/lib/libc-2.[.0-9]*.so does not have debug info.*
14)*
15MALLOC  : New libcwd::marker_ct at 0x[0-9a-f]*
16MALLOC  : operator new \(size = (16|32)\) = 0x[0-9a-f]* \[leak\.cc:116\]
17MALLOC  : operator new \(size = (8|16)\) = 0x[0-9a-f]* \[leak.cc:53\]
18MALLOC  : malloc\(1212\) = 0x[0-9a-f]* \[leak\.cc:34\]
19MALLOC  : malloc\(7334\) = 0x[0-9a-f]* \[leak\.cc:36\]
20MALLOC  : malloc\(12345\) = 0x[0-9a-f]* \[leak\.cc:55\]
21MALLOC  : malloc\(111\) = 0x[0-9a-f]* \[leak\.cc:57\]
22MALLOC  : operator new \(size = (8|16)\) = 0x[0-9a-f]* \[leak\.cc:59\]
23MALLOC  : malloc\(1212\) = 0x[0-9a-f]* \[leak\.cc:34\]
24MALLOC  : malloc\(7334\) = 0x[0-9a-f]* \[leak\.cc:36\]
25MALLOC  : malloc\(5555\) = 0x[0-9a-f]* \[leak\.cc:123\]
26MALLOC  : operator new \(size = (8|16)\) = 0x[0-9a-f]* \[leak\.cc:53\]
27MALLOC  : malloc\(1212\) = 0x[0-9a-f]* \[leak\.cc:34\]
28MALLOC  : malloc\(7334\) = 0x[0-9a-f]* \[leak\.cc:36\]
29MALLOC  : malloc\(12345\) = 0x[0-9a-f]* \[leak\.cc:55\]
30MALLOC  : malloc\(111\) = 0x[0-9a-f]* \[leak\.cc:57\]
31MALLOC  : operator new \(size = (8|16)\) = 0x[0-9a-f]* \[leak\.cc:59\]
32MALLOC  : malloc\(1212\) = 0x[0-9a-f]* \[leak.cc:34\]
33MALLOC  : malloc\(7334\) = 0x[0-9a-f]* \[leak\.cc:36\]
34MALLOC  : Allocated memory: (75817|75873) bytes in 23 blocks\.
35\(MARKER\)  0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
36    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
37    malloc    0x[0-9a-f]*              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
38              0x[0-9a-f]*              leak\.cc:59   AA; \(sz = (8|16)\)  test_object::b
39    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
40    malloc    0x[0-9a-f]*              leak\.cc:55   void\*; \(sz = 12345\)  test_object::ptr
41    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
42    malloc    0x[0-9a-f]*              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
43              0x[0-9a-f]*              leak\.cc:53   AA; \(sz = (8|16)\)  test_object::a
44    malloc    0x[0-9a-f]*              leak\.cc:123  void\*; \(sz = 5555\)  ptr5
45    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
46    malloc    0x[0-9a-f]*              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
47              0x[0-9a-f]*              leak\.cc:59   AA; \(sz = (8|16)\)  test_object::b
48    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
49    malloc    0x[0-9a-f]*              leak\.cc:55   void\*; \(sz = 12345\)  test_object::ptr
50    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
51    malloc    0x[0-9a-f]*              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
52              0x[0-9a-f]*              leak\.cc:53   AA; \(sz = (8|16)\)  test_object::a
53              0x[0-9a-f]*              leak\.cc:116  test_object; \(sz = (16|32)\)
54malloc    0x[0-9a-f]*              leak\.cc:104  void\*; \(sz = 4444\)  ptr4
55malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
56malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
57malloc    0x[0-9a-f]*              leak\.cc:89   void\*; \(sz = 1111\)  ptr1
58MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
59MALLOC  : delete 0x[0-9a-f]*              leak\.cc:59   AA; \(sz = (8|16)\)  test_object::b
60MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:55   void\*; \(sz = 12345\)  test_object::ptr
61MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
62MALLOC  : delete 0x[0-9a-f]*              leak\.cc:53   AA; \(sz = (8|16)\)  test_object::a
63MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:89   void\*; \(sz = 1111\)  ptr1
64MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:104  void\*; \(sz = 4444\)  ptr4
65MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
66MALLOC  : delete 0x[0-9a-f]*              leak\.cc:59   AA; \(sz = (8|16)\)  test_object::b
67MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:55   void\*; \(sz = 12345\)  test_object::ptr
68MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:34   void\*; \(sz = 1212\)  AA::ptr
69MALLOC  : delete 0x[0-9a-f]*              leak\.cc:53   AA; \(sz = (8|16)\)  test_object::a
70MALLOC  : delete 0x[0-9a-f]*              leak\.cc:116  test_object; \(sz = (16|32)\)
71MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:123  void\*; \(sz = 5555\)  ptr5
72MALLOC  : Allocated memory: (35121|35129) bytes in 9 blocks\.
73\(MARKER\)  0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
74    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
75    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
76    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
77    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
78    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
79    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
80malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
81malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
82MALLOC  : Removing libcwd::marker_ct at 0x[0-9a-f]* \(test marker\)
83  \* WARNING : Memory leak detected!
84  \* malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
85  \* malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
86  \* malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
87  \* malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
88  \* malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
89  \* malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
90MALLOC  : delete 0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
91MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
92MALLOC  : Allocated memory: (35010|35018) bytes in 8 blocks\.
93\(deleted\) 0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
94    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
95    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
96    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
97    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
98    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
99malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
100malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
101MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
102MALLOC  : Allocated memory: (27676|27684) bytes in 7 blocks\.
103\(deleted\) 0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
104    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
105    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
106    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
107    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
108malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
109malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
110MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
111MALLOC  : Allocated memory: (20342|20350) bytes in 6 blocks\.
112\(deleted\) 0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
113    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
114    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
115    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
116malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
117malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
118MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
119MALLOC  : Allocated memory: (13008|13016) bytes in 5 blocks\.
120\(deleted\) 0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
121    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
122    malloc    0x[0-9a-f]*              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
123malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
124malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
125MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:57   void\*; \(sz = 111\)  test_object::leak
126MALLOC  : Allocated memory: (12897|12905) bytes in 4 blocks\.
127\(deleted\) 0x[0-9a-f]*              leak\.cc:113  <marker>; \(sz = (8|16)\)  test marker
128    malloc    0x[0-9a-f]*              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
129malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
130malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
131MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:36   void\*; \(sz = 7334\)  AA::leakAA
132MALLOC  : Allocated memory: 5555 bytes in 2 blocks\.
133malloc    0x[0-9a-f]*              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
134malloc    0x[0-9a-f]*              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
135MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:94   void\*; \(sz = 2222\)  ptr2
136MALLOC  : free\(0x[0-9a-f]*\)              leak\.cc:99   void\*; \(sz = 3333\)  ptr3
137