Usage: rz-diff [options] -a arch Specify architecture plugin to use (x86, arm, ..) -b bits Specify register size for arch (16 (thumb), 32, 64, ..) -d myers Compute edit distance using Eugene W. Myers' O(ND) algorithm (no substitution) -d leven Compute edit distance using Levenshtein O(N^2) algorithm (with substitution) -d lcs-roll Compute edit distance using Myers+FastCDC with chunk size 128 (-0 to change chunk size) -d ssdeep Compute edit distance using Context triggered piecewise hashing comparison -i Use command line arguments instead of files (only for -d) -H Hexadecimal visual mode -h Show this help -j JSON output -q Quiet output -v Show version information -V Be more verbose (stderr output) -K theme Set a give color theme (see rizin 'eco' command) -e k=v Set an evaluable config variable -A Compare virtual and physical addresses -B Run 'aaa' when loading the bin -C Disable colors -T Show timestamp information -S WxH Set the width and height of the terminal for visual mode -0 cmd Input for file0 when option -t 'commands' is given. The same value will be set for file1, if -1 is not set. -1 cmd Input for file1 when option -t 'commands' is given. -t bytes Compare raw bytes in the files (only for small files) -t lines Compare text files -t functions Compare functions found in the files optional -0 to compare only one function -t classes Compare classes found in the files -t command Compare command output returned when executed in both files requires -0 and -1 is optional -t entries Compare entries found in the files -t fields Compare fields found in the files -t graphs Compare 2 functions and outputs in graphviz/dot format requires -0 and -1 is optional -t imports Compare imports found in the files -t libraries Compare libraries found in the files -t sections Compare sections found in the files -t strings Compare strings found in the files -t symbols Compare symbols found in the files Palette colors can be changed by adding the following lines inside the $HOME/.rizinrc file ec diff.unknown blue | offset color ec diff.match green | match color ec diff.unmatch red | mismatch color Environment variables RZ_COLOR | enables/disables colors support