TonicBox
TonicBox
JCHJava Community | Help. Code. Learn.
Created by TonicBox on 2/10/2025 in #java-help
(ASM) Stack Map Frames
Any good resource recomendations on getting a better grasp on manually computing stack Map frames? Asm docs don't seem to be informatively clear, rather assume you already understand them, and the jvm docs didn't help much either. I understand their purpose, for verification of type safety so the jvm doesn't have to simulate execution any more like it did prior to Java 7. I understand it's used to track locals through control flow. I understand methods start with a full frame and they (generally) are needed at jump targets an so on. But I'm lost on what they actually contain and strictly when they are required, and when what frame type is required and so on. Have not had much luck finding any material specifically on this topic, though I might just be blind. Just looking for a push in the right direction if anyone can help with that. My understanding just feels incredibly abstract and trying to make the jump past that.
4 replies
JCHJava Community | Help. Code. Learn.
Created by TonicBox on 12/13/2022 in #java-help
Pathfining stuff
No description
9 replies
JCHJava Community | Help. Code. Learn.
Created by TonicBox on 11/26/2022 in #java-help
Changing a classfile version level with javassist
Is it possible to change a classfile version using javassist? Namely from 7 to 8. I know with ASM there is the setVersion() but looking to do this with jassist. Cant find any information on doing this anywhere though.
5 replies