25.12.2013 Views

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Store Category_4: Fragment is at the end of the file<br />

The thumbnail cache files pre-allocate space, which they then fill with<br />

subrecords; once the file is full a new larger file is created, which can then be<br />

populated with the existing data giving the thumbnail cache room to continue<br />

growing. The last subrecord marker in the file contains an empty record; the<br />

empty record continues to the end of the file. The empty subrecord may contain<br />

non-thumbnail cache data in its data section; therefore there may be fragments<br />

which are part of the thumbnail cache file but do not contain thumbnail cache<br />

file data.<br />

As it is not possible to know the contents, or structure of the last subrecord’s<br />

data section, this research focuses on the reassembly of the files until the last<br />

subrecord is identified; the research does not aim to reassemble the data<br />

section of the last subrecord. The last subrecord header is identifiable: it begins<br />

with the header “CMMM”, four bytes indicating the size of the subrecord, 32<br />

bytes of 0x00, followed by the thumbnail cache ID value. The 32 empty bytes<br />

show this is the last subrecord and therefore all complete subrecords are above<br />

this point in the file. By identifying the fragment, where the last “CMMM” occurs<br />

at the expected relative offset given the size of the preceding chunk, the<br />

reassembly has reached the end of the file.<br />

9.5.2 Thumbcache_32, 96, 1024 file fragment reassembly<br />

Both category 1 and 2 represent the first fragment in a file; both categories<br />

represent a fragment which starts with the file signature “CMMM”. As the file<br />

signature is also used as a subrecord signature it is possible that if a subrecord<br />

started on a fragment boundary it may be confused for the start of a file. To<br />

ensure a valid category 1 or 2 fragment is identified the remainder of the file<br />

header is validated against the expected structure described in Chapter 6.<br />

Page<br />

248

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!