Creating a Dalvik parser in Rust (Part 1)


In SUPER we are creating a Dalvik (dex file) parser to implement the actual parsing in pure Rust, and here we have the first article explaining how we are doing it:

What do you think? Should we explain more things? What would you like to know about the implementation? Still lots of things are left in the code repo itself, and some of the things already implemented in the repo are not in the article (they will come in part 2).


What I would personally do is to have a function that reads the correct byte order depending on the header. That would get rid of lots of copy pasted code.


We are actually using something like that since some commits ago:

We will publish it in the next post :slight_smile: