No progress bar shown when parsing BinaryView headers

Open
#2,604 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
38/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp

Research direction

Start at BinaryView::Init and trace the binary-opening flow to find where header parsing occurs relative to progress-bar creation and percentage updates. Reproduce with a large binary, then verify that the progress bar appears before header parsing and includes that work in its percentage; assess separately whether background-thread parsing is feasible.

Written by the indexing model from the issue text.

Description

Component: UI Effort: Low Impact: Medium

When opening a binary, the header is parsed (BinaryView::Init) on the UI thread before a progress bar appears. In cases of large binaries, this can take tens of seconds during which the UI is unresponsive and no indication of progress is shown.

We should show the progress bar before parsing the headers, and include it in the progress percentage. Optionally, we should parse it on a background thread so the UI thread does not hang.

Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.