irelance / jsc-decompile-mozjs-34 Goto Github PK
View Code? Open in Web Editor NEWA javascript bytecode decoder for mozilla spider-monkey version 34. May decompile jsc file compile by cocos-2dx
A javascript bytecode decoder for mozilla spider-monkey version 34. May decompile jsc file compile by cocos-2dx
加个readme.md吧,写一下需要环境之类, 不然看了php才知道需要7.0
How to modify Spidermonkey version to 33
PHP Warning: include(vendor/autoload.php): Failed to open stream: No such file or directory in D:\Software\decompile jsc\run.php on line 8
PHP Warning: include(): Failed opening 'vendor/autoload.php' for inclusion (include_path='.;C:\php\pear') in D:\Software\decompile jsc\run.php on line 8
PHP Fatal error: Uncaught Error: Class "Irelance\Mozjs34\Decompile" not found in D:\Software\decompile jsc\run.php:11
Stack trace:
#0 {main}
thrown in D:\Software\decompile jsc\run.php on line 11```
When attempting to decompile this file, I only receive a bunch of errors:
Notice: Undefined offset: 3277386 in C:\Tools\jsc-decompile-mozjs-34-master\src\Xdr\Atom.php on line 25
Notice: Undefined offset: 3277385 in C:\Tools\jsc-decompile-mozjs-34-master\src\Xdr\Atom.php on line 25
Notice: Undefined offset: 3277388 in C:\Tools\jsc-decompile-mozjs-34-master\src\Xdr\Atom.php on line 25
...
I receive similar errors when attempting to decompile this file:
Notice: Undefined offset: 452315 in C:\Tools\jsc-decompile-mozjs-34-master\src\Xdr\Common.php on line 46
Notice: Undefined offset: 452316 in C:\Tools\jsc-decompile-mozjs-34-master\src\Xdr\Common.php on line 46
Notice: Undefined offset: 452317 in C:\Tools\jsc-decompile-mozjs-34-master\src\Xdr\Common.php on line 46
...
I've double-checked to make sure these two files are in accordance to a previously-posted issue. These files share the magic number you mentioned that this tool can decompile: 2C C0 73 B9
Any help would be greatly appreciated.
I am not a phper, is this project mission "composer.json" ?
I didn't know the rquirement lib name or something, so i can't run this script, can anybody help this?
C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master>php run.php main.jsc > D:\decompile.txt
PHP Notice: Undefined index: retirevable in C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master\src\Context.php on line 103
PHP Fatal error: Uncaught Error: Call to undefined method Irelance\Mozjs34\Decompile::getSummary() in C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master\src\Xdr\Script.php:55
Stack trace:
#0 C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master\src\Xdr\Script.php(207): Irelance\Mozjs34\Decompile->parserHeader(Object(Irelance\Mozjs34\Context))
#1 C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master\src\Decompile.php(67): Irelance\Mozjs34\Decompile->XDRScript()
#2 C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master\run.php(12): Irelance\Mozjs34\Decompile->run()
#3 {main}
thrown in C:\Users\LENOVO\Downloads\jsc-decompile-mozjs-34-master\jsc-decompile-mozjs-34-master\src\Xdr\Script.php on line 55
jsc.txt
how to decompile this jsc file?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.