summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/mapping (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [WIP] Mapping rework (#91)Gravatar Gegy2019-01-2433-4255/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move packages * Mapping & entry refactor: first pass * Fix deobf -> obf tree remapping * Resolve various issues * Give all entries the potential for parents and treat inner classes as children * Deobf UI tree elements * Tests pass * Sort mapping output * Fix delta tracking * Index separation and first pass for #97 * Keep track of remapped jar index * Fix child entries not being remapped * Drop non-root entries * Track dropped mappings * Fix enigma mapping ordering * EntryTreeNode interface * Small tweaks * Naive full index remap on rename * Entries can resolve to more than one root entry * Support alternative resolution strategies * Bridge method resolution * Tests pass * Fix mappings being used where there are none * Fix methods with different descriptors being considered unique. closes #89
* Tweak variable name generation (#86)Gravatar Gegy2018-12-153-8/+28
| | | | | | * Don't apply offset to all methods in abstract class * Tweak local variable naming
* rewrite entry resolution logic in TranslationIndex, hopefully fixing bugsGravatar asie2018-12-086-7/+17
|
* add barebones plugin framework, cleanupGravatar asie2018-12-082-0/+2
|
* work around Procyon weirdnessGravatar Adrian Siekierka2018-11-291-1/+7
|
* do not propagate non-argument local variable namesGravatar asie2018-11-275-6/+30
|
* unify local variable/argument numberingGravatar Adrian Siekierka2018-11-042-10/+14
|
* update gson, fix argument indexing, delete empty class mappingsGravatar asie2018-10-273-5/+29
|
* recursively check ClassMapping dirty stateGravatar Thiakil2018-07-201-1/+10
| | | | (cherry picked from commit 4a8ee4303ca1ab82da9499181122bfd7e3214a05)
* ASM Based Class Translator (#1)Gravatar gegy10002018-07-1740-1605/+1804
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial port to ASM * Package updates * Annotation + inner class translation * Fix inner class mapping * More bytecode translation * Signature refactoring * Fix highlighting of mapped names * Fix parameter name offset * Fix anonymous class generation * Fix issues with inner class signature transformation * Fix bridged method detection * Fix compile issues * Resolve all failed tests * Apply deobfuscated name to transformed classes * Fix class signatures not being translated * Fix frame array type translation * Fix frame array type translation * Fix array translation in method calls * Fix method reference and bridge detection * Fix handling of null deobf mappings * Parameter translation in interfaces * Fix enum parameter index offset * Fix parsed local variable indexing * Fix stackoverflow on rebuilding method names * Ignore invalid decompiled variable indices * basic source jar * Output directly to file on source export * Make decompile parallel * fix incorrect super calls * Use previous save state to delete old mapping files * Fix old mappings not properly being removed * Fix old mappings not properly being removed * make isMethodProvider public (cherry picked from commit ebad6a9) * speed up Deobfuscator's getSources by using a single TranslatingTypeloader and caching the ClassLoaderTypeloader * ignore .idea project folders * move SynchronizedTypeLoader to a non-inner * fix signature remap of inners for now * index & resolve method/field references for usages view * Allow reader/writer subclasses to provide the underlying file operations * fix giving obf classes a name not removing them from the panel * buffer the ParsedJar class entry inputstream, allow use with a jarinputstream * make CachingClasspathTypeLoader public * make CachingClasspathTypeLoader public * support enum switches with obfuscated SwitchMaps
* Add support for MTH-ARG in tiny mappings readerGravatar modmuss502018-05-151-0/+4
|
* Fix tiny mapping separator, and print out stacktrace on error.Gravatar modmuss502017-03-311-1/+2
|
* Document a "little bit" the Tiny ReaderGravatar Thog2017-03-241-8/+33
|
* Reformat codeGravatar Thog2017-03-241-2/+1
|
* Implement experimental Tiny mappings loaderGravatar Thog2017-03-243-1/+113
| | | | ~ This will need some tests and more security checks
* Fix var naming and locals var index issuesGravatar Thog2017-03-121-1/+0
|
* Follow Fabric guidelinesGravatar Thog2017-03-0828-3209/+3159
|
* Drop unix case style and implement hashCode when equals is overridedGravatar Thog2017-03-076-173/+163
| | | | Also update Guava to version 21
* Avoid crash of the matcher when the obf name is invalid (set a deob it using ↵Gravatar Thog2016-11-182-3/+30
| | | | the suffix '_auto_deob')
* Fix matcher (blame @asiekierka) + add a dirty hack for inner class inside ↵Gravatar Thog2016-10-311-1/+8
| | | | another inner class
* Fix NPE with converter when computeClassMatchesGravatar Thog2016-10-311-15/+18
|
* BREAKING CHANGE: Implement modifier transformerGravatar Thog2016-10-308-26/+189
| | | | | | | Known Bugs: - Inner class modifier isn't saved to mapping - Inner class modifier isn't applied to bytecode
* Rework setFieldName to only check name in the actual class mapping and ↵Gravatar Thog2016-10-272-7/+28
| | | | mothers classes mappings (Fix #51)
* Rework saving system to improve saving time (Fix #35)Gravatar Thomas Guillemard2016-10-264-15/+100
|
* Starting implementing local variables (#33)Gravatar Thog2016-10-192-0/+123
| | | | | | | | TODO: - Store format (need to be defined) - Implement some translate operations This commit also fix some cases where argument tokens are not selected
* remove none/ prefixGravatar asiekierka2016-10-181-6/+6
|
* Revert "apply similar fix to fields"Gravatar asiekierka2016-10-161-46/+5
| | | | This reverts commit ea3d062ba2426903a37acca26acca187c7e245c3.
* apply similar fix to fieldsGravatar asiekierka2016-10-161-5/+46
|
* make Enigma check subclasses of method implementations for duplicate mapping ↵Gravatar asiekierka2016-10-161-12/+21
| | | | names
* Rewrite translate(ArgumentEntry in) logic (Fix #44)Gravatar Thog2016-10-151-2/+25
|
* Make sure to use UTF-8 in any case for I/O, change "Mark as deobfuscated" ↵Gravatar Thog2016-09-133-35/+1
| | | | key and clean up
* fix method/argument renaming edge cases, add method/argument name rebuilder, ↵Gravatar asiekierka2016-09-123-13/+51
| | | | add Package to Access enum
* Update Procyon to 0.5.33.8Gravatar Thog2016-09-111-2/+1
|
* Fix generic issue with return type signatureGravatar Thog2016-09-111-1/+10
|
* Follow Javassist signature instead of ignoring generic classes (Fix #19)Gravatar Thog2016-09-071-5/+26
|
* Generify ProcyonEntryFactory (Fix #18)Gravatar Thog2016-09-061-3/+4
|
* A little bit of clean upGravatar Thog2016-09-063-4/+2
|
* Crash if we find duplicate mappings of classes (Fix #15)Gravatar Thog2016-08-301-1/+1
|
* Fix generic method not being mapped as token in the editor (Close #16)Gravatar Thog2016-08-301-1/+3
|
* Add file path in MappingParseException messageGravatar Thog2016-08-241-8/+9
|
* Add mapping converter to command line systemGravatar Thog2016-08-242-4/+17
|
* Ignore all files that start with "." and not end with ".mapping" (fix #8)Gravatar Thog2016-08-231-1/+1
|
* Update Procyon (fix UTF-8 issues), disable debug line number in source code ↵Gravatar Thog2016-08-191-0/+5
| | | | and make all decompiler settings configurable with system properties
* add proper propagation of argument namesGravatar asiekierka2016-08-182-0/+27
|
* Fix #4, at least to the extent we currently need itGravatar asiekierka2016-08-171-1/+1
|
* Revert "Removed unused methods"Gravatar asiekierka2016-08-1714-3/+428
| | | | This reverts commit 1742190f784d0d62e7cc869eebafdfe1927e448f.
* Propagate arguments remapping to children classesGravatar Thog2016-08-141-12/+19
| | | | TODO: support support not identical behavior (constructors)
* Make sure to rewrite all the mapping filesGravatar Thog2016-08-141-15/+13
|
* Avoid using the override fix in others case than remapping (fix unit tests ↵Gravatar Thog2016-08-131-2/+1
| | | | failures)
* Remoe JSON directory format support and clean up others thingsGravatar Thog2016-08-123-222/+1
|