百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
A

arkdecompiler

> 前端框架
开源

HarmonyOS NEXT 反编译器(纯血鸿蒙反编译器)

195 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

HarmonyOS NEXT 反编译器(纯血鸿蒙反编译器)

arkdecompiler

arkdecompiler is the decompiler for HarmonyOS NEXT(纯血鸿蒙反编译器), which takes Panda Binary File as input, parses Panda Bytecode, and then translates it into Panda IR. After having IR, we can do various analyses. Based on IR, we reversely construct the native ArkTS AST tree, and then we traverse the AST tree and translate it into native ArkTS source code.

  • 2025 Black Hat, USA
  • 2026 Black Hat, ASIA
  • 2026 Black Hat, USA

Developer Community

QQ Group: 122560868

Schedule

  • ✅ Support all instructions
  • ✅ Implement a basic cross-platform GUI
  • ⏳ Cover sufficient corner cases in the official compiler and test262

Cross-platform GUI

Decompilation is currently Linux-only, while disassembly is supported across all platforms. Please configure your environment's command-line tools before use; you may refer to the default parameters as a guide.

Download: Get the latest pre-compiled binaries for your platform from GitHub Releases

Installation

Tested platform

Ubuntu 22.04

In the future we will adapt to other development platforms such as (Windows, macOS).

Prepare environment

bash
./prepare.sh(It will create the root directory **harmonyos**)

Clone arkdecompiler in harmonyos

bash
cd harmonyos && git clone https://github.com/jd-opensource/arkdecompiler.git
  • directory structure
➜  harmonyos ls
ark.py  arkcompiler  arkdecompiler  build  developtools  docs  foundation  kernel  out  prebuilts  prebuilts_download.sh  third_party

Apply patches to arkcompiler and third_party

Apply patches to arkcompiler/runtime_core, arkcompiler/ets_frontend, and third_party/protobuf according to the patches.

Usage

Build the decompilation main program xabc

bash
./build.sh

Prepare the source code file

Create demo.ts(refer tests directory)

Compilation && Decompilation

./run.sh(It will invoke genlogs.sh)

detailed description

  • The compilation result is:demo.abc(generated by genlogs.sh)
  • The decompilation result is:arkdemo.ts

Demo

Decompile bytecode to arkTS

AST

…

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++blackhatdecompilerharmonyos-nextreverse-engineering

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架