mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 12:38:08 +00:00
#1048 Recategorized AVM2 instructions in package "other2",
added links to sources for unknown instructions.
This commit is contained in:
@@ -156,58 +156,58 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.other.SetPropertyIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.SetSlotIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.SetSuperIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.ThrowIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.AbsJumpIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.AddDIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.AddPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.AllocIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.BkptIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.BkptLineIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CallInterfaceIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CallSuperIdIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CodeGenOpIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CoerceBIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CoerceDIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CoerceIIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CoerceOIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.CoerceUIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.ConcatIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.ConvertF4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.ConvertFIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.ConvertMIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.ConvertMPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DecLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DecodeIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DecrementPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DelDescendantsIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DeletePropertyLateIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DividePIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DoubleToAtomIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.FindPropGlobalIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.GetOuterScopeIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.IncLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.IncrementPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.InvalidIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.Lf32x4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.MarkIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.ModuloPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.MultiplyPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.NegatePIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.PrologueIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.PushConstantIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.PushDNanIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.PushDecimalIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.PushFloat4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.PushFloatIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.SendEnterIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.SetPropertyLateIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.Sf32x4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.SubtractPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.SweepIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.TimestampIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.UnPlusIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.VerifyOpIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.VerifyPassIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.WbIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.AbsJumpIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.AddDIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.AddPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.AllocIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.BkptIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.BkptLineIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.CallInterfaceIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.CallSuperIdIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.CodeGenOpIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated.CoerceBIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated.CoerceDIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated.CoerceIIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.types.CoerceOIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated.CoerceUIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.ConcatIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.ConvertF4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.ConvertFIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.ConvertMIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.ConvertMPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.DecLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.DecodeIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.DecrementPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.DelDescendantsIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.DeletePropertyLateIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.DividePIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.DoubleToAtomIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.FindPropGlobalIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.GetOuterScopeIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.IncLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.IncrementPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.InvalidIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.Lf32x4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.MarkIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.ModuloPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.MultiplyPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.NegatePIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.PrologueIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.PushConstantIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.PushDNanIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.PushDecimalIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.PushFloat4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.PushFloatIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.SendEnterIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.SetPropertyLateIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.Sf32x4Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.SubtractPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.SweepIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.TimestampIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport.UnPlusIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.VerifyOpIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.VerifyPassIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown.WbIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.DupIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.PopIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.PopScopeIns;
|
||||
|
||||
@@ -40,8 +40,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.localregs.SetLocalTypeIn
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.HasNext2Ins;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.LabelIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.NopIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.DecLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other2.IncLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.DecLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport.IncLocalPIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.PopIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.PushByteIns;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.stack.PushScopeIns;
|
||||
|
||||
@@ -261,11 +261,17 @@ public class AVM2Instructions {
|
||||
public static final int ConvertO = 0x77;
|
||||
|
||||
public static final int CheckFilter = 0x78;
|
||||
|
||||
|
||||
public static final int ConvertM = 0x79;
|
||||
|
||||
public static final int ConvertF = 0x79;
|
||||
|
||||
public static final int ConvertMP = 0x7A;
|
||||
|
||||
|
||||
public static final int UnPlus = 0x7A;
|
||||
|
||||
public static final int ConvertF4 = 0x7B;
|
||||
|
||||
public static final int Coerce = 0x80;
|
||||
|
||||
public static final int CoerceB = 0x81;
|
||||
@@ -424,14 +430,10 @@ public class AVM2Instructions {
|
||||
|
||||
public static final int Prologue = 0xF9;
|
||||
|
||||
public static final int SendEnter = 0xFA;
|
||||
|
||||
public static final int UnPlus = 0xFA;
|
||||
public static final int SendEnter = 0xFA;
|
||||
|
||||
public static final int DoubleToAtom = 0xFB;
|
||||
|
||||
public static final int ConvertF4 = 0x7B;
|
||||
|
||||
|
||||
public static final int Sweep = 0xFC;
|
||||
|
||||
public static final int CodeGenOp = 0xFD;
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -33,11 +33,11 @@ public class GetOuterScopeIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -47,11 +47,11 @@ public class ConvertMPIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,9 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -43,4 +44,14 @@ public class DecLocalPIns extends InstructionDefinition {
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,9 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -43,4 +44,14 @@ public class DecrementPIns extends InstructionDefinition {
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -47,11 +47,11 @@ public class DividePIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 2; // ?
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1; // ?
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,9 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -43,4 +44,14 @@ public class IncLocalPIns extends InstructionDefinition {
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
@@ -14,8 +14,9 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -43,4 +44,14 @@ public class IncrementPIns extends InstructionDefinition {
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -47,11 +47,11 @@ public class ModuloPIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 2; // ?
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1; // ?
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -47,11 +47,11 @@ public class MultiplyPIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 2; // ?
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1; // ?
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -47,11 +47,11 @@ public class NegatePIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -44,8 +44,13 @@ public class PushDNanIns extends InstructionDefinition {
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1; // ?
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -45,8 +45,13 @@ public class PushDecimalIns extends InstructionDefinition {
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1; // ?
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.decimalsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -47,11 +47,11 @@ public class SubtractPIns extends InstructionDefinition {
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 2;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,12 +14,13 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.deprecated;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2InstructionFlag;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.types.CoerceOrConvertTypeIns;
|
||||
import com.jpexs.decompiler.flash.ecma.EcmaScript;
|
||||
@@ -34,7 +35,7 @@ import com.jpexs.decompiler.graph.TypeItem;
|
||||
public class CoerceUIns extends InstructionDefinition implements CoerceOrConvertTypeIns {
|
||||
|
||||
public CoerceUIns() {
|
||||
super(0x88, "coerce_u", new int[]{}, true); // stack: -1+1
|
||||
super(0x88, "coerce_u", new int[]{}, true, AVM2InstructionFlag.DEPRECATED); // stack: -1+1
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.AVM2LocalData;
|
||||
@@ -14,8 +14,9 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -43,4 +44,16 @@ public class PushFloat4Ins extends InstructionDefinition {
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -44,9 +44,14 @@ public class PushFloatIns extends InstructionDefinition {
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPushCount(AVM2Instruction ins, ABC abc) {
|
||||
return 1; // ?
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.floatsupport;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class AbsJumpIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class AddDIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class AllocIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class CallInterfaceIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -27,6 +27,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class CallSuperIdIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class CodeGenOpIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class ConcatIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class DecodeIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -29,6 +29,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: ??
|
||||
*/
|
||||
public class DelDescendantsIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: ??
|
||||
*/
|
||||
public class DeletePropertyLateIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class DoubleToAtomIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -29,6 +29,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/magicalhobo/SWFWire/blob/master/SWFWireDecompiler/src/com/swfwire/decompiler/abc/ABCInstructions.as
|
||||
*/
|
||||
public class FindPropGlobalIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,10 +14,14 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.exceptions.AVM2VerifyErrorException;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2InstructionFlag;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
@@ -25,6 +29,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/magicalhobo/SWFWire/blob/master/SWFWireDecompiler/src/com/swfwire/decompiler/abc/ABCInstructions.as
|
||||
*/
|
||||
public class FindPropGlobalStrictIns extends InstructionDefinition {
|
||||
|
||||
@@ -32,6 +38,15 @@ public class FindPropGlobalStrictIns extends InstructionDefinition {
|
||||
super(0x5B, "findpropglobalstrict", new int[]{AVM2Code.DAT_MULTINAME_INDEX}, true, AVM2InstructionFlag.NO_FLASH_PLAYER, AVM2InstructionFlag.UNKNOWN_STACK);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void verify(LocalDataArea lda, AVM2ConstantPool constants, AVM2Instruction ins) throws AVM2VerifyErrorException {
|
||||
if (lda.getRuntime() == AVM2Runtime.ADOBE_FLASH) {
|
||||
illegalOpCode(lda, ins);
|
||||
}
|
||||
|
||||
super.verify(lda, constants, ins);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getStackPopCount(AVM2Instruction ins, ABC abc) {
|
||||
throw new UnsupportedOperationException();
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
@@ -24,6 +24,9 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/magicalhobo/SWFWire/blob/master/SWFWireDecompiler/src/com/swfwire/decompiler/abc/ABCInstructions.as
|
||||
* collides with getouterscope
|
||||
*/
|
||||
public class GetPropertyLateIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Runtime;
|
||||
@@ -27,6 +27,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: ??
|
||||
*/
|
||||
public class InvalidIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class MarkIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class PrologueIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2Code;
|
||||
@@ -25,6 +25,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: ??
|
||||
*/
|
||||
public class PushConstantIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class SendEnterIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: ??
|
||||
*/
|
||||
public class SetPropertyLateIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class SweepIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class VerifyOpIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class VerifyPassIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other.unknown;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
@@ -28,6 +28,8 @@ import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
/**
|
||||
*
|
||||
* @author JPEXS
|
||||
*
|
||||
* source: https://github.com/apache/flex-sdk/blob/414b9a3e55effd243a697e614b702d1fa0b53efe/modules/asc/src/java/macromedia/abc/Opcodes.java
|
||||
*/
|
||||
public class WbIns extends InstructionDefinition {
|
||||
|
||||
@@ -14,14 +14,13 @@
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library.
|
||||
*/
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.other2;
|
||||
package com.jpexs.decompiler.flash.abc.avm2.instructions.types;
|
||||
|
||||
import com.jpexs.decompiler.flash.abc.ABC;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.AVM2ConstantPool;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.LocalDataArea;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.AVM2Instruction;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.InstructionDefinition;
|
||||
import com.jpexs.decompiler.flash.abc.avm2.instructions.types.CoerceOrConvertTypeIns;
|
||||
import com.jpexs.decompiler.flash.ecma.Null;
|
||||
import com.jpexs.decompiler.flash.ecma.Undefined;
|
||||
import com.jpexs.decompiler.graph.DottedChain;
|
||||
Reference in New Issue
Block a user