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

Abierto
#1,238 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
54/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cpp
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
C++
Estrellas
342
Forks
34
Merge medio
7 d 21 h
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Vector35/debugger

Todos los issues de Vector35/debugger

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.