| 85 | } |
| 86 | |
| 87 | int 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 | |
| 96 | int recover_exFAT(const disk_t *disk, const struct exfat_super_block *exfat_header, partition_t *partition) |
| 97 | { |
no outgoing calls
no test coverage detected