{"id":20272949,"url":"https://github.com/cyilcode/gmem","last_synced_at":"2025-04-11T04:42:35.146Z","repository":{"id":97551104,"uuid":"63488160","full_name":"cyilcode/GMem","owner":"cyilcode","description":"A very lightweight and generic memory editing tool for C#","archived":false,"fork":false,"pushed_at":"2016-07-29T09:28:00.000Z","size":20,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T04:42:28.772Z","etag":null,"topics":[],"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/cyilcode.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":"2016-07-16T15:03:25.000Z","updated_at":"2024-05-31T18:39:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"51247a2c-1921-4b84-a70d-84b5d9fb39c5","html_url":"https://github.com/cyilcode/GMem","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/cyilcode%2FGMem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyilcode%2FGMem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyilcode%2FGMem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyilcode%2FGMem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyilcode","download_url":"https://codeload.github.com/cyilcode/GMem/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345281,"owners_count":21088242,"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":[],"created_at":"2024-11-14T12:47:34.059Z","updated_at":"2025-04-11T04:42:35.131Z","avatar_url":"https://github.com/cyilcode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GMem\nA memory management tool for C# which is\n\n 1. Very lightweight - GMem has only a few tiny functions and 2 objects\n 2. Generic - You don't deal with data conversions and you don't have to call different functions for every data type.\n 3. Object oriented - So that what makes your life easier doesn't make your code look bad.\n 4. Extendable - I tried to keep the code as simple as i can so that you can extend it for your own work.\n\n# GMem is also on NuGet\n\nMore information here: https://www.nuget.org/packages/GMem/\n\n# How to use ?\n```csharp\n    // Get an instance of GMemProcess.\n    GMemProcess gProc = new GMemProcess(\"processname\", \"ModuleName\");\n    /* ptrObject object holds;\n     calculated address is (modulebase + pointer address) + offsets or direct address if its not a pointer.\n     processHandle is the handle pointer of your process\n     You can create a ptrObject like below\n     */\n    ptrObject obj = gProc.create_ptr_object(0xFFFFFFFF, int[]{ 0xFF, 0x10 });\n    /*\n    Reads and writes are so simple.\n    GMem supports almost all types that you might need.\n    */\n    // Read\n    int intvalue = gProc.read\u003cint\u003e(obj);\n    // Write\n\tint valueToWrite = 50;\n    bool iswritten = gProc.write\u003cint\u003e(obj, valueToWrite);\n\t// If you want to read string or array of bytes\n\tint stringlength = 10;\n\tstring text = gProc.read\u003cstring\u003e(obj, stringlength);\n\t// or\n\tint byteLength = 10;\n\tbyte[] dataBuffer = gProc.read\u003cbyte[]\u003e(obj, 10);\n``` \n# How to test ?\nTests for this solution were done on steam version of Torchlight 2. There are further information on test documents.\n\n#Stage - Completed\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyilcode%2Fgmem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyilcode%2Fgmem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyilcode%2Fgmem/lists"}