This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/24645] New: ability to change IFUNC while program is running


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]