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
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
f8384e9928
move modules into separate package
...
serializable reworked (may be buggy still)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1173 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
054a4eeccb
remove Type import
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1136 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4b8022a00e
rename exception attributes
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1123 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
fccee54533
remove softreference import
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1121 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
c3ead8b084
instructions now collectionified
...
Use listIterator to manipulate bytecode
Some bug fixes
More use of TypeSignature, and prevent using of jode.type.Type
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1097 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
2f04c0e0cb
obfuscator scripting implemented
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1090 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
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
fc38ca590f
global/local side effects startet
...
codetransformers canonicalized
CodeAnalyzer is now created by constructor
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1016 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
f2213c4994
make use of collection classes
...
get bundle from Main
codeAnalyzer no long soft ref (shouldn't take much space)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@986 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
c6010dfefe
--debug=locals debugs the local optimizer now
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@811 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
38c20744e8
cache name, type
...
call bundle.getReferenceAlias
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@717 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
7d06267c62
bytecode handles code attribute
...
write removed
doTransfomation renames method
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@647 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
7bb05ed501
Types moved to jode.type
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@612 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
4d71621216
getIdentifier(ref)
...
putClassName
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@585 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
541f1446ff
add getBytecode() (for Interpreter)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@552 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
c0c72ebfec
Use a CodeAnalyzer
...
use SoftReference under jdk1.2
clean up unused fields
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@499 379699f6-c40d-0410-875b-85095c16579e
25 years ago
jochen
5cb3c63388
Use BytecodeInfo, much much much simpler now :-)
...
Do some code transformations
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@469 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
8a4b992d2a
have to check known sub classes when determining conflict free hood
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@338 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4822e259cf
bug fixes (wide opcodes)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@333 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
0e8829443f
preserveRule
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@322 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
32cb2027e5
bug fixes
...
readTable
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@288 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
3a71d9649d
*** empty log message ***
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@252 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
a38890be6a
Initial revision
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@246 379699f6-c40d-0410-875b-85095c16579e
26 years ago