hoenicke
e5c8e18a43
Updated String type to Java 6/7.
...
One should find a better way than to hardcode all the interfaces String
implements and make them a system type too.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1418 379699f6-c40d-0410-875b-85095c16579e
11 years ago
hoenicke
3c76f52d03
Fix more Warnings
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1412 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
ae5ffbf3f8
Set copyright to LGPL for package type
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1380 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
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
1cfa18f43c
use UnifiyHash
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1122 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4280f1d6ce
moved class->typesignature methods into bytecode package
...
remove class->type methods
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1066 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
5e24bfce86
comments reworked
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@906 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
3f0eec8d26
make getSignature public
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@652 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
c0cd537eaf
Types moved to jode.type
...
useType removed
JodeEnvironment removed
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@609 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
73e201d59d
tType(Class) and tMethod(Class[], Class)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@569 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
3db43bc59a
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@559 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
d3a45e7935
getTypeClass, tMethod (with hashtable), tType(Class)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@547 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4150e5c3aa
getDefaultValue added
...
WeakReferences for jdk1.2
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@479 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
92bf183da3
made new abstract class ReferenceType
...
isTypeOf uses intersection
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@419 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
b2c8d6b995
fix
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@391 379699f6-c40d-0410-875b-85095c16579e
25 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
25 years ago
jochen
1123c02533
getHint added
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@301 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
7080788ef4
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@258 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
fbdef36ed8
getTypeSignature
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@240 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ca1416168d
comment fixing (starting to think of short <-> char)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@175 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
a6bc1392d1
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@163 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
1172c72832
Remove java.lang.reflect code
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@130 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f712ecf8bd
/ instead of File.separatorChar
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@125 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
68ab015b0d
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@121 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
394e733b1c
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@115 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
e40a33feca
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@113 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
425373653d
tSubType fix for top == Unknown
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@86 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
d131840eec
Much type improvements
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@58 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
01aa264edd
Get rid of sun.tools.* and use gnu.bytecode instead
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@53 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4f6e9bf4b5
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@51 379699f6-c40d-0410-875b-85095c16579e
26 years ago