Parsing a fileformat with radare2

Thanks to Skia, one of our RSoC participants, radare2 is now able to show structures, like headers, in a meaningful way. Usage Lets see an example together (or watch the video): $ r2 -nn /bin/true The -nn option tells radare2 to load predefined binary structures. [0x00000000]> pf. pf.elf_header [16]z[2]E[2]Exqqqxwwwwww ident (elf_type)type (elf_machine)machine version entry phoff shoff flags ehsize phentsize phnum shentsize shnum shstrndx pf.elf_phdr qqqqqqqq type offset vaddr paddr filesz memsz flags align pf.