MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / test_exFAT

Function test_exFAT

src/exfat.c:87–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87int test_exFAT(const struct exfat_super_block *exfat_header)
88{
89 if(le16(exfat_header->signature)!=0xAA55)
90 return 1;
91 if(memcmp(exfat_header->oem_id, "EXFAT ", sizeof(exfat_header->oem_id))!=0)
92 return 1;
93 return 0;
94}
95
96int recover_exFAT(const disk_t *disk, const struct exfat_super_block *exfat_header, partition_t *partition)
97{

Callers 3

exFAT_boot_sector_rescanFunction · 0.85
check_exFATFunction · 0.85
recover_exFATFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected