frida-java-bridge 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/android.d.ts +33 -0
- package/package.json +3 -2
package/lib/android.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function getApi(): Api;
|
|
2
|
+
export function withRunnableArtThread(vm: VM, env: Env, callback: (thread: Thread) => void): void;
|
|
3
|
+
export function translateMethod(methodId: NativePointerValue): NativePointer;
|
|
4
|
+
|
|
5
|
+
export class ArtStackVisitor {
|
|
6
|
+
constructor(thread: Thread, context: Context, walkKind: WalkKind, numFrames?: number, checkSuspended?: boolean);
|
|
7
|
+
walkStack(includeTransitions?: boolean): void;
|
|
8
|
+
getMethod(): ArtMethod | null;
|
|
9
|
+
getCurrentQuickFramePc(): NativePointer;
|
|
10
|
+
getCurrentQuickFrame(): NativePointer;
|
|
11
|
+
getCurrentShadowFrame(): NativePointer;
|
|
12
|
+
describeLocation(): string;
|
|
13
|
+
getCurrentOatQuickMethodHeader(): NativePointer;
|
|
14
|
+
getCurrentQuickFrameInfo(): QuickFrameInfo;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export type WalkKind = "include-inlined-frames" | "skip-inlined-frames";
|
|
18
|
+
|
|
19
|
+
export interface ArtMethod extends ObjectWrapper {
|
|
20
|
+
prettyMethod(withSignature?: boolean): string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface QuickFrameInfo {
|
|
24
|
+
frameSizeInBytes: number;
|
|
25
|
+
coreSpillMask: number;
|
|
26
|
+
fpSpillMask: number;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type Api = any;
|
|
30
|
+
export type VM = any;
|
|
31
|
+
export type Env = any;
|
|
32
|
+
export type Thread = any;
|
|
33
|
+
export type Context = any;
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "frida-java-bridge",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
4
4
|
"description": "Java runtime interop from Frida",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"/index.js",
|
|
8
|
-
"/lib/**/*.js"
|
|
8
|
+
"/lib/**/*.js",
|
|
9
|
+
"/lib/**/*.d.ts"
|
|
9
10
|
],
|
|
10
11
|
"repository": {
|
|
11
12
|
"type": "git",
|