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 manual/20424] New: Document how to provide a malloc replacement


https://sourceware.org/bugzilla/show_bug.cgi?id=20424

            Bug ID: 20424
           Summary: Document how to provide a malloc replacement
           Product: glibc
           Version: 2.24
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: tuliom at linux dot vnet.ibm.com
                CC: mtk.manpages at gmail dot com, roland at gnu dot org
  Target Milestone: ---

According to the __malloc_hook man page [1]

    Programmers should instead preempt calls to the relevant functions by
    defining and exporting functions such as "malloc" and "free".

However, it's necessary to re-define all malloc-related API and the full list
isn't completely clear.

-- 
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]