All Projects → letmutx → dex-parser

letmutx / dex-parser

Licence: other
Rust parser for Android's dex format

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to dex-parser

Redexer
The Redexer binary instrumentation framework for Dalvik bytecode
Stars: ✭ 137 (+426.92%)
Mutual labels:  dex
dex-backend
Backend for Digital Excellence Platform
Stars: ✭ 22 (-15.38%)
Mutual labels:  dex
alcor-ui
Alcor Exchange | First self-listing onchain DEX for eosio tokens;
Stars: ✭ 103 (+296.15%)
Mutual labels:  dex
Blocknet
Official Blocknet cryptocurrency wallet
Stars: ✭ 179 (+588.46%)
Mutual labels:  dex
Android Crack Tool
🐞Android crack tool For Mac
Stars: ✭ 2,666 (+10153.85%)
Mutual labels:  dex
airswap-web
AirSwap Web App
Stars: ✭ 94 (+261.54%)
Mutual labels:  dex
Atomicdex Desktop
atomicDEX Desktop app - project codename "Dextop"
Stars: ✭ 126 (+384.62%)
Mutual labels:  dex
rainbow
DeFi options comparator to detect market opportunities with CLI (Go) and web (Vue3).
Stars: ✭ 40 (+53.85%)
Mutual labels:  dex
Dex K8s Authenticator
A Kubernetes Dex Client Authenticator
Stars: ✭ 249 (+857.69%)
Mutual labels:  dex
loginapp
Web application for Kubernetes CLI configuration with OIDC
Stars: ✭ 74 (+184.62%)
Mutual labels:  dex
Chainx
Cross-chain hub for Crypto Asset on Polkadot
Stars: ✭ 187 (+619.23%)
Mutual labels:  dex
Lief
Authors
Stars: ✭ 2,730 (+10400%)
Mutual labels:  dex
tokenlon-mmsk
Tokenlon Market Maker Service Kit
Stars: ✭ 35 (+34.62%)
Mutual labels:  dex
Hidex Hack
anti reverse by hack dex file
Stars: ✭ 160 (+515.38%)
Mutual labels:  dex
airswap-protocols
AirSwap Contracts and Tools
Stars: ✭ 176 (+576.92%)
Mutual labels:  dex
Photonoter
📓Material Design风格的开源照片笔记。(MVP+Dagger2+RxJava+AspectJ+Dex处理)
Stars: ✭ 1,592 (+6023.08%)
Mutual labels:  dex
Dexer
Dexer is an open source framework, written in C#, that reads and writes .DEX files (Dalvik Executable Format) used by the Android Open Source Project.
Stars: ✭ 81 (+211.54%)
Mutual labels:  dex
binance-node-docker
Docker image for Binance full and light nodes
Stars: ✭ 24 (-7.69%)
Mutual labels:  dex
tomox-sdk-ui
SDK UI to build a Decentralized Exchange on TomoX protocol
Stars: ✭ 24 (-7.69%)
Mutual labels:  dex
dex-operator
A Kubernetes operator for Dex
Stars: ✭ 16 (-38.46%)
Mutual labels:  dex

Dex

Build Status

Dex is a parser for Android's Dex format written completely in Rust.

Most of the functionality to access the data structures in the file is implemented. Test coverage stands at 81% as of v0.3.0

Usage

Add to your Cargo.toml:

dex = "0.4.0"

Documentation

The primary source of documentation for dex format is Android website. Most of the public structs, and methods in this crate have the same names. There are a few examples here to get you started.

Development Notes

  • The library makes use of mmap to access the file contents.
  • scroll is used to parse binary data.
  • The included classes.dex in the resources folder is from the open-source application ADW launcher. You can find the source code here

Running test cases

Some tests contains Java code and require javac and d8. The other option is to open a PR and test using the travis setup.

  • To get d8, you need to install Android SDK and add Android/Sdk/build-tools/<version>/ directory to PATH variable.
  • For javac, you need to install Java.
  • 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-<version>/android.jar). This is needed to prevent warnings when running d8.
  • Use cargo install cargo-tarpaulin and run cargo tarpaulin to get test coverage.

Contributing

All 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!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].