Menu

#1 LDC opcode Error

open
nobody
None
5
2006-03-20
2006-03-20
Anonymous
No

There is a opcode error with the LDC_W and LDC2_W in
the dejasmin program.

These two opcodes take 3 Bytes, 1 for the instructions
and 2 for the parameter. But the jasmin disassembly of
a class file is corrupted. An ldc_w intruction at
offset 1681 imply that the next intruction will be at
offset 1684.
So for each LDC_W LDC2_W met, a 1 byte misaligment is
made, and so StackFrames are corrupted.

Discussion


Log in to post a comment.