Types for objc_retain_xN / objc_release_xN in the libobjc type library should include their custom calling conventions

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
objective-c

調査の方向性

Start at bv.import_library_object and locate the libobjc type-library definitions for _objc_retain_xN and _objc_release_xN, then review the shared cache and Mach-O view workarounds described in the issue. Done means both views can import these symbols with the id signature and matching apple-arm64-objc-fast-arc-N calling convention without manual fixups.

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

説明

Component: Type Libraries Language: Objective-C

Version and Platform (required):

  • Binary Ninja Version: 5.3.9301-dev Ultimate, 855e811
  • OS: macos
  • OS Version: 26.3.1
  • CPU Architecture: arm64

Bug Description:

>>> bv.import_library_object('_objc_release_x20')
<type: immutable:FunctionTypeClass 'void()'>
>>> bv.import_library_object('_objc_release_x20').calling_convention

Expected Behavior:
These functions should:

  1. Have the correct signature: id _objc_release_x20(id).
  2. Specify the custom calling convention (apple-arm64-objc-fast-arc-20) to make explicit that the argument is not passed via x0.

Additional Information:
Both the shared cache and Mach-O views have to work around this at present by recognizing imports of these functions and manually fixing up the signature and calling convention.

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