Skip to content

Commit

Permalink
Enhance :ies for Android ELF entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
enovella authored and trufae committed Dec 16, 2024
1 parent 1915dd2 commit baca179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/agent/lib/info/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ export function listEntrypointSymbols(args: string[]): string {
});
Process.enumerateModules().forEach((mod) => {
mod.enumerateExports().forEach((exp) => {
if (exp.name.startsWith("Java_")) {
if (exp.name.startsWith("Java_") || exp.name.startsWith("JNI_OnLoad")) {
symbols.push({ name: "entry.jni." + exp.name, address: exp.address.toString() });
}
});
Expand Down

0 comments on commit baca179

Please sign in to comment.