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

Aperta
#1,238 0 commenti 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
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
backend

Direzione di ricerca

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.

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

Descrizione

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

Lingua principale
C++
Stelle
342
Fork
34
Merge medio
7g 21h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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/debugger

Tutte le issue di Vector35/debugger

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.