analyse functions

Using TestDisk to undelete files
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
mesajflaviu
Posts: 37
Joined: 12 Sep 2019, 19:54

analyse functions

#1 Post by mesajflaviu »

The first HDD read attempt is by using autodetect_arch, which call

Code: Select all

		disk->arch = &arch_none;
		list_part = disk->arch->read_part(disk, verbose, 0);
Further, this function (read_part) is calling static list_part_t* read_part_none, where I have found several functions: search_type_0, search_type_1, search_type_2, ...., search_NTFS_backup.

What is the scope of these functions ? I mean the code doesn't retrieve any information about my HDD, even if I know that is NTFS. Moreover, I noticed that when my code enter in search_type_2 function, I get ASSERT error:

Code: Select all

assert(sizeof(struct f2fs_super_block) == 3072);    // my debugger yell here

Locked