add imhex pattern file

This commit is contained in:
ari melody 2026-03-13 05:19:58 +00:00
parent c774e08eb1
commit 718e7b10e0
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E

15
hashmapp.hexpat Normal file
View 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;