Linux clone of hiew editor which can view binary files in raw, hex or dissasembly mode.
Table of Contents
LHiew is a console editor, Linux clone of well-know editor Hiew. Amongst its feature set is its ability to view files in text, hex and disassembly mode in which A&T syntax is used.
You could open binary file to view
lhiew ./a.out
Key Combination | Action |
---|---|
Ctrl-q |
Quit |
Ctrl-m |
Toggle previous mode |
m |
Toggle next mode |
o |
Change between assembly operator sizes |
h , Left Arrow |
Move cursor left |
k , Up Arrow |
Move cursor up |
j , Down Arrow |
Move cursor down |
l , Right Arrow |
Move cursor right |
PgUp |
Move cursor up on screen |
PgDn |
Move cursor down on screen |
Supported assembly operator sizes are the following:
- 64 bit mode;
- 32 bit protected mode;
- 16 bit protected mode;
- real mode.
- CMake 3.0 or higher
- compiler that supports C11
Please follow these steps for manual setup:
- Clone the code using
git clone --recursive [email protected]:andreitsy/lhiew.git
- Create directory with build
cd lhiew && mkdir build
- Run
cd build && cmake ..
- Run
make
This project is licensed under the MIT license. Feel free to edit and distribute this template as you like.
See LICENSE for more information.
Thanks for this awesome resources that were used during the development: