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
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
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
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
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
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
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
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
75df7ec7f2
merged changes from stable tree
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1061 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
e194a2c0ea
don't allow loading infos for a modified class
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@971 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
9962ad0b74
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@957 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
e20a0bdc50
bug fix
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@947 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
ba2b6103af
fixed a typo that prevented the guessing of class hierarchy
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@878 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4ca7f83209
set innername to null, if empty string
...
an anonymous class (name == null) is no inner class, even if it has an
outer class
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@838 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
62ba1fec3a
extraClasses
...
some bug fixes regarding inner/outerClasses
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@804 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4b66a88014
bug fix: reserve all outer/inner field class names
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@795 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
ef61e01b42
OUTERCLASSES and reflection implemented
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@758 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
9f716c1462
lookat howMuch, before reading attributes
...
inner/outer class info
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@728 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
83047ecb43
removed unused old methods
...
get/setInnerClasses
constructor is private
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@710 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
dfa569f377
GlobalOptions
...
bug fix: check for class!= null before doing loadInfoReflection
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@677 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4ba3551e10
attribute handling.
...
setXXX methods
write methods
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@619 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
1557d658ef
Types moved to jode.type
...
give better error message if class not found
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@589 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4ff13e22dd
sanity checks for class names
...
load method/field info from reflection
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@571 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
66ca7ba07a
WeakReferences for JDK1.2
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@483 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
58932da6b2
return all classes and packages
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@293 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f8325154fa
bug fixes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@242 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4984990fbe
fall back onto reflection classes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@168 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
65f5a5bb12
make a valid modifiers for unknown classes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@153 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6f93d90608
Startet obfuscator
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@145 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5ae3e9508e
separated decompile packaged
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@142 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8a2a399945
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@140 379699f6-c40d-0410-875b-85095c16579e
26 years ago