summaryrefslogtreecommitdiff
path: root/src/test/java (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-03-09CFR support (#192)Gravatar Runemoro5-59/+54
* Add decompiler API * Add CFR support
2019-12-05Fix comments (#187)Gravatar Fudge1-0/+40
* fix comments * indent
2019-11-03Add tinyv2 save/loadGravatar liach2-0/+65
2019-06-16Plugin rework along with API rework: Enigma split from EnigmaProject; ↵Gravatar gegy10009-42/+42
plugins now provide services configurable via a profile
2019-05-16Feature/weave (#138)Gravatar liach5-0/+108
* Add weave/stitch style command system to enigma Also fixed divide by zero stupidity Signed-off-by: liach <liach@users.noreply.github.com> * Add tests for package access index and command Signed-off-by: liach <liach@users.noreply.github.com> * Minor tweaks Signed-off-by: liach <liach@users.noreply.github.com>
2019-01-30Remap sources (#106)Gravatar Gegy5-33/+40
* Source remapping beginnings * Fix navigation to remapped classes * Translate identifier info reference * Remap local variables with default names in source * Caching translator * Fix lack of highlighting for first opened class * Fix unicode variable names * Unicode checker shouldn't be checking just alphanumeric * Fix package tree being built from obf names * Don't index `this` as method call for method::reference * Apply proposed names * Fix source export issues * Replace unicode var names at bytecode level uniquely * Drop imports from editor source * Class selector fixes * Delta keep track of base mappings to enable lookup of old names * Optimize source remapping by remapping source with a StringBuffer instead of copying * Bump version
2019-01-24[WIP] Mapping rework (#91)Gravatar Gegy13-177/+167
* 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
2018-12-15Tweak variable name generation (#86)Gravatar Gegy1-7/+7
* Don't apply offset to all methods in abstract class * Tweak local variable naming
2018-07-17ASM Based Class Translator (#1)Gravatar gegy100015-752/+666
* 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
2018-06-24Fix method reference and bridge detectionGravatar gegy10003-13/+13
2018-06-22Resolve all failed testsGravatar gegy10002-5/+5
2018-05-19Annotation + inner class translationGravatar gegy10001-4/+4
2018-05-19Package updatesGravatar gegy100012-256/+17
2018-05-19Initial port to ASMGravatar gegy100010-502/+655
2017-03-08Follow Fabric guidelinesGravatar Thog39-435/+444
2017-03-07Drop unix case style and implement hashCode when equals is overridedGravatar Thog11-232/+228
Also update Guava to version 21
2016-10-18remove none/ prefixGravatar asiekierka17-208/+208
2016-08-12Implement Enigma directory format (#1)Gravatar Thomas Guillemard1-9/+1
Others changes: ~ Rework File menu ~ Force UTF-8 for all I/O operations ~ Enigma now detect the original file format and use the correct one when you save a mapping
2016-07-02Renamed FieldsGravatar lclc981-23/+23
2016-06-30Fixed build failGravatar lclc981-17/+17
2016-06-30Json format (#2)Gravatar lclc9840-0/+2630
* Added new format * Fixed bug * Updated Version