Run QuickJS executables on Windows
masterTo run the provided executables on Windows, rename them to include a
.exe extension.repository·master·Indexed 27 days ago
https://github.com/bellard/quickjsA small, embeddable JavaScript engine. This version provides cross-platform executables for Linux, Mac, Windows, and various BSDs across ARM64 and x86_64 architectures, including instructions for libFuzzer builds, running fuzzing targets, and optimizing startup time using the --assimilate option.
.exe extension.You can build a platform-specific binary to achieve better startup performance by using the --assimilate option with the qjs executable.
./qjs --assimilatefuzz_eval, fuzz_compile, and fuzz_regexp. These can be executed directly, with a corpus directory, or with a dictionary file. They also support any arbitrary CLI arguments provided by libFuzzer.If you encounter errors when running QuickJS executables on Linux, it may be due to the binfmt_misc module automatically invoking wine for Windows executables. You can disable this by removing the interpreters using the following commands:
sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/cli' # remove Ubuntu's MZ interpreter
sudo sh -c 'echo -1 > /proc/sys/fs/binfmt_misc/status' # remove ALL binfmt_misc entries