Vector35 / Vector35/binaryninja-api

Binary Ninja hangs when exporting deeply nested DWARF C++ types (export headers).

Open
#8,158 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Core Core: Types DebugInfo: DWARF Impact: High State: Awaiting Triage
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 5.3.9434-Stable
  • Edition: Non-Commercial
  • OS: Windows
  • OS 11
  • CPU Architecture: x64

Bug Description:
When attempting export to a C Header file, Binary Ninja hangs indefinitely with CPU usage maxed out. This occurs on an executable containing heavily nested C++ templates parsed from DWARF debug symbols.

Steps To Reproduce:
Please provide all steps required to reproduce the behavior:

  1. Load 700mb binary with DWARF symbols.
  2. Let Binary Ninja run analysis.
  3. Click on Analysis -> Export Header
  4. It hangs.

Expected Behavior:
It works.

Binary:
graphical line seeks heuristically

Additional Information:
There are other errors when analyzing this binary:

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.

Research direction

Reproduce with the reported 700 MB executable containing DWARF symbols: load it, wait for analysis, then use Analysis → Export Header. Compare the behavior with the related issues in binaryninja-api, Ghidra, ddbug, and dwarves. Done means the C Header export completes instead of hanging with maximum CPU usage.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.