| Summary: | read_elf_debug_info() should accept 'executable' .got sections | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | hrkzmnm |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | wishlist | CC: | jirka |
| Priority: | NOR | ||
| Version First Reported In: | 3.7 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | ignore PF_X when choosing writable ELF sections | ||
|
Description
hrkzmnm
2012-05-17 12:22:12 UTC
296318 introduced changes in r12735 which, among other things, relax this requirement for strict R-X or RW- match exactly as the patch proposes, so it is no longer relevant.
if ( map->rw
&& (phdr->p_flags & (PF_R | PF_W)) == (PF_R | PF_W)) {
...
TRACE_SYMTAB("PT_LOAD[%ld]: acquired as rw\n", i);
}
if ( map->rx
&& (phdr->p_flags & (PF_R | PF_X)) == (PF_R | PF_X)) {
...
TRACE_SYMTAB("PT_LOAD[%ld]: acquired as rx\n", i);
}
Closing this a duplicate of 296318. If you still have the problem in current svn trunk >= r12375, please re-open. *** This bug has been marked as a duplicate of bug 296318 *** |