Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Templates for Fault Simulation payloads should support conditional simulation points #22

Open
GoogleCodeExporter opened this issue Mar 26, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

There are functions in the kernel, which may not fail in some conditions.
Examples:
- mempool_alloc never fails if called in process context,
- bio_add_page always succeed, if single page is added to the empty bio.

Some drivers use such functions in fail-never scenarios, and intentionally do 
not check errors. Fault simulation should not break such modules.

It seems, that allowing to specify raw code for replacement function would be 
good way for support fault simulation payloads with conditional points.
This also helps in case when 'normal' function flaw may not be expressed in 
original function call(e.g., when reading function's arguments modify them).

Original issue reported on code.google.com by [email protected] on 22 Jan 2015 at 2:00

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 22 Jan 2015 at 2:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant