最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Getting `ReferenceError: dis is not defined` when using Spidermonkey's JS shell - Stack Overflow

programmeradmin14浏览0评论

According to the Spidermonkey hacking tips documentation, the JS Shell provides a function called dis that dumps the bytecode of a function. However, when I try to use it, I get an error:

Code:

function main() {
  console.log('Hello World');
}

dis(main);

Error: ReferenceError: dis is not defined

Setup Details:

  • JS Shell downloaded from Mozilla nightly archive
  • Platform: Linux (x86_64)
  • JS Shell version: JavaScript-C137.0a1
发布评论

评论列表(0)

  1. 暂无评论