libwebsockets/lib/system/fault-injection
Andy Green 36e7e8af78 fault injection: pseudorandom 64-bit range support
This adds an api allowing fault injection path implementations to get hold
of pseudo-random numbers between an externally-provided range.

You can set it using, eg, --fault-injection "f1(10%),f1_delay(123..456)"
while f1 shows how to decide whether to inject the fault and f1_delay
provides a pseudo-random number between the two values for the fault
implementation code to use.
2021-07-04 10:29:54 +01:00
..
fault-injection.c fault injection: pseudorandom 64-bit range support 2021-07-04 10:29:54 +01:00
private-lib-system-fault-injection.h fault injection 2021-02-20 13:54:35 +00:00