Difference between revisions of "Main Page"

From wxHexEditor
Jump to navigation Jump to search
Line 212: Line 212:
 
   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 }
 
   0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C }
 +
 +
 +
=== TAGs ===
 +
With TAG system, users could put brain notes / bookmarks to files.
 +
 +
==== Quick TAG ====
 +
Generally, developers doesn't want to define TAGs with proper label. With this feature, wxHexEditor will create a TAG from current selection with random color and empty label. Since it's empty mouse over TAG doesn't show any label also.
 +
 +
==== New TAG ====
 +
With TAGs, you can define any part of the file with given note and color. I use this feature to understand Matroska format. When you see the structure at binary file directly, you can undestand what you can do and could code a parser to fix broken MKV files like [[http://mkvrepair.com Meteorite Project]].
 +
 +
You can select color of the TAG that you creating and could enter a label into a TAG, or you can leave it empty. Normally TAGs will popup a windows that shows label of the TAG. You can also see labels at TAG panel. But if you create a TAG without a label, that you can see only offset of the TAG at the TAG Panel and no window popups when you move the mouse cursor into it.
 +
 +
==== TAG Edit ====
 +
You can edit generated TAGs with this. Just press Right Click into a TAG and select edit. You can delete a TAG by pressing REMOVE on tag edit dialog.
 +
 +
==== TAGs Import & Export ====
 +
You can load TAGs from a file. wxHexEditor also support saving TAGs into file.
 +
Normally, on close of the file, TAGs will saved to <filename+".tags"> file.
 +
 +
If the path of the opened file doesn't support writing (like block devices, write permissions etc...) wxHexEditor also asks about where you want to save TAGs.
 +
 +
=== Delete and Injection Operations ===
 +
wxHexEditor can delete and inject bytes into middle of the file, on the fly, without require of saving the file. Drawback of this feature is it cannot apply changes into file itself (yet). Instead, you have to use "Save As" function to save injected files.
 +
 +
== Tools ==
 +
'''TODO'''
 +
=== Binary File Comparator ===
 +
'''TODO'''
 +
=== File Checksum Generator ===
 +
'''TODO'''
 +
=== XOR ViewThru ===
 +
'''TODO'''
 +
Do you want to edit a file that encrypted(!) with XOR? I do (At [[http://www.samygo.tv SamyGO.tv Project]]. Thanks to SAMSUNG's engineers for use this dummy encryption technique...) So wxHexEditor has a unique feature that, you can edit the files directly even if they encrypted with XOR.
 +
 +
== Devices ==
 +
'''TODO'''
 +
=== Open RAM ===
 +
'''TODO'''
 +
=== Open Process Memory ===
 +
'''TODO'''
 +
=== Open Disk Devices ===
 +
'''TODO'''
 +
DiskEditor
 +
=== Disk Device Tools ===
 +
'''TODO'''
 +
==== Backup / Erase / Restore ====
 +
'''TODO'''
 +
 +
 +
== Preferences ==
 +
'''TODO'''
 +
=== Language Support ===
 +
'''TODO'''
 +
=== Character Encoding Support ===
 +
'''TODO'''
 +
=== Custom Hex Formating ===
 +
'''TODO'''
 +
=== Custom Byte Per Line ===
 +
'''TODO'''
 +
 +
== Panels ==
 +
'''TODO'''
 +
=== DataInterpteter Panel ===
 +
'''TODO'''
 +
=== Toolbar ===
 +
'''TODO'''
 +
=== Info Panel ===
 +
'''TODO'''
 +
=== TAG Panel ===
 +
'''TODO'''
 +
=== Disassembler Panel ===
 +
'''TODO'''
 +
=== Search Panel ===
 +
'''TODO'''
 +
=== Comparison Panel ===
 +
'''TODO'''

Revision as of 18:54, 19 February 2014

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.

Copy Hex or Text

In wxHexEditor, active panel defines the copy format.

If Hex panel is active (have a cursor), copy function copies the selection as in hex format like

74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65

If Text panel is active, than copy function copies the selection as in binary format, like

testfiletestfile


Block Selection

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

Press Left Click to move cursor to mark beginning offset -> Right Click -> Set Selection Block Start - > Left Click to move cursor to mark end offset -> 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

Fill Selection

With this feature, you can fill the selected area with any hex value that you want.

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! Than wxHexEditor will copy the block to system clipboard with selected formatting.

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 }


TAGs

With TAG system, users could put brain notes / bookmarks to files.

Quick TAG

Generally, developers doesn't want to define TAGs with proper label. With this feature, wxHexEditor will create a TAG from current selection with random color and empty label. Since it's empty mouse over TAG doesn't show any label also.

New TAG

With TAGs, you can define any part of the file with given note and color. I use this feature to understand Matroska format. When you see the structure at binary file directly, you can undestand what you can do and could code a parser to fix broken MKV files like [Meteorite Project].

You can select color of the TAG that you creating and could enter a label into a TAG, or you can leave it empty. Normally TAGs will popup a windows that shows label of the TAG. You can also see labels at TAG panel. But if you create a TAG without a label, that you can see only offset of the TAG at the TAG Panel and no window popups when you move the mouse cursor into it.

TAG Edit

You can edit generated TAGs with this. Just press Right Click into a TAG and select edit. You can delete a TAG by pressing REMOVE on tag edit dialog.

TAGs Import & Export

You can load TAGs from a file. wxHexEditor also support saving TAGs into file. Normally, on close of the file, TAGs will saved to <filename+".tags"> file.

If the path of the opened file doesn't support writing (like block devices, write permissions etc...) wxHexEditor also asks about where you want to save TAGs.

Delete and Injection Operations

wxHexEditor can delete and inject bytes into middle of the file, on the fly, without require of saving the file. Drawback of this feature is it cannot apply changes into file itself (yet). Instead, you have to use "Save As" function to save injected files.

Tools

TODO

Binary File Comparator

TODO

File Checksum Generator

TODO

XOR ViewThru

TODO Do you want to edit a file that encrypted(!) with XOR? I do (At [SamyGO.tv Project]. Thanks to SAMSUNG's engineers for use this dummy encryption technique...) So wxHexEditor has a unique feature that, you can edit the files directly even if they encrypted with XOR.

Devices

TODO

Open RAM

TODO

Open Process Memory

TODO

Open Disk Devices

TODO DiskEditor

Disk Device Tools

TODO

Backup / Erase / Restore

TODO


Preferences

TODO

Language Support

TODO

Character Encoding Support

TODO

Custom Hex Formating

TODO

Custom Byte Per Line

TODO

Panels

TODO

DataInterpteter Panel

TODO

Toolbar

TODO

Info Panel

TODO

TAG Panel

TODO

Disassembler Panel

TODO

Search Panel

TODO

Comparison Panel

TODO