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

Function hfs_dump

src/thfs.c:65–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63#endif
64
65static void hfs_dump(disk_t *disk_car, const partition_t *partition, const unsigned char *buffer_bs, const unsigned char *buffer_backup_bs, char **current_cmd)
66{
67 log_info("Superblock Backup superblock\n");
68 dump2_log(buffer_bs, buffer_backup_bs, HFSP_BOOT_SECTOR_SIZE);
69 if(*current_cmd==NULL)
70 {
71#ifdef HAVE_NCURSES
72 hfs_dump_ncurses(disk_car, partition, buffer_bs, buffer_backup_bs);
73#endif
74 }
75}
76
77static int HFS_HFSP_boot_sector_command(char **current_cmd, const char *options)
78{

Callers 1

HFS_HFSP_boot_sectorFunction · 0.85

Calls 2

dump2_logFunction · 0.85
hfs_dump_ncursesFunction · 0.85

Tested by

no test coverage detected