Skip to content
main
Switch branches/tags
Code

Latest commit

Summary:
This code used to look for a pattern where a single block ends in a `throw` instruction. However, via deduping, such a block can be broken up into a chain of blocks connected by simple gotos, still ultimately and unconditionally throwing.

This diff changes the pattern matching to allow for that.

Reviewed By: beicy

Differential Revision: D36418292

fbshipit-source-id: 9b20f1869dbee03ff6928b67bbed8ee520b046fd
616a339

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 21, 2022

ReDex: An Android Bytecode Optimizer

ReDex is an Android bytecode (dex) optimizer originally developed at Facebook. It provides a framework for reading, writing, and analyzing .dex files, and a set of optimization passes that use this framework to improve the bytecode. An APK optimized by ReDex should be smaller and faster than its source.

Go to https://fbredex.com for full documentation.

Contributions

See CONTRIBUTING.md to understand how to contribute to this project.

License

The ReDex repository is available under the MIT License.