PowerPC mulhdu lifting incorrect due to core analysis bug

オープン
#8,682 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp

調査の方向性

The issue identifies incorrect core analysis folding for PowerPC mulhdu with both operands set to 1 << 32, where the high half should be 1 but HLIL shows 0. Start by reproducing that case and tracing the core analysis path that folds the 128-bit product; the payload names no source files or tests. Done when the analysis preserves the expected high half and the resulting HLIL is correct.

索引モデルが issue の本文から書いたものです。

説明

Originally posted by @zznop in https://github.com/Vector35/binaryninja-api/pull/8665#discussion_r4329638809

Not advocating that you should fix this as it's not your issue, but this code does expose it: for mulhdu with both operands equal to 1 << 32 the expected high half is 1. But instead our core analysis folds the 128-bit product to 0 leaving seemingly incorrect HLIL.

Image
主要言語
C++
スター
1.3k
フォーク
304
平均マージ
2日 20時間
マージ済み PR(30日)
10

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Vector35/binaryninja-api のほかの issue

Vector35/binaryninja-api の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。