{"id":17366216,"url":"https://github.com/letmutx/dex-parser","last_synced_at":"2026-03-03T11:38:12.957Z","repository":{"id":49426052,"uuid":"129561693","full_name":"letmutx/dex-parser","owner":"letmutx","description":"Rust parser for Android's dex format","archived":false,"fork":false,"pushed_at":"2025-03-23T04:30:07.000Z","size":5591,"stargazers_count":47,"open_issues_count":3,"forks_count":21,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T16:11:08.372Z","etag":null,"topics":["android","dex","parser","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/letmutx.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":"2018-04-14T23:24:00.000Z","updated_at":"2025-03-26T05:52:32.000Z","dependencies_parsed_at":"2025-01-03T16:11:02.757Z","dependency_job_id":"3dcb6518-fa6f-40eb-8d3f-de28aa925331","html_url":"https://github.com/letmutx/dex-parser","commit_stats":{"total_commits":152,"total_committers":5,"mean_commits":30.4,"dds":0.03289473684210531,"last_synced_commit":"c60f721c37e6f0851ef4980872d900c78d77d4c9"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letmutx%2Fdex-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letmutx%2Fdex-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letmutx%2Fdex-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/letmutx%2Fdex-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/letmutx","download_url":"https://codeload.github.com/letmutx/dex-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217174,"owners_count":20903008,"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":["android","dex","parser","rust"],"created_at":"2024-10-15T21:34:21.249Z","updated_at":"2026-03-03T11:38:12.878Z","avatar_url":"https://github.com/letmutx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dex\n\n[![Build Status](https://api.travis-ci.org/letmutx/dex-parser.svg?branch=master)](https://travis-ci.org/letmutx/dex-parser)\n\nDex is a parser for Android's [Dex](https://source.android.com/devices/tech/dalvik/dex-format) format written completely in Rust.\n\nMost of the functionality to access the data structures in the file is implemented. Test coverage stands at 81% as of v0.3.0\n\n## Usage\nAdd to your `Cargo.toml`:\n```\ndex = \"0.4.0\"\n```\n\n## Documentation\nThe primary source of documentation for dex format is [Android website](https://source.android.com/devices/tech/dalvik/dex-format). Most of the public `struct`s, and `method`s in this crate have the same names. There are a few examples [here](https://github.com/letmutx/dex-parser/tree/master/examples/) to get you started.\n\n## Development Notes\n* The library makes use of [`mmap`](https://en.wikipedia.org/wiki/Mmap) to access the file contents.\n* [scroll](https://crates.io/crates/scroll) is used to parse binary data.\n* The included `classes.dex` in the resources folder is from the open-source application [ADW launcher](https://f-droid.org/en/packages/org.adw.launcher/). You can find the source code [here](https://f-droid.org/repo/org.adw.launcher_34_src.tar.gz)\n\n## Running test cases\nSome tests contains Java code and require `javac` and [d8](https://developer.android.com/studio/command-line/d8). The other option is to open a PR and test using the travis setup.\n\n* To get `d8`, you need to install Android SDK and add `Android/Sdk/build-tools/\u003cversion\u003e/` directory to PATH variable.\n* For `javac`, you need to install Java.\n* Also, `ANDROID_LIB_PATH` variable needs to be set in the environment. It should point to the `android.jar` file in the SDK. (ex: `Android/Sdk/platforms/android-\u003cversion\u003e/android.jar`). This is needed to prevent warnings when running `d8`.\n* Use `cargo install cargo-tarpaulin` and run `cargo tarpaulin` to get test coverage.\n\n\n## Contributing\nAll contributions are welcome! Feel free to raise issues/PRs on Github if you find a bug, have a question or think something can be improved! Please add a test when you open an PR!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmutx%2Fdex-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fletmutx%2Fdex-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fletmutx%2Fdex-parser/lists"}