NativePocStatusAsserter
public class NativePocStatusAsserter
extends Object
java.lang.Obiekt | |
↳ | com.android.sts.common.NativePocStatusAsserter |
Streszczenie
Konstruktory publiczne | |
---|---|
NativePocStatusAsserter () |
Metody publiczne | |
---|---|
static NativePocAsserter | assertExitCode (int exitCode) Zwróć |
static NativePocAsserter | assertNotExitCode (int badExitCode) Zwróć |
static NativePocAsserter | assertNotVulnerableExitCode () Zwróć |
Konstruktory publiczne
NativePocStatusAsserter
public NativePocStatusAsserter ()
Metody publiczne
potwierdz kod wyjścia
public static NativePocAsserter assertExitCode (int exitCode)
Zwróć NativePocAsserter
, który upewnia się, że PoC zakończył działanie z podanym kodem.
Parametry | |
---|---|
exitCode | int |
Zwroty | |
---|---|
NativePocAsserter |
asertNotExitCode
public static NativePocAsserter assertNotExitCode (int badExitCode)
Zwróć NativePocAsserter
, który upewnia się, że PoC nie zakończył działania z podanym kodem.
Parametry | |
---|---|
badExitCode | int |
Zwroty | |
---|---|
NativePocAsserter |
assertNotVulnerableExitCode
public static NativePocAsserter assertNotVulnerableExitCode ()
Zwróć NativePocAsserter
, który upewnia się, że PoC nie zakończył działania z kodem 113.
Zwroty | |
---|---|
NativePocAsserter |