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

Add Reproducible Error Injection [3.1] #21721

Open
wants to merge 4 commits into
base: openssl-3.1
Choose a base branch
from

Commits on Aug 10, 2023

  1. Add Reproducible Error Injection

    This adds reproducible memory error and test-data
    error injection, to the fuzzy-test framework.
    
    This feature can be enabled with ./config -DERROR_INJECT
    and additionally to enable call stacks -DERROR_CALLSTACK
    
    If enable-asan is used, the callstack is printed by the
    sanitizer, otherwise please set a breakpoint
    at the function "break_here", which is executed each
    time a memory allocation error is injected.
    
    If called with the environment variable ERROR_INJECT
    defined to the empty string the initialization value
    is printed, and can be used to reproduce the failure
    later, by passing the value to the ERROR_INJECT variable.
    
    There is a search script that can be used to look
    for errors, and print the command to reproduce the bug:
    
    ./testrun.sh
    
    This runs in endless mode until an error is found.
    bernd-edlinger committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    ec307bf View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Configuration menu
    Copy the full SHA
    0ed01c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    83db057 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5a0940b View commit details
    Browse the repository at this point in the history