hoenicke
5815ab3a08
Fix Warnings
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1411 379699f6-c40d-0410-875b-85095c16579e
12 years ago
hoenicke
ec129979e1
* build.xml: replace execon with apply.
...
* src/net/sf/jode/bytecode/ClassInfo.java (readAttributes):
read in signature attribute (not yet published, though).
* src/net/sf/jode/bytecode/MethodInfo.java (readAttributes):
likewise.
* src/net/sf/jode/bytecode/FieldInfo.java (readAttributes):
likewise.
* src/net/sf/jode/bytecode/ClassInfo.java (mergeModifiers):
only check the traditional modifiers for equality.
* src/net/sf/jode/bytecode/ConstantPool.java (getConstant):
Support for CLASS constants (jdk1.5) added.
* src/net/sf/jode/bytecode/BasicBlockReader.java (readCode):
opc_ldc, opc_ldc_w: Support for CLASS constants added.
* src/net/sf/jode/decompiler/Opcodes.java (addOpcode):
likewise.
* src/net/sf/jode/expr/InvokeOperator.java
(simplifyStringBuffer, simplifyString):
Also handle StringBuilder (jdk1.5).
* src/net/sf/jode/type/Type.java (tStringBuilder): new field.
* src/net/sf/jode/swingui/Main.java (main): handle debug
options.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1381 379699f6-c40d-0410-875b-85095c16579e
20 years ago
hoenicke
f43b317ae8
Set copyright to LGPL for packages util,bytecode,jvm,expr,flow and decompiler.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1367 379699f6-c40d-0410-875b-85095c16579e
22 years ago
hoenicke
31ebef4f9c
Changed compilation procedure to ant.
...
Renamed jode package to net.sf.jode
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1333 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
f2d8663e9f
* jode/AssertError.java: removed, all uses are now replaced
...
by java.lang.InternalError.
* jode/Makefile.am: removed AssertError.java
* jode/bytecode/ClassInfo.java: reworked handling of inner
classes.
(extraClasses): removed, they are calculated automatically.
(hasInnerClassesAttr): new variable.
(readInnerClassesAttribute): Mark all classes in the constant
pool as having OUTERCLASS info filled. Don't handle extraClasses
specially.
(prepareWriting): Change for automatically generating outer
class info.
(getKnownAttributes): dito.
(writeKnownAttributes): dito.
(getExtraClasses): removed.
(setExtraClasses): removed.
* jode/bytecode/ClassAnalyzer.java (conflicts): load or guess
declarations of info before getting inner classes.
* jode/decompiler/TabbedPrintWriter.java (BreakPoint.endOp):
Set options correctly.
* jode/expr/InvokeOperator.java (getMethodInfo): load or guess
declarations before accessing methods.
* jode/flow/FlowBlock.java (resolveSomeJumps): When creating a
if-then-else move the jump from the then branch to the if, before
restarting analysis.
(doT1): handle the case when lastModified.jump is null. Throw
statements have no jump now.
* jode/jvm/SyntheticAnalyzer (checkAccess): Fix the detection for
PUTDUPSTATIC/FIELD.
* jode/type/ClassType.java (getCastHelper): More checks when
cast is not needed: interfaces and null pointer.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1331 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
712f5d03dd
Insert a jump to end-of-method after a valued return, since try-catch analysis
...
needs it.
opc_return shouldn't occur in new bytecode interface
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1273 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
4a63627c87
Big updates: bytecode instruction interface, new types for the decompiler,
...
option parsing a bit reworked.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1267 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
3378492cd3
New bytecode interface, no .java.in files anymore
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1247 379699f6-c40d-0410-875b-85095c16579e
24 years ago
jochen
6885078d96
InvokeOperator has new constructor syntax
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1182 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
02522b5cef
instructions collectionified
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1102 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
900205e713
use member functions to access Instruction fields
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1064 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
fe9868d0db
CodeAnalyzer merged into MethodAnalyzer
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@893 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
fe82f8f2c7
Create StoreInstruction(LValueExpression).
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@764 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
2380acb9e3
give code analyzer to localloadoperators
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@737 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
983f188c70
for stored local use addr of next instruction
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@661 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
553ddf518b
JodeEnvironment removed (ImportHandler)
...
Types moved to jode.type
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@592 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4c0325ed22
tType instead of tClassOrArray
...
remove opc_a?newarray
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@575 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
3c13d3c5de
multianewarray always has a typesig, never a class
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@533 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
968e24ed1f
fixes for switch blocks
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@491 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
94da811de1
Use new BytecodeInfo (much simpler)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@451 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
e32850d300
Don't add "F" to floats
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@424 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
d4f444d3a4
new type concept
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@367 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
168465364c
thorough skipping
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@346 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ab5f3eb09f
new_decompiler_package
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@255 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
1348678a6b
decompiler -> expr
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@253 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
2d01111d8f
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@251 379699f6-c40d-0410-875b-85095c16579e
26 years ago