Use HexView to observe compiled machine code

HexView is used to open any file and display its contents of each byte from beginning to end in hexadecimal form.

download:

链接:https://pan.baidu.com/s/1zB9r5WwuTMIPNMlYl5HlvA 
提取码:5ndl

Double-click to start HexView, then select the menu "File" - "Open file for display" and find your program file in the file selection dialog box. The HexView program will display the just selected file in hexadecimal form. In HexView, the
Insert image description here
file The content is displayed in hexadecimal form in the middle of the window, with 16 bytes per line, separated by whitespace, so it looks sparse. If the file is larger, it will be divided into many lines.
For comparison, each byte is also displayed as a character on the right side of the window, if it is indeed displayable as a character. If the byte is not a displayable character, an alternative character "." is displayed. Because there are Chinese character comments in the source program, if you are careful, you can calculate from the picture that the encoding of each Chinese character is two bytes. For example, the encoding of the word "jiang" is 0xBD0xAB. Since HexView displays each character in a single byte, it cannot display Chinese characters.
The number on the left is the distance (offset) of the first byte of each line relative to the file header, also displayed in hexadecimal. The letter "m" is the first character in the entire source program file, therefore, Its offset is 00000000 (H)

Guess you like

Origin blog.csdn.net/lcy1619260/article/details/132743465