Stay organized with collections
Save and categorize content based on your preferences.
NativePocMallocDebugAsserter
public
class
NativePocMallocDebugAsserter
extends Object
implements
NativePocAsserter
java.lang.Object
|
↳ |
com.android.sts.common.NativePocMallocDebugAsserter
|
Summary
Public methods |
static
NativePocAsserter
|
assertNoMallocDebugErrorOnPoc(String options)
Returns a NativePocAsserter that attaches libc malloc debug to the PoC and checks for any
malloc debug error while the poc runs.
|
static
NativePocAsserter
|
assertNoMallocDebugErrorOnService(String options, String service)
Returns a NativePocAsserter that attaches libc malloc debug to a service before running the
PoC and checks for any malloc debug error on that service while the poc runs.
|
AutoCloseable
|
withAutoCloseable(NativePoc nativePoc, ITestDevice device)
Called before a PoC runs, returns an AutoCloseable that closes after the PoC finishes
|
Public methods
assertNoMallocDebugErrorOnPoc
public static NativePocAsserter assertNoMallocDebugErrorOnPoc (String options)
Returns a NativePocAsserter that attaches libc malloc debug to the PoC and checks for any
malloc debug error while the poc runs.
Parameters |
options |
String |
assertNoMallocDebugErrorOnService
public static NativePocAsserter assertNoMallocDebugErrorOnService (String options,
String service)
Returns a NativePocAsserter that attaches libc malloc debug to a service before running the
PoC and checks for any malloc debug error on that service while the poc runs.
Parameters |
options |
String |
service |
String |
withAutoCloseable
public AutoCloseable withAutoCloseable (NativePoc nativePoc,
ITestDevice device)
Called before a PoC runs, returns an AutoCloseable that closes after the PoC finishes
Parameters |
nativePoc |
NativePoc |
device |
ITestDevice |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-11-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-11-18 UTC."],[],[]]