You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @shen1l thanks for taking the time to create an issue and I'm sorry that I didn't get the chance to look into it and write a reply. Could you maybe help me and mention what you found out as to close the issue?
The padding is necessary to ensure the byte slice is 8 bytes (64 bits) long before converting from little endian. If you put fewer than 8 bytes into binary.LittleEndian.Uint64 it will produce an error. A lot of the numbers in the MFT are stored in fewer than 8 bytes (sometimes even pretty odd numbers, like 3 bytes).
@t9t Sorry, I closed the issue coz I endup using any third-part parser to do the thing I am working on, I am now using windows API "DeviceIoControl" with ioctl code "fsctl_get_retrieval_pointers" "fsctl get_ntfs_file record" to do the work.
Here was my trouble case,I used ParseDataRuns->DataRunsToFragments. from the return values I found that on fragment offset is very large which is 60gb ,but my volume is 6gb size only, I don't know where went wrong.
type Fragment struct {
Offset int64 // the value of this field exceeded the whole volume size
Length int64
}
The text was updated successfully, but these errors were encountered: