How do I compare binary files in Linux?
xxd
使用 xxd 将二进制文件变为 十六进制文本
xxd t1.bin > t1.hex xxd t2.bin > t2.hex
colordiff (vimdiff)
brew install colordiff
colordiff t1.hex t2.hex vimdiff t1.hex t2.hex