GraxCode / threadtear

Multifunctional java deobfuscation tool suite
GNU General Public License v3.0
889 stars 121 forks source link

Overwritten Map key #18

Closed ViRb3 closed 4 years ago

ViRb3 commented 4 years ago

Occurs in: https://github.com/GraxCode/threadtear/blob/cef80676595650150e20a25acce1395f484a14ed/src/me/nov/threadtear/util/format/OpFormat.java#L15-L24

Example:

map.put(ICONST_0, "ICONST_0");
...
map.put(H_PUTFIELD, "H_PUTFIELD");

Yes, totally different opcodes, but they all have an int value of 3, so the last assignment overwrites the previous ones.