Difference between revisions of "Main Page"

From wxHexEditor
Jump to navigation Jump to search
(Partial CopyAS)
 
(43 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''wxHexEditor's wiki page has been successfully installed.'''
+
Welcome to wxHexEditor wiki pages.
  
 +
In this wiki, we try to introduce you the wxHexEditor and give some hits about it's usage and features.
  
I try to build a documentation here.
+
Version information and change logs of the wxHexEditor is [[Versions| here!]]
  
== Tips ==
+
= Tips =
=== Offset Mode Change ===
+
*[[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
+
*[[Offset Increase & Decrease by 1 with Mouse]]
 +
*[[Copy Offset Address]]
 +
*[[Copying Hex or Text]]
 +
*[[CLI - Command Line Interface]]
  
[[File:AddressModeChange.gif|Right click to address area]]
+
= Features =
 +
*[[Easy Block Selection]]
 +
*[[CopyAs]]
 +
*[[TAGs]]
 +
*[[Panels#Disassembler_Panel | x86 Disassembler]]
 +
*[[Save as Dump]]
 +
*[[Fill Selection]]
 +
*[[Delete and Insert Operations]]
 +
*[[Process RAM]]
 +
*[[File Support]]
 +
*[[Device Image Tools]]
 +
== Tools ==
 +
*[[Binary File Comparator]]
 +
*[[File Checksum Generator]]
 +
*[[XOR ViewThru]]
 +
== Customization ==
 +
*[[Preferences]]
 +
*[[Multi Language Support]]
 +
*[[Character Encoding Support]]
 +
*[[Custom Hex Formatting]]
 +
*[[Bytes Per Line Limit]]
 +
==[[Panels]]==
  
=== Block Selection ===
+
=Donors=
You want to select big blocks? You can start block/stop block feature for define blocks.
+
*[[Donation]]
 
 
'''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 ====
 
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.
 
 
 
<pre>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
 
</pre>
 
 
 
==== Special Formated Hex ====
 
Selected block converted to specially formated hex stream with this.
 
=====Options=====
 
======RAW Hex======
 
<pre>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 
AAAAAAAAAB696C657465737466696C65
 
7465737466696C657465737466696C65
 
7465737466696C657465737466696C65
 
7465737466696C657465737466696C65
 
746573746669BBBBBBBBBBBBBBBBBBBB
 
BBBBBB746669</pre>
 
 
 
<pre>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 </pre>
 
 
 
<pre>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 </pre>
 
 
 
 
 
<pre>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 </pre>
 
 
 
<pre>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, </pre>
 
 
 
==== WIKI Format with TAGs ====
 
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:
 
<span style="background-color:#FFE27F;color:#000000;">Sample: First corruption on file.</span>
 
<span style="background-color:#FFF07F;color:#000000;">Sample: Here second corruption at file</span>
 
<span style="background-color:#7FFF83;color:#000000;">Third corruption</span>
 
<span style="background-color:#FF7F7F;color:#000000;">Different Corruption type</span>
 
 
000020h  74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C <span style="background-color:#FFE27F;">AA </span>  testfiletestfil<span style="background-color:#FFE27F;">ª</span>
 
000030h  <span style="background-color:#FFE27F;">60 6F FA AA AA AA </span>6C 65 74 65 73 74 66 69 6C 65  <span style="background-color:#FFE27F;">`oúªªª</span>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 <span style="background-color:#FFF07F;">AA AA AA AA AA AA AA AA </span>  testfile<span style="background-color:#FFF07F;">ªªªªªªªª</span>
 
0000B0h  <span style="background-color:#FFF07F;">AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span>  <span style="background-color:#FFF07F;">ªªªªªªªªªªªªªªªª</span>
 
0000C0h  <span style="background-color:#FFF07F;">AA </span>65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65  <span style="background-color:#FFF07F;">ª</span>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  <span style="background-color:#7FFF83;">7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span>  <span style="background-color:#7FFF83;">zªªªªªªªªªªªªªªª</span>
 
000170h  <span style="background-color:#7FFF83;">AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span>  <span style="background-color:#7FFF83;">ªªªªªªªªªªªªªªªª</span>
 
000180h  <span style="background-color:#7FFF83;">AA AA AA AA AB </span>69 6C 65 74 65 73 74 66 69 6C 65  <span style="background-color:#7FFF83;">ªªªª«</span>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 <span style="background-color:#FF7F7F;">BB BB BB BB BB BB BB BB BB BB </span>  testfi<span style="background-color:#FF7F7F;">»»»»»»»»»»</span>
 
0001D0h  <span style="background-color:#FF7F7F;">BB BB BB </span>74 66 69 6C 65 74                        <span style="background-color:#FF7F7F;">»»»</span>tfilet
 
 
Generated by [http://www.wxHexEditor.org/ wxHexEditor]
 
 
 
 
==== HTML Format with TAGs ====
 
You can copy selection as a HTML stream with TAGs support.
 
Options: Offset Panel, Hex Panel, Text Panels.
 
Here an example output with all of the panels, using 32 byte per line representation.
 
 
 
<<nowiki/>pre><code style="color:#000000;">TAG List:<br><span style="background-color:#FFE27F;color:#000000;">Sample: First corruption on file.</span><br><span style="background-color:#FFF07F;color:#000000;">Sample: Here second corruption at file</span><br><span style="background-color:#7FFF83;color:#000000;">Third corruption</span><br><span style="background-color:#FF7F7F;color:#000000;">Different Corruption type</span><br><br>000020h&nbsp;&nbsp;&nbsp;74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C <span style="background-color:#FFE27F;">AA 60 6F FA AA AA AA </span>6C 65 74 65 73 74 66 69 6C 65 &nbsp;&nbsp;testfiletestfil<span style="background-color:#FFE27F;">ª`oúªªª</span>letestfile<br>000040h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>000060h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>000080h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>0000A0h&nbsp;&nbsp;&nbsp;74 65 73 74 66 69 6C 65 <span style="background-color:#FFF07F;">AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span>&nbsp;&nbsp;testfile<span style="background-color:#FFF07F;">ªªªªªªªªªªªªªªªªªªªªªªªª</span><br>0000C0h&nbsp;&nbsp;&nbsp;<span style="background-color:#FFF07F;">AA </span>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 &nbsp;&nbsp;<span style="background-color:#FFF07F;">ª</span>estfiletestfiletestfiletestfile<br>0000E0h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfi.etestfiletestfile<br>000100h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>000120h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>000140h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>000160h&nbsp;&nbsp;&nbsp;<span style="background-color:#7FFF83;">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 </span>&nbsp;&nbsp;<span style="background-color:#7FFF83;">zªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª</span><br>000180h&nbsp;&nbsp;&nbsp;<span style="background-color:#7FFF83;">AA AA AA AA AB </span>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 &nbsp;&nbsp;<span style="background-color:#7FFF83;">ªªªª«</span>iletestfiletestfiletestfile<br>0001A0h&nbsp;&nbsp;&nbsp;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 &nbsp;&nbsp;testfiletestfiletestfiletestfile<br>0001C0h&nbsp;&nbsp;&nbsp;74 65 73 74 66 69 <span style="background-color:#FF7F7F;">BB BB BB BB BB BB BB BB BB BB BB BB BB </span>74 66 69 6C 65 74 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;testfi<span style="background-color:#FF7F7F;">»»»»»»»»»»»»»</span>tfilet<br><br></code></pre><font size="-3">Generated by <a href="http://www.wxHexEditor.org">wxHexEditor</a></font>
 
 
 
==== 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.
 
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.
 
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 }
 

Latest revision as of 01:38, 31 December 2017