Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Frida features vs binary footprint

All config.mk features enabled on linux-armhf

3.8M frida-inject
2.6M frida-portal
3.2M frida-server

 15M frida-agent.so
 15M frida-gadget.so

Step 1: Disable V8

3.8M frida-inject
2.6M frida-portal
3.2M frida-server

5.2M frida-agent.so
5.3M frida-gadget.so

Agent reduced by 9.8M.

Step 2: Disable connectivity features (TLS and ICE), eliminating OpenSSL

2.6M frida-inject
1.4M frida-portal
2.0M frida-server

3.6M frida-agent.so
3.7M frida-gadget.so

Agent reduced by 1.6M.

Step 3: Disable the GumJS Database API, eliminating SQLite

2.6M frida-inject
1.4M frida-portal
2.0M frida-server

3.2M frida-agent.so
3.3M frida-gadget.so

Agent reduced by 0.4M.

Step 4: Disable the GumJS bridges: ObjC, Swift, Java

2.6M frida-inject
1.4M frida-portal
2.0M frida-server

2.8M frida-agent.so
2.9M frida-gadget.so

Agent reduced by 0.4M. (This would be larger if V8 was enabled.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment