{"id":19765585,"url":"https://github.com/danielfvm/memorymodifier","last_synced_at":"2026-06-29T21:02:35.483Z","repository":{"id":130989776,"uuid":"261242224","full_name":"danielfvm/MemoryModifier","owner":"danielfvm","description":"Linux MemoryModifier Tool + Lib","archived":false,"fork":false,"pushed_at":"2021-06-13T14:32:19.000Z","size":262,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-10T20:03:58.993Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danielfvm.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-05-04T16:47:41.000Z","updated_at":"2024-06-19T22:11:10.000Z","dependencies_parsed_at":"2023-04-25T08:31:32.362Z","dependency_job_id":null,"html_url":"https://github.com/danielfvm/MemoryModifier","commit_stats":null,"previous_names":["itskaedev/memorymodifier","danielfvm/memorymodifier"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/danielfvm/MemoryModifier","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfvm%2FMemoryModifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfvm%2FMemoryModifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfvm%2FMemoryModifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfvm%2FMemoryModifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielfvm","download_url":"https://codeload.github.com/danielfvm/MemoryModifier/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielfvm%2FMemoryModifier/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34942665,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-12T04:18:36.723Z","updated_at":"2026-06-29T21:02:35.467Z","avatar_url":"https://github.com/danielfvm.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MemoryModifier\n\nMemoryModifier is a tool and a library for scanning and modifying memory on Linux.\nIt can also be used for creating patterns to search in your own C scripts.\n\n## Installation\n\n```\n$ cd MemoryModifier \n$ make \n$ make install \n```\n\n## Use MemoryModifier\n\nTo use this tool you will need sudo permissions.\n\n```\n$ sudo mm\n```\n\n## Use library\n\n[examples](https://github.com/danielfvm/MemoryModifier/tree/master/examples)\n\n### Open a process\nFirst open a process by name\n```c\nProcess *p;\n\nif ((p = openProcess(\"application\")) == NULL) {\n    fprintf(stderr, \"Failed to open process memory\");\n}\n```\n\n### Open Memory Region\nNow open the memory region, you can manually look at it in ``/proc/PID/maps``\nIn this case we open the heap.\n```c\nMemoryRegion heap;\nif (getMemoryRegion(p, \"[heap]\", \u0026heap) == 0) {\n    fprintf(stderr, \"Failed to open memory region\");\n}\n```\n\n### Read memory\n```c\nbyte number[4];\nif (readProcessMemory(heap, heap.start + offset, number, sizeof(int)) == 0) {\n    fprintf(stderr, \"Failed to read memory\");\n}\n```\n\n### Write to memory\n```c\nif (writeProcessMemory(heap, heap.start + offset, getBytes(int, 1234), sizeof(int)) == 0) {\n    fprintf(stderr, \"Failed to write to memory\");\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfvm%2Fmemorymodifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielfvm%2Fmemorymodifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielfvm%2Fmemorymodifier/lists"}