Commit Graph
47 Commits
Author SHA1 Message Date
Joshua "Yoshi" Askharoun ef2de0a2d1 Prevent DIS from producing invalid statements 2025-11-24 02:18:59 -06:00
Yoshi Askharoun 97c6e7d1c2 [WIP] Build source map for scripts 2025-09-27 03:08:25 -05:00
Yoshi Askharoun bbf9a6b87b [WIP] Associate offsets with decompiled code 2025-09-27 02:19:16 -05:00
Yoshi Askharoun 8e84eaafca Keep track of loop variables as scoped locals 2025-09-26 13:26:19 -05:00
Yoshi Askharoun 6bf7589819 Remove unused braek/continue tracking 2025-09-26 13:20:59 -05:00
Yoshi Askharoun 89fd689001 Foreach decompilation 2025-09-26 13:20:12 -05:00
Yoshi Askharoun 3fdd482fad Move blockStack to CFA class 2025-09-25 16:13:23 -05:00
Yoshi Askharoun 8fa63ee996 Remove dead control block code 2025-09-25 15:54:17 -05:00
Yoshi Askharoun 62216f0fad Make if and foreach constructs compatible 2025-09-25 15:52:13 -05:00
Yoshi Askharoun 587dcfa3b5 [WIP] Support for basic foreach loops 2025-09-24 21:52:20 -05:00
Yoshi Askharoun 5d6dd89f30 Support getting type info when writing symbols to symbols 2025-09-24 19:21:12 -05:00
Yoshi Askharoun 2a8aca41c1 Make CFA an instance class 2025-09-24 18:08:14 -05:00
Yoshi Askharoun f9ab6c58c1 Add brute-force dominance computation 2025-09-24 17:46:17 -05:00
Yoshi Askharoun 7a36d81647 Slight cleanup to conditional decompilation 2025-09-24 10:36:24 -05:00
Yoshi Askharoun 7f83b92fcd [WIP] If-elseif-else clause decompilation 2025-09-24 10:34:28 -05:00
Yoshi Askharoun 92886feac7 Bugfix 2025-09-21 21:25:29 -05:00
Yoshi Askharoun 768f14c46f Add type guessing for property and local symbol references 2025-09-21 21:25:28 -05:00
Yoshi Askharoun d6d3aabdcb Correct syntax for nested listen 2025-09-21 21:25:28 -05:00
Yoshi Askharoun 69c543a234 Implement triggers with chained member accesses 2025-09-21 21:25:27 -05:00
Yoshi Askharoun d29a7ab839 Minor fixes to JMP statements 2025-09-21 21:25:27 -05:00
Yoshi Askharoun e689e8d3c9 Declare scoped locals on first assignment 2025-09-21 21:25:27 -05:00
Yoshi Askharoun 88acf9c402 [WIP] More accurate expression simplifier 2025-09-21 21:25:26 -05:00
Yoshi Askharoun 7cc0702c14 Add special handling for known OPR instructions 2025-09-21 21:19:14 -05:00
Yoshi Askharoun 189ae83130 Slightly more intelligent way of detecting expressions that can also be statements 2025-08-04 00:59:23 -05:00
Yoshi Askharoun 32c2b97bf0 Implement some decomp of listeners 2025-08-03 22:06:22 -05:00