[yunqa.de] Re: using DIRegEx

  • From: "randy domerk" <randydom@xxxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Tue, 29 Apr 2008 19:32:40 +0100

Hi sir :

First i didn't find the :  DISQLite3\Demos\DIRegEx_SearchStream .

second what i want is :
like in your : DIRegEx\Demo\DIRegEx_SearchStream    . but instead of looking
for a String in a Stream i want to search for an Hex Value

Let me suppose i have : MyFile.exe that contains the following hex Value : (
7979797979797979*5383EC44B823104000B9000000008A1880*
C310881883C00183C10181F937D1000075EBA8F0F031F0A9
F0F0F0F07A0870B39E780873B1F173B0F171E9EF17F0F065
DBA8F00030F0ABB3B3B3B37908*A8*C5CA30F073B0F073B434
EFC0B34BB3D8F5F0F0F0D9FAF0F0F0A9C81731F0D95BA5 )

and in an other text file i store all my match patterns .
ok then let me suppose this match pattern ( strored in this text file
): 5383ec44b823104000b9000000008a1880????A8   this means search for all Hex
Values from *53* to *A8*

that gives me the Result :
*5383EC44B823104000B9000000008A1880* *
C310881883C00183C10181F937D1000075EBA8F0F031F0A9*
*F0F0F0F07A0870B39E780873B1F173B0F171E9EF17F0F065*
*DBA8F00030F0ABB3B3B3B37908A8*


that's what i'm looking for using your DIRegEx .


many many thanks .









2008/4/29, Delphi Inspiration <delphi@xxxxxxxx>:
>
> randy domerk wrote:
>
> >let's suppose i have an exe File its contain is :
> >79797979797979795383EC44B823104000B9000000008A1880
> >C310881883C00183C10181F937D1000075EBA8F0F031F0A9
> >F0F0F0F07A0870B39E780873B1F173B0F171E9EF17F0F065
> >DBA8F00030F0ABB3B3B3B37908A8C5CA30F073B0F073B434
> >EFC0B34BB3D8F5F0F0F0D9FAF0F0F0A9C81731F0D95BA5
> >
> >
> >and i want to do a search on it using your great DIRegEx  to for this hex
> value :
> >
> >5383ec44b823104000b9000000008a1880????88
> >
> >how could i make this .
> >
> >please just an exemple to have an idea .
>
> I believe that the demo project in DISQLite3\Demos\DIRegEx_SearchStream is
> what you are looking for.
>
> Compile it and run it, then select your file and enter your match pattern.
> Click on of the "Find" buttons to start searching and view your results.
>
> Or did I misunderstand and you are looking for a way to search for the
> binary representation of your "hex" values?
>
> Ralf
>
> _______________________________________________
> Delphi Inspiration mailing list
> yunqa@xxxxxxxxxxxxx
> //www.freelists.org/list/yunqa
>
>
>
>

Other related posts: