Hardware read/write breakpoint not rendered in UI when set on .rdata section (still functional, appears in breakpoint list)

Offen
#1,186 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
cpp

Rechercherichtung

Start by reproducing the issue with a local WINDOWS_NATIVE debug session and a hardware breakpoint on an address in the .rdata section. Compare the disassembly/hex view rendering with the Breakpoints list panel and with breakpoints in other sections. Done means the marker appears at the correct address while the breakpoint still triggers during execution.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Version and Platform (required):

  • Binary Ninja Version: 6.0.10474-dev Ultimate (c9ea4d90)
  • OS: Windows 11 Pro
  • OS Version: 10.0.26200 (Build 26200)
  • CPU Architecture: x64 (AMD64 Family 25 Model 97, running under QEMU/Proxmox virtualization)
  • Local or Remote Debugging: Local

Bug Description:
When setting a hardware breakpoint on an address within the .rdata section, the breakpoint marker is not rendered in the disassembly/hex view UI. The breakpoint does correctly appear in the Breakpoints list panel, and it still triggers normally during execution. This appears to be purely a UI rendering issue in the disassembly/hex view, not a functional problem with the debugger.

Steps To Reproduce:

  1. Open any binary in Binary Ninja
  2. Start a local debug session with "WINDOWS_NATIVE"
  3. Set a hardware breakpoint on an address located within the .rdata section
  4. Observe that the breakpoint appears correctly in the Breakpoints list panel, but no breakpoint marker is rendered at that address in the disassembly/hex view
  5. Run/continue execution — confirm the breakpoint is still hit despite the missing visual indicator

Expected Behavior:
The hardware breakpoint marker should render in the disassembly/hex view at the corresponding address in the .rdata section, consistent with how breakpoints render in other sections.

Screenshots/Video Recording:

Binary:

Additional Information:
System info (via systeminfo):

  • Host: DESKTOP-01C7LS4
  • System Manufacturer/Model: QEMU Standard PC (Q35 + ICH9, 2009) — running in a virtualized environment (Proxmox)
  • BIOS: Proxmox distribution of EDK II 4.2025.02-4~bpo12+1
  • Total Physical Memory: 8,152 MB
  • Hyper-V/virtualization-based security: Not enabled; hypervisor detected
Vorherrschende Sprache
C++
Sterne
342
Forks
34
Ø Merge
7 T. 21 Std.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Vector35/debugger

Alle Issues in Vector35/debugger

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.