Skip to content

List of bugs of McAfee FileInsight hex editor

Nobutaka Mantani edited this page Mar 16, 2021 · 13 revisions

The following is the list of bugs of McAfee FileInsight hex editor (version 3.5 Build 800) that I found in the past. I created this page because I was not able to find contact information to report the bugs. I hope the developers of FileInsight to see this page and fix them.


Critical bugs

getDocument() Python API returns truncated data

getDocument() should return all content of a file, but it returns truncated data. So I have to use getByteAt() to recover missing data for my plugins and it is time consuming to call getByteAt() many times for large files. getSelection() does not have this problem.

"}" (0x7d) and "~" (0x7e) are not displayed in hex view

Not displaying "}" is critial for solving CTF challenges because "}" is frequently used at the end of flags. In text view, they are displayed correctly.

Window of showSimpleDialog() Python API is not modal

If you click FileInsight main window during a window of showSimpleDialog() is shown, the window of showSimpleDialog() will go behind the main window and no further operation will be possible because the main window is freezed. So I had to create a replacement of showSimpleDialog() with Tkinter for my plugins.

Non-critical bugs

getSelection() Python API always fails with a specific region

getSelection() always fails with the following error message when I selected a region from offset 0x40 to 0x7f. And this error happens to any file with the same selection.

Error: getSelectionPy_Impl.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: object of type 'NoneType' has no len()

getDocumentName() Python API cannot handle characters outside of current Windows codepage

getDocumentName() returns character outside of current Windows codepage as "?". For example, Hangul character and emoji in file name are converted to "?" in Japanese environment (cp932).

Description of setBookmark() Python API in the help document is incorrect

The help document says that setBookmark() takes three parameters.

int setBookmark(
   int offset,  // Idicates the beginning of the bookmark.
   int length,  // Length in bytes of the bookmark. 
   string color // Has to be HTML-syle like #D3D3D3.
);

However, setBookmark() actually takes four parameters.

int setBookmark(
   int offset,  // Idicates the beginning of the bookmark.
   int length,  // Length in bytes of the bookmark.
   string name, // Name of the bookmark displayed in the Bookmarks tab.
   string color // Has to be HTML-syle like #D3D3D3.
);

And example is incorrect too.

// Use setBookmark to save a URL.
int adress = getByteAt(index); 

Description of getSelection() Python API in the help document is incorrect

The description of parameters of getSelection() is a copy of getByteAt().

string getByteAt();

Section of getDocument() Python API is missing in help document

It existed in the previous version (2.1). Why is it removed?