Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
The Dex File Format (bugsnag.com)
30 points by fractalwrench on Jan 4, 2018 | hide | past | favorite | 3 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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: