Graham
113820a9a2
Add ExtendedRemapper type with support for moving fields/methods
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
7e422447ef
Convert hasCode() to a property
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
3a29f61d7c
Remove existing FrameNode manipulation support
...
This code is no longer used. Remove it to avoid bit rot.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Major
097b334646
Propagate null frame types when remapping
...
Signed-off-by: Major <major@emulate.rs>
4 years ago
Graham
077fda4bab
Remove blank line for consistency
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8ca3f428d2
Remove field.value null check
...
The mapValue() method already accepts and returns nulls.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
00f0279e15
Use safe call operator
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Major
5e32296905
Fix NPE for FrameNodes that aren't NEW/FULL
...
All of the other types have a value of null for their list of
locals/stack elements.
Signed-off-by: Major <major@emulate.rs>
4 years ago
Graham
6464f8dc77
Remap ClassNodes directly
...
This is necessary for a future commit that will track the original
indexes of AbstractInsnNodes throughout the deobfuscator, with the aim
of using this information to track local variables in the decompiled
code.
I suspect this will also improve performance, as we don't need to
re-allocate all of the tree objects.
4 years ago