Vector35 / Vector35/binaryninja-api

Loading images from DSC results in excessive memory consumption

Aperta
#6,052 7 commenti 2 reazioni 1 assegnatario Vedi su GitHub

@bdash ci sta già lavorando.

Dal 9/2/2026.

File Format: SharedCache State: Awaiting Triage
Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

Descrizione

Version and Platform (required):

  • Binary Ninja Version: 4.2.6304-dev (65f49c87)
  • OS: macOS
  • OS Version: 15.0
  • CPU Architecture: M1

Bug Description:
I am finding that when analysing dyld shared cache memory consumption becomes excessive relatively quickly. This is both the case in headless and when using the UI. Simply loading multiple images (2, maybe 3), one after the other, results in 10s of GBs of RAM being consumed by Binary Ninja. I've even had macOS run out of RAM because BN was using over 50GBs.

If the database is saved and then Binary Ninja is fully closed and the database re-opened, the amount of RAM usage is at more expected levels (couple of GBs, depending on how many DSC images are loaded).

Steps To Reproduce:

  1. Open a copy of DSC in Binary Ninja
  2. Load an image and wait for analysis to complete (may not be required but things are more stable this way)
  3. Repeat step 2 multiple times (load at least 2 images)
  4. Observe high RAM usage
  5. Save the database
  6. Close and re-open Binary Ninja
  7. Re-open the database
  8. Observe significantly less RAM usage

Binary:
Extract the DSC from any iOS 18+ IPSW. Not sure if its an iOS 18 related issues, its just the ones I've been testing on.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.