Patent ID: 7716642
Filing Date: 2010-05-11
Classification: G06F

Abstract:
1. A computer-implemented method for detecting incompatibilities comprising: determining a first contents of a data item, wherein said first contents is a first formatted data value of the data item assigned to the data item by a statement of a program during execution of the program by a first processor having a first processor architecture, said first formatted data value having a representation in accordance with a first set of conventions associated with the first processor architecture; determining a second contents of said data item, wherein said second contents is a second formatted data value of the data item assigned to the data item by a statement of the program during execution of the program by a second processor having a second processor architecture, said second formatted data value having a representation in accordance with a second set of conventions associated with the second processor architecture and including at least one convention that is not included in said first set; determining an expected data value using one of said first contents and said second contents; determining whether said expected data value and another of said first contents and said second contents are different; and if said expected data value and said another are different, determining said data item as an incompatibility candidate, wherein said determining an expected data value includes swapping an ordering of bytes of said one of said first contents and said second contents, and said determining whether said expected data value and another of said first contents and said second contents are different includes comparing said expected data value and said another of said first contents and said second contents.