<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden;">
On 6 Nov 2026, Kris Van Hees said: > On Fri, Nov 06, 2026 at 01: 16: 24PM +0000, Nick Alcock wrote: >> On 6 Nov 2026, Nick Alcock said: >> >> > On 30 Oct 2026, Kris Van Hees said: >> > >> >> Keep independent</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;opacity:0;overflow:hidden;"></div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannerxhtorof { all: revert !important; display: block !important;
    visibility: visible !important; opacity: 1 !important;
    background-color: #c2d4d4 !important;
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonxhtorof:hover, .pfptPrimaryButtonxhtorof:focus {
    background-color: #a2b1b1 !important; }
  .pfptPrimaryButtonxhtorof:active {
    background-color: #828e8e !important; }
  html:root, html:root>body { all: revert !important; display: block !important;
    visibility: visible !important; opacity: 1 !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">On 6 Nov 2026, Kris Van Hees said:

> On Fri, Nov 06, 2026 at 01:16:24PM +0000, Nick Alcock wrote:
>> On 6 Nov 2026, Nick Alcock said:
>> 
>> > On 30 Oct 2026, Kris Van Hees said:
>> >
>> >> Keep independent symbol and address indices for SHT_SYMTAB and SHT_DYNSYM,
>> >> loading strings through each tableâ?Ts sh_link. Search .symtab before .dynsym
>> >> and include dynamic-only names in module symbol iteration.
>> >
>> > Yet noather place where one or the other strtab was overlooked. These
>> > mistakes all date right back to Solaris...
>> >
>> >> Preserve .symtab indices for CTF, place dynamic and external symbols in
>> >> separate ID ranges, and use .dynsym for CTF when .symtab is absent. Allow
>> >
>> > Except in old dicts (CTFv2, or v3 in the absence of the CTF_F_DYNSTR
>> > dict flag), .dynsym should be searched unconditionally for CTF.
>> > Preferring the symtab is wrong. (I suspect this code is basically never
>> > run, since it's all symtypetab stuff, and the symtypetab isn't emitted
>> > for kernel CTF.)
>> 
>> ... oh wait, this is for uprobes. The symtab in use for that follows the
>> above rules then (and libctf does the symtypetab lookup for you, if
>> uprobes is using that. Don't implement it yourself simply because CTFv4
>> redoes this completely while retaining almost the same user-visible API,
>> and you don't want to change everything twice! v4 always uses the
>> dynsymtab, unconditionally.)
>
> But I do not have CTFv4 righr now, so we need this.

If it's necessary, fine, but you'll probably have to throw it all out
again :) using .dynsym and its linked strtab is obviously necessary,
though.

-- 
NULL && (void)
</pre></body></html>