Re: (interposers): How to workaround the "strong symbols" problem?

Liste des GroupesRevenir à cu programmer 
Sujet : Re: (interposers): How to workaround the "strong symbols" problem?
De : Muttley (at) *nospam* DastardlyHQ.org
Groupes : comp.unix.programmer
Date : 20. Jan 2025, 10:41:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vml5ol$31d1s$1@dont-email.me>
References : 1 2 3 4 5
On Sun, 19 Jan 2025 16:04:33 +0000
Richard Kettlewell <invalid@invalid.invalid> wibbled:
Marcel Mueller <news.5.maazl@spamgourmet.org> writes:
Am 18.01.25 um 01:42 schrieb Kenny McCormack:
Right.  It seems to boil down to:
     You can't interpose a syscall.
I.e., so if a library function calls the syscall directly (rather
than going through the Glibc wrapper), you can't interpose it.  This
is, of course, as it should be.
>
Hmm, it may be related to optimizations. Assuming the openat call is
inlined in another compilation unit there is no option to change this
at link time.
>
Inlining and compiler optimization aren’t relevant here.
>
“System call” can mean two things:
>
1) The actual transfer to the kernel, via an instruction such as SYSCALL
  (x86) or SVC (Arm). This is what appears in strace.

On a slight tangent, does anyone know of a good reference for how to use
the ptrace() call on Linux? The man page is somewhat obtuse.


Date Sujet#  Auteur
17 Jan 25 * (interposers): How to workaround the "strong symbols" problem?16Kenny McCormack
17 Jan 25 +* Re: (interposers): How to workaround the "strong symbols" problem?2Kenny McCormack
18 Jan 25 i`- Re: (interposers): How to workaround the "strong symbols" problem?1Kaz Kylheku
18 Jan 25 `* Re: (interposers): How to workaround the "strong symbols" problem?13Richard Kettlewell
18 Jan 25  `* Re: (interposers): How to workaround the "strong symbols" problem?12Kenny McCormack
19 Jan 25   `* Re: (interposers): How to workaround the "strong symbols" problem?11Marcel Mueller
19 Jan 25    `* Re: (interposers): How to workaround the "strong symbols" problem?10Richard Kettlewell
19 Jan 25     +* Re: (interposers): How to workaround the "strong symbols" problem?5Kenny McCormack
19 Jan 25     i`* Re: (interposers): How to workaround the "strong symbols" problem?4Marcel Mueller
19 Jan 25     i +* Re: (interposers): How to workaround the "strong symbols" problem?2Kenny McCormack
20 Jan 25     i i`- Re: (interposers): How to workaround the "strong symbols" problem?1Marcel Mueller
20 Jan 25     i `- Re: (interposers): How to workaround the "strong symbols" problem?1Richard Kettlewell
20 Jan 25     `* Re: (interposers): How to workaround the "strong symbols" problem?4Muttley
20 Jan 25      `* Re: (interposers): How to workaround the "strong symbols" problem?3Kalevi Kolttonen
20 Jan 25       `* Re: (interposers): How to workaround the "strong symbols" problem?2Kenny McCormack
20 Jan 25        `- Re: (interposers): How to workaround the "strong symbols" problem?1Kaz Kylheku

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal