Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Can't Diff and Port same named executables at the same time

Abierto
#2 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
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java

Línea de trabajo

Comienza reproduciendo el fallo con dos sesiones simultáneas de BinDiff usando IDBs con el mismo nombre, siguiendo el flujo de trabajo de diff y port descrito en Windows con IDA 7.5 o 7.6. Rastrea cómo BinExport, BinDiff y la base de datos temporal compartida nombran sus archivos y aísla el punto de colisión. Se considera completado cuando dos operaciones simultáneas de diff-and-port finalizan sin errores ni corrupción.

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

Descripción

enhancement

Do to the way Binexport and/or Bindiff names it's temp files, you can not successfully do more than one diff and/or port at the same time.

The problem is because the tools use the same temp folder and the temp DBs that are created have the same names since they use the the original base name of the executable. Plus a common/global DB named "temporary.database" is already in use.

Example session for the IDB name problem:
If you made an IDB of an executable named "foobar.exe" and saved it "foobar_a.exe.i64" and another of the same named exe (from an update or something) "foobar_b.exe.i64" the tools will name them all "foobar.BinExport" since the tools name these internally based on the base name.
Normally not a problem for a single IDB operation since the DB files are separated path structure "BinDiff\primary" and "BinDiff\secondary". But if you open one more additional sessions (different "ida64.exe" processes) with "foobar_aa.exe.i64" and "foobar_bb.exe.i64" now the conflict exists because these names are taken plus "temporary.database" is already used.

Steps to reproduce the problem:

  1. The normal modus operandi, BinDiff an older executable with a new then port symbols and comments using the port feature. But attempting to do more than one at the same time.

What is the expected behavior?
Expected to be able to Diff and port two different IDA IDBs at the same time on the same machine.

What went wrong?
At least the port feature will fail when it is started, and probably results in diff corruption.

What version of the product are you using? On what operating system?
"BinDiff 7 (latest version, updated)", IDA 7.6 and IDA 7.5 on Windows 10 21h1

Any other comments?
As a solution, consider adding a top level root folder called "Session438" or something where the "438" number is the PID of the host "ida64.exe". An easy way to serialize the the folder structure with a UUID.

Ported from b/200299139

Lenguaje dominante
Java
Estrellas
3.2k
Forks
240
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

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 google/bindiff

Todos los issues de google/bindiff

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.