×

System and method for detecting in-line synchronization primitives in binary applications

  • US 8,117,600 B1
  • Filed: 12/29/2005
  • Issued: 02/14/2012
  • Est. Priority Date: 12/29/2005
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for identifying in-line synchronization instructions in binary program code, the method comprising:

  • performing by a computer;

    scanning one or more executable segments of the binary program code to identify one or more potential in-line synchronization instructions; and

    determining whether each of the one or more potential in-line synchronization instructions is non-executable data or a valid in-line synchronization instruction, comprising, for each potential in-line synchronization instruction;

    determining whether each respective one of a plurality of neighboring potential instructions is a valid instruction or non-executable data, wherein the plurality of neighboring potential instructions are located in a segment of the binary program code including the respective potential in-line synchronization instruction;

    determining that the respective potential in-line synchronization instruction is a valid in-line synchronization instruction in response to determining that all of the plurality of neighboring potential instructions in the segment are valid instructions; and

    determining that the respective potential in-line synchronization instruction is non-executable data in response to determining that one or more of the neighboring potential instructions in the segment are valid instructions and one or more of the neighboring potential instructions occurring prior to the one or more valid instructions in the segment are non-executable data.

View all claims
  • 9 Assignments
Timeline View
Assignment View
    ×
    ×