https://bugs.kde.org/show_bug.cgi?id=452802
--- Comment #3 from Paul Floyd <pjfl...@wanadoo.fr> --- What I'm going to try is, in elf.c for (i = 0; i < e->e.e_phnum; i++) { ESZ(Phdr) *ph = &e->p[i]; ESZ(Phdr) *phprev = NULL; ESZ(Addr) addr, bss, brkaddr; ESZ(Off) off; ESZ(Word) filesz; ESZ(Word) memsz; unsigned prot = 0; if (ph->p_type != PT_LOAD) continue; if (i) phprev = &e->p[i-1]; if (ph->p_flags & PF_X) prot |= VKI_PROT_EXEC; if (ph->p_flags & PF_W) prot |= VKI_PROT_WRITE; if (ph->p_flags & PF_R) prot |= VKI_PROT_READ; addr = ph->p_vaddr+base; off = ph->p_offset; if (phprev && ph->p_flags == phprev->p_flags) off += phprev->p_offset; -- You are receiving this mail because: You are watching all bug changes.