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

Function adv_menu_superblock_selected

src/adv.c:436–448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436static void adv_menu_superblock_selected(disk_t *disk, partition_t *partition, const int verbose,const int dump_ind, char**current_cmd)
437{
438 if(is_linux(partition))
439 {
440 list_part_t *list_sb=search_superblock(disk,partition,verbose,dump_ind);
441 interface_superblock(disk, list_sb, current_cmd);
442 part_free_list(list_sb);
443 }
444 if(is_hfs(partition) || is_hfsp(partition))
445 {
446 HFS_HFSP_boot_sector(disk, partition, verbose, current_cmd);
447 }
448}
449
450void interface_adv(disk_t *disk_car, const int verbose,const int dump_ind, const unsigned int expert, char**current_cmd)
451{

Callers 1

interface_advFunction · 0.85

Calls 7

is_linuxFunction · 0.85
search_superblockFunction · 0.85
interface_superblockFunction · 0.85
part_free_listFunction · 0.85
is_hfsFunction · 0.85
is_hfspFunction · 0.85
HFS_HFSP_boot_sectorFunction · 0.85

Tested by

no test coverage detected