knowledge/technology/applications/utilities/ImHex.md

79 lines
70 KiB
Markdown
Raw Normal View History

2024-07-14 00:07:17 +00:00
---
2024-07-14 00:08:42 +00:00
obj: application
2024-07-14 00:07:17 +00:00
repo: https://github.com/WerWolv/ImHex
website: https://imhex.werwolv.net
flatpak-id: net.werwolv.ImHex
rev: 2024-07-14
---
# ImHex
A Hex Editor for Reverse Engineers, Programmers and people who value their retinas when working at 3 AM
This [repository](https://github.com/WerWolv/ImHex-Patterns) contains a database for files to use with the ImHex Hex Editor. It currently contains
- Patterns - Binary Format definitions for the Pattern Language
- Pattern Libraries - Libraries that make using the Pattern Language easier
- Magic Files - Custom magic file definitions for the use with libmagic
- Encodings - Custom encodings in the .tbl format
- Data Processor Nodes - Custom nodes made for ImHex's Data Processor
- Themes - Custom themes for ImHex
- Constants - Constants definition files
- Scripts - Various scripts to generate code or automate some tasks
- Yara - Custom Yara rules
![Screenshot][Screenshot]
## Features
- Byte patching
- Patch management
- Infinite Undo/Redo
- "Copy bytes as..."
- Bytes
- Hex string
- C, C++, C#, Rust, Python, Java & JavaScript array
- ASCII-Art hex view
- HTML self-contained div
- Simple string and hex search
- Goto from start, end and current cursor position
- Colorful highlighting
- Displaying data as a list of many different types
- Hexadecimal integers (8, 16, 32, 64 bit)
- Signed and unsigned decimal integers (8, 16, 32, 64 bit)
- Floats (16, 32, 64 bit)
- RGBA8 Colors
- HexII
- Binary
- Decoding data as ASCII and custom encodings
- Base64 files
- IPS and IPS32 patches
- Markdown reports
- Node-based data pre-processor
- Modify, decrypt and decode data before it's being displayed in the hex editor
- Modify data without touching the underlying source
- Support for adding custom nodes
- Support for searching the entire file or only a selection
- String extraction
- Sequence search
- Regex search
- Binary Pattern
- Numeric Value search
- Compare data of different data sources
- Difference highlighting
- Table view of differences
- File magic-based file parser and MIME type database
- Byte type distribution graph
- Entropy graph
- Highest and average entropy
- Encrypted / Compressed file detection
- Digram and Layered distribution graphs
- Itanium, MSVC, Rust and D-Lang demangler based on LLVM
- ASCII table
- Regex replacer
- Mathematical expression evaluator (Calculator)
- Graphing calculator
- Hexadecimal Color picker with support for many different formats
- Base converter
- Byte swapper
- UNIX Permissions calculator
[Screenshot]: data:image/avif;base64,AAAAIGZ0eXBhdmlmAAAAAGF2aWZtaWYxbWlhZk1BMUEAAAS3bWV0YQAAAAAAAAAoaGRscgAAAAAAAAAAcGljdAAAAAAAAAAAAAAAAGxpYmF2aWYAAAAADnBpdG0AAAAAAAEAAABIaWxvYwAAAABEAAAEAAEAAAABAAA9NAAAjscAAgAAAAEAADvZAAABWwADAAAAAQAABN8AACn4AAQAAAABAAAu1wAADQIAAACHaWluZgAAAAAABAAAABppbmZlAgAAAAABAABhdjAxQ29sb3IAAAAAGmluZmUCAAAAAAIAAGF2MDFBbHBoYQAAAAAZaW5mZQIAAAAAAwAARXhpZkV4aWYAAAAALGluZmUCAAAAAAQAAG1pbWVYTVAAYXBwbGljYXRpb24vcmRmK3htbAAAAAA2aXJlZgAAAAAAAAAOYXV4bAACAAEAAQAAAA5jZHNjAAMAAQABAAAADmNkc2MABAABAAEAAANwaXBycAAAA0lpcGNvAAAAFGlzcGUAAAAAAAAFEAAAAvcAAAAQcGl4aQAAAAADCAgIAAAADGF2MUOBJQAAAAACrGNvbHJwcm9mAAACoGxjbXMEMAAAbW50clJHQiBYWVogB+UACwABABEAMQAMYWNzcE1TRlQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA0y1sY21zAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAANZGVzYwAAASAAAABAY3BydAAAAWAAAAA2d3RwdAAAAZgAAAAUY2hhZAAAAawAAAAsclhZWgAAAdgAAAAUYlhZWgAAAewAAAAUZ1hZWgAAAgAAAAAUclRSQwAAAhQAAAAgZ1RSQwAAAhQAAAAgYlRSQwAAAhQAAAAgY2hybQAAAjQAAAAkZG1uZAAAAlgAAAAkZG1kZAAAAnwAAAAkbWx1YwAAA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