Can't Diff and Port same named executables at the same time
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- java
调研方向
首先,在 Windows 上使用 IDA 7.5 或 7.6,按照所述的 diff 和 port 工作流程,通过使用同名 IDB 的两个并发 BinDiff 会话重现该故障。跟踪 BinExport、BinDiff 和共享临时数据库如何为其文件命名,并定位冲突点。当两个并发的 diff-and-port 操作都能无故障且无数据损坏地完成时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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:
- 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
- 主要语言
- Java
- 星标
- 3.2k
- 派生
- 244
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/bindiff 的其他 Issue
-
Similarity score is capped at 0.65 for binaries with no flow graph edges可能已有人在做 @zunnurawan 于 26 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
-
question
难度 3/5 1-2 天 新手友好度 42/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 1/5 1 小时以内 新手友好度 55/100
-
难度 5/5 一周以上 新手友好度 15/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
objectionary/eo-graphs#80 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
-
enhancement good first issue
难度 2/5 半天 新手友好度 66/100
apache/fineract-consumer-facing#175 ·
维护者通常 1 天内回复
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)可能已有人在做 @dadiyang 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
macrozheng/mall#1016 ·
-
难度 2/5 1-3 小时 新手友好度 78/100