Adam
eef43dd913
Actually this
2016-01-03 19:58:46 -05:00
Adam
261e195ea5
Add isSame(). I guess I changed the methods being tested too.
2016-01-03 18:38:37 -05:00
Adam
d029c128e3
Allow parallel mapping executor to step through static methods if it encounters an invokestatic that doesn't match the other executor. Maybe works. Hitting an ifnull vs if check fail in my test.
2016-01-01 19:01:40 -05:00
Adam
6bb02614ca
Skip ctors and class initializers, and exception frames for now in parallel executor. Found a case of ifeq with one side null vs ifnull, so, need to write some if logic.
2015-12-31 18:49:48 -05:00
Adam
c5941c5f6a
Fix tests
2015-12-31 13:20:46 -05:00
Adam
a495c5c905
Solved methods 860, solved fields 856, unsolved methods 253, unsolved fields 1439 - I guess because i changed how graph building works
2015-12-13 17:57:25 -05:00
Adam
5e8681adfd
parallel mapping executor
2015-12-13 16:14:28 -05:00
Adam
5ca2e373f5
Test seems promising
2015-12-13 12:39:48 -05:00
Adam
69600fbf4e
Split up if/if0s for mapping stuff, maybe
2015-12-13 00:38:14 -05:00
Adam
a0a0d1e645
Remove old frame stuff
2015-12-12 19:33:58 -05:00
Adam
3ce0b0a7b9
Add graphbuilder to statically build graph
2015-12-12 15:19:55 -05:00
Adam
540c1ac5af
Some fixes.
2015-12-12 12:30:12 -05:00
Adam
24aecb8828
Seeing a weird discrepency with edgecount here
2015-12-06 18:35:03 -05:00
Adam
534623316e
Solved methods 942, solved fields 1295, unsolved methods 171, unsolved fields 1000
2015-12-06 17:53:49 -05:00
Adam
034a5d53aa
Solved methods 942, solved fields 1271, unsolved methods 171, unsolved fields 1024
2015-12-06 15:42:03 -05:00
Adam
12ca546701
Start tracking values places if possible. Interesting changes to iinc where vctx now has no stack contextt (as it shouldn't?). Not sure what else that will break.
2015-12-05 23:43:16 -05:00
Adam
9b2b5fdecf
hn
2015-12-05 18:42:16 -05:00
Adam
b9b2ef70f2
more or less promising
2015-12-04 23:30:45 -05:00
Adam
5cbd36a25c
Solved methods 940, solved fields 1084, unsolved methods 173, unsolved fields 1211. also included jars i am using
2015-11-29 20:49:03 -05:00
Adam
a2581e62c1
total crap
2015-11-28 23:27:34 -05:00
Adam
1f778cfd67
Add export test to check all exports are met from RL
2015-11-26 22:17:49 -06:00
Adam
b2e91c72d0
A lot of fields still can't be mapped. I am not able to map all fields
...
exported from RL at all.
Might try and get more specific stuff from fields like:
Other fields used in expressions
Assigning values to fields from LVT (parameters)?
Passed to methods, and at what index
2015-11-26 21:58:31 -06:00
Adam
c55c2f7399
Solved methods 952, solved fields 1028, unsolved methods 106, unsolved fields 1267
2015-11-26 11:07:35 -06:00
Adam
e1d207c637
849
2015-11-25 19:31:03 -06:00
Adam
4af665e58f
576 methods
2015-11-25 18:55:45 -06:00
Adam
f540d76b47
Idr this. Some fields have different accessors (at least public) between versions and is messing with this.
2015-11-24 22:20:12 -06:00
Adam
ab86ae3a02
Strip rl package name
2015-11-22 21:03:36 -06:00
Adam
0d7b1ff89a
Add interface injector
2015-11-22 19:57:11 -06:00
Adam
e2b0c90e7a
Check mappings works now, add array load/store instruction types. Beginning of mapping importer.
2015-11-22 19:45:20 -06:00
Adam
96468b1547
Fix test, but I don't think this fixes the underlying problem
2015-11-22 16:19:07 -06:00
Adam
adcfdc471a
Added failing negative mul test
2015-11-22 15:07:15 -06:00
Adam
30ed0b4309
Runeloader test
2015-11-22 11:43:49 -06:00
Adam
304b78dfd7
Move rl injection to test
2015-11-22 09:39:19 -06:00
Adam
98a24c954b
Import runeloader inject system
2015-11-22 09:04:10 -06:00
Adam
792446c8fb
Split intValue/longValue.
2015-11-20 21:21:43 -05:00
Adam
26b3aa46a5
Store obfuscated getter in annotations
2015-11-20 19:30:15 -05:00
Adam
bd63eeb684
Annotate original classes/fields/methods with their obfuscated name
2015-11-20 16:26:04 -05:00
Adam
dac030002a
More assertions
2015-11-20 16:02:44 -05:00
Adam
4c0d8de65b
String annotation reading/writing
2015-11-20 15:52:22 -05:00
Adam
859f2d1dde
Merger works? but stuff is unordered
2015-11-20 14:50:47 -05:00
Adam
933648c11d
Save mappings/enc on disk
2015-11-20 13:38:08 -05:00
Adam
050fa333fa
hm
2015-11-20 11:54:09 -05:00
Adam
0da5258c17
hm
2015-11-20 11:14:50 -05:00
Adam
919d2d68b3
Split rename unique into renamer and renamer unique
2015-11-20 09:48:45 -05:00
Adam
3db11969c3
Rename classes last so we can do it in 1 pass
2015-11-19 22:19:51 -05:00
Adam
dad328de12
Cleanup rename unique
2015-11-19 21:23:28 -05:00
Adam
9752e5529f
unused
2015-11-19 20:31:56 -05:00
Adam
765b5d7467
Cleanup
2015-11-19 20:31:27 -05:00
Adam
a3a5b148df
Maybe this is good enough I don't know
2015-11-19 20:28:19 -05:00
Adam
d6958e2684
Add hashCode to pool entry
2015-11-19 19:38:29 -05:00
Adam
946016afea
Basic edge type.
2015-11-19 17:08:06 -05:00
Adam
dba7e02e0a
Print. at 489/434.
2015-11-19 16:50:53 -05:00
Adam
804b34d075
hm
2015-11-19 16:32:19 -05:00
Adam
bda6242dcb
Save before I rip this up
2015-11-19 12:28:01 -05:00
Adam
87d4bc1ee5
Now the frames contain other functions
2015-11-17 20:08:42 -05:00
Adam
139b31f2ac
seemed promising. doesn't really help.
2015-11-16 19:48:51 -05:00
Adam
ceafe5acec
Execution test is inf looping with new frame/exec stuff, dont know why.
2015-11-15 21:35:35 -05:00
Adam
5e4458ae6e
Instead execute static functions inline as if they arent there to build the graph. Involved changing the executor to execute new frames as they appear. Can match my simple test method.
2015-11-15 20:46:23 -05:00
Adam
c71c67fae3
The graphs of these frames are always the same
2015-11-15 19:49:42 -05:00
Adam
52ca2cb24e
whitespace
2015-11-15 18:39:59 -05:00
Adam
83a51ea037
Remove block graph and jump inliner which wasn't used. The loading time for the block graph (because of the way exceptions were looked up) was too slow.
2015-11-15 18:39:05 -05:00
Adam
9a68e863bd
Begin per-method executions in rename to use less memory. Runs still with 336.
2015-11-15 13:55:25 -05:00
Adam
44767a9735
Add flag for graph building, which uses too much memory.
2015-11-15 11:59:08 -05:00
Adam
7b94552825
Initialize methods after loading classgroup too, I dont know if other things are broken elsewhere. Making the method graphs work makes many more frames. Might be worth processing methods one at a time and then doing the comparisons. And maybe elsewhere that doesn't need the graph will not include all frames, or something.
2015-11-15 00:00:27 -05:00
Adam
7e5b99fe4f
This clone stuff is causing me headaches.
2015-11-14 23:14:41 -05:00
Adam
66084e1398
Lookup methods and return those in getMethods(). Lookup stuff in execution next to the classgraph building.
2015-11-14 22:07:44 -05:00
Adam
337e98fb95
Include prev invokes for deciding if weve jumped before, fixes the graph jump test
2015-11-14 20:33:38 -05:00
Adam
a867b7af9d
Index 7 appears to be models. Am able to view them in rsmv.
2015-11-13 21:25:29 -05:00
Adam
10a613a601
NPC dumping. Weird tool leprechaun is id 0? This might be wrong.
2015-11-13 18:52:51 -05:00
Adam
0bce4dcbde
.
2015-11-13 18:23:31 -05:00
Adam
0ae993e8fa
Item def dumper
2015-11-13 18:23:17 -05:00
Adam
e30b69d190
More cleanup. Also dump more than one image if more than one exists.
2015-11-13 16:55:28 -05:00
Adam
abb7d699b7
Little bit of rewriting
2015-11-12 20:01:33 -05:00
Adam
1a8e11b7f9
Test exports png files ok, need to clean this up as it is mostly ripped from os cache suite
2015-11-12 19:01:48 -05:00
Adam
a312edd581
Beginning of work on sprite loading/exporting
2015-11-12 18:50:38 -05:00
Adam
3c5fcc018f
Add basic failing graph test
2015-11-11 20:22:46 -05:00
Adam
be1b8f1e98
various fixes to graph building. I think there is a problem with how the execution runs, where it is not exploring all paths, because I have v13 class133.method2817 -> v14 class133 method2828 and there is no edge on the rhs for method4060->method4081. I think it is from two branches jumping to a place which jumps to the same place after, with invoke instructions on both sides.
2015-11-11 14:49:12 -05:00
Adam
4ae0c954cd
Add integrity checks to methodinliner
2015-11-11 10:47:28 -05:00
Adam
be1d5ed010
Instruction clone wasnt creating new jump lists...
2015-11-10 20:39:17 -05:00
Adam
782fa9f70a
switch instructions can jump multiple times to the same place
2015-11-10 10:27:05 -05:00
Adam
3edf7e2f4c
Trying to run the better inliner so the graph matches up. Maybe instead figure out a way to passively ignored the static func calls. Regardless this assert fails due to a corrupted jump graph.
2015-11-09 21:18:21 -05:00
Adam
60d4cd94fd
This does 326 methods.
2015-11-09 19:58:15 -05:00
Adam
e1ce955f6e
doesn't work. graph stuff doesnt like ids of 0. and i need to reuse ids sometimes for some instructions, oops.
2015-11-08 21:02:36 -05:00
Adam
6ce5564e9f
Move stuff to functions
2015-11-07 22:40:51 -05:00
Adam
cb639749e1
Little cleanup of old stuff I was trying
2015-11-07 22:27:15 -05:00
Adam
25cb9b5f8b
This looks promising
2015-11-07 21:55:03 -05:00
Adam
ae82aad250
Make method inliner copy instead of move ins. I don't think the way it inlined exceptions before was correct. I had to make it not inline funcs with exception handlers
2015-11-06 17:49:24 -05:00
Adam
84fa11c8c8
I think i need exprs
2015-11-06 10:33:52 -05:00
Adam
8df59fb261
Fix test, fail in dup2_x1
2015-11-02 17:56:25 -05:00
Adam
483bdbc165
Add failing test, I think this should be passing
2015-11-01 19:07:13 -05:00
Adam
5e652a8799
Tests pass again. I see some cases of longs math not simplifying tho
2015-11-01 18:26:28 -05:00
Adam
695f7de686
Various Long work. this is making the int tests fail though
2015-11-01 17:47:49 -05:00
Adam
113363cd67
more work
2015-10-30 22:36:29 -04:00
Adam
8e68963f65
long work
2015-10-30 20:28:10 -04:00
Adam
1f716bf10d
Small fix found by test, not sure if it breaks the larger picture
2015-10-25 20:08:57 -04:00
Adam
018a3619a8
Call constructor so executor picks it up
2015-10-25 19:28:27 -04:00
Adam
85a4587143
Comment cleanup
2015-10-25 19:28:12 -04:00
Adam
9cf9c31f2d
This doesn't pass if this field isn't static
2015-10-25 19:20:17 -04:00
Adam
e81e46c68c
First modarith test
2015-10-25 19:11:25 -04:00
Adam
8e39328eca
Cleanup to prepare for tests
2015-10-25 14:19:48 -04:00