1 /* 2 * The Sleuth Kit 3 * 4 * Contact: Brian Carrier [carrier <at> sleuthkit [dot] org] 5 * Copyright (c) 2010-2012 Basis Technology Corporation. All Rights 6 * reserved. 7 * 8 * This software is distributed under the Common Public License 1.0 9 */ 10 11 #ifndef _OSS_UNALLOCRUN_H 12 #define _OSS_UNALLOCRUN_H 13 14 #include "tsk/framework/framework_i.h" 15 16 /** 17 * Stores information that can map a region in the original disk image 18 * to a region in one of the chunks of unallocated space (as created by 19 * the CarvePrep implementation. 20 */ 21 class TSK_FRAMEWORK_API UnallocRun 22 { 23 public: 24 UnallocRun(int a_volId, int a_unallocImgId, uint64_t a_unallocStart, 25 uint64_t a_length, uint64_t a_allocStart); 26 ~UnallocRun(); 27 28 int getVolId() const; 29 int getUnallocImgId() const; 30 uint64_t getUnallocStart() const; 31 uint64_t getLength() const; 32 uint64_t getAllocStart() const; 33 34 private: 35 int m_volId; 36 int m_unallocImgId; 37 uint64_t m_unallocStart; 38 uint64_t m_length; 39 uint64_t m_origStart; 40 }; 41 42 #endif 43