{"id":20679172,"url":"https://github.com/tylearymf/.net_binaryanalyzer","last_synced_at":"2025-09-27T03:31:54.851Z","repository":{"id":115059898,"uuid":"231423253","full_name":"tylearymf/.Net_BinaryAnalyzer","owner":"tylearymf","description":"该软件用于分析通过BinaryFormatter序列化后的.Net对象(Parse .Net serialization)","archived":false,"fork":false,"pushed_at":"2020-02-19T08:17:55.000Z","size":2324,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-16T21:28:38.927Z","etag":null,"topics":["binary","binaryformatter","csharp","csharp-binarary","csharp-serialization","serialization"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tylearymf.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":"2020-01-02T16:54:03.000Z","updated_at":"2024-01-11T13:10:53.000Z","dependencies_parsed_at":"2023-05-29T18:15:35.112Z","dependency_job_id":null,"html_url":"https://github.com/tylearymf/.Net_BinaryAnalyzer","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2F.Net_BinaryAnalyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2F.Net_BinaryAnalyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2F.Net_BinaryAnalyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tylearymf%2F.Net_BinaryAnalyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tylearymf","download_url":"https://codeload.github.com/tylearymf/.Net_BinaryAnalyzer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234382668,"owners_count":18823332,"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","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":["binary","binaryformatter","csharp","csharp-binarary","csharp-serialization","serialization"],"created_at":"2024-11-16T21:24:42.968Z","updated_at":"2025-09-27T03:31:53.512Z","avatar_url":"https://github.com/tylearymf.png","language":"C#","readme":"# .Net_BinaryAnalyzer(Parse .Net serialization)\n##该软件用于分析通过BinaryFormatter序列化后的.Net对象，产生类结构信息\u003cbr/\u003e\n\n### 使用方法\u003cbr/\u003e\n1、双击运行BinaryAnalyzer.exe,然后拖入需要反序列的文件，默认会文件的同级目录下生成cs文件\u003cbr/\u003e\n2、运行cmd，输入命令：BinaryAnalyzer.exe test.bin，默认会文件的同级目录下生成cs文件\u003cbr/\u003e\n\n### 问题\u003cbr/\u003e\n· 复杂的泛型解析时会可能会出错（比如下面这两种情况）\u003cbr/\u003e\n```\n第一种：\n//正常生成\npublic class Test\u003cT0,T1\u003e\n{\n\t//正常生成\n\tpublic T0 a;\n\t//T0不为Int32时正常生成，反之则会生成为 public T0 b;\n\tpublic Int32 b;\n}\n第二种：\n//正常生成\npublic class Test\u003cT0\u003e\n{\n\t//这里识别不了Test1的泛型类型，所以为默认值T0，但可能实际代码是T1\n\tpublic class Test1\u003cT0\u003e\n\t{\n\t\t//正常生成\n\t\tpublic T0 a;\n\t\tpublic T1 b;\n\t\t\n\t\t//暂时识别不了该类型\n\t\tpublic Test\u003cT0\u003e.Test1\u003cT1\u003e c;\n\t}\n}\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylearymf%2F.net_binaryanalyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylearymf%2F.net_binaryanalyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylearymf%2F.net_binaryanalyzer/lists"}