Skip to content

Details

[19:30 ~ 19:45] 自由交流

[19:45 ~ 20:30] Catch a SpiderMonkey (抓一隻蜘蛛猴)

I would like to share the experience I've learned so far about diagnosing and debugging the JavaScript/ECMAScript engine of Firefox. I would like to demo how to start the patching project, and the general method I used to trace a bug. In the end, we should be able to add a customised built-in function in the engine.

And since I would like to help you to accomplish the goal step-by-step, please follow this MDN document to clone and build the engine first:

https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Build_Documentation

If you're a Git user you can consider to use git-cinnabar to clone the repo:

https://github.com/glandium/git-cinnabar

Note: the repo is about 15GB after cloning. So please clone it when you have a high-speed network and preserve enough disk space for it. I recommend at least 30GB for the disk space.

If you have any trouble when building the environment, contact me in the reply. And I would have some presentation and live-demo, so it's okay to come without the engine built.

Related topics

You may also like