abstract class com.oracle.objectfile.pecoff.cv.CVUtil
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.oracle.objectfile.pecoff.cv.CVUtil
super_class: java.lang.Object
{
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: .line 33
ldc Lcom/oracle/objectfile/pecoff/cv/CVUtil;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.oracle.objectfile.pecoff.cv.CVUtil.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.objectfile.pecoff.cv.CVUtil this
0: .line 33
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.objectfile.pecoff.cv.CVUtil this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/objectfile/pecoff/cv/CVUtil;
static int putByte(byte, byte[], int);
descriptor: (B[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 // byte b
start local 1 // byte[] buffer
start local 2 // int initialPos
0: .line 36
aload 1 /* buffer */
ifnonnull 2
1: .line 37
iload 2 /* initialPos */
iconst_1
iadd
ireturn
2: .line 39
StackMap locals:
StackMap stack:
iload 2 /* initialPos */
istore 3 /* pos */
start local 3 // int pos
3: .line 40
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* b */
bastore
4: .line 41
iload 3 /* pos */
ireturn
end local 3 // int pos
end local 2 // int initialPos
end local 1 // byte[] buffer
end local 0 // byte b
LocalVariableTable:
Start End Slot Name Signature
0 5 0 b B
0 5 1 buffer [B
0 5 2 initialPos I
3 5 3 pos I
MethodParameters:
Name Flags
b
buffer
initialPos
static int putShort(short, byte[], int);
descriptor: (S[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 // short s
start local 1 // byte[] buffer
start local 2 // int initialPos
0: .line 45
aload 1 /* buffer */
ifnonnull 2
1: .line 46
iload 2 /* initialPos */
iconst_2
iadd
ireturn
2: .line 48
StackMap locals:
StackMap stack:
iload 2 /* initialPos */
istore 3 /* pos */
start local 3 // int pos
3: .line 49
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* s */
sipush 255
iand
i2b
bastore
4: .line 50
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* s */
bipush 8
ishr
sipush 255
iand
i2b
bastore
5: .line 51
iload 3 /* pos */
ireturn
end local 3 // int pos
end local 2 // int initialPos
end local 1 // byte[] buffer
end local 0 // short s
LocalVariableTable:
Start End Slot Name Signature
0 6 0 s S
0 6 1 buffer [B
0 6 2 initialPos I
3 6 3 pos I
MethodParameters:
Name Flags
s
buffer
initialPos
static int putInt(int, byte[], int);
descriptor: (I[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=4, args_size=3
start local 0 // int i
start local 1 // byte[] buffer
start local 2 // int initialPos
0: .line 55
aload 1 /* buffer */
ifnonnull 2
1: .line 56
iload 2 /* initialPos */
iconst_4
iadd
ireturn
2: .line 58
StackMap locals:
StackMap stack:
iload 2 /* initialPos */
istore 3 /* pos */
start local 3 // int pos
3: .line 59
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* i */
sipush 255
iand
i2b
bastore
4: .line 60
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* i */
bipush 8
ishr
sipush 255
iand
i2b
bastore
5: .line 61
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* i */
bipush 16
ishr
sipush 255
iand
i2b
bastore
6: .line 62
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 0 /* i */
bipush 24
ishr
sipush 255
iand
i2b
bastore
7: .line 63
iload 3 /* pos */
ireturn
end local 3 // int pos
end local 2 // int initialPos
end local 1 // byte[] buffer
end local 0 // int i
LocalVariableTable:
Start End Slot Name Signature
0 8 0 i I
0 8 1 buffer [B
0 8 2 initialPos I
3 8 3 pos I
MethodParameters:
Name Flags
i
buffer
initialPos
static int putLong(long, byte[], int);
descriptor: (J[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=5, args_size=3
start local 0 // long l
start local 2 // byte[] buffer
start local 3 // int initialPos
0: .line 68
aload 2 /* buffer */
ifnonnull 2
1: .line 69
iload 3 /* initialPos */
bipush 8
iadd
ireturn
2: .line 71
StackMap locals:
StackMap stack:
iload 3 /* initialPos */
istore 4 /* pos */
start local 4 // int pos
3: .line 72
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
ldc 255
land
l2i
i2b
bastore
4: .line 73
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 8
lshr
ldc 255
land
l2i
i2b
bastore
5: .line 74
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 16
lshr
ldc 255
land
l2i
i2b
bastore
6: .line 75
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 24
lshr
ldc 255
land
l2i
i2b
bastore
7: .line 76
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 32
lshr
ldc 255
land
l2i
i2b
bastore
8: .line 77
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 40
lshr
ldc 255
land
l2i
i2b
bastore
9: .line 78
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 48
lshr
ldc 255
land
l2i
i2b
bastore
10: .line 79
aload 2 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
lload 0 /* l */
bipush 56
lshr
ldc 255
land
l2i
i2b
bastore
11: .line 80
iload 4 /* pos */
ireturn
end local 4 // int pos
end local 3 // int initialPos
end local 2 // byte[] buffer
end local 0 // long l
LocalVariableTable:
Start End Slot Name Signature
0 12 0 l J
0 12 2 buffer [B
0 12 3 initialPos I
3 12 4 pos I
MethodParameters:
Name Flags
l
buffer
initialPos
static int putBytes(byte[], byte[], int);
descriptor: ([B[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=8, args_size=3
start local 0 // byte[] inbuff
start local 1 // byte[] buffer
start local 2 // int initialPos
0: .line 84
aload 1 /* buffer */
ifnonnull 2
1: .line 85
iload 2 /* initialPos */
aload 0 /* inbuff */
arraylength
iadd
ireturn
2: .line 87
StackMap locals:
StackMap stack:
iload 2 /* initialPos */
istore 3 /* pos */
start local 3 // int pos
3: .line 88
aload 0 /* inbuff */
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 7
StackMap locals: byte[] byte[] int int top int int byte[]
StackMap stack:
4: aload 7
iload 5
baload
istore 4 /* b */
start local 4 // byte b
5: .line 89
aload 1 /* buffer */
iload 3 /* pos */
iinc 3 /* pos */ 1
iload 4 /* b */
bastore
end local 4 // byte b
6: .line 88
iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
iload 6
if_icmplt 4
8: .line 91
iload 3 /* pos */
ireturn
end local 3 // int pos
end local 2 // int initialPos
end local 1 // byte[] buffer
end local 0 // byte[] inbuff
LocalVariableTable:
Start End Slot Name Signature
0 9 0 inbuff [B
0 9 1 buffer [B
0 9 2 initialPos I
3 9 3 pos I
5 6 4 b B
MethodParameters:
Name Flags
inbuff
buffer
initialPos
static int putUTF8StringBytes(java.lang.String, byte[], int);
descriptor: (Ljava/lang/String;[BI)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=3
start local 0 // java.lang.String s
start local 1 // byte[] buffer
start local 2 // int initialPos
0: .line 95
getstatic com.oracle.objectfile.pecoff.cv.CVUtil.$assertionsDisabled:Z
ifne 1
aload 0 /* s */
ldc "\u0000"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: .line 96
StackMap locals:
StackMap stack:
aload 1 /* buffer */
ifnonnull 3
2: .line 97
iload 2 /* initialPos */
aload 0 /* s */
invokestatic com.oracle.objectfile.io.Utf8.utf8Length:(Ljava/lang/String;)I
iadd
iconst_1
iadd
ireturn
3: .line 99
StackMap locals:
StackMap stack:
aload 0 /* s */
getstatic java.nio.charset.StandardCharsets.UTF_8:Ljava/nio/charset/Charset;
invokevirtual java.lang.String.getBytes:(Ljava/nio/charset/Charset;)[B
astore 3 /* buff */
start local 3 // byte[] buff
4: .line 100
aload 3 /* buff */
aload 1 /* buffer */
iload 2 /* initialPos */
invokestatic com.oracle.objectfile.pecoff.cv.CVUtil.putBytes:([B[BI)I
istore 4 /* pos */
start local 4 // int pos
5: .line 101
aload 1 /* buffer */
iload 4 /* pos */
iinc 4 /* pos */ 1
iconst_0
bastore
6: .line 102
iload 4 /* pos */
ireturn
end local 4 // int pos
end local 3 // byte[] buff
end local 2 // int initialPos
end local 1 // byte[] buffer
end local 0 // java.lang.String s
LocalVariableTable:
Start End Slot Name Signature
0 7 0 s Ljava/lang/String;
0 7 1 buffer [B
0 7 2 initialPos I
4 7 3 buff [B
5 7 4 pos I
MethodParameters:
Name Flags
s
buffer
initialPos
static int align4(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 // int initialPos
0: .line 112
iload 0 /* initialPos */
istore 1 /* pos */
start local 1 // int pos
1: .line 113
goto 3
2: .line 114
StackMap locals: int
StackMap stack:
iinc 1 /* pos */ 1
3: .line 113
StackMap locals:
StackMap stack:
iload 1 /* pos */
iconst_3
iand
ifne 2
4: .line 116
iload 1 /* pos */
ireturn
end local 1 // int pos
end local 0 // int initialPos
LocalVariableTable:
Start End Slot Name Signature
0 5 0 initialPos I
1 5 1 pos I
MethodParameters:
Name Flags
initialPos
}
SourceFile: "CVUtil.java"