Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
ProGuard
Open source command-line tool

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

ProGuard was distributed as part of the Android SDK and ran when building the application in release mode.

Related Image Collections Add Image
We don't have any YouTube videos related to ProGuard yet.
We don't have any PDF documents related to ProGuard yet.
We don't have any Books related to ProGuard yet.
We don't have any archived web articles related to ProGuard yet.

Features

Obfuscation Method

ProGuard obfuscates Java and Android programs by renaming classes, fields, and methods using meaningless names (an implementation of security through obscurity), making it more difficult to reverse-engineer the final application.4

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, amongst others.6

See also

  • Free and open-source software portal
  • Computer programming portal

References

  1. "ProGuard overview (official page)". February 2, 2015. Retrieved November 24, 2015. http://proguard.sourceforge.net/index.html

  2. "ProGuard license page". February 2, 2015. Retrieved November 24, 2015. http://proguard.sourceforge.net/license.html

  3. "Shrink your code and resources". Retrieved June 10, 2018. https://developer.android.com/studio/build/shrink-code

  4. "ProGuard FAQ". February 2, 2015. Archived from the original on October 28, 2016. Retrieved November 24, 2015. https://web.archive.org/web/20161028095555/http://proguard.sourceforge.net/FAQ.html

  5. "ProGuard FAQ". February 2, 2015. Archived from the original on October 28, 2016. Retrieved November 24, 2015. https://web.archive.org/web/20161028095555/http://proguard.sourceforge.net/FAQ.html

  6. "ProGuard FAQ". February 2, 2015. Archived from the original on October 28, 2016. Retrieved November 24, 2015. https://web.archive.org/web/20161028095555/http://proguard.sourceforge.net/FAQ.html