final class jdk.tools.jaotc.binformat.pecoff.PECoffSymtab
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jaotc.binformat.pecoff.PECoffSymtab
super_class: java.lang.Object
{
java.util.ArrayList<jdk.tools.jaotc.binformat.pecoff.PECoffSymbol> symbols;
descriptor: Ljava/util/ArrayList;
flags: (0x0000)
Signature: Ljava/util/ArrayList<Ljdk/tools/jaotc/binformat/pecoff/PECoffSymbol;>;
private int symbolCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.StringBuilder strTabContent;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int strTabNrOfBytes;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private final java.lang.StringBuilder directives;
descriptor: Ljava/lang/StringBuilder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbols:Ljava/util/ArrayList;
2: aload 0
iconst_0
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
3: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabContent:Ljava/lang/StringBuilder;
4: aload 0
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.directives:Ljava/lang/StringBuilder;
5: aload 0
iconst_4
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
6: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabContent:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
7: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.directives:Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
jdk.tools.jaotc.binformat.pecoff.PECoffSymbol addSymbolEntry(java.lang.String, byte, byte, byte, long);
descriptor: (Ljava/lang/String;BBBJ)Ljdk/tools/jaotc/binformat/pecoff/PECoffSymbol;
flags: (0x0000)
Code:
stack=9, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
1: iconst_0
istore 7
start local 7 2: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabContent:Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 0
dup
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
iconst_1
iadd
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
4: new jdk.tools.jaotc.binformat.pecoff.PECoffSymbol
dup
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
iload 7
iload 2
iload 3
iload 4
lload 5
invokespecial jdk.tools.jaotc.binformat.pecoff.PECoffSymbol.<init>:(IIBBBJ)V
astore 8
start local 8 5: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbols:Ljava/util/ArrayList;
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
6: goto 15
end local 8 end local 7 7: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.getBytes:()[B
arraylength
istore 9
start local 9 8: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
istore 7
start local 7 9: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabContent:Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
iconst_0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: aload 0
dup
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
iload 9
iconst_1
iadd
iadd
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
11: new jdk.tools.jaotc.binformat.pecoff.PECoffSymbol
dup
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
iload 7
iload 2
iload 3
iload 4
lload 5
invokespecial jdk.tools.jaotc.binformat.pecoff.PECoffSymbol.<init>:(IIBBBJ)V
astore 8
start local 8 12: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbols:Ljava/util/ArrayList;
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
13: iload 3
iconst_2
if_icmpne 15
14: aload 0
aload 1
iload 2
invokevirtual jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.addDirective:(Ljava/lang/String;B)V
end local 9 15: StackMap locals: int jdk.tools.jaotc.binformat.pecoff.PECoffSymbol
StackMap stack:
aload 0
dup
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
iconst_1
iadd
putfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
16: aload 8
areturn
end local 8 end local 7 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
0 17 1 name Ljava/lang/String;
0 17 2 type B
0 17 3 storageclass B
0 17 4 secHdrIndex B
0 17 5 offset J
2 7 7 index I
9 17 7 index I
5 7 8 sym Ljdk/tools/jaotc/binformat/pecoff/PECoffSymbol;
12 17 8 sym Ljdk/tools/jaotc/binformat/pecoff/PECoffSymbol;
8 15 9 nameSize I
MethodParameters:
Name Flags
name
type
storageclass
secHdrIndex
offset
private void addDirective(java.lang.String, byte);
descriptor: (Ljava/lang/String;B)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.directives:Ljava/lang/StringBuilder;
new java.lang.StringBuilder
dup
ldc "/EXPORT:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: iload 2
bipush 32
if_icmpeq 3
2: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.directives:Ljava/lang/StringBuilder;
ldc ",DATA"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.directives:Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
0 5 1 name Ljava/lang/String;
0 5 2 type B
MethodParameters:
Name Flags
name
type
int getSymtabCount();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
int getStrtabSize();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
byte[] getSymtabArray();
descriptor: ()[B
flags: (0x0000)
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
getstatic jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SYMBOL.totalsize:I
imul
invokestatic jdk.tools.jaotc.binformat.pecoff.PECoffByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 1
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
2: iconst_0
istore 2
start local 2 3: goto 8
4: StackMap locals: java.nio.ByteBuffer int
StackMap stack:
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbols:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast jdk.tools.jaotc.binformat.pecoff.PECoffSymbol
astore 3
start local 3 5: aload 3
invokevirtual jdk.tools.jaotc.binformat.pecoff.PECoffSymbol.getArray:()[B
astore 4
start local 4 6: aload 1
aload 4
invokevirtual java.nio.ByteBuffer.put:([B)Ljava/nio/ByteBuffer;
pop
end local 4 end local 3 7: iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.symbolCount:I
if_icmplt 4
end local 2 9: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
1 10 1 symtabData Ljava/nio/ByteBuffer;
3 9 2 i I
5 7 3 sym Ljdk/tools/jaotc/binformat/pecoff/PECoffSymbol;
6 7 4 arr [B
byte[] getStrtabArray();
descriptor: ()[B
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabContent:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
astore 1
start local 1 1: aload 1
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
astore 2
start local 2 2: aload 2
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
pop
3: aload 2
iconst_0
aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.strTabNrOfBytes:I
invokevirtual java.nio.ByteBuffer.putInt:(II)Ljava/nio/ByteBuffer;
pop
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
1 5 1 strs [B
2 5 2 buff Ljava/nio/ByteBuffer;
byte[] getDirectiveArray();
descriptor: ()[B
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.tools.jaotc.binformat.pecoff.PECoffSymtab.directives:Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.getBytes:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jaotc/binformat/pecoff/PECoffSymtab;
}
SourceFile: "PECoffSymtab.java"
InnerClasses:
final IMAGE_SYMBOL = jdk.tools.jaotc.binformat.pecoff.PECoff$IMAGE_SYMBOL of jdk.tools.jaotc.binformat.pecoff.PECoff