Changeset 102 for trunk/include


Ignore:
Timestamp:
04/02/08 22:30:26 (16 years ago)
Author:
tim
Message:

simplified root key search routines

rewrote sk record parsing

fixed nasty bug in parsing data-in-offset

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/regfi.h

    r101 r102  
    8686#define REGFI_NK_MIN_LENGTH     0x4C
    8787#define REGFI_VK_MIN_LENGTH     0x14
     88#define REGFI_SK_MIN_LENGTH     0x14
    8889
    8990/* Flags for the vk records */
     
    188189  uint32 hbin_off;      /* offset from beginning of this hbin block */
    189190  uint32 cell_size;     /* ((start_offset - end_offset) & 0xfffffff8) */
     191  uint32 offset;        /* Real file offset of this record */
    190192 
    191193  uint32 sk_off;        /* offset parsed from NK record used as a key
     
    196198  uint32 next_sk_off;
    197199  uint32 ref_count;
    198   uint32 size;
    199   uint8  header[REC_HDR_SIZE];
     200  uint32 desc_size;     /* size of security descriptor */
     201  uint16 unknown_tag;
     202  uint8  magic[REC_HDR_SIZE];
    200203} REGF_SK_REC;
    201204
Note: See TracChangeset for help on using the changeset viewer.