Frage

I have looked at this question already but a graphical representation is not exactly what I want.

Is there a SOOT like tool for Javascript that gives you an intermediate representation you can play with? Or else, is there a Javascript -> Java-bytecode -> Javascript converter? (so that I can use SOOT with Java-bytecode to do my transformations and get it back as Javascript)

War es hilfreich?

Lösung

I don't think such a tool exists. WALA can analyze JS to some extent but it cannot generate JS code again. Many people I know who analyze JS do this by modifying a JIT compiler.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top