This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug dynamic-link/24645] New: ability to change IFUNC while program is running
- From: "slandden at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sun, 09 Jun 2019 12:57:58 +0000
- Subject: [Bug dynamic-link/24645] New: ability to change IFUNC while program is running
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=24645
Bug ID: 24645
Summary: ability to change IFUNC while program is running
Product: glibc
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: dynamic-link
Assignee: unassigned at sourceware dot org
Reporter: slandden at gmail dot com
Target Milestone: ---
It should be possible change the function called by a symbol while the program
is running. Something like:
setifuncsymbol("foo", function_ptr_t);
I ran into this as a way to speed up the ctype stuff which I am having
performance problems with (but there are ASCII-incompatible locales that need
the existing code), but it might also be useful to have something like this for
process migration (but only if there is always forward progress through such
functions), but that might want more of a call that re-runs the ifunc
detections.
--
You are receiving this mail because:
You are on the CC list for the bug.