jochen
e52d921afc
simplified Interpreter even more
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1115 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
2b972a10ae
added getClass()
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1114 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ed15fe5b9a
commented this interface
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1113 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f504348712
Interpreter reworked and simplified
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1112 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
b15a674928
New type handling (again, there were some problems in previous code)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1111 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
9d59b9ced1
a finally block is handled like a no return block in mapStackToLocal
...
This is because we know, that finally block will make the old stack again,
but we don't check it because if the jsr analysis didn't succeed, it is
better to ignore this error.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1110 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
97bf664ac8
Adjust exception range when appending instructions.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1109 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ad5a9f0194
fixed a bug in SynchronizedBlock.
...
better handling of subroutine and exitblock
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1108 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8e6f442ee5
isOfType should return true on (class, interface)
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1107 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
e598216b97
removed debugging output
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1106 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f483a1d87e
obfuscator script for the RemovePopExample.j class
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1105 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
a3c6698ccc
Example for the remove pop analyzer
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1104 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
4d643e9cbf
simple program to count how many opcodes a package has and how much
...
heap jode needs to represent them
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1103 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
02522b5cef
instructions collectionified
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1102 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
67e5bf4656
finally blocks reworked.
...
allow jsr to occur outside of try block.
handle finally blocks, whose subroutine can't be merged
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1101 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
7c1859a4df
remove predecessor of dest in removeJumps
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1100 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
b462a21ed6
bug fix for exceptionLocal == null case
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1099 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
c2ec44a43b
instructions collectionified
...
Make more use of TypeSignature, type handling in CodeVerifier changed
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1098 379699f6-c40d-0410-875b-85095c16579e
26 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
26 years ago
jochen
dcd5686bc2
added UnifyHash
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1096 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
996fc49dbd
collection interface for instructions.
...
made instructions smaller
canonicalized switch opcodes
use UnifyHash
More methods for TypeSignature
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1095 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ddbf2c969a
fixed a bug for old swing package
...
much more configurable java files
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1094 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
22ca8fd79d
fixed a stupid bug
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1093 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
cb159304d8
added the dasm_to_java.perl script.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1092 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6a30f5c91d
a small comment improvement
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1091 379699f6-c40d-0410-875b-85095c16579e
26 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
26 years ago
jochen
f7be2d00d5
make dependencies more relative
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1089 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
d524b1f2a8
Using the autoconfigured @COLLECTIONS@ imports.
...
loadInfoReflection: also handle constructors
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1088 379699f6-c40d-0410-875b-85095c16579e
26 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
26 years ago
jochen
48d5c63aec
open class file as binary
...
handle read to return early
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1086 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
dd3b440b9b
move chmod 755 to AC_OUTPUT
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1085 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
d7311d1091
remove autoconf part
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1084 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
48fb8a75b3
ConstructorOperator removed, InvokeOperator handles it all.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1083 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
e4337a16a7
ConstructorOperator removed, InvokeOperator handles it all.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1082 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
1a153a2529
print anonymous class name
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1081 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
9a042f80c8
ConstructorOperator removed, InvokeOperator handles it all.
...
insertStructuredBlock must be called _after_ analyzation.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1080 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ea7bac2872
Startet to write something that may make sense.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1079 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ec599fb69b
New perl script to build dependencies out of java class files.
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1078 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
12ca9d7b09
fixed some small things
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1077 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
6a189d2a66
added javacWithDeps, to calculate dependencies
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1076 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
d2eaf84869
updated, so that emacs can compile in build directory
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1075 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
5b3fb0a36b
fixed some AWT10 things
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1074 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
ba4e13803b
use appendBlock instead of sequentialT1
...
clean ups and fixes for in/out analysis
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1073 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
d4b15f7b44
use member functions to access Instruction fields
...
cleaned up imports
use appendBlock instead of sequentialT1
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1072 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
8d4691f8b0
mergeKill added (which doesn't combine the locals)
...
set unused entries in backing array to null
remove fixed (remove local using same slot, even if it differs)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1071 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f4d9aff1da
clear removed entries in backing array
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1070 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
00edbfd0df
fillInGenSet now takes Collection instead Set as parameter
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1069 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
0f38b5d122
use member functions to access Instruction fields
...
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1068 379699f6-c40d-0410-875b-85095c16579e
26 years ago
jochen
f301603e87
use member functions to access Instruction fields
...
cleaned up imports
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@1067 379699f6-c40d-0410-875b-85095c16579e
26 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
26 years ago