dissect.fat.exfat#

Module Contents#

Classes#

class dissect.fat.exfat.ExFAT(fh)#
cluster_to_sector(cluster)#

Returns the clusters’ corresponding sector address

Parameters:

cluster (int) – cluster address

Returns:

corresponding sector address if available

Return type:

int

sector_to_cluster(sector)#

Returns the sectors’ corresponding cluster address

Parameters:

sector (int) – sector address

Returns:

corresponding cluster address if available

Return type:

int

runlist(starting_cluster, not_fragmented=True, size=None)#

Creates a RunlistStream compatible runlist from exFAT FAT structures

Parameters:

starting_cluster (int) – First cluster of file, folder or location in question

Returns:

[(sector_offset, run_length)]

Return type:

runlist

get_cluster_chain(starting_cluster)#

Reads the on disk FAT to construct the cluster chain

Parameters:

starting_cluster (int) – cluster to look-up the chain from

Returns:

Chain of clusters. Including starting_cluster

Return type:

list