Implementation of binary compatibility test.