摘要 |
A smart card includes a non-volatile read/write memory (230), a processor (205) connected to the memory, and an installer module (210) configured to cause the processor to receive computer code having method bodies into the memory, and to cause the processor to perform a method for determining the instruction boundaries of the method bodies and resolving unresolved references within the method bodies. The method includes steps for examining each instruction for a forward jump instruction and a valid ending instruction (410, 415, 520, 525, 560), maintaining a farthest logical return pointer corresponding to the instruction for which the farthest forward jump instruction or the farthest valid ending instruction is detected (530, 535, 540, 560, 570), resolving unresolved references within a method body starting with the first instruction and ending with the instruction corresponding to the farthest logical return pointer (430), and terminating the examination when the instruction under examination is beyond the instruction corresponding to the farthest logical return pointer (510). |
申请人 |
SCHLUMBERGER SYSTEMES S.A.;SCHLUMBERGER TECHNOLOGIES OPERATING LIMITED;KRISHNA, KSHEERABDHI;WILKINSON, TIM;PREVOST, SYLVAIN;BURIANNE, YANNICK |
发明人 |
KRISHNA, KSHEERABDHI;WILKINSON, TIM;PREVOST, SYLVAIN;BURIANNE, YANNICK |