Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`pyright` type checking is very slow

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

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

評価

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

調査の方向性

Start by reproducing the issue with the test.py example and pyright --outputjson, comparing results with and without show_graph_report(1, 2). Trace the binaryninja.interaction.show_graph_report API and its exposed type information to identify what causes the evaluation slowdown. Done means importing and using it no longer causes the reported drastic increase in pyright time.

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

説明

Version and Platform (required):

  • Binary Ninja Version: 6.0.10601 (can't easily test dev for packaging reasons)
  • Edition: Personal
  • OS: NixOS
  • OS Version: 26.05
  • CPU Architecture: x64

Bug Description:
Importing and using binaryninja.interaction.show_graph_report causes pyright evaluation time to rise from 6s to ~40s.

Steps To Reproduce:

  1. Create test.py
  2. Paste:
from binaryninja.interaction import show_graph_report
show_graph_report(1, 2)
  1. Run pyright --outputjson test.py
  2. Observe timeInSec to be vastly larger than normal (~40s for my system)
  3. Comment out show_graph_report(1, 2)
  4. Rerun pyright and observe timeInSec of below 1s

Expected Behavior:
Importing show_graph_report should not cause a drastic increase in pyright evaluation time.

Screenshots/Video Recording:
If applicable, please add screenshots/video recording here to help explain your problem.

Binary:
If applicable, please provide us with the binary to help us work with the issue faster. Here are a few options:

Additional Information:
I'm using this to get pyright to discover the api in my dev env:

BINJA_ROOT=$(cat "$HOME/.binaryninja/lastrun" | tr -d '\n')
export PYTHONPATH="$BINJA_ROOT/python:$PYTHONPATH"
主要言語
C++
スター
1.3k
フォーク
298
平均マージ
4日 13時間
マージ済み PR(30日)
20

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

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

はじめの一歩

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

Vector35/binaryninja-api のほかの issue

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

似ている issue

C++ の issue をもっと見る

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

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