Skip to content

Visual Studio extension for view byte array in hex

License

Notifications You must be signed in to change notification settings

mIwr/HexVisualizer

Repository files navigation

HexVisualizer

Mladen Mihajlovic Hex Visualizer fork

HexVisualizer provides a viewer for byte arrays so as to display them in a mini hex window. Very useful for debugging network packets and binary files.

Supports VS 2022 Community or Pro edition. Older VS 2019, VS 2017 extensions

Additional features:

  • Visualizing string variables
  • String and byte search
  • Copy value to clipboard (right click on value in bottom panel)

Install

Usage

on VS 2022 it's pretty straight forward. Just explore a byte array

Watch.png

If you select a string a dialog will pop up...

Type chooser.png

On choice or if just a byte array...

Visualizer.png

Setup your own build

May be useful for maintaining new Visual Studio IDE releases

Newer VS IDE releases and product types support is achieved by updating VSIX manifest and building extension on new IDE

Updating VSIX manifest

  1. Update IDE install targets and its' version range
  2. Update Visual Studio MPF dependency version range
  3. Update IDE version ranges for prerequisites: .NET Framework & Visual Studio core editor
  4. Build and pack VSIX project release
  5. Generate pfx, if doesn't exist, for signing
  6. Sign VSIX package
vsixsigntool.exe sign /f <certfile> /p <password> /fd sha256 /v <VSIXfile>
  1. VSIX ready for install on Visual Studio. Profit

Credit

Uses the Be.Hex control from Be.HexEditor (.NET C# hex edit control)