Skip to content

Commit

Permalink
server: Support loading as a shared library (#459)
Browse files Browse the repository at this point in the history
On non-rooted Android in some contexts one can't execute binaries from
various locations but can load them using dlopen() and other tricks.

If a user manages to trigger dlopen() + dlsym() they can invoke main()
directly without further hacks.
  • Loading branch information
yannayl committed Apr 14, 2023
1 parent 96041c9 commit 452c1fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/frida-server.version
Expand Up @@ -3,6 +3,8 @@
# FreeBSD needs these two:
__progname;
environ;
# Allow users to load the server as a shared library with dlopen() and call main() directly
main;

local:
*;
Expand Down

0 comments on commit 452c1fc

Please sign in to comment.