c760c71c3f
Make frame execute return instruction context. Had to change how wide works some. I dont know if its right. Also pop2 was totally messed up.
Adam2016-04-03 13:03:45 -04:00
e9ee78a48d
Method context was actually important because its copied between frames
Adam2016-04-03 12:40:01 -04:00
7eb1c0d32a
Revert "Remove method context which is unnecessary now theres no more graph analysis"
Adam2016-04-03 12:38:31 -04:00
d78a83c50b
Injection works, I don't think I need to change this descriptor comparison since the client versions are the same
Adam2016-03-31 12:50:38 -04:00
a163bc4c46
Add class mapper and use it in annotation mapper, which seems to work more reliably
Adam2016-03-30 19:43:47 -04:00
0697084b0d
This is a bug with osrs's obfuscator
Adam2016-03-30 16:23:15 -04:00
7b47c05278
Manually add two exports not able to be copied over (I think due to code change?)
Adam2016-03-30 16:22:03 -04:00
cc87bb7fc7
This is a fernflower bug
Adam2016-03-30 16:21:43 -04:00
b3efaec8e6
Try and fix some of the smaller multiplication problems. I dont know if this is right. Seems to break when multiplying long * a casted int like field3228
Adam2016-03-29 20:53:43 -04:00
a2352bdc19
Order guesses based on cardinality
Adam2016-03-28 19:19:08 -04:00
fbb41000b8
ArrayLoad also isnt part of expressions
Adam2016-03-28 18:41:28 -04:00
8d022d216b
Map invokespecial on objects that are under java/io
Adam2016-03-27 19:38:15 -04:00
d58116b4ea
Map java/lang/reflect/Field and Method
Adam2016-03-27 19:16:25 -04:00
afcb4a1c36
Fix annotation mapper to map annotations on methods. Also fix lookup by constant classname. Theres more fields that i thought that aren't mapped, 4
Adam2016-03-27 18:43:41 -04:00
d93317f662
Don't stop frames that can't step into static functions. It can happen if the same function steps into a static function multiple places which then steps into another static function at one place. Even though its been stepped into before it shouldn't stop execution of the top level function.
Adam2016-03-27 18:17:40 -04:00
91289273fa
Little cleanup
Adam2016-03-27 18:11:45 -04:00
0462c4a1d1
Map both possibilities on ambiguous if statements anyway
Adam2016-03-27 18:11:00 -04:00
a08def34bc
This should have been copied over but it wasn't?
Adam2016-03-27 15:44:34 -04:00
f36a365659
Make msm work like smsm because classes aren't guaranteed to line up
Adam2016-03-27 13:54:17 -04:00
3444655f09
Rewrite constant parameter. A bit faster now. Can't tell if its right. Seems to compile.
Adam2016-03-25 21:52:23 -04:00
5ef0be50bf
Make unused parameters use VirtualMethods. This removes more parameters than before, I dont know if it is right.
Adam2016-03-25 15:04:28 -04:00
0ed6456c60
Move virtual method lookup its own class as many things use it
Adam2016-03-25 14:21:27 -04:00
bcbc87994a
Unused params test, this is very slow.
Adam2016-03-24 18:38:58 -04:00
2fdf2b47bc
ise tests/cleanup. needs more optimizations.
Adam2016-03-24 10:13:18 -04:00
3f91d272d6
Couple more simple tests
Adam2016-03-24 10:12:37 -04:00
e8a5eba8f4
Rename unique test
Adam2016-03-21 11:17:06 -04:00
9830f4a339
Move asm specific stuff to net.runelite.asm
Adam2016-03-21 10:11:36 -04:00
488c11abfa
Use internal classnames when injecting interfaces
Adam2016-03-20 17:30:59 -04:00
9b1f5720b0
Only re-generate pool info for get/put/invoke instructions if something changes, otherwise it uses the pool info of the resolved field which isn't always the same
Adam2016-03-20 17:30:31 -04:00
c79a344008
Make specific most things, so minimize jasmin diff so I can see the result of the injection easier..
Adam2016-03-20 17:29:45 -04:00
a97e7c283e
Realized I can also use mapping importer to check mappings. This finds some discrepancies with the update RL mappings, but on manual inspection the RL mappings seem wrong.
Adam2016-03-19 23:31:40 -04:00
3cc6255596
Rebuild pool when writing instrutions to fix previous corruption with the newarray stuff. Run classes through ow2 asm to generate stack maps (and maxs for fun) since I don't want to generate my own stackmaps.
Adam2016-03-19 12:45:56 -04:00
3d1ae24d73
Well this seems to work a little better. This is totally made up.
Adam2016-03-18 23:09:34 -04:00
5a0c8ee21d
arraystore: map values field
Adam2016-03-18 20:41:52 -04:00