In the documentation of spidermonkey's JS shell, it says the following
about dissrc command:
dissrc([function])
Disassembles the JavaScript bytecode for the entire program, or for
the specified function, showing the source lines. This function only
works with programs loaded from files, either using the -f flag on
launching the shell, or by using the load() function.
But I am not very clear how can I use dissrc to disassemble the entire
program. The example given only demos how to disassemble a function
object. How could I achieve similar things on entire programs? Or is
this a misleading explanation in the document?
Thanks,
Yan Huang
_______________________________________________
dev-tech-js-engine mailing list
dev-tech-js-engine@...
https://lists.mozilla.org/listinfo/dev-tech-js-engine