Replace TypedRemapper with SimpleRemapper #89

Closed
opened 4 years ago by gpe · 1 comments
gpe commented 4 years ago
Owner

It turns out you can actually specify the owner/descriptor in the map, which I didn't realise (is this a new feature?):

https://asm.ow2.io/javadoc/org/objectweb/asm/commons/SimpleRemapper.html#SimpleRemapper-java.util.Map-

We'll need to keep TypedRemapper.create(), but the instance methods themselves can be replaced with SimpleRemapper.

It turns out you can actually specify the owner/descriptor in the map, which I didn't realise (is this a new feature?): https://asm.ow2.io/javadoc/org/objectweb/asm/commons/SimpleRemapper.html#SimpleRemapper-java.util.Map- We'll need to keep TypedRemapper.create(), but the instance methods themselves can be replaced with SimpleRemapper.
gpe added the
improvement
deobfuscator
labels 4 years ago
Poster
Owner

for field names, the key is the owner and name of the field (in the form <owner>.<name>), and the value is the new field name.

This is no good as the client has fields with the same name and different descriptors. We'll have to continue using TypedRemapper.

> for field names, the key is the owner and name of the field (in the form `<owner>.<name>`), and the value is the new field name. This is no good as the client has fields with the same name and different descriptors. We'll have to continue using TypedRemapper.
gpe closed this issue 4 years ago
Sign in to join this conversation.
Loading…
There is no content yet.