{"id":17982571,"url":"https://github.com/amimo/goron","last_synced_at":"2025-04-04T01:49:00.313Z","repository":{"id":43204677,"uuid":"208567695","full_name":"amimo/goron","owner":"amimo","description":"Yet another llvm based obfuscator","archived":false,"fork":false,"pushed_at":"2022-06-26T12:58:29.000Z","size":187386,"stargazers_count":602,"open_issues_count":9,"forks_count":163,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-02-09T13:32:22.861Z","etag":null,"topics":["compiler","obfuscator","ollvm"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amimo.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}},"created_at":"2019-09-15T09:01:53.000Z","updated_at":"2025-02-05T09:42:40.000Z","dependencies_parsed_at":"2022-09-15T04:12:25.568Z","dependency_job_id":null,"html_url":"https://github.com/amimo/goron","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amimo%2Fgoron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amimo%2Fgoron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amimo%2Fgoron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amimo%2Fgoron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amimo","download_url":"https://codeload.github.com/amimo/goron/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247107833,"owners_count":20884797,"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":["compiler","obfuscator","ollvm"],"created_at":"2024-10-29T18:14:34.237Z","updated_at":"2025-04-04T01:49:00.274Z","avatar_url":"https://github.com/amimo.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# goron\nYet another llvm based obfuscator.\n\n当前支持特性：\n - 混淆过程间相关\n - 间接跳转,并加密跳转目标(-mllvm -irobf-indbr)\n - 间接函数调用,并加密目标函数地址(-mllvm -irobf-icall)\n - 间接全局变量引用,并加密变量地址(-mllvm -irobf-indgv)\n - 字符串(c string)加密功能(-mllvm -irobf-cse)\n - 过程相关控制流平坦混淆(-mllvm -irobf-cff)\n\n## 混淆效果\n- ### 未混淆\n ![](images/demo.png)\n- ### 间接跳转(-mllvm -irobf-indbr)\n ![](images/demo-indirect-br.png)\n- ### 间接函数调用(-mllvm -irobf-icall)\n ![](images/demo-indirect-call.png)\n- ### 间接全局变量引用(-mllvm -irobf-indgv)\n ![](images/demo-indirect-globals.png)\n- ### 字符串(c string)加密功能(-mllvm -irobf-cse)\n ![](images/demo-string-encryption.png)\n- ### 过程相关控制流平坦混淆(-mllvm -irobf-cff)\n ![](images/demo-control-flow-flatten.png)\n- ### [源码及混淆二进制](examples)\n\n## 下载\n```\ngit clone https://github.com/amimo/goron.git -b llvm-7.1.0\n```\n\n## 编译\n\n```\ncd goron\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PROJECTS=clang -G \"Unix Makefiles\" ../llvm\nmake -j12\n```\n\n## 使用\n跟ollvm类似,可通过编译选项开启相应混淆.\n如启用间接跳转混淆\n```\n$ path_to_the/build/bin/clang -mllvm -irobf -mllvm --irobf-indbr test.c\n```\n对于使用autotools的工程\n```\n$ CC=path_to_the/build/bin/clang or CXX=path_to_the/build/bin/clang\n$ CFLAGS+=\"-mllvm -irobf -mllvm --irobf-indbr\" or CXXFLAGS+=\"-mllvm -irobf -mllvm --irobf-indbr\" (or any other obfuscation-related flags)\n$ ./configure\n$ make\n```\n\n## 参考资源\n+ [Hikari](https://github.com/HikariObfuscator/Hikari)\n+ [ollvm](https://github.com/obfuscator-llvm/obfuscator)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famimo%2Fgoron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famimo%2Fgoron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famimo%2Fgoron/lists"}