Skip to main content

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: arm64 code of /bin/ls

Decode mode on /bin/ls (arm64 slice of a universal Mach-O), at the entry point.

Hex mode: symbol strings of /bin/ls

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, ARM64 adrp + add/ldr pairs are resolved too. Comments show import and symbol names, @plt stubs 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 match otool on large libraries; about 3 s on a 285 MB libclang.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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hiew 1.0.1
File Size Uploaded Provenance Actions
hiew-1.0.1.tar.gz 78.4 kB Without provenance Details for hiew-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hiew 1.0.1
File Interpreter ABI Platform Actions
hiew-1.0.1-py3-none-any.whl Python 3 none any Details for hiew-1.0.1-py3-none-any.whl

Total release size: 159.6 kB

Release files / hiew-1.0.1.tar.gz

Download URL hiew-1.0.1.tar.gz
Size 78.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8a898ad57e2607c4b0206d24e1e84802c091d675e1d36ad46f47721c2a3bb42a
BLAKE2b-256 checksum
How to use checksums
9db779dd59534772584193601bda683d2a4d5c537a49de086ed9f225b155b98c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / hiew-1.0.1-py3-none-any.whl

Download URL hiew-1.0.1-py3-none-any.whl
Size 81.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d17c6772d446c54c2dcb8018b4ce81ba0d24a4a40e35cf7c69d7ab3c06f84fab
BLAKE2b-256 checksum
How to use checksums
90f3de55307ad74db6535a01c388494d9f88309e26e4e470034fd19f4a27563c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for hiew 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page