ProGuard (software)

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
ProGuard
Developer(s) Eric P.F. Lafortune[1]
Stable release 5.2 / January 2015; 9 years ago (2015-01)
Development status Stable
Written in Java
Operating system Cross-platform
License GPLv2.0[2]
Website proguard.sourceforge.net/index.html

ProGuard is an open source command-line tool that shrinks, optimizes and obfuscates Java code. It is able to optimize bytecode as well as detect and remove unused instructions.[3] ProGuard is free software and is distributed under the GNU General Public License, version 2.[2]

ProGuard is distributed as part of the Android SDK and runs when building the application in release mode.[4]

Features

Obfuscation

ProGuard obfuscate Java programs by renaming classes, fields, and methods using meaningless names, making it harder to reverse-engineer the final application.[5]

Optimization

Besides removing unused instructions from the compiled bytecode, ProGuard optimizes it using techniques such as control flow analysis, data-flow analysis, partial evaluation, static single assignment, global value numbering, and liveness analysis.[5]

ProGuard can remove many types of unused and duplicated code, perform over 200 peephole optimizations, reduce variable allocation, inline constant and short methods, simplify tail recursion calls, remove logging code, among others.[5]

See also

References

  1. Lua error in package.lua at line 80: module 'strict' not found.
  2. 2.0 2.1 Lua error in package.lua at line 80: module 'strict' not found.
  3. Lua error in package.lua at line 80: module 'strict' not found.
  4. Lua error in package.lua at line 80: module 'strict' not found.
  5. 5.0 5.1 5.2 Lua error in package.lua at line 80: module 'strict' not found.