ROBUST SOFTWARE LIBRARY WRAPPER METHOD AND APPARATUS
First Claim
Patent Images
1. A method, comprising:
- a) executing a software function using a set of test arguments and obtaining a result corresponding to each of the set of test arguments, each result indicating one of a set of non-robust and robust results, a subset of test arguments corresponding to robust results; and
b) defining a set of arguments based on the results and the set of test arguments, the set of arguments including the subset of test arguments.
0 Assignments
0 Petitions
Accused Products
Abstract
A method includes a step of executing a software function using a set of test arguments and obtaining a result corresponding to each of the set of test arguments, each result indicating one of a set of robust and non-robust results, a subset of test arguments corresponding to robust results. The method further includes defining a set of arguments based on the results and the set of test arguments, the set of arguments including the subset of test arguments. Thereafter, arguments of subsequent calls to the software function may thereafter be examined to determine whether they fall within the set of arguments.
27 Citations
26 Claims
-
1. A method, comprising:
-
a) executing a software function using a set of test arguments and obtaining a result corresponding to each of the set of test arguments, each result indicating one of a set of non-robust and robust results, a subset of test arguments corresponding to robust results; and
b) defining a set of arguments based on the results and the set of test arguments, the set of arguments including the subset of test arguments. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A method of performing a library function call in an execution of a software program, the method comprising:
-
receiving a function call to a library function using at least one argument; and
determining if the at least one argument is a robust argument type, a set of robust argument types previously determined by automatically injecting test arguments into the library function to determine a set of argument types that do not cause robustness errors when used as an argument passed to the library function. - View Dependent Claims (13, 14)
-
-
15. A computer program product that controls a processor to perform a method, the computer program product comprising:
-
code for executing a software function using a set of test arguments and obtaining a result corresponding to each of the set of test arguments, each result indicating one of a set of robust and non-robust results, a subset of test arguments corresponding to robust results; and
code for defining a set of arguments based on the results and the set of test arguments, the set of arguments including the subset of test arguments. - View Dependent Claims (16, 17, 18, 19, 20, 21, 22, 23)
-
-
24. A method for increasing the robustness of software libraries, comprising:
-
a) automatically extracting the prototype of at least one library function;
b) constructing a fault-injection operation for the at least one library function based on the extracted prototype;
c) conducting the fault-injection operation to determine robustness errors for the at least one library function; and
d) computing the robust argument types for the at least one library function, wherein execution of the at least one library function with an argument that is one of said robust argument types reduces the likelihood of robustness errors. - View Dependent Claims (25, 26)
-
Specification