{"id":31647708,"url":"https://github.com/xpl0itr/protodec","last_synced_at":"2025-10-07T06:45:06.083Z","repository":{"id":160564428,"uuid":"630640003","full_name":"Xpl0itR/protodec","owner":"Xpl0itR","description":"A tool to decompile protoc compiled protobuf classes back into .proto definitions.","archived":false,"fork":false,"pushed_at":"2024-07-27T07:08:24.000Z","size":103,"stargazers_count":30,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-27T08:24:58.071Z","etag":null,"topics":["assembly","cil","clr","common-intermediate-language","cpp2il","csharp","dotnet","google-protobuf","google-protocol-buffers","il2cpp","il2cppdumper","msil","protobuf","protobuf3","protoc","protocol-buffers","protodec"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Xpl0itR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2023-04-20T20:24:31.000Z","updated_at":"2024-07-27T07:06:57.000Z","dependencies_parsed_at":"2023-12-25T02:42:35.316Z","dependency_job_id":"d4e1a15e-579b-4895-9060-d2fd91570e33","html_url":"https://github.com/Xpl0itR/protodec","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Xpl0itR/protodec","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xpl0itR%2Fprotodec","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xpl0itR%2Fprotodec/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xpl0itR%2Fprotodec/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xpl0itR%2Fprotodec/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xpl0itR","download_url":"https://codeload.github.com/Xpl0itR/protodec/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xpl0itR%2Fprotodec/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278734434,"owners_count":26036404,"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-07T02:00:06.786Z","response_time":59,"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":["assembly","cil","clr","common-intermediate-language","cpp2il","csharp","dotnet","google-protobuf","google-protocol-buffers","il2cpp","il2cppdumper","msil","protobuf","protobuf3","protoc","protocol-buffers","protodec"],"created_at":"2025-10-07T06:44:59.755Z","updated_at":"2025-10-07T06:45:06.077Z","avatar_url":"https://github.com/Xpl0itR.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"protodec\n========\nA tool to decompile [protoc](https://github.com/protocolbuffers/protobuf) compiled protobuf classes back into .proto definitions.\n\nUsage\n-----\n```\nUsage: [command] [arguments...] [options...] [-h|--help] [--version]                                                                                                                                                                                                                    \nUse reflection backend to load target CIL assembly and its dependants.\n\nArguments:\n  [0] \u003cstring\u003e    Either the path to the target assembly or a directory of assemblies, all of which be parsed.\n  [1] \u003cstring\u003e    An existing directory to output into individual files, otherwise output to a single file.\n\nOptions:\n  --skip-enums                                                  Skip parsing enums and replace references to them with int32. (Optional)\n  --include-properties-without-non-user-code-attribute          Includes properties that aren't decorated with `DebuggerNonUserCode` when parsing. (Optional)\n  --include-service-methods-without-generated-code-attribute    Includes methods that aren't decorated with `GeneratedCode(\"grpc_csharp_plugin\")` when parsing gRPC services. (Optional)\n  --parse-service-servers                                       Parses gRPC service definitions from server classes. (Optional)\n  --parse-service-clients                                       Parses gRPC service definitions from client classes. (Optional)\n  --log-level \u003cLogLevel\u003e                                        Logging severity level. (Default: Information)\n\nCommands:\n  il2cpp    Use LibCpp2IL backend to directly load Il2Cpp compiled game assembly. EXPERIMENTAL.\n```\nSee per-command help message for more info.\n\nLimitations\n-----------\n- Integers are assumed to be (u)int32/64 as CIL doesn't differentiate between them and sint32/64 and (s)fixed32/64.\n- Package names are not preserved in protobuf compilation so naturally we cannot recover them during decompilation, which may result in naming conflicts.\n- When decompiling from [Il2CppDumper](https://github.com/Perfare/Il2CppDumper) DummyDLLs or from an Il2Cpp assembly older than metadata version 29, due to the development branch of [LibCpp2Il](https://github.com/SamboyCoding/Cpp2IL/tree/development/LibCpp2IL) not yet recovering method bodies\n    - The `Name` parameter of `OriginalNameAttribute` is not parsed. In this case, the CIL enum field names are used after conforming them to protobuf conventions.\n    - The `Tool` parameter of `GeneratedCodeAttribute` is not compared against when parsing gRPC service methods, which may cause false positives in the event that another tool has generated methods in the service class.\n\nLicense\n-------\nThis project is subject to the terms of the [Mozilla Public License, v. 2.0](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpl0itr%2Fprotodec","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxpl0itr%2Fprotodec","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxpl0itr%2Fprotodec/lists"}