public class

ACS

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.asm.decompiler.ACS

Class Overview

Auto-converter support class. Those objects can be provided in IInstruction implementations. They are used by converters to auto-convert low-level instructions to IR.

Summary

Nested Classes
enum ACS.ExtensionMode Type of size extension for integer. 
enum ACS.OPS Operators for gendec auto-conversion semantics. 
Constants
int GPR0
int GPR1
int GPR2
int GPR3
int GPR4
int GPR5
int GPR6
int GPR7
int GPR_MASK
int IMM0 value zero (immediate); to be used with another source, from which the bitsize is inferred
int dst
int dst_src1
int src1
int src2
int src3
Public Constructors
ACS(ACS.OPS opsem, int[] opndsem)
ACS(ACS.OPS opsem, Integer operationBitsize, Integer extensionMode, int[] opndsem)
Public Methods
ACS extensionMode(Integer mode)
Integer extensionMode()
int findOperandIndexByFlag(int fl)
int getBitsize(int def)
ACS.OPS getOpcodeSemantic()
int getOperandSemanticFlags(int idx)
boolean isSignedExtension(boolean def)
static ACS make(ACS.OPS opsem, int... opndsem)
ACS maskOnSource(Long maskOnSource)
Long maskOnSource()
Integer operationBitsize()
ACS operationBitsize(Integer bitsize)
ACS operationBitsizeAndSignExtendToDest(Integer bitsize)
ACS operationBitsizeAndZeroExtendToDest(Integer bitsize)
static int regSlice(int begin, int end)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int GPR0

Constant Value: 16777216 (0x01000000)

public static final int GPR1

Constant Value: 33554432 (0x02000000)

public static final int GPR2

Constant Value: 50331648 (0x03000000)

public static final int GPR3

Constant Value: 67108864 (0x04000000)

public static final int GPR4

Constant Value: 83886080 (0x05000000)

public static final int GPR5

Constant Value: 100663296 (0x06000000)

public static final int GPR6

Constant Value: 117440512 (0x07000000)

public static final int GPR7

Constant Value: 134217728 (0x08000000)

public static final int GPR_MASK

Constant Value: 251658240 (0x0f000000)

public static final int IMM0

value zero (immediate); to be used with another source, from which the bitsize is inferred

Constant Value: 65536 (0x00010000)

public static final int dst

Constant Value: 1 (0x00000001)

public static final int dst_src1

Constant Value: 3 (0x00000003)

public static final int src1

Constant Value: 2 (0x00000002)

public static final int src2

Constant Value: 4 (0x00000004)

public static final int src3

Constant Value: 8 (0x00000008)

Public Constructors

public ACS (ACS.OPS opsem, int[] opndsem)

public ACS (ACS.OPS opsem, Integer operationBitsize, Integer extensionMode, int[] opndsem)

Public Methods

public ACS extensionMode (Integer mode)

public Integer extensionMode ()

public int findOperandIndexByFlag (int fl)

public int getBitsize (int def)

public ACS.OPS getOpcodeSemantic ()

public int getOperandSemanticFlags (int idx)

public boolean isSignedExtension (boolean def)

public static ACS make (ACS.OPS opsem, int... opndsem)

public ACS maskOnSource (Long maskOnSource)

public Long maskOnSource ()

public Integer operationBitsize ()

public ACS operationBitsize (Integer bitsize)

public ACS operationBitsizeAndSignExtendToDest (Integer bitsize)

public ACS operationBitsizeAndZeroExtendToDest (Integer bitsize)

public static int regSlice (int begin, int end)