Patent ID: 8266596

Claim:
A source code analyzing system comprising: a first execution environment that includes at least one processor and a memory; a second execution environment that includes at least one processor a memory; a first building unit that builds a source code to generate a first object code that executes in the first execution environment according to a first endian variable memory system; a first executing unit that executes an execution-trace outputting process in which the first object code is executed to sequentially acquire values assigned to an assignment statement on an execution path of the first object code, and association between the acquired value and the assignment statement is sequentially output as an execution trace; a second building unit that uses the source code to generate a second object code that executes in the second execution environment according to a second endian variable memory system, which is different from the first endian variable memory system; and a second executing unit that executes a dependent-part specifying process in which the second object code is executed to acquire a value assigned to an assignment statement on an execution path of the second object code during execution of the second object code, determine, every time a value is assigned, whether the acquired value assigned to the assignment statement during execution of the second object code matches an expected value, wherein the expected value is a value obtained based on the execution trace and assigned to the assignment statement on the execution path of the second object code, overwrite, when both of the values are different from each other, the value assigned during execution of the second object code by the expected value, and output a report of position information of the assignment statement in the source code, indicating that the assignment statement in which the assigned value during execution of the second object is overwritten by the expected value is a part dependent on an endian variable memory system.