To build Spidermonkey for fuzzing:
- Clone the Firefox mirror from https://github.com/mozilla/gecko-dev
- Run the fuzzbuild.sh script in the gecko-dev root directory of the firefox checkout
- gecko-dev/obj-fuzzbuild/dist/bin/js will be the JavaScript shell for the fuzzer