Changeset 100
- Timestamp:
- 03/21/08 11:20:24 (17 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/devel/winntreg.txt
r97 r100 23 23 0x0000002C D-Word 1 24 24 0x000001FC D-Word Sum of all D-Words from 0x00000000 to 25 0x000001FB //XOR of all words. Nigel25 0x000001FB //XOR of all words. Nigel 26 26 27 27 I have analyzed more registry files (from multiple machines running … … 161 161 (UNICODE!) 162 162 163 The "lf" -record163 The "lf"/"lh"/"ri"-record (hash list header) 164 164 =============== 165 165 Offset Size Contents 166 0x0000 Word ID: ASCII-"lf" = 0x666C 166 0x0000 Word ID: ASCII-"lf" = 0x666C (or "lh" or "ri") 167 167 0x0002 Word number of keys 168 168 0x0004 ???? Hash-Records … … 172 172 Offset Size Contents 173 173 0x0000 D-Word Offset of corresponding "nk"-Record 174 0x0004 D-Word ASCII: the first 4 characters of the key-name, padded with 0-s. Case sensitiv! 175 174 0x0004 D-Word ASCII: the first 4 characters of the key-name, padded with 0-s. Case sensitive! 175 (the hash value may be computed differently for the various header types 176 "lf"/"lh"/"ri"/etc) 176 177 Keep in mind, that the value at 0x0004 is used for checking the data-consistency! If you change the 177 178 key-name you have to change the hash-value too! -
trunk/lib/range_list.c
r99 r100 231 231 232 232 /* Try to keep memory usage down */ 233 if(rl->size < (rl->elem_alloced - 2 * RANGE_LIST_ALLOC_SIZE))233 if(rl->size + 2 * RANGE_LIST_ALLOC_SIZE < rl->elem_alloced) 234 234 { 235 235 tmp = (range_list_element**)realloc(rl->elements,
Note: See TracChangeset
for help on using the changeset viewer.