Missing Phi Function in MLIL

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

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

評価

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

調査の方向性

Open sacsess.tar.gz at CVTUTF8Scraper::Write (0x140003750) and inspect the MLIL blocks where rdx_2 is used, focusing on the block at address 93. Compare its definitions with the existing dwSize#4 phi; done means rdx_2#4 is defined by a phi combining rdx_2#2 and rdx_2#3.

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

説明

Component: Core Core: MLIL Impact: Medium

Version and Platform (required):

  • Binary Ninja Version: 3.5.4425-dev
  • OS: Arch Linux
  • OS Version: -
  • CPU Architecture: x64

Bug Description:
Take a look at the following CFG:
Screenshot_20230804_111137

rdx_2#2 and rdx_2#3 are assigned in the upper blocks which lead into the block at address 93.
In that block rdx_2#4 is used, but not defined.
It should be defined by a phi function in the form of rdx_2#4 = phi(rdx_2#2, rdx_2#3) at the start of the block, like the one for dwSize#4

Steps To Reproduce:

  1. Open sacsess.tar.gz at CVTUTF8Scraper::Write (Addr: 0x140003750)
  2. Look at the MLIL representation of the blocks where rdx_2 is used.

Expected Behavior:
There should be phi function defining rdx_2#4

主要言語
C++
スター
1.3k
フォーク
298
平均マージ
5日 5時間
マージ済み PR(30日)
19

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

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

Vector35/binaryninja-api のほかの issue

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

似ている issue

C++ の issue をもっと見る

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

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