jochen
|
541f1446ff
|
add getBytecode() (for Interpreter)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@552 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
610f77160f
|
new preds array instead of hash
handle jsrs
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@551 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
511dee5e74
|
don't merge "this"
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@550 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
40595a91b1
|
merge load/store if they are localload.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@549 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
ecf68a75b4
|
call tMethod instead of new MethodType
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@548 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
d3a45e7935
|
getTypeClass, tMethod (with hashtable), tType(Class)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@547 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
d0e3a0814f
|
println instead of \n, for compatibility with DOS
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@546 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
4ffe97870b
|
call applyPreserveRule only when creating a new class
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@545 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
d70ef1d7d2
|
differ between long and short constants
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@544 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
544e5ff99e
|
Initial revision
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@543 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
c8b176e899
|
Interpret method with constant args
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@542 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
42dfa8092d
|
clinit is always reachable, even if the class is not yet
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@541 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
26340e1f1f
|
Clear newObj if another value is set.
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@540 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
b40b90e65f
|
toString updated
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@539 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
5c02a91a35
|
Many clean ups, use RuntimeException
note that there is also a jasmin implementation
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@538 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
2b71a4d303
|
*** empty log message ***
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@537 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
5858df67cd
|
check then and else part don't need operands
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@536 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
531893a306
|
return null as stack if it jumps
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@535 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
32ad9660e8
|
interpretation with RuntimeEnvironment
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@534 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
3c13d3c5de
|
multianewarray always has a typesig, never a class
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@533 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
1aa1cddc0b
|
getParamCount removed
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@532 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
4bf084d477
|
handle jsr differently
call instr.removeInstruction
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@531 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
5e76f2b197
|
make param locals ourself, number them continously
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@530 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
5635ffd0b9
|
hashCode
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@529 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
e1875a2439
|
newArrayTypes
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@528 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
8f11aef005
|
preds is no longer a vector, but an array
getDescription
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@527 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
38e5046902
|
handle Short/Long constants in different methods
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@526 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
9d0cf969b0
|
checkTypeSignature
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@525 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
111f217719
|
sanity checks (static constraints in bytecode verification)
prepareWrite doesn't change opcodes back
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@524 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
b00b9012ff
|
getTypeClass
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@523 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
1b9c1c468f
|
getParameterClasses/getReturnClass
MethodType(Class[], Class)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@522 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
6b262c4658
|
typecode is final
getTypeClass
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@521 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
5d809f4d7d
|
removed dummy assign
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@520 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
87098efef5
|
optimized notConstant case, for methods that first get and then put a field
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@519 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
74ac101d57
|
remove compile from co.all
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@518 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
c8785ae837
|
added some copyright message
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@517 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
f7eee72ea3
|
changed copyright comment
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@516 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
5ff87a1e0a
|
reachableIdentifier fixed for classes
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@515 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
8007f5401f
|
fix double/long locals, fix jsr
remove stores without locads
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@514 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
f184ef9b97
|
match method and fields with wildcards
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@513 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
7e0a3c2c23
|
added analyzeIdentifier, which marks an Identifier for later analyze
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@512 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
41abc177e9
|
removed dummy assign (noticed by jode.obfuscator.LocalOptimizer ;-)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@511 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
72244b562e
|
bug fix in analyzeStack
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@510 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
36834d3fcc
|
mapStackToLocal: fix
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@509 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
2e354c7d5b
|
don't replace pop2 with if (stack == stack) /*empty*/, since this can
lead to type errors
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@508 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
303d5b2fe1
|
more verbose error messages
changed copyright comment
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@507 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
346300a6a8
|
set jump.stackMap
changed copyright comment
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@506 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
23e89665b7
|
update jump.stackMap
give return address a type
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@505 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
69db3adb88
|
setType of pushedLocal (mainly for stackSize)
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@504 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |
jochen
|
73985b87a4
|
update jump.stackMap if jump != null
git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@503 379699f6-c40d-0410-875b-85095c16579e
|
26 years ago |