{"id":33000711,"url":"https://github.com/mythril-hypervisor/mythril","last_synced_at":"2025-11-18T08:01:02.925Z","repository":{"id":37180266,"uuid":"211740729","full_name":"mythril-hypervisor/mythril","owner":"mythril-hypervisor","description":"A hypervisor written in rust","archived":false,"fork":false,"pushed_at":"2022-09-16T17:49:58.000Z","size":1864,"stargazers_count":55,"open_issues_count":50,"forks_count":15,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-09-06T02:24:19.443Z","etag":null,"topics":["hypervisor","intel","rust","x86-64"],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/mythril-hypervisor.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}},"created_at":"2019-09-29T23:44:38.000Z","updated_at":"2025-07-14T21:08:56.000Z","dependencies_parsed_at":"2022-07-13T01:40:31.046Z","dependency_job_id":null,"html_url":"https://github.com/mythril-hypervisor/mythril","commit_stats":null,"previous_names":["alschwalm/mythril"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/mythril-hypervisor/mythril","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mythril-hypervisor%2Fmythril","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mythril-hypervisor%2Fmythril/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mythril-hypervisor%2Fmythril/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mythril-hypervisor%2Fmythril/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mythril-hypervisor","download_url":"https://codeload.github.com/mythril-hypervisor/mythril/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mythril-hypervisor%2Fmythril/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284384775,"owners_count":26995740,"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-11-14T02:00:06.101Z","response_time":56,"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":["hypervisor","intel","rust","x86-64"],"created_at":"2025-11-13T14:00:18.794Z","updated_at":"2025-11-18T08:01:02.911Z","avatar_url":"https://github.com/mythril-hypervisor.png","language":"Rust","readme":"# mythril\n\nA rust-based hypervisor currently requiring multiboot2 boot (e.g. grub), and VT-x/EPT.\n\n## Building and Testing\n\nDon't forget to clone using `--recurse-submodules` or if you've\nalready cloned `git submodule update --init --recursive` to get the\ndependencies.\n\n`mythril` should be built and tested using the provided docker image\n`adamschwalm/hypervisor-build`. There are convenience `make` rules for\nusing this image. For example, to build the multiboot application, run:\n\n```\nmake docker-all\n```\n\nThis will create the hypervisor in `mythril/target/mythril_target/release/mythril`.\nIt will also compile the patched versions for seabios and the linux kernel that\nare currently required to use `mythril`. Unittests can be executed like:\n\n```\nmake docker-test\n```\n\n## Running the Hypervisor\n\nAfter running the build steps as described above, the hypervisor can be executed with:\n\n```\nmake docker-qemu\n```\n\nNote that this has only been tested on relatively recent versions of QEMU (v4.1.0+).\nOlder versions may contain bugs that could cause issues running the image.\n\n## Debugging\n\nTo debug mythril, run `BUILD_TYPE=debug make qemu-debug`. This will build a debug version\nof the hypervisor then start start QEMU in a paused state. You can then run\n`gdb mythril/target/mythril_target/debug/mythril` to launch gdb with the debug info from\nthe application. You can attach to the qemu instance with `target remote :1234`. Note that\ndebugging the hypervisor is generally not supported under docker.\n\nBecause the virtualization is hardware accelerated, remember to use `hbreak` instead\nof `break` in gdb. For example, to put a breakpoint at the start of `kmain` and start\nmythril, run:\n\n```\n(gdb) target remote :1234\nRemote debugging using localhost:1234\n0x000000000000fff0 in ?? ()\n(gdb) hbreak kmain\nHardware assisted breakpoint 1 at 0x110d54: file mythril_multiboot2/src/main.rs, line 151.\n(gdb) continue\nContinuing.\n\nBreakpoint 1, kmain (multiboot_info_addr=10993664) at mythril_multiboot2/src/main.rs:151\n151\t   unsafe { interrupt::idt::init() };\n```\n\nYou can then use `step` and other debugging functions as usual.\n","funding_links":[],"categories":["Research Projects"],"sub_categories":["AMD"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmythril-hypervisor%2Fmythril","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmythril-hypervisor%2Fmythril","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmythril-hypervisor%2Fmythril/lists"}