feat(android): trace callers of external DEX methods (#8154)
Resolve exact external method targets from directly encoded DEX invokes. Preserve complete caller identity, bounded position evidence and follow-up selectors. Report aggregate position coverage independently of the caller inventory, and reuse bounded prototype facts within the exact session. Absorbs #8096. Fixes #7811. Co-authored-by: hhang <[email protected]>
This commit is contained in:
1 parent
675d4076de
commit
0ffed7a48c
20 files changed
+1472
-76
No files matched your search
@@ -261,16 +261,20 @@ export const registerAndroidCommands = (
|
||||
});
|
||||
cli.command(CLI_COMMANDS.traceAndroidReferences, {
|
||||
description:
|
||||
"Trace incoming APK using nodes for a class or selected method",
|
||||
"Trace APK using nodes for a defined class/method or an externally invoked DEX method",
|
||||
args: z.object({ path, className }),
|
||||
options: z.object({
|
||||
methodName: z
|
||||
.string()
|
||||
.optional()
|
||||
.describe("Declared method name; omit for class references"),
|
||||
.describe(
|
||||
"Defined or directly referenced external method; omit for APK class references",
|
||||
),
|
||||
overloadIndex: cliIntegerArgument(0)
|
||||
.optional()
|
||||
.describe("Index among same-name methods from inspect-android-class"),
|
||||
.describe(
|
||||
"Index among defined methods or observed external prototypes listed by an ambiguous query",
|
||||
),
|
||||
}),
|
||||
run: ({ args, options }) =>
|
||||
execute(
|
||||
|
||||
Reference in new issue
Block a user