{"id":17317350,"url":"https://github.com/ypliang19/symdl","last_synced_at":"2025-04-14T13:32:03.581Z","repository":{"id":49376427,"uuid":"189333944","full_name":"YPLiang19/symdl","owner":"YPLiang19","description":"symdl is a simple little tool, its function is very similar to dlsym, with symdl, you can pass any global C function name string, so as to achieve the dynamic call of C function.","archived":false,"fork":false,"pushed_at":"2023-08-07T07:53:09.000Z","size":398,"stargazers_count":73,"open_issues_count":1,"forks_count":14,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T04:04:05.258Z","etag":null,"topics":["dlopen","dlsym","hotfix","ios","swift","symdl"],"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/YPLiang19.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":"2019-05-30T02:47:37.000Z","updated_at":"2025-03-03T01:39:12.000Z","dependencies_parsed_at":"2024-06-19T15:01:11.883Z","dependency_job_id":"dc8eb14a-0bb8-4abf-9424-42c2dd71a948","html_url":"https://github.com/YPLiang19/symdl","commit_stats":{"total_commits":30,"total_committers":4,"mean_commits":7.5,"dds":0.6333333333333333,"last_synced_commit":"38de579b2fc4f783201ad8ff7cae5b61033ec056"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YPLiang19%2Fsymdl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YPLiang19%2Fsymdl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YPLiang19%2Fsymdl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YPLiang19%2Fsymdl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YPLiang19","download_url":"https://codeload.github.com/YPLiang19/symdl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248888728,"owners_count":21178100,"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":["dlopen","dlsym","hotfix","ios","swift","symdl"],"created_at":"2024-10-15T13:16:20.937Z","updated_at":"2025-04-14T13:32:03.172Z","avatar_url":"https://github.com/YPLiang19.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# symdl\nsymdl is a simple little tool, its function  is very similar to dlsym, with symdl, you can pass any global C function or global variable name string, so as to achieve the dynamic call of C function or access the global variable.\n\n\n## Example\n```\n#import \u003csymdl/symdl.h\u003e\n#import \u003cstdio.h\u003e\n\nint MyIntGlobalVar = 10;\n\nint main(){\n    \n    FILE *(*my_fopne)(char *, char*)  = symdl(\"fopen\");\n    FILE *fp =  my_fopne(\"your path\",\"w+\");\n    //do something\n    \n    \n    int *MyIntGlobalVarPtr = (int *)symdl(\"MyIntGlobalVar\");\n    printf(\"MyIntGlobalVar: %d\\n\", *MyIntGlobalVarPtr);\n    \n    return 0;\n}\n\n```\n\n## Installation\n### CocoaPods\n1. Add `pod 'symdl'` to your Podfile.\n2. Run `pod install` or `pod update`.\n3. Import `\u003csymdl/symdl.h\u003e`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fypliang19%2Fsymdl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fypliang19%2Fsymdl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fypliang19%2Fsymdl/lists"}