Maker
proguard-core
Maker | proguard-core | |
---|---|---|
6 | 9 | |
43 | 270 | |
- | 1.1% | |
8.7 | 9.1 | |
8 days ago | 7 days ago | |
Java | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Maker
-
Any news on the Classfile API?
If you want an alternative to ASM, try Cojen/Maker, which is designed to be much easier to use than any of the other class writing APIs, including the one proposed by JEP-8280389. Here's a comparison.
-
Jdk.Classfile Javadoc (in-development)
That's a lot right arrow operators just to implement a simple Hello World program (5). I can't even begin to imagine how difficult it might be to generate anything more interesting than this. Here's a comparison against a classfile API which is designed to be easy to use: https://github.com/cojen/Maker/wiki/JEP-8280389
- JEP draft: Classfile API
-
Show HN: I spent my vacation writing a modern JVM assembler
For the code generation phase, it might be easier to bypass emitting a text-based assembly format and just use the ASM library directly. If you want something easier, I wrote a code generation library specifically for that purpose: https://github.com/cojen/Maker It also includes an example "Mini-C" language compiler.
- Show HN: Cojen/Maker – lightweight Java class generator designed for ease of use
proguard-core
-
Any news on the Classfile API?
Anyways, have you looked at Proguard core?
-
Resources for generating and execution JVM bytecode
For generating Java bytecode/class files you could take a look at ProGuardCORE . It's a bytecode manipulation and analysis library that grew out of ProGuard.
-
JEP draft: Classfile API
The MethodBuilder "low-level" example looks like the ProGuardCORE API for building classes & code sequences, which can be written as:
-
Show HN: I spent my vacation writing a modern JVM assembler
Something else that could make your code generation for your JVM language easier: ProGuardCORE (https://github.com/Guardsquare/proguard-core). It can be used to read, generate and analyse Java bytecode.
Some examples for code generation: ProGuard where the project originated (https://github.com/Guardsquare/proguard), Brainf*ck compiler (https://github.com/mrjameshamilton/bf), Lox compiler (https://github.com/mrjameshamilton/klox)
Disclaimer: I work at Guardsquare on ProGuardCORE so may be biased ;)
-
Looking for resources on building a compiler
I implemented Lox in Kotlin based on the book's Java interpreter then added a JVM backend using ProGuardCORE: https://github.com/mrjameshamilton/klox
-
Building a simple Log4Shell detector with ProGuardCORE
You can find out more about ProGuardCORE on GitHub and the manual contains some further examples.
-
Is there any books or guides on how to target JVM bytecode?
Not a book or guide but a useful library for working with/generating JVM class files is ProGuardCORE. It's the underlying library used by ProGuard and I also recently used it to add a JVM backend to my implementation of Lox from the Crafting Interpreters book.
-
Concise language to write an interpreter for?
After completing the first part of the book (using Kotlin instead of Java), I added a JVM backend using ProGuardCORE (https://github.com/Guardsquare/proguard-core).
-
AppSweep, mobile application scanning for developers
The biggest difference is our initial goal of creating a tool for application developers rather than a security team. This means we aim to exclude information that the application developer definitely knows and doesn't want to see again, e.g. the list of permissions an application is requesting. Furthermore we try to focus on nice and intuitive UX that is familiar to this audience, enabling an application developer to be very efficient in reading & interpreting the results (e.g. easy comparison of two builds). Also note that this is built on the same core technology as ProGuard. This foundation of compiler components (e.g. our partial evaluator) and the knowledge and experience at Guardsquare that comes with it will unlock many more in-depth code checks.
What are some alternatives?
obfuscator - A java obfuscator (GUI)
proguard - ProGuard, Java optimizer and obfuscator
JavaParser - Java 1-18 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
JaCoCo - :microscope: Java Code Coverage Library
jdk-sandbox - JDK Committers Sandbox
emv-qrcode - Java Based EMV QR Code Generator and Parser (MPM, CPM)
Javassist - Java bytecode engineering toolkit
appsweep-gradle - This Gradle plugin can be used to continuously integrate app scanning using AppSweep into your Android app build process
golo-lang - Golo - a lightweight dynamic language for the JVM.
bytecode-viewer - A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
Recaf - The modern Java bytecode editor
robovm - Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux