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.
  • Windows resources (.rsrc): the type / name / language tree with decoded version info, manifests, string tables and icon groups, in a window opened with F8, then F4. Enter goes to the data, F2 saves the selected resource (icon and cursor groups become real .ico / .cur files, bitmaps .bmp), F3 saves them all.
  • .NET assemblies (via dnfile): runtime, flags, assembly version, managed entry point, referenced assemblies and Namespace.Type::Method names for every method body. Managed resources are listed in the same resources window (F8, then F4), with the strings of .resources sets.
  • 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; a search takes a few seconds even in libraries of several hundred megabytes.
  • Large files are memory-mapped and never read into memory as a whole; edits are kept as patches.

Metadata

Release files for hiew 1.1.0

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.1.0
File Size Uploaded Provenance Actions
hiew-1.1.0.tar.gz 91.1 kB With provenance Details for hiew-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 187.9 kB

Release files / hiew-1.1.0.tar.gz

Download URL hiew-1.1.0.tar.gz
Size 91.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c4bb75989b1a27a95f7a74b2120da535b6ec9cd94cb0d196bec2aeb34d58faad
BLAKE2b-256 checksum
How to use checksums
77e293bf65bc02c1a315897e7d47f7431f8b2ed0d2dab8988e2bac5ce0cd0a8e
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 18, 2026.

Transparency log

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

Download URL hiew-1.1.0-py3-none-any.whl
Size 96.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b3ae9df7e143fe2abb5d47e60990d34284ba6e61e8550f231d3d021c4dde55c
BLAKE2b-256 checksum
How to use checksums
d382211e5dc1020d437f06766fe7f41543b6edb62b764a6b8e8cf9f01563b5a5
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 18, 2026.

Transparency log

Security for hiew 1.1.0

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.

Select from 2 files

Attestation for hiew-1.1.0.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 18, 2026.

Transparency log

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