hoenicke
a12e86ea8f
Don't check for a maximum version anymore. Sun changes it with every
...
release without changing the bytecode format.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1364 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
111d5046ea
* jode/obfuscator/ClassIdentifier.java.in (transformInnerClasses):
...
Bug fix: Added missing checks for STRIP_UNREACH.
* jode/obfuscator/MethodIdentifier.java.in (doTransformation):
Don't run analyzer on unreachable methods. Previously the
ConstantAnalyzer assumed that the instructions are not reachable
and removed them all leading to illegal bytecode.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1361 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
a0caad2c2c
* jode/flow/CreateAssignExpression.java (createAssignOp):
...
Bug fix: Check whether store is already a op-assign and break out.
* jode/expr/StoreInstruction.java (isOpAssign): New function to
check whether this is an op-assign.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1357 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
910456c0b0
Fixes by anonymous for SerializePreserver:
...
* jode/obfuscator/ClassIdentifier.java.in (isSerializable):
The Serializable interface lives in java.io not in java.lang.
* jode/obfuscator/modules/SerializePreserver.java.in:
This class needs to implement OptionHandler.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1356 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
686154fca2
* jode/obfuscator/modules/MultiIdentifierMatcher.java.in
...
(getNextComponent): Fixed a (noncritical) bug, submitted
by Sergio (koker at users.sf.net).
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1355 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
068e85a76d
Fixed major/minor naming. Allow minor to be bigger than 45 for newer java
...
versions.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1354 379699f6-c40d-0410-875b-85095c16579e
23 years ago
hoenicke
ea5e834abe
* configure.in: Set version number to 1.1.1.
...
* jode/obfuscator/Identifier.java.in (writeTable): New boolean
parameter specifying if reversed or not.
* jode/obfuscator/ClassBundle.java.in: Renamed the table file
variables, added outTableFile.
(setOption): Support outtable, intable and outrevtable.
Support verbose.
(writeTable): Writes table unreversed.
(writeRevTable): New method, Writes table reversed.
* jode/obfuscator/Main.java.in: (rand): New variable.
* jode/obfuscator/PackageIdentifier.java.in: Use Main.rand instead
of definining its own random.
* jode/obfuscator/ClassIdentifier.java.in: likewise.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1344 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
03497ae1a2
Fixed Java-1.1 and finally/synchronized blocks.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1343 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
c79f6122f5
* configure.in: Changed bash syntax to more compatible (but
...
slower) syntax. Fixes bug #448909 .
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1342 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
805ab8613d
* jode/expr/InvokeOperator.java.in (dumpExpression): Fixed the
...
check for null outerExpr.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1341 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
15e7ec9dc0
More debugging outputs.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1339 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
a018796a04
* jode/obfuscator/Main.java.in (stripping): Initialize to 0 which
...
means strip nothing. This is necessary because there is no way
to turn off stripping.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1330 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
aca789beed
* jode/flow/CatchBlock.java.in (combineLocal): Added more checks
...
if LocalStoreOperator is of the right form.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1326 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
a65fd35ceb
* jode/obfuscator/modules/SimpleAnalyzer.java.in:
...
Ported fix from ConstantAnalyzer:
(canonizeReference): for interfaces call canonizeIfaceReference.
(canonizeIfaceReference): new method.
* jode/obfuscator/modules/ConstantAnalyzer.java.in:
made sub class of SimpleAnalyzer.
(canonizeReference): Removed, since its inherited.
(canonizeIfaceReference): dito.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1325 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
fa005e09ee
* jode/bytecode/BytecodeInfo.java.in (calculateMaxStack): Handle
...
special case for empty method. Previous code would just crash.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1323 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
dd5112302f
Added more links.
...
Fixed download address.
Updated FAQ.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1322 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
fbcfb06d90
* jode/jvm/SyntheticAnalyzer.java.in:
...
(checkGetClass): Ignore nop opcodes.
(checkStaticAccess): Likewise.
(checkAccess): Likewise.
(checkConstructorAccess): Likewise.
* jode/flow/TransformConstructors.java (Constructor): Ignore
OuterValues for static constructor.
* jode/expr/NewArrayOperator.java (dumpExpression): Added
a missing breakOp.
* jode/expr/CompareToIntOperator.java (dumpExpression): Likewise.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1321 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
5a4dbe0b02
Fixed a bug in the obfuscator.
...
Added include files to DIST in Makefile.am
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1320 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
af086625d8
More documentation updates.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1319 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
98bf83e95d
Fixed link to sourceforge logo.
...
Fixed bug in html page generation.
Updated download page.
Updated change date.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1318 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
7fca8d09e9
Remove .html files, added a-logo.gif
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1316 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
0246d1e5c3
lots of changes, see ChangeLog
...
Set version to jode-1.1.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1315 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
23adc4ce78
* jode/jvm/CodeVerifier.java.in (doVerify): Don't check for
...
uninitialized objects in local or stack slots on backwards jump or
exception blocks. Sun's jdk also doesn't check it, and I never
understood why it is necessary. But see JVM Spec 4.9.4.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1314 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
736e9595d2
* jode/obfuscator/modules/ConstantAnalyzer.java.in (handleOpcode):
...
Added divide by zero checks for opc_irem and opc_lrem.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1313 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
d093988656
Reworked usage message.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1312 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
95b75fa705
Bug fixes from Joe Bronkema.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1311 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
b355dc3395
* acinclude.m4 (JODE_CHECK_CLASS): Changed "test -e" to "-f" since
...
-e is not supported on all architectures (Solaris) and -f is more
correct anyway.
Reported by Erik Modin <Erik.Moden@emw.ericsson.se>.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1309 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
5e972183a9
* jode/swingui/Main.java.in (AreaWriter): Convert all kinds of
...
line breaks (CR+LF, CR, LF) to a LF character, which a JTextArea
understands.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1308 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
c5fae0c7ee
Some more bug fixes, see changelog.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1307 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
f1cee9fca4
InvokeOperator (method interpreter): Fixed call to ClassInfo.forName.
...
TransformExceptionHandlers: Fixed a bug regarding call to removeBadJSR.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1306 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
dbacfa1c7e
updated list
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1300 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
1f87c3817c
Changed version to 1.2
...
Add 2001 to copyright years.
Better JSR/synchronized handling (see Changelog)
Better .class field handling
Fixed memory usage of UnifyHash.
Fixed moving of field initializers.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1298 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
4aebd22542
Fixed previous patch.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1295 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
344faa9265
CodeVerifier, ArrayType: merge array types whose elemTypes are incompatible
...
to tObject.
TransformExceptionHandlers: javac-1.3 synchronized block preliminary support.
Expresion: Show runtime exceptions.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1294 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
d0a70c3626
SyntheticAnalyzer: Allow the special unifyParam to be the last parameter.
...
Expression: Call setType in updateParentTypes.
InvokeOperator: print ThisOperator more often.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1293 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
cb12d3ead2
Pascal style.
...
Better gnu style.
Some bug fixes (see Changelog).
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1292 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
816bca302d
Distinguish method scoped classes from inner classes in a better way.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1287 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
0785a7cd21
Support decompiling complete Zip files
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1286 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
4888c5f98c
Set fields to not editable.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1285 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
3506e82033
Ported a fix (this class could throw an ArrayIndexOutOfBoundsException due, to
...
missing checks if invoke has parameters) back to the 1.1 branch.
Bug reported by Rolf Howarth <rolf@squarebox.co.uk>.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1284 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
fb5d918702
Another fix: The fall through for opc_dadd and co. didn't work
...
Fixed the order of pops for invoke*
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1283 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
7eb1d3f8b5
Forgot to calc stacksize for exception handlers.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1282 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
7548f53a75
Fixed another stupid bug.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1281 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
ef0a0f214b
Reserve locals for method arguments. Important if they are not accessed
...
afterwards.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1280 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
0250b87fe1
Removed some old local variables, that were never accessed.
...
Fixed an ArrayIndexOutOfBoundsException: addIfaces assumed that ifaceNames
and info.getInterfaces() were identical, but unfortunately info.getInterfaces()
could have been changed by an earlier transformInterfaces().
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1276 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
f26d8a21e6
Calculate number of stack elements and local variables in prepareWriting.
...
Removed setting of number of local variables from LocalOptimizer.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1275 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
a56a7f0e98
Fixed a bug in configure.in, reported by zzzeek
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1270 379699f6-c40d-0410-875b-85095c16579e
24 years ago
hoenicke
075db18fcf
Accept class version 46.0 (jdk1.2)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1261 379699f6-c40d-0410-875b-85095c16579e
25 years ago
hoenicke
356a8c6a61
New implementation to get the alias of a class getClassAlias().
...
PackageIdentifer.findAlias() removed since it was broken.
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1259 379699f6-c40d-0410-875b-85095c16579e
25 years ago
hoenicke
f0392e9371
Don't create doc/download.html anymore
...
git-svn-id: https://svn.code.sf.net/p/jode/code/branches/branch_1_1@1258 379699f6-c40d-0410-875b-85095c16579e
25 years ago