Skip to content

Commit

Permalink
fix failing test and update contributing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
EpicPlayerA10 committed Aug 24, 2024
1 parent 3644a18 commit 271e92d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 26 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Whole deobfuscation process is based on transformers. Transformers are smaller c
1. Create a new class in [`deobfuscator-transformers`](./deobfuscator-transformers) module.
2. Pick `Transformer`-like class you would like to implement:
- `Transformer` - Basic transformer that transforms classes.
- `FramedInstructionsTransformer` - Transformer that mainly transforms instructions in methods. If you need you can also access values in the stack.
- `ComposedTransformer` - Transformer that consists of multiple transformers.
3. You can start coding!

Expand Down
34 changes: 8 additions & 26 deletions testData/results/custom-classes/FlowObfSample.dec
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class IIIIIIIIlIlIIIIlIIlIIIIIIIIlIlIllllIIIlIIIlIIllIllllIIIIllIIIIllIIl
while (true) {
switch ((int)var10000) {
case -436830004:
var10000 = -1954010857659540341L / -6629812863376820009L;
var10000 = 0L;
break;
case -253412202:
default:
Expand Down Expand Up @@ -68,41 +68,23 @@ public class IIIIIIIIlIlIIIIlIIlIIIIIIIIlIlIllllIIIlIIIlIIllIllllIIIIllIIIIllIIl
switch ((int)var10001) {
case -1254534848:
byte var5 = -1;
var10001 = 3160L ^ -6562666170258138906L;

while (var5 + 339277883 == -955364710) {
var10001 = 4731025713025254453L;
}
var10001 = -6562666170258139970L;
break;
case -253412202:
default:
super();
return;
case 485227004:
byte var4 = 1;
var10001 = 30229L ^ 8779745570450285121L;

while (var4 + 196385358 == -2142502514) {
var10001 = -7589003880365981361L;
}
boolean var4 = true;
var10001 = 8779745570450297940L;
break;
case 1712111765:
byte var3 = 1;
var10001 = 3676L ^ -8855161723369165997L;

while (var3 + 1605293253 == -99680712) {
var10001 = -7404679446939395966L;
}
}

byte var6 = 1;
long var10002 = 18355L ^ 8016067872500683785L;

while (var6 + 700223148 == -1264305114) {
var10002 = -6312428108923342948L;
boolean var3 = true;
var10001 = -8855161723369167601L;
}

var10001 /= var10002;
boolean var6 = true;
var10001 /= 8016067872500700090L;
}
}
}

0 comments on commit 271e92d

Please sign in to comment.