Sleuth Kit Java Bindings (JNI)  4.6.0
Java bindings for using The Sleuth Kit
TskData.java
Go to the documentation of this file.
1 /*
2  * Sleuth Kit Data Model
3  *
4  * Copyright 2011 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.datamodel;
20 
21 import java.text.MessageFormat;
22 import java.util.ResourceBundle;
23 import java.util.EnumSet;
24 import java.util.Set;
25 
30 public class TskData {
31 
32  private static ResourceBundle bundle = ResourceBundle.getBundle("org.sleuthkit.datamodel.Bundle");
33 
38  public enum TSK_FS_NAME_TYPE_ENUM {
39 
40  UNDEF(0, "-"),
41  FIFO(1, "p"),
42  CHR(2, "c"),
43  DIR(3, "d"),
44  BLK(4, "b"),
45  REG(5, "r"),
46  LNK(6, "l"),
47  SOCK(7, "s"),
48  SHAD(8, "h"),
49  WHT(9, "w"),
50  VIRT(10, "v"),
51  VIRT_DIR(11, "V");
52 
53  private short dirType;
54  String label;
55 
56  private TSK_FS_NAME_TYPE_ENUM(int type, String label) {
57  this.dirType = (short) type;
58  this.label = label;
59  }
60 
66  public short getValue() {
67  return dirType;
68  }
69 
75  public String getLabel() {
76  return this.label;
77  }
78 
86  static public TSK_FS_NAME_TYPE_ENUM valueOf(short dir_type) {
87  for (TSK_FS_NAME_TYPE_ENUM v : TSK_FS_NAME_TYPE_ENUM.values()) {
88  if (v.dirType == dir_type) {
89  return v;
90  }
91  }
92  throw new IllegalArgumentException(
93  MessageFormat.format(bundle.getString("TskData.tskFsNameTypeEnum.exception.msg1.text"), dir_type));
94  }
95  }
96 
101  public enum TSK_FS_META_TYPE_ENUM {
102 
115 
116  private short metaType;
117  private String metaTypeStr;
118 
119  private TSK_FS_META_TYPE_ENUM(int type, String metaTypeStr) {
120  this.metaType = (short) type;
121  this.metaTypeStr = metaTypeStr;
122  }
123 
129  public short getValue() {
130  return metaType;
131  }
132 
133  @Override
134  public String toString() {
135  return metaTypeStr;
136  }
137 
138  public static TSK_FS_META_TYPE_ENUM valueOf(short metaType) {
139  for (TSK_FS_META_TYPE_ENUM type : TSK_FS_META_TYPE_ENUM.values()) {
140  if (type.getValue() == metaType) {
141  return type;
142  }
143  }
144  throw new IllegalArgumentException(
145  MessageFormat.format(bundle.getString("TskData.tskFsMetaTypeEnum.exception.msg1.text"), metaType));
146  }
147  }
148 
154  public enum TSK_FS_NAME_FLAG_ENUM {
155 
156  ALLOC(1, bundle.getString("TskData.tskFsNameFlagEnum.allocated")),
157  UNALLOC(2, bundle.getString("TskData.tskFsNameFlagEnum.unallocated"));
158 
159  private short dirFlag;
160  private String dirFlagStr;
161 
162  private TSK_FS_NAME_FLAG_ENUM(int flag, String dirFlagStr) {
163  this.dirFlag = (short) flag;
164  this.dirFlagStr = dirFlagStr;
165  }
166 
172  public short getValue() {
173  return dirFlag;
174  }
175 
176  @Override
177  public String toString() {
178  return dirFlagStr;
179  }
180 
188  public static TSK_FS_NAME_FLAG_ENUM valueOf(int dirFlag) {
189  for (TSK_FS_NAME_FLAG_ENUM flag : TSK_FS_NAME_FLAG_ENUM.values()) {
190  if (flag.dirFlag == dirFlag) {
191  return flag;
192  }
193  }
194  throw new IllegalArgumentException(
195  MessageFormat.format(bundle.getString("TskData.tskFsNameFlagEnum.exception.msg1.text"), dirFlag));
196  }
197  }
198 
204  public enum TSK_FS_META_FLAG_ENUM {
205 
206  ALLOC(1, bundle.getString("TskData.tskFsMetaFlagEnum.allocated")),
207  UNALLOC(2, bundle.getString("TskData.tskFsMetaFlagEnum.unallocated")),
208  USED(4, bundle.getString("TskData.tskFsMetaFlagEnum.used")),
209  UNUSED(8, bundle.getString("TskData.tskFsMetaFlagEnum.unused")),
210  COMP(16, bundle.getString("TskData.tskFsMetaFlagEnum.compressed")),
211  ORPHAN(32, bundle.getString("TskData.tskFsMetaFlagEnum.orphan"));
212 
213  private short meta_flag;
214  private String label;
215 
216  private TSK_FS_META_FLAG_ENUM(int flag, String label) {
217  this.meta_flag = (short) flag;
218  this.label = label;
219  }
220 
226  public short getValue() {
227  return meta_flag;
228  }
229 
235  @Override
236  public String toString() {
237  return label;
238  }
239 
247  public static Set<TSK_FS_META_FLAG_ENUM> valuesOf(short metaFlags) {
248  Set<TSK_FS_META_FLAG_ENUM> matchedFlags = EnumSet.noneOf(TSK_FS_META_FLAG_ENUM.class);
249 
250  for (TSK_FS_META_FLAG_ENUM v : TSK_FS_META_FLAG_ENUM.values()) {
251  long flag = v.getValue();
252 
253  if ((metaFlags & flag) == flag) {
254  matchedFlags.add(v);
255  }
256  }
257 
258  return matchedFlags;
259  }
260 
261  public static short toInt(Set<TSK_FS_META_FLAG_ENUM> metaFlags) {
262  short val = 0;
263  for (TSK_FS_META_FLAG_ENUM flag : metaFlags) {
264  val |= flag.getValue();
265  }
266  return val;
267  }
268 
269  }
270 
275  public enum TSK_FS_ATTR_TYPE_ENUM {
276 
282  TSK_FS_ATTR_TYPE_NTFS_VVER(0x40), // 64 (NT)
283  TSK_FS_ATTR_TYPE_NTFS_OBJID(0x40), // 64 (2K)
291  TSK_FS_ATTR_TYPE_NTFS_SYMLNK(0xC0), // 192 (NT)
292  TSK_FS_ATTR_TYPE_NTFS_REPARSE(0xC0), // 192 (2K)
297  TSK_FS_ATTR_TYPE_UNIX_INDIR(0x1001), // Indirect blocks for UFS and ExtX file systems
298 
299  // Types for HFS+ File Attributes
300  TSK_FS_ATTR_TYPE_HFS_DEFAULT(0x01), // 1 Data fork of fs special files and misc
301  TSK_FS_ATTR_TYPE_HFS_DATA(0x1100), // 4352 Data fork of regular files
302  TSK_FS_ATTR_TYPE_HFS_RSRC(0x1101), // 4353 Resource fork of regular files
303  TSK_FS_ATTR_TYPE_HFS_EXT_ATTR(0x1102), // 4354 Extended Attributes) except compression records
304  TSK_FS_ATTR_TYPE_HFS_COMP_REC(0x1103); // 4355 Compression records
305 
306  private int val;
307 
308  private TSK_FS_ATTR_TYPE_ENUM(int val) {
309  this.val = val;
310  }
311 
312  public int getValue() {
313  return val;
314  }
315 
316  public static TSK_FS_ATTR_TYPE_ENUM valueOf(int val) {
317  for (TSK_FS_ATTR_TYPE_ENUM type : TSK_FS_ATTR_TYPE_ENUM.values()) {
318  if (type.val == val) {
319  return type;
320  }
321  }
322  throw new IllegalArgumentException(
323  MessageFormat.format(bundle.getString("TskData.tskFsAttrTypeEnum.exception.msg1.text"), val));
324  }
325  };
326 
331  public enum TSK_VS_PART_FLAG_ENUM {
332 
337 
338  private long vs_flag;
339 
340  private TSK_VS_PART_FLAG_ENUM(long flag) {
341  vs_flag = flag;
342  }
343 
349  public long getVsFlag() {
350  return vs_flag;
351  }
352 
353  }
354 
359  public enum TSK_FS_META_MODE_ENUM {
360  /*
361  * The following describe the file permissions
362  */
363 
367 
371 
375 
379 
380  private short mode;
381 
382  private TSK_FS_META_MODE_ENUM(int mode) {
383  this.mode = (short) mode;
384  }
385 
391  public short getMode() {
392  return mode;
393  }
394 
403  public static Set<TSK_FS_META_MODE_ENUM> valuesOf(short modes) {
404  Set<TSK_FS_META_MODE_ENUM> matchedFlags = EnumSet.noneOf(TSK_FS_META_MODE_ENUM.class);
405 
406  for (TSK_FS_META_MODE_ENUM v : TSK_FS_META_MODE_ENUM.values()) {
407  long flag = v.getMode();
408 
409  if ((modes & flag) == flag) {
410  matchedFlags.add(v);
411  }
412  }
413 
414  return matchedFlags;
415  }
416 
422  public static short toInt(Set<TSK_FS_META_MODE_ENUM> modes) {
423  short modesInt = 0;
424  for (TSK_FS_META_MODE_ENUM mode : modes) {
425  modesInt |= mode.getMode();
426  }
427  return modesInt;
428  }
429  };
430 
435  public enum TSK_FS_TYPE_ENUM {
436 
437  TSK_FS_TYPE_DETECT(0x00000000, bundle.getString("TskData.tskFsTypeEnum.autoDetect")),
438  TSK_FS_TYPE_NTFS(0x00000001, "NTFS"),
439  TSK_FS_TYPE_NTFS_DETECT(0x00000001, bundle.getString("TskData.tskFsTypeEnum.NTFSautoDetect")),
440  TSK_FS_TYPE_FAT12(0x00000002, "FAT12"),
441  TSK_FS_TYPE_FAT16(0x00000004, "FAT16"),
442  TSK_FS_TYPE_FAT32(0x00000008, "FAT32"),
443  TSK_FS_TYPE_EXFAT(0x0000000A, "ExFAT"),
444  TSK_FS_TYPE_FAT_DETECT(0x0000000e, bundle.getString("TskData.tskFsTypeEnum.FATautoDetect")),
445  TSK_FS_TYPE_FFS1(0x00000010, "UFS1"),
446  TSK_FS_TYPE_FFS1B(0x00000020, "UFS1b"),
447  TSK_FS_TYPE_FFS2(0x00000040, "UFS2"),
448  TSK_FS_TYPE_FFS_DETECT(0x00000070, "UFS"),
449  TSK_FS_TYPE_EXT2(0x00000080, "Ext2"),
450  TSK_FS_TYPE_EXT3(0x00000100, "Ext3"),
451  TSK_FS_TYPE_EXT_DETECT(0x00000180, bundle.getString("TskData.tskFsTypeEnum.ExtXautoDetect")),
452  TSK_FS_TYPE_SWAP(0x00000200, "SWAP"),
453  TSK_FS_TYPE_SWAP_DETECT(0x00000200, bundle.getString("TskData.tskFsTypeEnum.SWAPautoDetect")),
454  TSK_FS_TYPE_RAW(0x00000400, "RAW"),
455  TSK_FS_TYPE_RAW_DETECT(0x00000400, bundle.getString("TskData.tskFsTypeEnum.RAWautoDetect")),
456  TSK_FS_TYPE_ISO9660(0x00000800, "ISO9660"),
457  TSK_FS_TYPE_ISO9660_DETECT(0x00000800, bundle.getString("TskData.tskFsTypeEnum.ISO9660autoDetect")),
458  TSK_FS_TYPE_HFS(0x00001000, "HFS"),
459  TSK_FS_TYPE_HFS_DETECT(0x00001000, bundle.getString("TskData.tskFsTypeEnum.HFSautoDetect")),
460  TSK_FS_TYPE_EXT4(0x00002000, "Ext4"),
461  TSK_FS_TYPE_YAFFS2(0x00004000, "YAFFS2"),
462  TSK_FS_TYPE_YAFFS2_DETECT(0x00004000, bundle.getString("TskData.tskFsTypeEnum.YAFFS2autoDetect")),
463  TSK_FS_TYPE_UNSUPP(0xffffffff, bundle.getString("TskData.tskFsTypeEnum.unsupported"));
464 
465  private int value;
466  private String displayName;
467 
468  private TSK_FS_TYPE_ENUM(int value, String displayName) {
469  this.value = value;
470  this.displayName = displayName;
471  }
472 
478  public int getValue() {
479  return value;
480  }
481 
487  public String getDisplayName() {
488  return displayName;
489  }
490 
499  public static TSK_FS_TYPE_ENUM valueOf(int fsTypeValue) {
500  for (TSK_FS_TYPE_ENUM type : TSK_FS_TYPE_ENUM.values()) {
501  if (type.value == fsTypeValue) {
502  return type;
503  }
504  }
505  throw new IllegalArgumentException(
506  MessageFormat.format(bundle.getString("TskData.tskFsTypeEnum.exception.msg1.text"), fsTypeValue));
507  }
508 
509  };
510 
515  public enum TSK_IMG_TYPE_ENUM {
516 
517  TSK_IMG_TYPE_DETECT(0, bundle.getString("TskData.tskImgTypeEnum.autoDetect")), // Auto Detection
518  TSK_IMG_TYPE_RAW_SING(1, bundle.getString("TskData.tskImgTypeEnum.rawSingle")), // Single raw file (dd)
519  TSK_IMG_TYPE_RAW_SPLIT(2, bundle.getString("TskData.tskImgTypeEnum.rawSplit")), // Split raw files
520  TSK_IMG_TYPE_AFF_AFF(4, "AFF"), // Advanced Forensic Format NON-NLS
521  TSK_IMG_TYPE_AFF_AFD(8, "AFD"), // AFF Multiple File NON-NLS
522  TSK_IMG_TYPE_AFF_AFM(16, "AFM"), // AFF with external metadata NON-NLS
523  TSK_IMG_TYPE_AFF_ANY(32, "AFF"), // All AFFLIB image formats (including beta ones) NON-NLS
524  TSK_IMG_TYPE_EWF_EWF(64, "E01"), // Expert Witness format (encase) NON-NLS
525  TSK_IMG_TYPE_VMDK_VMDK(128, "VMDK"), // VMware Virtual Disk (VMDK) NON-NLS
526  TSK_IMG_TYPE_VHD_VHD(256, "VHD"), // Virtual Hard Disk (VHD) image format NON-NLS
527  TSK_IMG_TYPE_UNSUPP(65535, bundle.getString("TskData.tskImgTypeEnum.unknown")); // Unsupported Image Type
528 
529  private long imgType;
530  private String name;
531 
532  private TSK_IMG_TYPE_ENUM(long type, String name) {
533  this.imgType = type;
534  this.name = name;
535  }
536 
537  public static TSK_IMG_TYPE_ENUM valueOf(long imgType) {
538  for (TSK_IMG_TYPE_ENUM type : TSK_IMG_TYPE_ENUM.values()) {
539  if (type.getValue() == imgType) {
540  return type;
541  }
542  }
543  throw new IllegalArgumentException(
544  MessageFormat.format(bundle.getString("TskData.tskImgTypeEnum.exception.msg1.text"), imgType));
545  }
546 
552  public long getValue() {
553  return imgType;
554  }
555 
561  public String getName() {
562  return name;
563  }
564  };
565 
570  public enum TSK_VS_TYPE_ENUM {
571 
572  TSK_VS_TYPE_DETECT(0x0000, bundle.getString("TskData.tskVSTypeEnum.autoDetect")),
573  TSK_VS_TYPE_DOS(0x0001, "DOS"),
574  TSK_VS_TYPE_BSD(0x0002, "BSD"),
575  TSK_VS_TYPE_SUN(0x0004, "SUN VTOC"),
576  TSK_VS_TYPE_MAC(0x0008, "Mac"),
577  TSK_VS_TYPE_GPT(0x0010, "GPT"),
578  TSK_VS_TYPE_DBFILLER(0x00F0, bundle.getString("TskData.tskVSTypeEnum.fake")),
579  TSK_VS_TYPE_UNSUPP(0xFFFF, bundle.getString("TskData.tskVSTypeEnum.unsupported"));
580 
581  private long vsType;
582  private String name;
583 
584  private TSK_VS_TYPE_ENUM(long type, String name) {
585  this.vsType = type;
586  this.name = name;
587  }
588 
589  public static TSK_VS_TYPE_ENUM valueOf(long vsType) {
590  for (TSK_VS_TYPE_ENUM type : TSK_VS_TYPE_ENUM.values()) {
591  if (type.getVsType() == vsType) {
592  return type;
593  }
594  }
595  throw new IllegalArgumentException(
596  MessageFormat.format(bundle.getString("TskData.tskVSTypeEnum.exception.msg1.text"), vsType));
597  }
598 
604  public long getVsType() {
605  return vsType;
606  }
607 
613  public String getName() {
614  return name;
615  }
616  };
617 
622  public enum ObjectType {
623 
624  IMG(0),
625  VS(1),
626  VOL(2),
627  FS(3),
629  ARTIFACT(5)
630  ;
631  private short objectType;
632 
633  private ObjectType(int objectType) {
634  this.objectType = (short) objectType;
635  }
636 
642  public short getObjectType() {
643  return objectType;
644  }
645 
653  public static ObjectType valueOf(short objectType) {
654  for (ObjectType v : ObjectType.values()) {
655  if (v.objectType == objectType) {
656  return v;
657  }
658  }
659  throw new IllegalArgumentException(
660  MessageFormat.format(bundle.getString("TskData.objectTypeEnum.exception.msg1.text"), objectType));
661  }
662  }
663 
669 
670  FS(0, "File System"),
671  CARVED(1, "Carved"),
672  DERIVED(2, "Derived"),
673  LOCAL(3, "Local"),
674  UNALLOC_BLOCKS(4, "Unallocated Blocks"),
675  UNUSED_BLOCKS(5, "Unused Blocks"),
676  VIRTUAL_DIR(6, "Virtual Directory"),
677  SLACK(7, "Slack"),
678  LOCAL_DIR(8, "Local Directory"),
679  ;
680 
681  private final short fileType;
682  private final String name;
683 
684  private TSK_DB_FILES_TYPE_ENUM(int fileType, String name) {
685  this.fileType = (short) fileType;
686  this.name = name;
687  }
688 
696  public static TSK_DB_FILES_TYPE_ENUM valueOf(short fileType) {
697  for (TSK_DB_FILES_TYPE_ENUM type : TSK_DB_FILES_TYPE_ENUM.values()) {
698  if (type.fileType == fileType) {
699  return type;
700  }
701  }
702  throw new IllegalArgumentException(
703  MessageFormat.format(bundle.getString("TskData.tskDbFilesTypeEnum.exception.msg1.text"), fileType));
704  }
705 
711  public short getFileType() {
712  return fileType;
713  }
714 
715  public String getName() {
716  return name;
717  }
718  }
719 
724  public enum FileKnown {
725 
726  UNKNOWN(0, bundle.getString("TskData.fileKnown.unknown")),
727  KNOWN(1, bundle.getString("TskData.fileKnown.known")),
728  BAD(2, bundle.getString("TskData.fileKnown.knownBad"));
729 
730  private byte known;
731  private String name;
732 
733  private FileKnown(int known, String name) {
734  this.known = (byte) known;
735  this.name = name;
736  }
737 
745  public static FileKnown valueOf(byte known) {
746  for (FileKnown v : FileKnown.values()) {
747  if (v.known == known) {
748  return v;
749  }
750  }
751  throw new IllegalArgumentException(
752  MessageFormat.format(bundle.getString("TskData.fileKnown.exception.msg1.text"), known));
753  }
754 
755  public String getName() {
756  return this.name;
757  }
758 
764  public byte getFileKnownValue() {
765  return this.known;
766  }
767  }
768 
773  public enum DbType {
774 
775  // Add any additional remote database types here, and keep it in sync
776  // with the Sleuthkit version of this enum located at:
777  // sleuthkit/tsk/auto/db_connection_info.h
778  // Be sure to add to settingsValid() if you add a type here.
779  SQLITE(0),
781 
782  private int value;
783 
784  DbType(int val) {
785  this.value = val;
786  }
787 
788  public int getValue() {
789  return this.value;
790  }
791  }
792 
800  public enum EncodingType{
801  // Update EncodedFileUtil.java to handle any new types
802  NONE(0),
803  XOR1(1);
804 
805  private final int type;
806 
807  private EncodingType(int type){
808  this.type = type;
809  }
810 
811  public int getType(){
812  return type;
813  }
814 
815  public static EncodingType valueOf(int type) {
816  for (EncodingType v : EncodingType.values()) {
817  if (v.type == type) {
818  return v;
819  }
820  }
821  throw new IllegalArgumentException(
822  MessageFormat.format(bundle.getString("TskData.encodingType.exception.msg1.text"), type));
823  }
824  }
825 }
VIRT
Special (TSK added "Virtual" files) NON-NLS.
Definition: TskData.java:50
FS
File that can be found in file system tree.
Definition: TskData.java:670
static FileKnown valueOf(byte known)
Definition: TskData.java:745
TSK_VS_PART_FLAG_ALL
Show all sectors in the walk.
Definition: TskData.java:336
TSK_VS_TYPE_BSD
BSD Partition table NON-NLS.
Definition: TskData.java:574
TSK_VS_TYPE_MAC
Mac partition table NON-NLS.
Definition: TskData.java:576
static Set< TSK_FS_META_FLAG_ENUM > valuesOf(short metaFlags)
Definition: TskData.java:247
TSK_VS_TYPE_DBFILLER
fake partition table type for loaddb (for images that do not have a volume system) ...
Definition: TskData.java:578
UNUSED
Metadata structure has never been allocated.
Definition: TskData.java:209
ALLOC
Metadata structure is currently in an allocated state.
Definition: TskData.java:206
TSK_VS_PART_FLAG_ALLOC
Sectors are allocated to a volume in the volume system.
Definition: TskData.java:333
static TSK_FS_TYPE_ENUM valueOf(int fsTypeValue)
Definition: TskData.java:499
UNALLOC
Metadata structure is currently in an unallocated state.
Definition: TskData.java:207
static TSK_FS_META_TYPE_ENUM valueOf(short metaType)
Definition: TskData.java:138
TSK_FS_META_TYPE_VIRT_DIR
"Virtual Directory" created by TSK for Orphan Files NON-NLS
Definition: TskData.java:114
COMP
The file contents are compressed.
Definition: TskData.java:210
TSK_FS_TYPE_YAFFS2_DETECT
YAFFS2 auto detection.
Definition: TskData.java:462
TSK_VS_PART_FLAG_META
Sectors contain volume system metadata and could also be ALLOC or UNALLOC.
Definition: TskData.java:335
TSK_FS_TYPE_FFS1B
UFS1b (Solaris - has no type)
Definition: TskData.java:446
TSK_FS_TYPE_FFS1
UFS1 (FreeBSD, OpenBSD, BSDI ...)
Definition: TskData.java:445
static TSK_FS_ATTR_TYPE_ENUM valueOf(int val)
Definition: TskData.java:316
LOCAL
Local file that was added (not from a disk image)
Definition: TskData.java:673
CARVED
Set of blocks for a file found from carving. Could be on top of a TSK_DB_FILES_TYPE_UNALLOC_BLOCKS ra...
Definition: TskData.java:671
static TSK_FS_NAME_FLAG_ENUM valueOf(int dirFlag)
Definition: TskData.java:188
TSK_FS_TYPE_ISO9660_DETECT
ISO9660 auto detection.
Definition: TskData.java:457
FS
File System - see tsk_fs_info for more details.
Definition: TskData.java:627
USED
Metadata structure has been allocated at least once.
Definition: TskData.java:208
VIRT_DIR
Special (TSK added "Virtual" directories) NON-NLS.
Definition: TskData.java:51
LOCAL_DIR
Local directory that was added (not from a disk image)
Definition: TskData.java:678
VOL
Volume - see tsk_vs_parts for more details.
Definition: TskData.java:626
static EncodingType valueOf(int type)
Definition: TskData.java:815
TSK_FS_META_TYPE_VIRT
"Virtual File" created by TSK for file system areas NON-NLS
Definition: TskData.java:113
TSK_VS_TYPE_GPT
GPT partition table NON-NLS.
Definition: TskData.java:577
TSK_FS_TYPE_DETECT
Use autodetection methods.
Definition: TskData.java:437
static TSK_FS_NAME_TYPE_ENUM valueOf(short dir_type)
Definition: TskData.java:86
static short toInt(Set< TSK_FS_META_MODE_ENUM > modes)
Definition: TskData.java:422
BAD
File marked as known and bad/notable/interesting by hash db.
Definition: TskData.java:728
DERIVED
File derived from a parent file (i.e. from ZIP)
Definition: TskData.java:672
static TSK_DB_FILES_TYPE_ENUM valueOf(short fileType)
Definition: TskData.java:696
static short toInt(Set< TSK_FS_META_FLAG_ENUM > metaFlags)
Definition: TskData.java:261
static TSK_IMG_TYPE_ENUM valueOf(long imgType)
Definition: TskData.java:537
UNALLOC_BLOCKS
Set of blocks not allocated by file system. Parent should be image, volume, or file system...
Definition: TskData.java:674
TSK_FS_META_TYPE_SOCK
UNIX domain socket NON-NLS.
Definition: TskData.java:111
static ObjectType valueOf(short objectType)
Definition: TskData.java:653
UNKNOWN
File marked as unknown by hash db.
Definition: TskData.java:726
static Set< TSK_FS_META_MODE_ENUM > valuesOf(short modes)
Definition: TskData.java:403
TSK_VS_TYPE_DETECT
Use autodetection methods.
Definition: TskData.java:572
KNOWN
File marked as a known by hash db.
Definition: TskData.java:727
VIRTUAL_DIR
Virtual directory (not on fs) with no meta-data entry that can be used to group files of types other ...
Definition: TskData.java:676
TSK_VS_PART_FLAG_UNALLOC
Sectors are not allocated to a volume.
Definition: TskData.java:334
static TSK_VS_TYPE_ENUM valueOf(long vsType)
Definition: TskData.java:589
ABSTRACTFILE
File - see tsk_files for more details.
Definition: TskData.java:628
TSK_VS_TYPE_DOS
DOS Partition table NON-NLS.
Definition: TskData.java:573
ORPHAN
Return only metadata structures that have no file name pointing to the (inode_walk flag only) ...
Definition: TskData.java:211
UNUSED_BLOCKS
Set of blocks that are unallocated AND not used by a carved or other file type. Parent should be UNAL...
Definition: TskData.java:675
VS
Volume System - see tsk_vs_info for more details.
Definition: TskData.java:625
IMG
Disk Image - see tsk_image_info for more details.
Definition: TskData.java:624
UNALLOC
Name is in an unallocated state.
Definition: TskData.java:157

Copyright © 2011-2018 Brian Carrier. (carrier -at- sleuthkit -dot- org)
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.