Obfuscation failed for code with `super`
See original GitHub issueCan be reproduced on online demo:
class BaseClass {
constructor(foo) {
this._foo = foo;
}
get foo() {
return this._foo;
}
}
class BarClass extends BaseClass {
constructor(foo, bar) {
super(foo);
this._bar = bar;
}
get bar() {
return this._bar;
}
}
const a = new BarClass('foo', 'bar');
console.log(a.foo);
console.log(a.bar);
Attempt to obfuscate this code snippet with everything off and Mangle Variable Names
on returns: Error: Unknown node type Super.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (10 by maintainers)
Top Results From Across the Web
SuperNotCalledException after obfuscation with Proguard
I got it working. Like Doron suggested, it probably was related to the obfuscation, and not to the code itself.
Read more >Facing an error with "Can't find common super class of " while ...
We are trying to obfuscate a jar which is basically a maven based Java application using Proguard (version 7.2.0-beta4)
Read more >ProGuard Java Optimizer and Obfuscator / Bugs / #770 Error ...
I resolved the bug, I was simply missing the java.xml module from the -libraryjars setting. I updated the example. Perhaps the error reporting ......
Read more >Debugging Proguard configuration issues
code obfuscation - replacing names with shorter variants. Makes it more difficult to reverse engineer the app and makes bytecode smaller. code ......
Read more >When Things Go Wrong — PyArmor 6.7.0 documentation
Then set the right source code encoding in the scripts, first run the plain script to make sure everything is fine, then obfuscate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In the future i’ll remove
esmangle
on my own transformer.Looks like ( Will fix it in 0.12.4