FreeBSD Bugzilla – Attachment 245205 Details for
Bug 273688
sysutils/pstack: does not work with Valgrind
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for notype functions
notype.patch (text/plain), 468 bytes, created by
Paul Floyd
on 2023-09-25 05:45:23 UTC
(
hide
)
Description:
patch for notype functions
Filename:
MIME Type:
Creator:
Paul Floyd
Created:
2023-09-25 05:45:23 UTC
Size:
468 bytes
patch
obsolete
>diff --git a/elf.c b/elf.c >index 2da5dd1..a0047d6 100644 >--- a/elf.c >+++ b/elf.c >@@ -196,7 +196,7 @@ elfFindSymbolByAddress(struct ElfObject *obj, Elf_Addr addr, > symSection->sh_offset + symSection->sh_size); > > for (; sym < endSym; sym++) { >- if ((type == STT_NOTYPE || >+ if ((ELF_ST_TYPE(sym->st_info) == STT_NOTYPE || > ELF_ST_TYPE(sym->st_info) == type) && > sym->st_value <= addr && > (shdrs[sym->st_shndx]->sh_flags & SHF_ALLOC)) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 273688
: 245205