ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9607] TFShark (Terminal FileShark)

Date: Wed, 14 May 2014 22:03:28 +0000

Comment # 34 on bug 9607 from
The file *reading* code for Fileshark should probably know nothing about the
format of files; that should be left entirely up to the dissectors.  Otherwise,
a change to support existing or new file format features might require changes
in two places.

Were we to eliminate calls such as tvb_get_ptr(), so that nothing above the
tvbuff layer can ever fetch a byte from a tvbuff except by going through
accessor routines, we could, perhaps, have a "file tvbuff" that has an entire
file backing it and that doesn't require the entire contents of the file to be
in the process's address space.  That's what we'd use for the top-level tvbuff.


You are receiving this mail because:
  • You are watching all bug changes.