public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Fengkai Sun <qcloud1014@gmail.com>
To: libc-help@sourceware.org
Subject: Re: Cannot audit dlopen-ed libraries?
Date: Wed, 7 Jul 2021 17:23:21 +0800	[thread overview]
Message-ID: <CAF6YOcPyjQSciYiWBDPsoPYeunQWnBpRpbb-wksFBYHTLrP5NA@mail.gmail.com> (raw)
In-Reply-To: <CAF6YOcOH8V7mcosXtE2c9nhU3HY+xkqWQJPUCfv3j6C2-4CAsQ@mail.gmail.com>

Hi list,

I did more experiments and found functions inside dlopen-ed libraries can
be audited with RTLD_LAZY instead of RTLD_NOW set.

However, I want to audit all of the symbol bindings during dlopen, like
those printed by setting LD_DEBUG=bindings. Is this possible?


Best,
Fengkai

  reply	other threads:[~2021-07-07  9:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-30 12:49 Fengkai Sun
2021-07-07  9:23 ` Fengkai Sun [this message]
2021-07-07  9:25   ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAF6YOcPyjQSciYiWBDPsoPYeunQWnBpRpbb-wksFBYHTLrP5NA@mail.gmail.com \
    --to=qcloud1014@gmail.com \
    --cc=libc-help@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).