9678816

System and Method for Injecting Faults into Code for Testing Thereof

PublishedJune 13, 2017
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer-implemented method for injecting errors into code, comprising: loading, via one or more processors, a probe in a selected domain; and in response to a function-entry trigger event, executing the probe, wherein the executed probe writes a predefined test value to a return value register of the function and causes execution of the function to be skipped and the predefined test value written to the return value register to be returned.

2

2. The method of claim 1 , wherein the probe is a dynamic probe.

3

3. The method of claim 1 , wherein the probe is a dynamic probe, and the function-entry is patched to trap to an exception handler which fires the probe.

4

4. The method of claim 1 , wherein the selected domain is one of a guest operating system domain, a virtual machine (VM) domain, a VM monitor domain, and a VM kernel domain.

5

5. The method of claim 1 , wherein the predefined test value is a value for testing a response of a system.

6

6. The method of claim 1 , wherein the probe is further configured to write to the return value register periodically.

7

7. The method of claim 1 , wherein the function is one of a memory allocation function and a disk read function.

8

8. The method of claim 1 , wherein the probe is further configured to modify a value at a memory address.

9

9. A non-transitory computer readable storage medium comprising instructions, wherein the instructions, when executed in a computer system, cause the computer system to perform steps for injecting errors into code that include the steps of: loading a probe in a selected domain; and in response to a function-entry trigger event, executing the probe, wherein the executed probe writes a predefined test value to a return value register of the function and causes execution of the function to be skipped and the predefined test value written to the return value register to be returned.

10

10. The non-transitory computer readable storage medium of claim 9 , wherein the probe is a dynamic probe.

11

11. The non-transitory computer readable storage medium of claim 9 , wherein the probe is a dynamic probe, and the function-entry is patched to trap to an exception handler which fires the probe.

12

12. The non-transitory computer readable storage medium of claim 9 , wherein the selected domain is one of a guest operating system domain, a virtual machine (VM) domain, a VM monitor domain, and a VM kernel domain.

13

13. The non-transitory computer readable storage medium of claim 9 , wherein the predefined test value is a value for testing a response to the predefined test value.

14

14. The non-transitory computer readable storage medium of claim 9 , wherein the probe is further configured to write to the return value register periodically.

15

15. The non-transitory computer readable storage medium of claim 9 , wherein the function is one of a memory allocation function and a disk read function.

16

16. The non-transitory computer readable storage medium of claim 9 , wherein the probe is further configured to modify a value at a memory address.

17

17. A system, comprising: a processor; and a memory, wherein the memory includes a program for injecting errors into code, the program being configured to perform operations comprising: loading a probe in a selected domain, and in response to a function-entry trigger event, executing the probe, wherein the executed probe writes a predefined test value to a return value register of the function and causes execution of the function to be skipped and the predefined test value written to the return value register to be returned.

18

18. The system of claim 17 , wherein the probe is a dynamic probe.

19

19. The system of claim 17 , wherein the selected domain is one of a guest operating system domain, a virtual machine (VM) domain, a VM monitor domain, and a VM kernel domain.

20

20. The system of claim 17 , wherein the predefined test value is a value for testing a response to the predefined test value.

Patent Metadata

Filing Date

Unknown

Publication Date

June 13, 2017

Inventors

Radu RUGINA
Vivek Mohan THAMPI
Ricardo E. GONZALEZ
Alok KATARIA

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “SYSTEM AND METHOD FOR INJECTING FAULTS INTO CODE FOR TESTING THEREOF” (9678816). https://patentable.app/patents/9678816

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.

SYSTEM AND METHOD FOR INJECTING FAULTS INTO CODE FOR TESTING THEREOF — Radu RUGINA | Patentable