Skip to content

Commit f7a1192

Browse files
authored
🤖 Merge PR DefinitelyTyped#73323 Sync frida-gum typings with Frida 17.2.14 by @oleavr
1 parent 44ae045 commit f7a1192

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

types/frida-gum/frida-gum-tests.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ Memory.scan(ptr("0x1234"), Process.pageSize, new MatchPattern("13 37"), {
172172
// $ExpectType Module
173173
Process.mainModule;
174174

175+
// $ExpectType string | null
176+
Process.mainModule.version;
177+
175178
const art = Process.getModuleByName("libart.so");
176179
// $ExpectType NativePointer
177180
art.getSymbolByName("ExecuteNterpImpl");

types/frida-gum/index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,11 @@ declare class Module {
475475
*/
476476
name: string;
477477

478+
/**
479+
* Module version, if available.
480+
*/
481+
version: string | null;
482+
478483
/**
479484
* Base address.
480485
*/

0 commit comments

Comments
 (0)