/aosp_15_r20/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/runtime/ |
H A D | TraceCmpHooks.java | 39 integerCompare(MethodHandle method, Object alwaysNull, Object[] arguments, int hookId) { in integerCompare() 40 TraceDataFlowNativeCallbacks.traceCmpInt((int) arguments[0], (int) arguments[1], hookId); in integerCompare() local 50 integerCompareTo(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in integerCompareTo() 51 TraceDataFlowNativeCallbacks.traceCmpInt((int) thisObject, (int) arguments[0], hookId); in integerCompareTo() local 59 longCompare(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in longCompare() 60 TraceDataFlowNativeCallbacks.traceCmpLong((long) arguments[0], (long) arguments[1], hookId); in longCompare() local 66 longCompareTo(MethodHandle method, Long thisObject, Object[] arguments, int hookId) { in longCompareTo() 73 longCompareKt(MethodHandle method, Object alwaysNull, Object[] arguments, int hookId) { in longCompareKt() 74 TraceDataFlowNativeCallbacks.traceCmpLong((long) arguments[0], (long) arguments[1], hookId); in longCompareKt() local 81 equals(MethodHandle method, String thisObject, Object[] arguments, int hookId, Boolean areEqual) { in equals() [all …]
|
H A D | TraceDivHooks.java | 28 intUnsignedDivide(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in intUnsignedDivide() 31 TraceDataFlowNativeCallbacks.traceDivLong(Integer.toUnsignedLong((int) arguments[1]), hookId); in intUnsignedDivide() local 39 longUnsignedDivide(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in longUnsignedDivide()
|
H A D | TraceIndirHooks.java | 32 MethodHandle method, Object thisObject, Object[] arguments, int hookId, Object returnValue) { in methodInvoke() 33 TraceDataFlowNativeCallbacks.traceReflectiveCall((Executable) thisObject, hookId); in methodInvoke() local
|
H A D | NativeLibHooks.java | 32 loadLibraryHook(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in loadLibraryHook()
|
/aosp_15_r20/external/jazzer-api/src/test/java/com/code_intelligence/jazzer/instrumentor/ |
H A D | ReplaceHooks.java | 27 patchShouldReturnTrue1(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldReturnTrue1() 35 patchShouldReturnTrue2(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldReturnTrue2() 43 patchShouldReturnTrue3(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldReturnTrue3() 51 patchShouldReturnFalse1(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldReturnFalse1() 62 patchShouldReturnFalse2(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldReturnFalse2() 72 MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldReturnReversed() 80 patchShouldIncrement(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldIncrement() 88 patchShouldCallPass(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchShouldCallPass() 96 patchIdempotent(MethodHandle method, Object thisObject, Object[] arguments, int hookId) in patchIdempotent() 107 patchAbstractListGet(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchAbstractListGet() [all …]
|
H A D | InvalidHookMocks.java | 25 MethodHandle method, String thisObject, Object[] arguments, long hookId) {} in incorrectHookIdType() 29 int hookId, Boolean returnValue) {} in invalidAfterHook() 33 int hookId, boolean returnValue) {} in invalidAfterHook2() 38 incorrectReturnType(MethodHandle method, String thisObject, Object[] arguments, int hookId) { in incorrectReturnType() 45 invalidReplaceHook2(MethodHandle method, Integer thisObject, Object[] arguments, int hookId) { in invalidReplaceHook2() 52 invalidReplaceVoidMethod(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in invalidReplaceVoidMethod() 59 invalidReturnType(MethodHandle method, Object thisObject, Object[] arguments, int hookId) in invalidReturnType() 68 int hookId, boolean returnValue) {} in primitiveReturnValueMustBeWrapped() 74 MethodHandle method, Object thisObject, Object[] arguments, int hookId) throws Throwable {} in replaceOnInitWithoutReturnType() 80 MethodHandle method, Object thisObject, Object[] arguments, int hookId) throws Throwable { in replaceOnInitWithIncompatibleType() [all …]
|
H A D | AfterHooks.java | 29 MethodHandle method, Object thisObject, Object[] arguments, int hookId, Object returnValue) { in patchFunc1() 38 patchRegisterTimesCalled(MethodHandle method, Object thisObject, Object[] arguments, int hookId, in patchRegisterTimesCalled() 49 MethodHandle method, Object thisObject, Object[] arguments, int hookId, String returnValue) { in patchGetFirstSecret() 59 MethodHandle method, Object thisObject, Object[] arguments, int hookId, Object returnValue) { in patchGetSecondSecret() 70 MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchStringBuilderBeforeInit() 78 MethodHandle method, Object thisObject, Object[] arguments, int hookId, Object returnValue) { in patchStringBuilderInit()
|
H A D | ValidHookMocks.java | 24 MethodHandle method, String thisObject, Object[] arguments, int hookId) {} in validBeforeHook() 28 int hookId, Boolean returnValue) {} in validAfterHook() 33 validReplaceHook(MethodHandle method, String thisObject, Object[] arguments, int hookId) { in validReplaceHook() 42 validReplaceHook2(MethodHandle method, String thisObject, Object[] arguments, int hookId) { in validReplaceHook2()
|
H A D | BeforeHooks.java | 26 patchHasFunc1BeenCalled(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchHasFunc1BeenCalled() 34 patchHasBeenCalled(MethodHandle method, Object thisObject, Object[] arguments, int hookId) in patchHasBeenCalled() 45 MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in patchHasFuncWithArgsBeenCalled()
|
/aosp_15_r20/external/jazzer-api/sanitizers/src/main/java/com/code_intelligence/jazzer/sanitizers/ |
H A D | RegexRoadblocks.java | 117 nodeMatchHook(MethodHandle method, Object node, Object[] args, int hookId, Boolean matched) { in nodeMatchHook() 206 singleHook(MethodHandle method, Object node, Object[] args, int hookId, Object predicate) { in singleHook() 224 MethodHandle method, Object property, Object[] args, int hookId, Object alwaysNull) { in java8SingleHook() 253 rangeHook(MethodHandle method, Object node, Object[] args, int hookId, Object predicate) { in rangeHook() 275 MethodHandle method, Object thisObject, Object[] args, int hookId, Object unionPredicate) { in unionHook()
|
H A D | ScriptEngineInjection.java | 59 MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in checkScriptEngineExecuteString() 60 checkScriptContent((String) arguments[0], hookId); in checkScriptEngineExecuteString() local 77 checkScriptEngineExecute(MethodHandle method, Object thisObject, Object[] arguments, int hookId) in checkScriptEngineExecute() 87 private static void checkScriptContent(String content, int hookId) { in checkScriptContent()
|
H A D | ServerSideRequestForgery.java | 61 checkSsrfSocket(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in checkSsrfSocket() 81 checkSsrfHttpConnection(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in checkSsrfHttpConnection()
|
H A D | SqlInjection.java | 81 checkSqlExecute(MethodHandle method, Object thisObject, Object[] arguments, int hookId) in checkSqlExecute()
|
/aosp_15_r20/external/jazzer-api/src/main/java/com/code_intelligence/jazzer/instrumentor/ |
H A D | HookMethodVisitor.kt | 212 val hookId = random.nextInt() in handleMethodInsn() constant
|
/aosp_15_r20/external/jazzer-api/examples/src/main/java/com/example/ |
H A D | ExampleFuzzerHooks.java | 25 getRandomNumber(MethodHandle handle, Object thisObject, Object[] args, int hookId) { in getRandomNumber()
|
H A D | ExamplePathTraversalFuzzerHooks.java | 32 fileConstructorHook(MethodHandle handle, Object thisObject, Object[] args, int hookId) { in fileConstructorHook()
|
/aosp_15_r20/external/jazzer-api/tests/src/test/java/com/example/ |
H A D | HookDependenciesFuzzerHooks.java | 41 matcherMatchesHook(MethodHandle method, Object alwaysNull, Object[] alwaysEmpty, int hookId, in matcherMatchesHook()
|
H A D | DisabledHooksFuzzer.java | 49 triggerCustomHookHook(MethodHandle method, Object thisObject, Object[] arguments, int hookId) { in triggerCustomHookHook()
|