| 92 | } |
| 93 | |
| 94 | static void parseProgramHeader(const uchar *s, ElfProgramHeader *sh, const ElfData &context) |
| 95 | { |
| 96 | sh->type = getWord(s, context); |
| 97 | sh->offset = getOffset(s, context); |
| 98 | /* p_vaddr = */ getAddress(s, context); |
| 99 | /* p_paddr = */ getAddress(s, context); |
| 100 | sh->filesz = getWord(s, context); |
| 101 | sh->memsz = getWord(s, context); |
| 102 | } |
| 103 | |
| 104 | class ElfMapper |
| 105 | { |
no test coverage detected