Redesign/Reconcile the BinaryDataNotifications for the MemoryMap System

Aperta
#6,501 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
cpp

Direzione di ricerca

Start by tracing MemoryMap::AddDataMemoryRegion and the BinaryDataNotification callbacks, especially OnSegmentUpdated and OnSegmentAdded. Reproduce the segment addition behavior in the DSC-style binary view described in the report, then verify that the added segment triggers OnSegmentAdded and is passed as the callback argument.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Component: Core Effort: Medium Impact: Medium

Version and Platform (required):

  • Binary Ninja Version: 4.3.7047-dev (0672492d)
  • OS: macOS
  • OS Version: 15.2
  • CPU Architecture: M1

Bug Description:
When calling MemoryMap::AddDataMemoryRegion to add segments to a binary view (like the DSC plugin does), it only triggers the binary view notification void BinaryDataNotification::OnSegmentUpdated(BinaryView* data, Segment* segment) and segment is always the first segment in the binary. So for the DSC view this is the DSC header segment from 0x180000000 to 0x180000208.

Expected Behavior:
The OnSegmentAdded callback should be called when adding segments using MemoryMap::AddDataMemoryRegion and the correct segment (the one that was just added) should be passed to the callback.

Lingua principale
C++
Stelle
1.3k
Fork
298
Merge medio
5g 5h
PR unite (30g)
19

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.

Altre issue di Vector35/binaryninja-api

Tutte le issue di Vector35/binaryninja-api

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.