Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression. Learn more →
Top 10 Java Bytecode Manipulation Projects
-
bytecode-viewer
A Java 8+ Jar & Android APK Reverse Engineering Suite (Decompiler, Editor, Debugger & More)
-
Just a drive-by comment: ByteBuddy is worth a look https://bytebuddy.net/. It is built on top of ASM.
-
Sonar
Write Clean Java Code. Always.. Sonar helps you commit clean code every time. With over 600 unique rules to find Java bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
-
Project mention: what is the easiest way to decompile, edit and recompile a mod? | /r/feedthebeast | 2022-10-11
IF you've got the legal situation all sorted out, and know that you need to change a Java class file, and know how to program in Java, I'd suggest Recaf. With it, you can import a jar file, decompile, edit and recompile any source files in it, and export the whole thing again.
-
ClassPool comes from Javaassist library. It gives convenient API to retrieve the line number of Java method.
-
Project mention: Hello I would try to start Modding in Minecraft. Have you any advice or good tutorial for beginning ? | /r/CurseForge | 2022-12-13
And one day maybe you'll need that to inject code into specific location, but it's to do advanced things: https://github.com/SpongePowered/Mixin/wiki
-
If you're very paranoid, Threadtear does have some amount of protection against potential code execution when decompiling, although it hasn't been updated in a while and it's still always a risk (albeit one I never personally encountered). If you suspect that the file you want to decompile does have a way to execute code when decompiling it, you could try using a virtual machine for some added protection.
-
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
yGuard
The open-source Java obfuscation tool working with Ant and Gradle by yWorks - the diagramming experts
-
MixinExtras
Companion library to SpongePowered Mixin with many custom injectors for a more expressive experience.
Try adding the jar here https://github.com/LlamaLad7/MixinExtras/releases/tag/0.1.1
-
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.
Java Bytecode Manipulation related posts
- JUnit 5: link tests with task tracker issues
- Java 泛型程式設計的注意事項
- Any news on the Classfile API?
- Hello I would try to start Modding in Minecraft. Have you any advice or good tutorial for beginning ?
- Proposed: A new CMake scripting language usable alongside existing one
- Can someone with an coding brain tell me where the problem is? i dont even have a mod named "spongepowered"
- MineFortress beta is here! More professions, custom buildings, combats and some other things that I worked on during the past months! Let me know what do you think
-
A note from our sponsor - InfluxDB
www.influxdata.com | 3 Jun 2023
Index
What are some of the best open-source Bytecode Manipulation projects in Java? This list will help you:
Project | Stars | |
---|---|---|
1 | bytecode-viewer | 13,757 |
2 | Byte Buddy | 5,575 |
3 | Recaf | 4,934 |
4 | Javassist | 3,838 |
5 | Mixin | 1,150 |
6 | threadtear | 733 |
7 | Byteman | 460 |
8 | yGuard | 289 |
9 | MixinExtras | 154 |
10 | Maker | 36 |