Is there any graphical Binary Diff tool for Mac OS X?

左心房为你撑大大i 提交于 2019-11-28 17:21:06

问题


Are there any Binary Diff tools for Mac OS X with a GUI? There are a gazillion text-based diff tools, but I need to compare two binary files. Essentially two Hex Editors with Dec/Hex View next to each other (the binary files are a custom file format, so not images or anything that has a more specialized diff tool)


回答1:


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




回答2:


I just discoverd Hex Fiend – love at first sight! Open both binary files then do File > Compare x and y or Shift+cmd+D




回答3:


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 -c 1 file1 | cut -d ' ' -f 2 > file1.hex
xxd -c 1 file2 | cut -d ' ' -f 2 > file2.hex

diff file1.hex file2.hex

xxd creates a hex dump, and we're telling it to print one byte per line, then cut splits on space and compares the correct column

you could also use od instead of xxd




回答4:


have you tried araxis merge?




回答5:


http://en.wikipedia.org/wiki/Comparison_of_hex_editors

Maybe "HexEdit by Lane Roathe", wxHexEditor or UltraEdit




回答6:


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.



来源:https://stackoverflow.com/questions/7871702/is-there-any-graphical-binary-diff-tool-for-mac-os-x

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!