summaryrefslogtreecommitdiff
path: root/patterns/win7_physstore.pat
blob: 6c816ac69fd96c20d724027758dcde94709110bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <std/mem.pat>

struct tsd_data {
    u32 val_type; // 0 None, 1 Named, 2 Attribute, 3 Timer
    u32 flags;
    u32 len_key;
    u32 len_val;
    u32 len_data;
    char16 key[len_key/2];
    u8 value[len_val];
    u8 data[len_data];
    padding[-$&3];
};

tsd_data store[while($ < std::mem::size())] @ 0x8;