{"id":19938104,"url":"https://github.com/dweinstein/linux-modmem","last_synced_at":"2025-10-10T13:11:48.261Z","repository":{"id":7847659,"uuid":"9219462","full_name":"dweinstein/linux-modmem","owner":"dweinstein","description":null,"archived":false,"fork":false,"pushed_at":"2013-04-04T14:14:22.000Z","size":116,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-23T18:52:56.621Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dweinstein.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}},"created_at":"2013-04-04T14:03:45.000Z","updated_at":"2024-05-29T06:54:49.000Z","dependencies_parsed_at":"2022-08-31T14:22:20.511Z","dependency_job_id":null,"html_url":"https://github.com/dweinstein/linux-modmem","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dweinstein/linux-modmem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Flinux-modmem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Flinux-modmem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Flinux-modmem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Flinux-modmem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dweinstein","download_url":"https://codeload.github.com/dweinstein/linux-modmem/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dweinstein%2Flinux-modmem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004066,"owners_count":26083665,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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-12T23:38:22.446Z","updated_at":"2025-10-10T13:11:48.246Z","avatar_url":"https://github.com/dweinstein.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"linux-modmem\n============\nThis code is a subset from Allan Cruse's Virtualization class http://www.cs.usfca.edu/~cruse/cs686s07/\nbut it is generally useful for hacking on Linux devices.\n\n* Build the kernel-module-builder.\n\n```\ng++ -o mmake mmake.cpp\n```\n\n* Build the kernel module component\n\n```\n./mmake dram\n```\n\n* As root create the device node.\n\n```\nmknod /dev/dram c 85 0\nchmod a+rw /dev/dram\n```\n\n* Insert the kernel module into the running system\n\n```\ninsmod dram.ko\n```\n\n* Build the userspace process that will be used to look at the dram device.\n\n```\n$ g++ -o fileview fileview.cpp\n```\n\n* Run the userspace process\n\n```\n# ./fileview /dev/dram\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Flinux-modmem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdweinstein%2Flinux-modmem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdweinstein%2Flinux-modmem/lists"}