Add validation to detect common errors in workflow activities that modify ILs
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start with the workflow activity and IL-modification guidance in the binaryninja-api repository, especially the linked bni l-modifying.html documentation, to identify the required finalization and SSA steps and the in-place limitations. The issue leaves open whether to warn or perform missing work automatically, so first investigate how activities complete and how IL changes are tracked. Done means detecting the listed mistakes and providing an agreed warning or automatic handling behavior.
索引モデルが issue の本文から書いたものです。
説明
Version and Platform (required):
- Binary Ninja Version: 6.1.10853-dev Ultimate, 2f5af57a
- OS: macos
- OS Version: 27.0.1
- CPU Architecture: arm64
Bug Description:
https://docs.binary.ninja/dev/bnil-modifying.html lists a number of steps that an activity that is modifying IL must take. They differ slightly between whether the modification is being made in place or by copying the IL function. Broadly, they are:
- The IL function must have been finalized.
- The IL function must have had its SSA form regenerated (excepting ILs that don't have an SSA form).
- SSA forms must not be directly modified since any changes will be lost when SSA form is regenerated from the underlying non-SSA IL.
- There are limitations on what is safe to modify in place.
Getting these wrong can lead to quite confusing results that are hard to debug. For instance, failing to finalize the IL function or generate the SSA form can lead to seeing the correct IL at the level you modified, while later analysis phases entirely ignore your changes.
It seems like it should be possible to detect that an activity has made these mistakes and warn the developer.
Alternatively, if we can detect that the developer missed necessary steps, we could simply do the work when the activity completes.
- 主要言語
- 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
-
難易度 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 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信