hoenicke
240de78e81
jode/bytecode/ClassInfo.java.in, jode/bytecode/MethodInfo.java,
...
jode/bytecode/FieldInfo.java, jode/bytecode/BytecodeInfo.java.in:
(readAttribute): Never read in known attributes as unknown
attributes. This could happen before when class was first read with
known info and then again with all info.
jode/obfuscator/ClassIdentifier.java: (doTransformation): Remove
all unknown attributes. They may contain references to
nonexisting constant pool entries.
jode/obfuscator/PackageIdentifier.java: (loadClass): Fix a
compile time bug in the last patch.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1407 379699f6-c40d-0410-875b-85095c16579e
17 years ago
hoenicke
aae07e1491
A continue was missing that could produce ArrayIndexOutOfBounds
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1389 379699f6-c40d-0410-875b-85095c16579e
20 years ago
hoenicke
d1f22a62b4
Fix the exception handlers that Javac 1.4 produces.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1369 379699f6-c40d-0410-875b-85095c16579e
22 years ago
hoenicke
c761c52679
Changed license of util,bytecode,jvm,expr,flow and decompiler packages
...
to Lesser GPL. Updated all copyright messages.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1366 379699f6-c40d-0410-875b-85095c16579e
22 years ago
hoenicke
15e7ec9dc0
More debugging outputs.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1339 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
fa005e09ee
* jode/bytecode/BytecodeInfo.java.in (calculateMaxStack): Handle
...
special case for empty method. Previous code would just crash.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1323 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
1f87c3817c
Changed version to 1.2
...
Add 2001 to copyright years.
Better JSR/synchronized handling (see Changelog)
Better .class field handling
Fixed memory usage of UnifyHash.
Fixed moving of field initializers.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1298 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
7eb1d3f8b5
Forgot to calc stacksize for exception handlers.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1282 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
ef0a0f214b
Reserve locals for method arguments. Important if they are not accessed
...
afterwards.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1280 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
f26d8a21e6
Calculate number of stack elements and local variables in prepareWriting.
...
Removed setting of number of local variables from LocalOptimizer.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1275 379699f6-c40d-0410-875b-85095c16579e
24 years ago
jochen
47b22fdb21
added dropInfo
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1200 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
0270969c56
SearchPath.pathSeparatorChar -> altPathSeparatorChar
...
SearchPath: allow both pathSeparators.
BinaryInfo: ALL_ATTRIBUTES splitted in KNOWNATTRIB, UNKNOWNATTRIBS
ClassInfo: innerClasses overworked, some more comments
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1179 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
853a315167
bug fix when lvt is broken
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1159 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
ae9c23f5ec
use implementation specific opcode as border opcode instead of xxxunknownxxx
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1146 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
52c6c30277
made start and end instruction determination more robust
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1142 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4104af6d61
some speed improvements
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1127 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
97bf664ac8
Adjust exception range when appending instructions.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1109 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
996fc49dbd
collection interface for instructions.
...
made instructions smaller
canonicalized switch opcodes
use UnifyHash
More methods for TypeSignature
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1095 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
6786a3fa35
using the autoconfigured @COLLECTIONS@ imports.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1087 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
56464880ac
Cleaned up the bytecode module:
...
- no references to jode.type anymore
- all fields in Instruction are private now
- instructions are inserted with length 0, so that addr's are correct
- instruction length increases, when a neighbour gets removed
- all lenghts are recalculated on write
- more checks
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1062 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
ad1866f6a6
toString added
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@999 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
8e6699a797
dumpCode takes PrintWriter
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@969 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
9b316ad4c1
getMethodInfo added
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@819 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
b7051a7a87
lookat howMuch, before reading attributes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@729 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
8627236b01
intern() objData
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@709 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
8e74989f48
GlobalOptions
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@684 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
7a326a40c1
new attribute handling
...
LocalVariableTable and LineNumberTable handling
getSize()
bug fixes: -Byte.MIN_VALUE --> Byte.MIN_VALUE
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@618 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
1bc6e91a59
Types moved to jode.type
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@593 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
2e61da9b5f
gcp.putClassName/Type
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@570 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
111f217719
sanity checks (static constraints in bytecode verification)
...
prepareWrite doesn't change opcodes back
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@524 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
8ebe96a5ac
added copyright
...
debugging messages
big rewrites
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@482 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
1d77b7ad18
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@448 379699f6-c40d-0410-875b-85095c16579e
26 years ago