#(ASM) Stack Map Frames

1 messages · Page 1 of 1 (latest)

frank heron
#

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.

tight steppeBOT
#

This post has been reserved for your question.

Hey @frank heron! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.