Main Page

From wxHexEditor
Revision as of 18:09, 19 February 2014 by EUA (talk | contribs) (→‎Tips)
Jump to navigation Jump to search

wxHexEditor's wiki page has been successfully installed.


I try to build a documentation here.

Tips

Offset Mode Change

You can change address mode between decimal, hexadecimal, octal or sector:decimal (only available on block devices) just by Right Clicking to offset area of the file

Right click to address area

Copy Offset Address

You don't need to select and copy address from offset panel. Just move your mouse to what address you want to copy and issue a Left Click. Value of the offset will be copied to system clipboard.

Block Selection

You want to select big blocks? You can start block/stop block feature for define blocks.

Left Click to move cursor -> Right Click -> Set Selection Block Start - > Left Click to move cursor some other location -> Right Click -> Set Selection Block End

Features

Save as Dump

Do you need save a part of the file in binary? This feature for you.

Just select to blocks that you want to dump and

Right Click -> Save As Dump -> Select destination file -> Save

CopyAs

You can copy a part of the file for showing at Internet, Wiki, C/C++ , ASM code or as many other formats.

Before, sharing an hex information is a painful experience. You need to take a screenshot, cut it, find a picture host, upload to internet, generate an url for forum or Wiki...

Now, you can just use CopyAs function!

Here is some examples using part of testfile.swp file.

Full Text Format

CopyAs Full Text Format just copy the selection, without TAGs.

Options: Offset, Hex and Text outputs with Byte Per Line support.

Here we show Hex + Text output with 16 byte per line only.

74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   zªªªªªªªªªªªªªªª
AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   ªªªªªªªªªªªªªªªª
AA AA AA AA AB 69 6C 65 74 65 73 74 66 69 6C 65   ªªªª«iletestfile
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
74 65 73 74 66 69 BB BB BB BB BB BB BB BB BB BB   testfi»»»»»»»»»»
BB BB BB 74 66 69 6C 65 74                        »»»tfilet

Special Hex Format

Selected block converted to specially formated hex stream with this.

Options: RAW Hex, With Space, Quad Hex, with 0x, with 0x and period, also with Byte Per Line option.

In all examples used 16 byte per line settings.

RAW Hex
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAB696C657465737466696C65
7465737466696C657465737466696C65
7465737466696C657465737466696C65
7465737466696C657465737466696C65
746573746669BBBBBBBBBBBBBBBBBBBB
BBBBBB746669
With Space
AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA 
AA AA AA AA AB 69 6C 65 74 65 73 74 66 69 6C 65 
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 
74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 
74 65 73 74 66 69 BB BB BB BB BB BB BB BB BB BB 
BB BB BB 74 66 69 
Quad Hex
AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA 
AAAA AAAA AB69 6C65 7465 7374 6669 6C65 
7465 7374 6669 6C65 7465 7374 6669 6C65 
7465 7374 6669 6C65 7465 7374 6669 6C65 
7465 7374 6669 6C65 7465 7374 6669 6C65 
7465 7374 6669 BBBB BBBB BBBB BBBB BBBB 
BBBB BB74 6669 
with 0x
0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 
0xAA 0xAA 0xAA 0xAA 0xAB 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 
0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 
0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 
0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 
0x74 0x65 0x73 0x74 0x66 0x69 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 
0xBB 0xBB 0xBB 0x74 0x66 0x69 
with 0x and period
0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 
0xAA, 0xAA, 0xAA, 0xAA, 0xAB, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 
0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 
0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 
0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 
0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 
0xBB, 0xBB, 0xBB, 0x74, 0x66, 0x69, 

Internet Format

WIKI Format

You can copy selection as a mediawiki stream with TAGs support.

Options: Offset, Hex and Text outputs with Byte Per Line support.

Here an example output with all of the panels, using 16 byte per line representation.

TAG List:
Sample: First corruption on file.
Sample: Here second corruption at file
Third corruption
Different Corruption type

000020h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C AA   testfiletestfilª
000030h   60 6F FA AA AA AA 6C 65 74 65 73 74 66 69 6C 65   `oúªªªletestfile
000040h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000050h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000060h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000070h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000080h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000090h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
0000A0h   74 65 73 74 66 69 6C 65 AA AA AA AA AA AA AA AA   testfileªªªªªªªª
0000B0h   AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   ªªªªªªªªªªªªªªªª
0000C0h   AA 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   ªestfiletestfile
0000D0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
0000E0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 11 65   testfiletestfi.e
0000F0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000100h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000110h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000120h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000130h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000140h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000150h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
000160h   7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   zªªªªªªªªªªªªªªª
000170h   AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   ªªªªªªªªªªªªªªªª
000180h   AA AA AA AA AB 69 6C 65 74 65 73 74 66 69 6C 65   ªªªª«iletestfile
000190h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
0001A0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
0001B0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfile
0001C0h   74 65 73 74 66 69 BB BB BB BB BB BB BB BB BB BB   testfi»»»»»»»»»»
0001D0h   BB BB BB 74 66 69 6C 65 74                        »»»tfilet

Generated by wxHexEditor
phpBB Forum style Format

Copy format for phpBB forums. Unfortunately wxHexEditor does NOT support TAGS with it. If there is a way to do that, please contact with author to add support for it!

Options: Offset, Hex and Text outputs with Byte Per Line support.

[code]000020h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C AA testfiletestfilª[/code]Generated by [url=http://www.wxHexEditor.org]wxHexEditor[/url]

HTML Format

You can copy selection as a HTML stream with TAGs support.

Options: Offset, Hex and Text outputs with Byte Per Line support.

Here an example output with all of the panels, using 32 byte per line representation.

Also note that, there are unwanted stings on this show due using html tags under wikimedia to show you.

<pre>TAG List:
Sample: First corruption on file.
Sample: Here second corruption at file
Third corruption
Different Corruption type

000020h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C AA 60 6F FA AA AA AA 6C 65 74 65 73 74 66 69 6C 65   testfiletestfilª`oúªªªletestfile
000040h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
000060h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
000080h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
0000A0h   74 65 73 74 66 69 6C 65 AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   testfileªªªªªªªªªªªªªªªªªªªªªªªª
0000C0h   AA 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   ªestfiletestfiletestfiletestfile
0000E0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 11 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfi.etestfiletestfile
000100h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
000120h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
000140h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
000160h   7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA   zªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª
000180h   AA AA AA AA AB 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   ªªªª«iletestfiletestfiletestfile
0001A0h   74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65   testfiletestfiletestfiletestfile
0001C0h   74 65 73 74 66 69 BB BB BB BB BB BB BB BB BB BB BB BB BB 74 66 69 6C 65 74                        testfi»»»»»»»»»»»»»tfilet

Generated by <a href="http://www.wxHexEditor.org">wxHexEditor</a>

ASM Source Format

You can also use CopyAs functions for convert binary into ASM program source.

You can use 8, 16, 32 and 64 bit options with Big Endian and Bytes per line options.

And here an ASM Source format example with 8 bit option:

;Generated by wxHexEditor
db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch 065h 074h 065h 073h 
db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch 065h 074h 065h 073h 
db 074h 066h 069h 06Ch 065h 07Ah 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 
db 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 
db 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0ABh 069h 06Ch 065h 074h 065h 073h 
db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch 065h 074h 065h 073h 
db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch

C/C++ Source Format

You can also use CopyAs functions for convert binary into C/C++ program source.

You can use 8, 16, 32 and 64 bit options with Big Endian and Bytes per line options.

Here is C/C++ Source format with 8 bit option example:

// Generated by wxHexEditor //
int8_t hexData[0x6c] = {
  0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 
  0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 
  0x74, 0x66, 0x69, 0x6C, 0x65, 0x7A, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 
  0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 
  0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAB, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 
  0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 
  0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C }