Local debugging broken in Ubuntu 26.04 arm64 VM on M4 Mac Host

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

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
54/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp
Bereich
backend

Rechercherichtung

Start by locating where this project pins or bundles LLVM 22.1 and how its LLDB and GDB debugger dependencies are built or selected. Check the reported LLVM 23.1 fix against the linked LLVM issue and verify whether the update applies to this Ubuntu arm64 VM configuration. Done means LLDB and GDB can start a target such as /bin/gnuls in the reported setup.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Version and Platform (required):

  • Binary Ninja Version: 6.0.10905
  • OS: Ubuntu 26.04 arm64 (guest), macOS 26 arm64 (host), M4 Max
  • Local or Remote Debugging: local in a VM

Bug Description:
LLDB and GDB both fail to start with this hardware config. This is a dependency issue that means that binja's debugger is unable to start any targets. See https://github.com/llvm/llvm-project/issues/138717 and https://github.com/docker/for-mac/issues/7539

This seems to be fixed in LLVM 23.1, but we're using 22.1 currently. Downloading an LLVM 23.1 build and running lldb worked when I tried it.

Steps To Reproduce:

  1. Start vm config as described above
  2. Try to debug /bin/gnuls
  3. Observe "Sending vRun packet failed" when trying to debug using LLDB

Expected Behavior:
I expected debugging to work

Proposed Solution:
Update to LLVM 23.1

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.