{"id":19369426,"url":"https://github.com/kara-4search/jit_demo_csharp","last_synced_at":"2025-06-16T14:08:02.793Z","repository":{"id":136106862,"uuid":"434780686","full_name":"Kara-4search/JIT_DEMO_Csharp","owner":"Kara-4search","description":"A little JIT demo to help you understander how JIT works","archived":false,"fork":false,"pushed_at":"2021-12-22T00:53:54.000Z","size":31,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T15:46:56.281Z","etag":null,"topics":["csharp","demo","jit"],"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/Kara-4search.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}},"created_at":"2021-12-04T01:40:33.000Z","updated_at":"2022-11-12T18:38:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"b11ada6d-9b00-4738-91fc-250049365aed","html_url":"https://github.com/Kara-4search/JIT_DEMO_Csharp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kara-4search/JIT_DEMO_Csharp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kara-4search%2FJIT_DEMO_Csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kara-4search%2FJIT_DEMO_Csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kara-4search%2FJIT_DEMO_Csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kara-4search%2FJIT_DEMO_Csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kara-4search","download_url":"https://codeload.github.com/Kara-4search/JIT_DEMO_Csharp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kara-4search%2FJIT_DEMO_Csharp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260173707,"owners_count":22969867,"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":["csharp","demo","jit"],"created_at":"2024-11-10T08:11:14.632Z","updated_at":"2025-06-16T14:08:02.767Z","avatar_url":"https://github.com/Kara-4search.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JIT_DEMO_Csharp\n\nBlog link: not gonna update\n\n- A Demo to replace method with JIT(Or we could called \"creating managed hooks\")\n- The DEBUG block in Project.cs line 121 is for debuging.\n- Abount getting function address is kind of different betweent debuging or compiling\n\n## Usage\n- Just a Demo\n\t1.The picture down below is the running result.\n\t- The format of the Relative Address below is wrong,but it been fixed.\n\t![avatar](https://raw.githubusercontent.com/Kara-4search/ProjectPics/main/JIT_Demo.png)\n## TO-DO list\n- None\n\n## Update history\n- Fixed bug: Relative Address output in wrong format - 20211222\n\n## Reference link:\n\t1. https://docs.microsoft.com/zh-cn/dotnet/api/system.runtime.compilerservices.runtimehelpers.preparemethod?view=net-6.0\n\t2. https://gist.github.com/HoLLy-HaCKeR/c1fcee3df1ea35e7816c55147e6db78d\n\t3. https://www.codenong.com/cs106378408/\n\t4. http://www.ostack.cn/?qa=1418702/\n\t5. https://www.buzzphp.com/posts/dynamically-append-code-to-a-method-net-core","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkara-4search%2Fjit_demo_csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkara-4search%2Fjit_demo_csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkara-4search%2Fjit_demo_csharp/lists"}