Hacker News new | ask | show | jobs
The Dex File Format (blog.bugsnag.com)
30 points by fractalwrench 3085 days ago
2 comments

For a quick reference of the Dex file format, Ange Albertini (known for PoC||GTFO) made a poster: https://github.com/corkami/pics/blob/master/binary/DalvikEXe...

All his posters are pretty amazing: https://github.com/corkami/pics/blob/master/binary/README.md

> The next value is a checksum, which is calculated by applying a function to the contents of the entire file, excluding any bytes preceding the checksum.

[...]

> The header also includes a SHA-1 hash of the file (excluding any preceding bytes).

Wait, each checksum includes the other? How does that work?

... nevermind. Pardon the stupidity...