We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(6)
我刚刚发现Hex Fiend – 一见钟情!打开两个二进制文件,然后执行
File >比较 x 和 y
或 Shift+cmd+DI just discoverd Hex Fiend – love at first sight! Open both binary files then do
File > Compare x and y
or Shift+cmd+D您可以将每个二进制文件的十六进制存储在临时文件中,然后将它们与
diff
进行比较。这会给你视觉上的十六进制差异。xxd
创建一个十六进制转储,我们告诉它每行打印一个字节,然后cut
在空间上分割并比较正确的列,您也可以使用
od
而不是xxd
You could store the hex of each binary in temp files, then compare them with
diff
. This would give you the visual hex difference.xxd
creates a hex dump, and we're telling it to print one byte per line, thencut
splits on space and compares the correct columnyou could also use
od
instead ofxxd
有 ElliéComputingMerge (http://www.elliecomputing.com)(注意:我在 ECMerge 工作)。
它可以将任意大的文件与通常的 Hex+ASCII 视图和并排视觉差异进行比较。
它也适用于 mac 和 linux/windows
there is Ellié Computing Merge (http://www.elliecomputing.com) (NB: I work for ECMerge).
it can compare arbitrarily large files with usual Hex+ASCII views and side by side visual diff.
it works on mac and linux/windows as well
您可以使用 colorbindiff.pl,它是一个简单的 Perl 脚本,可以完全满足您的需求,即并排(和彩色)二进制差异。它显示字节更改和字节添加/删除。
您可以在 GitHub 上找到它。
You can use
colorbindiff.pl
it's a simple perl script that does exactly what you want, a side-by-side (and colored) binary diff. It shows byte changes and byte additions/deletions.You can find it on GitHub.
http://en.wikipedia.org/wiki/Comparison_of_hex_editors
也许"Lane Roathe 的 HexEdit"、wxHexEditor 或 UltraEdit
http://en.wikipedia.org/wiki/Comparison_of_hex_editors
Maybe "HexEdit by Lane Roathe", wxHexEditor or UltraEdit
对于此类内容,我的首选是 010 Editor。它具有非常可定制的十六进制 bin-diff、可配置的最小匹配长度、同步滚动等等。
Beyond Compare 4 做得非常好,特别是当您有多个二进制文件需要比较时。然而,它的匹配显然不是可配置的,并且可能不稳定,具体取决于用例。
My go-to is for stuff like this is 010 Editor. It has a very customizable hex bin-diff, configurable min match length, synchronized scrolling, and much more.
Beyond Compare 4 does a pretty good job, especially if you have multiple binary files to compare. However, it's matching isn't obviously configurable and can be wonky, depending on the use-case.