API for creating null-terminated string data variables

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

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

評価

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

調査の方向性

Start by comparing the existing string-variable logic at linearview.cpp:5845 and tokenizedtextview:1877, then locate other core implementations. Consolidate the behavior into one core implementation and expose an API for plugins, including null-terminated UTF-16 and UTF-32 strings. Done means these call sites use the shared implementation and the public API supports the requested encodings.

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

説明

Component: API Effort: Trivial Impact: Low

Sometimes analysis misses strings, or you're dealing with a format that you know has strings at certain offsets, etc.

There is no API for "create a (null-terminated) string data variable starting at this address". As such, we've reinvented this behavior in a few places in the core (linearview.cpp:5845, tokenizedtextview:1877, and more). So this is really a two part feature request:

  1. Consolidate any areas where we do this into the core into one true implementation.
  2. Make an API available so plugins, etc. don't have to re-implement the whole "keep reading until you find a null terminator then construct the appropriate array type" process.

This API should support UTF-{16,32} strings as well, which should be easy via an optional parameter.

主要言語
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 を短くまとめたダイジェスト。