add imhex pattern file
This commit is contained in:
parent
c774e08eb1
commit
718e7b10e0
1 changed files with 15 additions and 0 deletions
15
hashmapp.hexpat
Normal file
15
hashmapp.hexpat
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#include "std/mem.pat"
|
||||
|
||||
struct Entry {
|
||||
u16 key_len [[color("f0f080")]];
|
||||
char key[key_len] [[color("ffffc0")]];
|
||||
u16 value_len [[color("8080f0")]];
|
||||
char value[value_len] [[color("c0c0ff")]];
|
||||
};
|
||||
|
||||
struct DB {
|
||||
char magic[4] [[color("ff00ff")]];
|
||||
Entry entries[while(!std::mem::eof())];
|
||||
};
|
||||
|
||||
DB db @ 0x00;
|
||||
Loading…
Add table
Add a link
Reference in a new issue