US2016077950A1PendingUtilityA1

Methods, circuits, apparatus, systems and associated software modules for evaluating code behavior

47
Assignee: TYPEMOCK LTDPriority: Feb 28, 2011Filed: Nov 18, 2015Published: Mar 17, 2016
Est. expiryFeb 28, 2031(~4.6 yrs left)· nominal 20-yr term from priority
G06F 11/3636G06F 11/3698G06F 11/3612G06F 9/455G06F 11/3684G06F 11/3624G06F 11/3688
47
PatentIndex Score
0
Cited by
0
References
0
Claims

Abstract

Disclosed are methods, circuits, apparatus, systems and associated software modules for dynamically evaluating code behavior in runtime. There is provided a code testing platform and/or framework which may include: (1) a code execution environment instancing module (CEEIM), (2) code execution resources, (3) executed code isolation logic, and (4) code call response logic. The CEEIM may instance, on a computing platform, a code execution environment (CEE) which is at least partially isolated from external resources functionally associated with the computing platform. The CEE may include code execution resources adapted to execute code whose behavior is to be evaluated, wherein a resource call generated from code execution may be analyzed by the code isolation logic and may under certain conditions be routed to the code call response logic.

Claims

exact text as granted — not AI-modified
1 . A system for evaluating code behavior comprising:
 a code execution environment instancing module (CEEIM) configured to instance a code execution environment (CEE);   one or more code execution resources configured to execute one or more code segments within said code execution environment; and   executed code isolation logic configured to selectively analyze resource calls generated from code execution and to forward selected calls to a code call response logic, wherein said code call response logic is further configured to generate a response to the selected call based on one or more testing parameters.   
     
     
         2 . The system according to  claim 1 , wherein said response logic is further configured to forward the generated response to said isolation logic. 
     
     
         3 . The system according to  claim 2 , wherein said isolation logic is further configured to forward the generated response to an originating code. 
     
     
         4 . The system according to  claim 1 , wherein the testing parameters are preprogrammed based on expected runtime behavior. 
     
     
         5 . The system according to  claim 4 , wherein the testing parameters are preprogrammed using substantially the same programming syntax as the tested code. 
     
     
         6 . The system according to  claim 1 , wherein the testing parameters are extracted from a default list of runtime behaviors. 
     
     
         7 . The system according to  claim 1 , wherein selected resource calls are substantially isolated from external resources. 
     
     
         8 . The system according to  claim 6 , wherein external resources are from the group consisting of services, functions, methods and data, in addition to hardware access associated with the services, functions methods and data. 
     
     
         9 . The system according to  claim 1 , wherein said executed code isolation logic further comprises a code interceptor configured to detour a selected call to an injected code. 
     
     
         10 . The system according to  claim 9 , wherein the injected code is a testing code associated with said code call response logic. 
     
     
         11 . The system according to  claim 9 , wherein said code call response logic is further configured to return a detoured selected call to a location substantially associated with the code execution. 
     
     
         12 . The system according to  claim 11 , wherein the location substantially associated with the code execution is a memory address. 
     
     
         13 . The system according to  claim 9 , wherein said code interceptor is configured to detour a selected call at a substantially low level system layer. 
     
     
         14 . A method of code testing comprising:
 intercepting resource calls from a testing system, selectively analyzing and routing intercepted resource calls, and generating a response to the selected call based on one or more testing parameters.   
     
     
         15 . The method according to  claim 14 , wherein the generated response is forwarded to an originating code. 
     
     
         16 . The method according to  claim 14 , wherein the testing parameters are preprogrammed based on expected runtime behavior. 
     
     
         17 . The method according to  claim 16 , wherein the testing parameters are preprogrammed using substantially the same programming syntax as the tested code. 
     
     
         18 . The method according to  claim 14 , wherein the testing parameters are extracted from a default list of runtime behaviors. 
     
     
         19 . The method according to  claim 14 , wherein selected resource calls are substantially isolated from external resources. 
     
     
         20 . The method according to  claim 19 , wherein external resources are from the group consisting of services, functions, methods and data, in addition to hardware access associated with the services, functions methods and data.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.