cybersecurity · intermediate · ~15 min · safe pentest lab
Decode an LE32 value.
Implement unsigned read_le32(const unsigned char *b) assembling a 32-bit value from 4 little-endian bytes (b[0] is least significant).
unsigned read_le32(const unsigned char *b) {
/* TODO */
return 0;
}
Solve this exercise in the browser editor — compile and run against the test harness, no setup required.