Skip to content

Parse constant pool entries#14

Open
algomaster99 wants to merge 1 commit intomainfrom
constant-pool
Open

Parse constant pool entries#14
algomaster99 wants to merge 1 commit intomainfrom
constant-pool

Conversation

@algomaster99
Copy link
Member

❯ java -jar ~/Desktop/chains/aotp/aotp/target/aotp-0.0.1-SNAPSHOT.jar tree.aot --list-constant-pools "org/apache/pdfbox/jbig2/util/cache/SoftReferenceCache"
=== org/apache/pdfbox/jbig2/util/cache/SoftReferenceCache ===
  [   1] Methodref                  class_index=0 name_and_type_index=0
  [   2] Class                      name_index=0 resolved_klass_index=0
  [   3] Methodref                  class_index=0 name_and_type_index=0
  [   4] Methodref                  class_index=0 name_and_type_index=0
  [   5] Fieldref                   class_index=0 name_and_type_index=0
  [   6] Class                      name_index=0 resolved_klass_index=0
  [   7] Methodref                  class_index=0 name_and_type_index=0
  [   8] InterfaceMethodref         class_index=0 name_and_type_index=0
  [   9] Methodref                  class_index=0 name_and_type_index=0
  [  10] InterfaceMethodref         class_index=0 name_and_type_index=0
  [  11] InterfaceMethodref         class_index=0 name_and_type_index=0
  [  12] InterfaceMethodref         class_index=0 name_and_type_index=0
  [  13] Methodref                  class_index=0 name_and_type_index=0
  [  14] Class                      name_index=0 resolved_klass_index=0
  [  15] Class                      name_index=0 resolved_klass_index=0
  [  16] UnresolvedClass            0x36000400000000
  [  17] Utf8                       0xf4ef9000000000
  [  18] Utf8                       0xf5c82800000008
  [  19] Utf8                       0xf4bea800000008
  [  20] Utf8                       0x127c86000000008
  [  21] Utf8                       0xf4ea7800000008
  [  22] Utf8                       0xf5158800000008
  [  23] Utf8                       0xf4bdc800000008
  [  24] Utf8                       0xf4bde800000008
  [  25] Utf8                       0xf4ee2800000008
  [  26] Utf8                       0x1009b0000000008
  [  27] Utf8                       0xf4edf800000008
  [  28] Utf8                       0xf518b000000008
  [  29] Utf8                       0xf54da000000008
  [  30] Utf8                       0xf4eb6800000008
  [  31] Utf8                       0x127c8b000000008
  [  32] Utf8                       0x127c8c800000008
  [  33] Utf8                       0xf4be5000000008
  [  34] UnresolvedClass            0x35000500000008
  [  35] Utf8                       0x127c90000000000
  [  36] Utf8                       0xf4bd6000000008
  [  37] Utf8                       0x127c94000000008
  [  38] NameAndType                name_index=8 descriptor_index=0
  [  39] Utf8                       0xfee10800000000
  [  40] Class                      name_index=0 resolved_klass_index=8
  [  41] NameAndType                name_index=0 descriptor_index=0
  [  42] NameAndType                name_index=0 descriptor_index=0
  [  43] Utf8                       0xf4b67000000000
  [  44] NameAndType                name_index=8 descriptor_index=0
  [  45] Class                      name_index=0 resolved_klass_index=0
  [  46] NameAndType                name_index=0 descriptor_index=0
  [  47] NameAndType                name_index=0 descriptor_index=0
  [  48] NameAndType                name_index=0 descriptor_index=0
  [  49] NameAndType                name_index=0 descriptor_index=0
  [  50] NameAndType                name_index=0 descriptor_index=0
  [  51] NameAndType                name_index=0 descriptor_index=0
  [  52] Utf8                       0x127c81000000000
  [  53] Utf8                       0xf4b09000000008
  [  54] Utf8                       0x11e06e800000008
  [  55] Utf8                       0xf60f7800000008
  [  56] Utf8                       0xfc9a8000000008
  [  57] Utf8                       0xf6dfd000000008
  [  58] Utf8                       0xf5183000000008
  [  59] Utf8                       0xf5c98800000008
  [  60] Utf8                       0xf51b6800000008
  [  61] Utf8                       0xf51cb000000008

Dissassembling this class from the jar here also reveals 61 entries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant