• Howard McLauchlan's avatar
    Add new targeted error injection tool · ef4154b1
    Howard McLauchlan authored
    bpf_override_return is a very powerful mechanism for error injection,
    with the caveat that it requires whitelisting of the functions to be
    overriden.
    
    inject.py will take a call chain and optional set of predicates as
    input, and inject the appropriate error when both the call chain and all
    predicates are satisfied.
    Signed-off-by: default avatarHoward McLauchlan <hmclauchlan@fb.com>
    ef4154b1
inject.py 13.1 KB