{"id":31893749,"url":"https://github.com/std-microblock/lua-bytecode-parser-ce","last_synced_at":"2025-10-13T09:22:34.289Z","repository":{"id":307734986,"uuid":"1030551733","full_name":"std-microblock/lua-bytecode-parser-ce","owner":"std-microblock","description":"A versatile Lua 5.3 bytecode parser that supports both standard Lua bytecode and Cheat Engine modified format.","archived":false,"fork":false,"pushed_at":"2025-08-01T22:35:31.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T22:38:58.562Z","etag":null,"topics":["bytecode","cheatengine","lua","lua53","luabytecode"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/std-microblock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-01T20:55:25.000Z","updated_at":"2025-08-01T22:35:34.000Z","dependencies_parsed_at":"2025-08-03T06:45:10.357Z","dependency_job_id":null,"html_url":"https://github.com/std-microblock/lua-bytecode-parser-ce","commit_stats":null,"previous_names":["std-microblock/lua-bytecode-parser-ce"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/std-microblock/lua-bytecode-parser-ce","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Flua-bytecode-parser-ce","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Flua-bytecode-parser-ce/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Flua-bytecode-parser-ce/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Flua-bytecode-parser-ce/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/std-microblock","download_url":"https://codeload.github.com/std-microblock/lua-bytecode-parser-ce/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/std-microblock%2Flua-bytecode-parser-ce/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014517,"owners_count":26085535,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bytecode","cheatengine","lua","lua53","luabytecode"],"created_at":"2025-10-13T09:22:31.787Z","updated_at":"2025-10-13T09:22:34.281Z","avatar_url":"https://github.com/std-microblock.png","language":"C++","readme":"# Lua Bytecode Parser CE\n\nA versatile Lua 5.3 bytecode parser that supports both standard Lua bytecode and Cheat Engine modified format.\n\n**Key Features:**\n- ✅ Read both standard Lua bytecode and Cheat Engine format\n- ✅ Write standard Lua bytecode format\n- ✅ Clear analysis of bytecode structure\n- ✅ Easy-to-use C++ library integration\n\n## Quick Start\n\n### Command Line Usage\n```bash\nparser.exe input.luac [output.luac]\n```\n\n**Example Output:**\n```\n\u003e parser luac.out\n\nFunction Prototype:\n  Source: \"@test.lua\"\n  Line Defined: 0\n  Last Line Defined: 0\n  Num Params: 0\n  Is Vararg: 1\n  Max Stack Size: 2\n  Code (2 instructions):\n    0000  0x00000001\n    0001  0x00800026\n  Constants:\n      [0] NUMBER (integer) 1\n  Upvalues:\n      [0] _ENV (Instack=1, Idx=0)\n  Local Variables:\n      [0] a (Scope: PC 1-2)\nEnd Function Prototype\n```\n\n### Library Integration\n```cpp\n// Parse bytecode\nLuaBytecodeParser parser(bytecode_data);\nauto main_proto = parser.parse();\n\n// Write bytecode\nstd::ofstream out_file(\"output.luac\", std::ios::binary);\nLuaBytecodeWriter writer(out_file);\nwriter.write(*main_proto);\n```\n\n---\n\n# Lua 字节码解析器 CE\n\n支持标准 Lua 5.3 字节码和 Cheat Engine 修改格式的解析工具\n\n**核心功能:**\n- ✅ 读取标准格式和 CE 修改格式\n- ✅ 写入标准格式字节码\n- ✅ 清晰的字节码结构分析\n- ✅ 简单的 C++ 集成方案\n\n## 快速开始\n\n### 命令行使用\n```bash\nparser.exe 输入文件.luac [输出文件.luac]\n```\n\n**示例输出:**\n```\n\u003e parser luac.out\n\n函数原型:\n  源文件: \"@test.lua\"\n  起始行: 0\n  结束行: 0\n  参数数量: 0\n  可变参数: 是\n  最大栈大小: 2\n  指令 (2条):\n    0000  0x00000001\n    0001  0x00800026\n  常量:\n      [0] 数值 (整型) 1\n  上值:\n      [0] _ENV (在栈中=1, 索引=0)\n  局部变量:\n      [0] a (作用域: PC 1-2)\n结束函数原型\n```\n\n### 库集成\n```cpp\n// 解析字节码\nLuaBytecodeParser parser(bytecode_data);\nauto main_proto = parser.parse();\n\n// 写入字节码\nstd::ofstream out_file(\"output.luac\", std::ios::binary);\nLuaBytecodeWriter writer(out_file);\nwriter.write(*main_proto);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstd-microblock%2Flua-bytecode-parser-ce","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstd-microblock%2Flua-bytecode-parser-ce","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstd-microblock%2Flua-bytecode-parser-ce/lists"}