dex-parser icon indicating copy to clipboard operation
dex-parser copied to clipboard

Rust parser for Android's dex format

Results 8 dex-parser issues
Sort by recently updated
recently updated
newest added

For parsing switch tables in Dex code. Before this can be merged, the problem of associating the two needs to be solved. The `packed-switch` instruction has its 2nd argument as:...

Same for FieldId. This information should be present, so when enumerating MethodIdItems it is possible to get their original MethodId.

We can add two ways to search methods: 1. Matching by method name, params and return type in the `Method` structure. 2. Matching by using the `dalvik.annotation.Signature` annotation. This will...

Goal: To be able to pin-point a location where the malformed input is/error occurs. Currently the `Error` type doesn't contain information on _where_ an error happened. I think it'd be...

appeases a cargo audit warning of memmap being [unmaintained](https://rustsec.org/advisories/RUSTSEC-2020-0077)

removes the dependency on atty which has an unfixed rustsec [advisory] [advisory]: https://rustsec.org/advisories/RUSTSEC-2021-0145

lru under version 0.7.1 has a [use after free](https://github.com/rustsec/advisory-db/blob/21c622592e8334057d6b56ea7249020ae74affa5/crates/lru/RUSTSEC-2021-0130.md) that is flagging a dependabot warning for me in a [dalvik](https://github.com/MarginResearch/dalvik) disassembly crate where I use `dex` in an example (thanks...

I am planning to write a DEX compiler and would need to be able to parse instructions to emit target code. However, this crate keeps the instructions in an unparsed...