Jump to content
  • 0

Can searchNumber dword in series/pattern ?


Heel2Heel

Question

Posted

I would like to search dword  32 values in series. Some of them are fix values.
 

15 20 xx xx xx xx xx xx xx 20 xx xx xx xx 55 xx xx xx 55 11

 gg.searchNumber('15;20;0~99;0~99;0~99;0~99;0~99;0~99;0~99;20;0~99;0~99;0~99;0~99;55;0~99;0~99;0~99;55;11 :: 20', gg.TYPE_DWORD) 

Can we use 0~~0 in dword ? What does it mean ? I tried to search google but no document.
Can we improve the pattern shorter ? because in the real job I have to search 32 value in series.
 

2 answers to this question

Recommended Posts

Posted
  • Pattern text is limited to some length. I can't remember. It can't long.
  • If all wildcard xx have value between 0 and 99, you can input only once.
  • length = (4 bytes x 20 items) + 1 = 81
gg.searchNumber('15;20;0~99;20;0~99;55;0~99;55;11 :: 81', gg.TYPE_DWORD) 

It will match and show all 20 items.

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.