Vector35 / Vector35/binaryninja-api
Option for hiding `enum`, `struct` and `union` keywords in decompilation
まだ誰も着手していません。
- 主要言語
- C++
- スター
- 1.3k
- フォーク
- 298
- 平均マージ
- 5日 5時間
- マージ済み PR(30日)
- 19
説明
Suppose I've this structure in a bndb:
struct std_string __packed
{
char s[0x10];
int32_t size;
int32_t max_size;
};
When I use this structure, I see it like this in decompiler:
struct std_string test
or like this in function prototypes:
void __stdcall set_str(struct std_string* dst, struct std_string* src)
Most of the time I find that struct keyword unnecessary. Of course this is some kind of personal preference, but it also have some advantages I guess. Is it possible to add an option for hiding that kind of keywords? I think hiding enum, uniıon and struct would be enough.
Currently I can get rid of it by creating a new typedef for that structure, but it takes time.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
No file, test, or entry point is named in the issue. Start with the decompiler output examples and determine where formatting options for enum, struct, and union keywords are handled; done means those keywords can be hidden in declarations and function prototypes while the existing structure remains usable.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cpp
- 領域
- reverse-engineering
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100