B
Brian Wilkins
I am trying to split a session log into meaningful data for regression
testing. The session log is defined as follows:
[ 1] Memory Leak Exiting Program: Address 0x0F701E90 (128) allocated
by HeapAlloc., Interesting Location: WpjData.dll ! 0x00013279
This information is similarly repeated over several lines for each DLL
that leaked.
The information I want to preserve is
"Memory Leak Exiting Program"
"Address 0x0F701E90"
"128"
"HeapAlloc"
"WpjData.dll ! 0x000013279"
All other information on the line is extraneous. Any clue as to how I
should parse this? I'm trying to find an appropriate pattern.
Thanks.
testing. The session log is defined as follows:
[ 1] Memory Leak Exiting Program: Address 0x0F701E90 (128) allocated
by HeapAlloc., Interesting Location: WpjData.dll ! 0x00013279
This information is similarly repeated over several lines for each DLL
that leaked.
The information I want to preserve is
"Memory Leak Exiting Program"
"Address 0x0F701E90"
"128"
"HeapAlloc"
"WpjData.dll ! 0x000013279"
All other information on the line is extraneous. Any clue as to how I
should parse this? I'm trying to find an appropriate pattern.
Thanks.