Changeset 104 for trunk/include
- Timestamp:
- 04/03/08 19:22:39 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/regfi.h
r103 r104 87 87 #define REGFI_VK_MIN_LENGTH 0x14 88 88 #define REGFI_SK_MIN_LENGTH 0x14 89 #define REGFI_HASH_LIST_MIN_LENGTH 0x4 89 90 90 91 /* Flags for the vk records */ … … 135 136 { 136 137 uint32 nk_off; 137 uint8 keycheck[4]; 138 } REGF_HASH_REC; 139 140 141 typedef struct 142 { 138 uint32 hash; 139 } REGF_HASH_LIST_ELEM; 140 141 142 typedef struct 143 { 144 uint32 offset; /* Real offset of this record's cell in the file */ 145 uint32 cell_size; /* ((start_offset - end_offset) & 0xfffffff8) */ 143 146 REGF_HBIN* hbin; /* pointer to HBIN record (in memory) containing 144 147 * this nk record 145 148 */ 146 REGF_HASH_REC* hashes;147 149 uint32 hbin_off; /* offset from beginning of this hbin block */ 148 uint32 cell_size; /* ((start_offset - end_offset) & 0xfffffff8) */149 150 uint8 header[REC_HDR_SIZE];150 REGF_HASH_LIST_ELEM* hashes; 151 152 uint8 magic[REC_HDR_SIZE]; 151 153 uint16 num_keys; 152 } REGF_ LF_REC;154 } REGF_HASH_LIST; 153 155 154 156 … … 204 206 205 207 206 /* Key Name */ 207 typedef struct 208 /* Key Name */ 209 typedef struct 208 210 { 209 211 uint32 offset; /* Real offset of this record's cell in the file */ … … 215 217 REGF_VK_REC** values; 216 218 REGF_SK_REC* sec_desc; 217 REGF_ LF_RECsubkeys;219 REGF_HASH_LIST* subkeys; 218 220 219 221 /* header information */ … … 382 384 /* Experimental */ 383 385 /****************/ 386 REGF_HASH_LIST* regfi_load_hashlist(REGF_FILE* file, uint32 offset, 387 uint32 num_keys, bool strict); 384 388 385 389 REGF_VK_REC** regfi_load_valuelist(REGF_FILE* file, uint32 offset,
Note: See TracChangeset
for help on using the changeset viewer.