The BIG big endian patch

This text comes from radare2’s doc/endian. And aims to explain the reason why radare2 codebase was handling endianness in a problematic way. damo22 cooked a huge patch addressing those issues and making the code endian-independent. This means that at compile time the code doesn’t assumes any local specific endian. Endian issues As hackers, we need to be aware of endianness. Endianness can become a problem when you try to process buffers or streams of bytes and store intermediate values as integers with width larger than a single byte.
Uncategorized