摘要:
先使用 JS_DecodeScript反编译jsc 得到AST树 AST树词法解析 http://esprima.org/ AST还原成源码: npm install escodegen AST树遍历:npm install estraverse https://developer.mozilla. 阅读全文
摘要:
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... 阅读全文