Make parseMethod fastnative

This commit is contained in:
LoveSy 2023-01-07 02:25:04 +08:00 committed by LoveSy
parent 7afdf55eec
commit 39bd97adab
1 changed files with 3 additions and 0 deletions

View File

@ -3,8 +3,11 @@ package org.lsposed.lspd.nativebridge;
import java.io.IOException;
import java.nio.ByteBuffer;
import dalvik.annotation.optimization.FastNative;
public class DexParserBridge {
public static native Object parseDex(ByteBuffer dex) throws IOException;
@FastNative
public static native Object parseMethod(ByteBuffer dex, int codeOffset);
}