Perhaps add an option to cmp to compare starting from the ends of the two files instead of the beginning.