f81edec171Don't have findMethodFromClass add methods twice, happens if finding first from a parent class
Adam
2016-01-11 12:18:44 -05:00
44372c8696Another method
Adam
2016-01-11 08:44:49 -05:00
f418d95b84Add another method
Adam
2016-01-10 19:00:37 -05:00
6dc905a347thats weird, map static test passes on vmethod3054 vs vmethod2973
Adam
2016-01-08 16:25:29 -05:00
02a4041306Need to split aeq from ieq
Adam
2016-01-03 20:33:57 -05:00
eef43dd913Actually this
Adam
2016-01-03 19:58:46 -05:00
261e195ea5Add isSame(). I guess I changed the methods being tested too.
Adam
2016-01-03 18:38:37 -05:00
d029c128e3Allow 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.
Adam
2016-01-01 19:01:40 -05:00
6bb02614caSkip 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.
Adam
2015-12-31 18:49:48 -05:00
c5941c5f6aFix tests
Adam
2015-12-31 13:20:46 -05:00
a495c5c905Solved methods 860, solved fields 856, unsolved methods 253, unsolved fields 1439 - I guess because i changed how graph building works
Adam
2015-12-13 17:57:25 -05:00
5e8681adfdparallel mapping executor
Adam
2015-12-13 16:14:28 -05:00
5ca2e373f5Test seems promising
Adam
2015-12-13 12:39:48 -05:00
69600fbf4eSplit up if/if0s for mapping stuff, maybe
Adam
2015-12-13 00:38:14 -05:00
a0a0d1e645Remove old frame stuff
Adam
2015-12-12 19:33:58 -05:00
3ce0b0a7b9Add graphbuilder to statically build graph
Adam
2015-12-12 15:19:55 -05:00
540c1ac5afSome fixes.
Adam
2015-12-12 12:30:12 -05:00
24aecb8828Seeing a weird discrepency with edgecount here
Adam
2015-12-06 18:35:03 -05:00
12ca546701Start 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.
Adam
2015-12-05 23:43:16 -05:00
b9b2ef70f2more or less promising
Adam
2015-12-04 23:30:45 -05:00
5cbd36a25cSolved methods 940, solved fields 1084, unsolved methods 173, unsolved fields 1211. also included jars i am using
Adam
2015-11-29 20:49:03 -05:00
a2581e62c1total crap
Adam
2015-11-28 23:27:34 -05:00
1f778cfd67Add export test to check all exports are met from RL
Adam
2015-11-26 22:17:49 -06:00
0c915ee90eExport one of these for tests
Adam
2015-11-26 22:16:58 -06:00
b2e91c72d0A lot of fields still can't be mapped. I am not able to map all fields exported from RL at all.
Adam
2015-11-26 21:58:31 -06:00
4af665e58f576 methods
Adam
2015-11-25 18:55:45 -06:00
f540d76b47Idr this. Some fields have different accessors (at least public) between versions and is messing with this.
Adam
2015-11-24 22:20:12 -06:00
ab86ae3a02Strip rl package name
Adam
2015-11-22 21:03:36 -06:00
ae98acf18aAdd Exports and Implements from runeloader. Some fields are exported twice with two different names and I don't know what to do there
Adam
2015-11-22 20:49:47 -06:00
0d7b1ff89aAdd interface injector
Adam
2015-11-22 19:57:11 -06:00
e2b0c90e7aCheck mappings works now, add array load/store instruction types. Beginning of mapping importer.
Adam
2015-11-22 19:45:20 -06:00
ef8c8f6fb8Add export, import, and implements annotation
Adam
2015-11-22 19:41:34 -06:00
3d2e3d6b60Add retention/targets to annotations
Adam
2015-11-22 18:54:34 -06:00
29f0e609e0Update one getter value from the array fix
Adam
2015-11-22 17:45:06 -06:00
96468b1547Fix test, but I don't think this fixes the underlying problem
Adam
2015-11-22 16:19:07 -06:00
adcfdc471aAdded failing negative mul test
Adam
2015-11-22 15:07:15 -06:00
30ed0b4309Runeloader test
Adam
2015-11-22 11:43:49 -06:00
304b78dfd7Move rl injection to test
Adam
2015-11-22 09:39:19 -06:00
7d3acc0517Add obfuscated name/getter annotations
Adam
2015-11-22 09:30:28 -06:00
2dd80f9b59Gamepack 15 11/22/2015
Adam
2015-11-22 09:26:17 -06:00
98a24c954bImport runeloader inject system
Adam
2015-11-22 09:04:10 -06:00
484d153be3This should bet net.runelite.rs.api
Adam
2015-11-20 22:31:58 -05:00
0c6ba8a2b6Import RuneLoader API
Adam
2015-11-20 22:29:10 -05:00
792446c8fbSplit intValue/longValue.
Adam
2015-11-20 21:21:43 -05:00
26b3aa46a5Store obfuscated getter in annotations
Adam
2015-11-20 19:30:15 -05:00
bd63eeb684Annotate original classes/fields/methods with their obfuscated name
Adam
2015-11-20 16:26:04 -05:00
dac030002aMore assertions
Adam
2015-11-20 16:02:44 -05:00
4c0d8de65bString annotation reading/writing
Adam
2015-11-20 15:52:22 -05:00
859f2d1ddeMerger works? but stuff is unordered
Adam
2015-11-20 14:50:47 -05:00
933648c11dSave mappings/enc on disk
Adam
2015-11-20 13:38:08 -05:00
bda6242dcbSave before I rip this up
Adam
2015-11-19 12:28:01 -05:00
87d4bc1ee5Now the frames contain other functions
Adam
2015-11-17 20:08:42 -05:00
139b31f2acseemed promising. doesn't really help.
Adam
2015-11-16 19:48:51 -05:00
ceafe5acecExecution test is inf looping with new frame/exec stuff, dont know why.
Adam
2015-11-15 21:35:35 -05:00
5e4458ae6eInstead 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.
Adam
2015-11-15 20:46:23 -05:00
c71c67fae3The graphs of these frames are always the same
Adam
2015-11-15 19:49:42 -05:00
52ca2cb24ewhitespace
Adam
2015-11-15 18:39:59 -05:00
83a51ea037Remove 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.
Adam
2015-11-15 18:39:05 -05:00
9a68e863bdBegin per-method executions in rename to use less memory. Runs still with 336.
Adam
2015-11-15 13:55:25 -05:00
44767a9735Add flag for graph building, which uses too much memory.
Adam
2015-11-15 11:59:08 -05:00
7b94552825Initialize 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.
Adam
2015-11-15 00:00:27 -05:00
7e5b99fe4fThis clone stuff is causing me headaches.
Adam
2015-11-14 23:14:41 -05:00
66084e1398Lookup methods and return those in getMethods(). Lookup stuff in execution next to the classgraph building.
Adam
2015-11-14 22:07:44 -05:00
337e98fb95Include prev invokes for deciding if weve jumped before, fixes the graph jump test
Adam
2015-11-14 20:33:38 -05:00
a867b7af9dIndex 7 appears to be models. Am able to view them in rsmv.
Adam
2015-11-13 21:25:29 -05:00
10a613a601NPC dumping. Weird tool leprechaun is id 0? This might be wrong.
Adam
2015-11-13 18:52:51 -05:00
0ae993e8faItem def dumper
Adam
2015-11-13 18:23:17 -05:00
e30b69d190More cleanup. Also dump more than one image if more than one exists.
Adam
2015-11-13 16:55:28 -05:00
abb7d699b7Little bit of rewriting
Adam
2015-11-12 20:01:33 -05:00
1a8e11b7f9Test exports png files ok, need to clean this up as it is mostly ripped from os cache suite
Adam
2015-11-12 19:01:48 -05:00
a312edd581Beginning of work on sprite loading/exporting
Adam
2015-11-12 18:50:38 -05:00
3c5fcc018fAdd basic failing graph test
Adam
2015-11-11 20:22:46 -05:00
be1b8f1e98various 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.
Adam
2015-11-11 14:49:12 -05:00
4ae0c954cdAdd integrity checks to methodinliner
Adam
2015-11-11 10:47:28 -05:00
be1d5ed010Instruction clone wasnt creating new jump lists...
Adam
2015-11-10 20:39:17 -05:00
782fa9f70aswitch instructions can jump multiple times to the same place
Adam
2015-11-10 10:27:05 -05:00
3edf7e2f4cTrying 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.
Adam
2015-11-09 21:18:21 -05:00
60d4cd94fdThis does 326 methods.
Adam
2015-11-09 19:58:15 -05:00
e1ce955f6edoesn't work. graph stuff doesnt like ids of 0. and i need to reuse ids sometimes for some instructions, oops.
Adam
2015-11-08 21:02:36 -05:00
6ce5564e9fMove stuff to functions
Adam
2015-11-07 22:40:51 -05:00
cb639749e1Little cleanup of old stuff I was trying
Adam
2015-11-07 22:27:15 -05:00
25cb9b5f8bThis looks promising
Adam
2015-11-07 21:55:03 -05:00