Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(Hyperion VERSION 0.1.6 LANGUAGES CXX)
project(Hyperion VERSION 0.1.7 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Expand Down Expand Up @@ -36,6 +36,10 @@ file(GLOB_RECURSE HYPERION_SOURCES
"src/*.h"
)

if(NOT WIN32)
list(FILTER HYPERION_SOURCES EXCLUDE REGEX "src/debugger/")
endif()

add_executable(${PROJECT_NAME} ${HYPERION_SOURCES})

target_include_directories(${PROJECT_NAME} PRIVATE
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2026 - present Siden Technologies Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
31 changes: 22 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
A native multi-architecture disassembler and binary analysis tool. Supports PE, ELF, Mach-O, and .NET binaries across x86, x64, ARM, ARM64, MIPS, and PPC. Built from scratch in C++20 with ImGui.

[![Discord](https://img.shields.io/badge/Discord-Join-5865F2?logo=discord)](https://discord.gg/yjym2b7A)
[![GitHub](https://img.shields.io/github/stars/mylovereturns/hyperion-disassembler?style=flat&label=Stars)](https://github.com/mylovereturns/hyperion-disassembler)
[![GitHub](https://img.shields.io/github/stars/Sidenai/hyperion-disassembler?style=flat&label=Stars)](https://github.com/Sidenai/hyperion-disassembler)

Single statically-linked executable. No installer, no runtime dependencies. Under 3MB.
Single statically-linked executable. No installer, no runtime dependencies. Under 4MB.

<img width="3436" height="1362" alt="image" src="https://github.com/user-attachments/assets/89ffa137-ed79-4d6a-b9a6-61324192916b" />

## Community

- [Discord](https://discord.gg/yjym2b7A)
- [GitHub](https://github.com/mylovereturns/hyperion-disassembler)
- [GitHub](https://github.com/Sidenai/hyperion-disassembler)

## Supported Formats & Architectures

Expand Down Expand Up @@ -93,12 +93,14 @@ Disassembly: Zydis (x86/x64) + Capstone (ARM, ARM64, MIPS, PPC)
- Copy as C array / Python / YARA

**Stability**
- PE loader hardened against malformed binaries
- All loaders hardened against malformed/malicious binaries (bounds checks, null-termination, overflow guards)
- Thread-safe analysis (atomic handoff to UI)
- Memory optimized (fixed-size instruction buffers, section limits)
- Memory optimized (compact instruction storage, flat sorted vectors, zero per-frame allocations)
- Full undo/redo for all operations
- Auto-save every 60 seconds
- Crash-free on minimize/unfocus
- GPU-accelerated entropy heatmap (single texture draw call)
- Resilient settings/database loading (graceful handling of corrupt files)

## Keybinds

Expand Down Expand Up @@ -133,19 +135,27 @@ All keybinds are customizable via Settings.

Requires CMake 3.25+, vcpkg, C++20 compiler (MSVC 2022+, GCC 13+, or Clang 16+).

```
```bash
git clone https://github.com/Sidenai/hyperion-disassembler
cd hyperion-disassembler
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg/scripts/buildsystems/vcpkg.cmake
cmake --build build --config Release
```

For static linking (single exe, no DLLs):
```
```bash
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static
cmake --build build --config Release
```

On macOS with Ninja (recommended):
```bash
brew install cmake ninja pkg-config
git clone https://github.com/microsoft/vcpkg.git ~/.vcpkg && ~/.vcpkg/bootstrap-vcpkg.sh
cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=~/.vcpkg/scripts/buildsystems/vcpkg.cmake -G Ninja
cmake --build build --config Release
```

Dependencies (pulled via vcpkg): imgui (docking), glfw, zydis, capstone, spdlog, fmt, zlib, lua, stb.

## Platforms
Expand All @@ -161,10 +171,13 @@ Dependencies (pulled via vcpkg): imgui (docking), glfw, zydis, capstone, spdlog,
Active development. Functional for static analysis across all supported formats. Decompiler produces readable C output for x86/x64 and ARM64. RTTI class recovery works on unobfuscated C++ binaries.

Roadmap:
- Debugger integration (attach, breakpoints, anti-detection)
- Debugger integration (attach, breakpoints, anti-detection) — Windows only, in progress
- Collaborative analysis
- More decompiler improvements
- RISC-V support

## License

MIT
MIT — see [LICENSE](LICENSE)

Copyright (c) 2026 - present Siden Technologies Inc.
1 change: 1 addition & 0 deletions hyperion_recent.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/Users/kendallbooker/Downloads/dissembler/build/Hyperion
20 changes: 18 additions & 2 deletions src/core/analysis/analysis_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ struct DataItem {
struct BasicBlock {
va_t start;
va_t end;
std::vector<Insn> insns;
std::vector<va_t> succs;
std::vector<va_t> preds;
};
Expand Down Expand Up @@ -77,7 +76,7 @@ struct FuncSignature {

struct AnalysisDB {
va_t image_base = 0;
std::unordered_map<va_t, Insn> insns;
InsnStore insns;
std::unordered_map<va_t, Function> funcs;
std::vector<Xref> xrefs;
std::unordered_map<va_t, std::vector<Xref>> xrefs_to;
Expand Down Expand Up @@ -142,6 +141,23 @@ struct AnalysisDB {
std::lock_guard lk(mtx);
patches[addr] = std::vector<u8>(len, 0x90);
}

template<typename Fn>
void for_each_insn_in_block(const BasicBlock& bb, Fn&& fn) const {
auto it = insns.range_begin(bb.start);
auto end = insns.range_end(bb.end);
for (; it != end; ++it)
fn(*it);
}

template<typename Fn>
bool for_each_insn_in_block_break(const BasicBlock& bb, Fn&& fn) const {
auto it = insns.range_begin(bb.start);
auto end = insns.range_end(bb.end);
for (; it != end; ++it)
if (fn(*it)) return true;
return false;
}
};

}
Loading