hoenicke
804d4f7912
Cleaning up
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1335 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
743e08ea39
Cleaning up.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1334 379699f6-c40d-0410-875b-85095c16579e
23 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
a2006f63d4
Fixed import of non collection java.util classes.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1332 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
e78e8b0472
Applied more patches from Jode-1.1 branch
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1329 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
676e21257f
Applied more patches from Jode-1.1 branch.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1328 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
c30ac484c5
Applied changes from the Jode-1.1 tree.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1327 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
9470aef606
Method scoped classes can look like inner classes. Try to distinguish by
...
bytecode name.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1291 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
03a84b8f4f
Some fixes.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1290 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
31b99cc4f0
First update, not complete...
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1289 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
8c85a88d39
Minor fixes.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1288 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
854a466d67
Copy options from childBP, when replacing childBP with this break point.
...
Didn't I fixed this before???
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1279 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
0e32c28865
Moved getDefaultValue to TypeSignature
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1278 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
00448cfcbc
Added a missing load()
...
removed unnecessary imports
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1277 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
8f00154e64
add new sanity check to ReturnBlock.
...
TransformExceptionHandlers rewritten AGAIN! Lots of changes, still not
perfect. Nested synchronized in javac are still not supported.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1274 379699f6-c40d-0410-875b-85095c16579e
24 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
b14a4f5e86
Merged checkAccess() and checkStaticAccess(), since they are very similar and
...
having two of them always leads to errors in one of the two versions.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1272 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
571bb071fe
Initial release
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1269 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
5e6af53990
* ConstantInstruction.java,IncInstruction.java,ReferenceInstruction.java,SlotInstruction.java,TypeDimensionInstruction.java,TypeInstruction.java: Class and Constructors no longer public.
...
* Instruction.java (forOpcode): added method to create instructions.
* SlotInstruction.java,IncInstruction.java: Use a LocalVariableInfo
entry instead of slot+addr
* BasicBlockReader.java, BasicBlockWriter.java: Adapted Instruction interface.
* BinaryInfo.java: package private class now.
* BinaryInfo.java,FieldInfo.java,MethodInfo.java: Made some methods
package private.
* BasicBlocks.java (getAllInstructions): removed.
(read,readAttribute): no longer protected.
* ClassInfo.java (isGuessed): added.
All classes: bug fixes, etc.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1266 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
ca386721b2
Use the ClassPath to list all classes.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1265 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
af97d8da6d
Remove ampersands (I thought they were used to underline characters).
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1264 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
7ff611fe09
Removed obfuscator directory since it currently doesn't compile.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1263 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
bde4f7f48c
Added a nice ClassPathDialog.
...
Localized all strings.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1262 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
e154dfdc1b
Changed version code, to accept version 46.0 (jdk 1.2)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1260 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
0b2f10fddf
beautification
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1257 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
bf597fea43
toString: close tabbed print writer to flush it
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1256 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
aca625aa34
Added functionality to flush() and close()
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1255 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
34081d2e06
Fixed calculation of SerialVersionUID
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1254 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
96ef935ccc
Allow the additional parameter for constructor wrappers occur at every place
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1253 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
46f4102cec
Reading of LocalVariableTable entries fixed.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1252 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
ff73414ef3
reworked comment.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1251 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
b99c87a98d
mergeModifiers: Merge the right modifiers for innerclasses attributes.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1250 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
hoenicke
a34a837696
The package description.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1246 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
b53430f5c5
Adapted to new bytecode package.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1245 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
723088e8be
New bytecode interface:
...
- Cleaned up loading of class files (via ClassPath).
- load/read can throw IOException
- no implicit loading of information on demand (which never completely worked)
- more documentation.
- BasicBlock representation of method code.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1244 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
076911a762
final static fields must always be initialized, so output a null
...
initializer, if none was found before.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1241 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
7a3d90542b
Handle INVOKESPECIAL, where the class expression isn't this.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1238 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
60889790b5
Remove most modifiers from static constructors, since java syntax
...
doesn't allow them.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1237 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
058eb11e6a
Import classes from unnamed packages correctly
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1236 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
de5d631370
Fixed a status message
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1235 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
f8fa155236
Added a nicely looking border around the applet.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1234 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
ae980c0e34
Pretty option fixed.
...
Verbose and Pretty are default now.
Don't reset classpath if it didn't changed.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1232 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
eedb8fadf5
Header of decompiled files adjusted for SourceForge
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1231 379699f6-c40d-0410-875b-85095c16579e
24 years ago
jochen
92878b6692
Line breaking added.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1227 379699f6-c40d-0410-875b-85095c16579e
24 years ago
jochen
b8e6d80e8c
fixed a bug in long shifts
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1226 379699f6-c40d-0410-875b-85095c16579e
24 years ago
jochen
7628ebc073
Makefile optimized
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1223 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
dfd56173e8
Use new Decompiler interface, with progress bar
...
Makefile optimized
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1222 379699f6-c40d-0410-875b-85095c16579e
25 years ago