[AArch64] Always Branch patch on tbnz still broken in 6.0.10905 (regression of #6613/#7280)
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 58/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- cpp
調査の方向性
The issue identifies the AArch64 tbnz instruction and the Patch → Always Branch action; it does not name an implementation file or test. Start by locating the AArch64 patch logic for Always Branch and compare its behavior with Invert Branch and Never Branch on the provided instruction word, 0x37000108. Done means Always Branch produces the unconditional b target encoding 0x14000008 while the other two actions retain their reported behavior.
索引モデルが issue の本文から書いたものです。
説明
Version and Platform (required):
- Binary Ninja Version: 6.0.10905 Personal (fe7968aa)
- Edition: Non-Commercial
- OS: macOS
- OS Version: 27.0.1 (26A434)
- CPU Architecture: M4
Bug Description:
On AArch64, "Patch → Always Branch" applied to a tbnz produces an invalid instruction instead of an unconditional branch. Regression of #6613 / #7280 (both closed) — still reproducible on current stable.
Steps To Reproduce:
- Open an arm64 Mach-O containing
tbnz w8, #0, target(word 0x37000108) - Right-click the tbnz → Patch → Always Branch
Expected Behavior:
b target = 14000008
Actual:
tbz w15, #0, target = 3600010f — condition inverted (tbnz→tbz) AND register changed (w8→w15), so the branch is still conditional and tests an unrelated register. Patch silently does nothing useful.
"Invert Branch" (→ tbz w8) and "Never Branch" (→ nop) work correctly on the same instruction; only Always Branch is broken.
Reproduced on a tiny Rust debug build (if input.trim() == "1"), instruction at offset 0x17fc. Happy to attach the binary if useful.
Screenshots/Video Recording:
Binary:
ceramic spring optimizes quantitatively
- 主要言語
- C++
- スター
- 1.3k
- フォーク
- 304
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Vector35/binaryninja-api のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
Vector35/binaryninja-api#8715 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Vector35/binaryninja-api#8714 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
Vector35/binaryninja-api#8713 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
Vector35/binaryninja-api#8689 ·
メンテナーはふだん 2 日以内に返信
-
Component: Python API
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Vector35/binaryninja-api#8649 ·
メンテナーはふだん 2 日以内に返信
Vector35/binaryninja-api の issue をすべて見る
似ている issue
-
Bug Core VIF
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
ESPresense/ESPresense#2680 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 75/100
stew675/llama-cpp-rdna-boosts#348 ·
メンテナーはふだん 1 日以内に返信
-
Documentation: Add comprehensive newcomer onboarding guide, project structure, and local usage to README対応中かも @Ash-Blanc が今日担当しました。 オープンarea/other status/bot-triaged status/need-triage
難易度 2/5 半日 初心者へのやさしさ 85/100
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信