Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Searching binary files for patterns?

0 views
Skip to first unread message

Joseph N. Stackhouse

unread,
Nov 20, 2009, 3:33:09 AM11/20/09
to
So I have created my own application to search for Spyware/Viruses and so
far all of my search functions are done except one, searching a binary file
for a certain pattern or a pattern with a wildcard. I really need to
figure out the best way to do this.

I'm sure there are examples out there I'm just not wording my Google
searches correctly or something. Basically I just want to search a file for
a <binary pattern> or possibly <pattern1>*<pattern2>*<pattern3> where * is a
wildcard.

P.S. If you reply also reply via e-mail as I'm not always able to check the
groups. Thanks!

-Joe

Family Tree Mike

unread,
Nov 20, 2009, 12:14:06 PM11/20/09
to

"Joseph N. Stackhouse" wrote:

I believe that the Regex class can be coerced to search using binary data,
though I have never had a need to try it.

Mike

0 new messages