Running bindiff export does not result in `.BinExport` file being created
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- reverse-engineering, tooling
Línea de trabajo
Comienza con la reproducción usando /opt/bindiff/bin/bindiff --export en el binario de Envoy e inspecciona la ruta de exportación de IDA mencionada en main_plugin.cc. Compara los archivos observados con opensnoop y revisa ~/.bindiff/logs/bindiff_idapro.log; se considera terminado cuando se crea el archivo .BinExport esperado para las versiones indicadas de IDA y Bindiff.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
I'm trying to diff an envoy file containing debug symbols against an optimized release image. I initially tried to diff them against each other through the IDA plugin window and received the "Exporting the secondary database failed." error.
After looking into the source a bit, I tried to run the /opt/bindiff/bin/bindiff directly to isolate what the problem is. It appears that the .BinExport files aren't being created by IDA. Please see my reproduction steps below and let me know if I can provide any more helpful context!
To Reproduce
- Download envoy v1.31.1
docker pull envoyproxy/envoy:v1.31-latest
container_sha=$(docker create envoyproxy/envoy:v1.31-latest)
docker cp ${container_sha}:/usr/local/bin/envoy ./
- Open binary in IDA and wait for initial analysis to complete
- Save IDA database file and close IDA
- Run bindiff export from the command line --
/opt/bindiff/bin/bindiff --export directory/containing/envoy-binary/ - See that no
.BinExportfile is created
Expected behavior
That a .BinExport file is created and I'm able to diff a file with debug symbols and the optimized release.
Environment (please complete the following information):
- OS and version: Ubuntu 22 VM
- Locale: US English
- Disassembler and version: IDA Free 8.4
- Bindiff v8 -- installed
.debfrom release page
Additional context
I noticed that bindiff is running the following ida64 command. I tried running that directly on my machine and used opensnoop to track what files ida64 is writing. Attached below are the commands I ran and the output from opensnoop. The ~/.bindiff/logs/bindiff_idapro.log file also doesn't contain much information.
- Lenguaje dominante
- Java
- Estrellas
- 3.2k
- Forks
- 240
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de google/bindiff
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
question
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
-
ida pro 9.1 i64 db diff fails Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
[Bug] Error when build Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 55/100
-
[Bug] Protobuf message size limit of 2GB exceeded during final stage of diffing large binaries Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
Todos los issues de google/bindiff
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
ci-failure-cause test-failure
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
nextcloud/notes-android#3367 ·
Los mantenedores suelen responder en 1 día
-
Feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
MuntashirAkon/AppManager#2058 ·
-
SarifLogger: artifactLocation.uri is not properly encoded for file names containing '#', '?', or '%' Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
checkstyle/checkstyle#21721 ·
Los mantenedores suelen responder en 1 día