Page 1 of 1

Ouput all addresses matching scan to files

Posted: Fri Mar 03, 2017 4:25 pm
by Ulysse31
Hi, is there a way to output all the address matching the last scan to a file on hard disk.
I code a scanning program which sometimes yields a different number of positive scan matches and I'd like to compare them addresses

Re: Ouput all addresses matching scan to files

Posted: Fri Mar 03, 2017 4:50 pm
by Eric
you can save the state in the current scan for comparing multiple states.
these are stored in the scan folder as addresses.savedname

just copy these and parse the file

Re: Ouput all addresses matching scan to files

Posted: Fri Mar 03, 2017 6:23 pm
by Ulysse31
Can you give more details on how to save a scan ?
The only save option i managed to find saves .CT files and i have right clicked every pixel of the main CE window :(

Edit :
Okay saving the CT file is a workaround. It means i gotta select all addresses (CE freezes a few minutes) then add them to list (CE freezes another few minutes) then save the file and code a quick parser executable, could be worse ;P
Thanks
Although to be honest I was hoping for Zanzer to post some mlg lua script.
Habits

Re: Ouput all addresses matching scan to files

Posted: Fri Mar 03, 2017 7:54 pm
by panraven
I guess it is in File/save current scan results, it seems the item will be grayed until a next scan.
It will only ask for a name, no folder show.
Don't know if there is a menu option, the current scan folder can be obtain by following lua:

Code: Select all

local ms = GetCurrentMemscan()
print(ms.ScanresultFolder)
These folder should be under scan folder in setting.

The file ADDRESS.<somename> is binary, it seems it preceded by some header (7-byte in my case) then following 8byte addresses list in my scan 64bit ce scanning 32bit process.

bye~

Re: Ouput all addresses matching scan to files

Posted: Fri Mar 03, 2017 8:33 pm
by Ulysse31
panraven wrote:
Fri Mar 03, 2017 7:54 pm
I guess it is in File/save current scan results, it seems the item will be grayed until a next scan.
It will only ask for a name, no folder show.
Don't know if there is a menu option, the current scan folder can be obtain by following lua:

Code: Select all

local ms = GetCurrentMemscan()
print(ms.ScanresultFolder)
These folder should be under scan folder in setting.

The file ADDRESS.<somename> is binary, it seems it preceded by some header (7-byte in my case) then following 8byte addresses list in my scan 64bit ce scanning 32bit process.

bye~
That did it, Thanks

Re: Ouput all addresses matching scan to files

Posted: Fri Mar 03, 2017 8:48 pm
by Eric
it's called .first for the first scan