Skip to content
Rust library to parse Android's DEX file format
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Prepare for alpha release Nov 26, 2019
.gitignore gitignore Nov 9, 2018
Cargo.toml Updated Cargo.toml with some more attributes Dec 7, 2019 Adjust license file path Dec 7, 2019 Prepare for alpha release Nov 26, 2019


A Rust library for parsing Android's DEX file format with parser combinators.

What is DEX?

The Dalvik Executable (DEX) format is a file format used by Android to encode compiled Dalvik bytecode. It is distributed as part of a packaged Android application package (APK) and executed by Android phones.

The best reference for the format is the official document, which this library is based off.


    let mut file = File::open(path).unwrap();
    let mut bytes = Vec::new();
    file.read_to_end(&mut bytes);

    match dexparser::parse(&bytes) {
        Ok(res) => { /* do something */ },
        Err(e) => { /* handle error */ }


This project is licensed under the MIT License - see the file for details

You can’t perform that action at this time.