Returns True whether techniques using inference technique are available >>> pushValue(kb.injection.data) >>> kb.injection.data[PAYLOAD.TECHNIQUE.BOOLEAN] = getSortedInjectionTests()[0] >>> isInferenceAvailable() True >>> kb.injection.data = popValue()
()
| 3536 | return retVal |
| 3537 | |
| 3538 | def isInferenceAvailable(): |
| 3539 | """ |
| 3540 | Returns True whether techniques using inference technique are available |
| 3541 | |
| 3542 | >>> pushValue(kb.injection.data) |
| 3543 | >>> kb.injection.data[PAYLOAD.TECHNIQUE.BOOLEAN] = getSortedInjectionTests()[0] |
| 3544 | >>> isInferenceAvailable() |
| 3545 | True |
| 3546 | >>> kb.injection.data = popValue() |
| 3547 | """ |
| 3548 | |
| 3549 | return any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.BOOLEAN, PAYLOAD.TECHNIQUE.STACKED, PAYLOAD.TECHNIQUE.TIME)) |
| 3550 | |
| 3551 | def setOptimize(): |
| 3552 | """ |
no test coverage detected
searching dependent graphs…