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)
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
I just discoverd Hex Fiend – love at first sight! Open both binary files then do File > Compare x and y
or Shift+cmd+D

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
have you tried araxis merge?
http://en.wikipedia.org/wiki/Comparison_of_hex_editors
Maybe "HexEdit by Lane Roathe", wxHexEditor or UltraEdit
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