×

System and method for obfuscating constants in a computer program

  • US 8,874,928 B2
  • Filed: 10/31/2008
  • Issued: 10/28/2014
  • Est. Priority Date: 10/31/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • generating, via a processor, a table of constants;

    compiling source code to produce a compiled binary having an array and compiled constants, each constant in the table of constants corresponding to a compiled constant;

    constructing an indirection table, wherein each entry contains a first reference to a data representation of a set of instructions in the compiled binary that is equivalent to a compiled constant corresponding to a constant in the table of constants;

    removing from the compiled binary each compiled constant corresponding to a constant in the table of constants by replacing, in the compiled binary, each compiled constant corresponding to a constant in the table of constants with a respective second reference to an entry in the indirection table that is equivalent to the compiled constant; and

    storing the indirection table in the array in the compiled binary.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×