proguard-core | Library to read , write , analyze , and process java bytecode | Bytecode library
kandi X-RAY | proguard-core Summary
kandi X-RAY | proguard-core Summary
Quick Start • Features • Projects • Contributing • License. ProGuardCORE is a free library to read, analyze, modify, and write Java class files. It is the core of the well-known shrinker, optimizer, and obfuscator ProGuard, the ProGuard Assembler and Disassembler, and the Kotlin Metadata Printer. ProGuard core comes with a short manual and pretty nice API documentation.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Appends a SimpleInstruction to the stack
- Duplicate a value
- Duplicate a category value
- Returns the internal type of the given array type
- Transform a method change to a local variable
- Fixes the local copy
- Get a set of local variables used by a lock
- Visit a library class
- Skips the annotation
- Visits a branch instruction
- Start the application
- Output program class information
- Overrides the visitor to check for null values
- Transforms the given IRMethod recursively
- Visit a module attribute
- Finish the entire manifest
- Visits an instruction at the given offset
- Creates a DataEntryReader for the given class path entry
- Visit a ProgramClass
- Visit a signature attribute
- Generate code for a provide type
- Entry point for testing
- Retrieve the successors of an abstract state
- Visit a primitive array constant
- Transforms a call to a method call
- Debug program
proguard-core Key Features
proguard-core Examples and Code Snippets
Community Discussions
Trending Discussions on proguard-core
QUESTION
I am trying to obfuscate a jar-with-dependencies (although the same problem affects if I set as inFile the regular single jar).
I am using Java 8, but I have to use newer versions of Proguard and Proguard Maven Plugin, due to coverage of some jar dependencies that are from a higher version (otherwise I get an "Unsupported major-minor version" problem).
When executing "mvn clean install" the step is executed but I get a "proguard jar not found in pluginArtifacts error". See log below.
I have seen in Proguard Maven Plugin code that now you need (from 7.0.0) both proguard-base and proguard-core from com.guardsquare instead of the outdated previous version in net.sf.proguard - this one is not prepared for later jars.
Apparently the proguard jar is not found where I am specifying it - how should I include this dependency?
I am using this in my pom:
...ANSWER
Answered 2021-Aug-19 at 14:33I was actually using proguard.Proguard instead of proguard.ProGuard. Typo took a day out of me.
However, there is some extra trickyness associated, in case it helps anyone: proguard-maven-plugin
would not let me define newer versions of proguard dependencies except for the default one. E.g. 2.4.0
would only allow me to use 7.1.0-beta3
which is the default. It didn't recognize the libraries I would set in the dependencies
section inside the plugin (for example, for 7.1.1
).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install proguard-core
Maven Central.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page