摘要: 先使用 JS_DecodeScript反编译jsc 得到AST树 AST树词法解析 http://esprima.org/ AST还原成源码: npm install escodegen AST树遍历:npm install estraverse https://developer.mozilla. 阅读全文
posted @ 2019-05-29 11:02 浪浪辛 阅读(2310) 评论(0) 推荐(0)
摘要: typedef std::string u8string; u8string To_UTF8(const std::u16string &s) { std::wstring_convert, char16_t> conv; return conv.to_bytes(s); } u8string To_UTF8(const std::u32string &s) { st... 阅读全文
posted @ 2019-05-29 10:51 浪浪辛 阅读(1834) 评论(0) 推荐(0)