Mailing List Archive

file_read vs fread?
Hi,

What is the difference in reading a file via file_read vs fread? I have
written a dump routine to save trace data into a file. The hex dump of
the file looks like I expect it to be. The fread of the file with a stub
program shows the same data. However, when same file is read by wireshark
(using file_read), the buffer into which I read, shows different data.

Just wondering how I should debug this issue?

thanks,
Ravi.