Hiew — cross-platform Hacker's View
A console hex viewer, hex editor and disassembler with the modes, hotkeys and blue screen of Hiew (Hacker's View). Runs on macOS, Linux and Windows.
Decode mode on /bin/ls (arm64 slice of a universal Mach-O), at the entry point.
Hex mode on the same file: address, 16 bytes in hex, the same bytes as characters.
Installation
Requires Python 3.9+.
pip3 install hiew # macOS / Linux / Windows (windows-curses is pulled in on Windows)
python3 -m hiew /bin/ls
The built-in assembler (F3 → F2) needs the keystone library:
| System | Command |
|---|---|
| macOS | brew install keystone |
| Linux | apt install libkeystone0 (or your distribution's keystone package) |
| Windows | pip install "hiew[asm]" (installs keystone-engine) |
Everything else works without it. From a source checkout: pip install ., or python -m hiew file.
What is supported
- Formats: PE32/PE32+ (x86, x64, ARM, ARM64) with imports and exports; ELF32/64 (LE/BE) with symtab/dynsym, GOT slot names, PLT stubs and DT_NEEDED libraries; Mach-O 32/64 and universal (fat) binaries with imports (stubs / GOT via the indirect symbol table), exports and libraries; DOS MZ. Other files open as raw data.
- Disassembler: capstone — x86-16/32/64, ARM/Thumb, ARM64, MIPS, PowerPC, RISC-V. Branch targets are shown as
Hiew addresses (
.00401234),[rip+X]is resolved to an absolute address, ARM64adrp+add/ldrpairs are resolved too. Comments show import and symbol names,@pltstubs and the strings (ASCII and UTF-16) the code refers to. - Reference search (F6, imports): byte-pattern scanning confirmed by the disassembler instead of disassembling the
whole file — x86
call/jmp/jcc,[rip+X], absolute addresses and jump tables; ARM64 B/BL, B.cond, CBZ/TBZ, ADR, literal loads and ADRP pairs. Counts matchotoolon large libraries; about 3 s on a 285 MBlibclang.dylib. - Large files are memory-mapped and never read into memory as a whole; edits are kept as patches.
Metadata
Release files for hiew 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hiew-1.0.2.tar.gz | 78.4 kB | With provenance | Details for hiew-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hiew-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for hiew-1.0.2-py3-none-any.whl |
Total release size: 159.7 kB
Release files / hiew-1.0.2.tar.gz
| Download URL | hiew-1.0.2.tar.gz |
|---|---|
| Size | 78.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cdc52f9566222ade133975983df6336b4caa4f225f5240cbd00bef8910cd4dfe
|
|
BLAKE2b-256 checksum How to use checksums |
aa71607d6d726bf0f2aadb8d63b514557a10a38b35b690a0e9168df86eb017d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logRelease files / hiew-1.0.2-py3-none-any.whl
| Download URL | hiew-1.0.2-py3-none-any.whl |
|---|---|
| Size | 81.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b36fc839896aa659ab7f1143686ec5f32aae1b03aa365a3004668214c9f3e64b
|
|
BLAKE2b-256 checksum How to use checksums |
6e5385e85cb8b3ac1437db1613326fd291e2760e05618e47f7eb535b2591b3fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logSecurity for hiew 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for hiew-1.0.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 16, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.