I have a lot of source code and I was looking for "sizeof".
I thought explorer would search thru ever file, but it didn't find any instance.
I know that it was in some of the files.
Am I doing something wrong?
Thanks.
I thought explorer would search thru ever file, but it didn't find any instance.
I know that it was in some of the files.
Am I doing something wrong?
Thanks.
Yeah you did something wrong.
Anyway, what were you looking for in particular?
Anyway, what were you looking for in particular?
You have to edit the extensions you are interested in with regedit and add some stuff to their description (something like "Perceived Type = text", IIRC). Otherwise it won't search within that type of files. This applies to xp, vista and 7.
Yeah, the new versions of Windows blow regarding file search. :-(
A great freeware tools is Agent Ransack. ( http://www.mythicsoft.com/agentransack/ )
A great freeware tools is Agent Ransack. ( http://www.mythicsoft.com/agentransack/ )
Yeah you did something wrong.
Anyway, what were you looking for in particular?
I wanted to use sizeof the make storage
equal to the # of chars in string.
.data
string db '¯Œž“’ÇÉÛ' ; not $ = Û(Alt 219)MUST BE AT THE END !!
.data?
storage db 50 dup(?) ; contains decrypted string
If I understand your request correctly:
Now 'storage' is defined as N (uninitialized) bytes, where N = sizeof (string)
.data
string db '¯Œž“’ÇÉÛ' ; not $ = Û(Alt 219)MUST BE AT THE END !!
.data?
storage db (sizeof string) dup (?) ; contains decrypted string
Now 'storage' is defined as N (uninitialized) bytes, where N = sizeof (string)
thanks.
I found this works too.
storage dw $ - string
I found this works too.
storage dw $ - string
if that worked its pure luck, considering both are in different segments
storage is in .data? (uninitialised data).. string is in .data
so $ - string wouldn't be a good idea..
storage is in .data? (uninitialised data).. string is in .data
so $ - string wouldn't be a good idea..