[1003.1(2008)/Issue 7 0000993]: Standardizing dladdr()
The following issue has a resolution that has been APPLIED. == https://austingroupbugs.net/view.php?id=993 == Reported By:EdSchouten Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 993 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: Applied Name: Ed Schouten Organization: Nuxi User Reference: Section:dlfcn.h Page Number:n/a Line Number:n/a Interp Status: --- Final Accepted Text:https://austingroupbugs.net/view.php?id=993#c5335 Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2015-10-18 10:22 UTC Last Modified: 2021-05-07 15:21 UTC == Summary:Standardizing dladdr() == Issue History Date ModifiedUsername FieldChange == 2015-10-18 10:22 EdSchouten New Issue 2015-10-18 10:22 EdSchouten Status New => Under Review 2015-10-18 10:22 EdSchouten Assigned To => ajosey 2015-10-18 10:22 EdSchouten Name => Ed Schouten 2015-10-18 10:22 EdSchouten Organization => Nuxi 2015-10-18 10:22 EdSchouten Section => dlfcn.h 2015-10-18 10:22 EdSchouten Page Number => n/a 2015-10-18 10:22 EdSchouten Line Number => n/a 2015-11-04 20:01 wahern Note Added: 0002882 2015-11-05 14:00 shware_systems Note Added: 0002883 2015-11-05 18:17 EdSchouten Note Added: 0002886 2015-11-06 16:33 dalias Note Added: 0002891 2016-05-27 16:07 nico Note Added: 0003236 2016-05-27 16:13 nico Note Added: 0003237 2016-07-21 15:23 Don Cragun Note Added: 0003300 2016-09-14 14:24 emaste Issue Monitored: emaste 2020-09-07 09:06 geoffclare Note Added: 0004974 2020-09-07 09:07 geoffclare Note Edited: 0004974 2020-09-07 09:14 geoffclare Note Edited: 0004974 2020-10-16 09:35 geoffclare Note Added: 0005051 2021-04-29 15:19 geoffclare Note Added: 0005335 2021-04-29 15:20 geoffclare Interp Status => --- 2021-04-29 15:20 geoffclare Final Accepted Text => https://austingroupbugs.net/view.php?id=993#c5335 2021-04-29 15:20 geoffclare Status Under Review => Resolved 2021-04-29 15:20 geoffclare Resolution Open => Accepted As Marked 2021-04-29 15:20 geoffclare Tag Attached: issue8 2021-05-07 15:21 geoffclare Status Resolved => Applied ==
[1003.1(2008)/Issue 7 0000993]: Standardizing dladdr()
The following issue has been RESOLVED. == https://austingroupbugs.net/view.php?id=993 == Reported By:EdSchouten Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 993 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: Resolved Name: Ed Schouten Organization: Nuxi User Reference: Section:dlfcn.h Page Number:n/a Line Number:n/a Interp Status: --- Final Accepted Text:https://austingroupbugs.net/view.php?id=993#c5335 Resolution: Accepted As Marked Fixed in Version: == Date Submitted: 2015-10-18 10:22 UTC Last Modified: 2021-04-29 15:20 UTC == Summary:Standardizing dladdr() == Issue History Date ModifiedUsername FieldChange == 2015-10-18 10:22 EdSchouten New Issue 2015-10-18 10:22 EdSchouten Status New => Under Review 2015-10-18 10:22 EdSchouten Assigned To => ajosey 2015-10-18 10:22 EdSchouten Name => Ed Schouten 2015-10-18 10:22 EdSchouten Organization => Nuxi 2015-10-18 10:22 EdSchouten Section => dlfcn.h 2015-10-18 10:22 EdSchouten Page Number => n/a 2015-10-18 10:22 EdSchouten Line Number => n/a 2015-11-04 20:01 wahern Note Added: 0002882 2015-11-05 14:00 shware_systems Note Added: 0002883 2015-11-05 18:17 EdSchouten Note Added: 0002886 2015-11-06 16:33 dalias Note Added: 0002891 2016-05-27 16:07 nico Note Added: 0003236 2016-05-27 16:13 nico Note Added: 0003237 2016-07-21 15:23 Don Cragun Note Added: 0003300 2016-09-14 14:24 emaste Issue Monitored: emaste 2020-09-07 09:06 geoffclare Note Added: 0004974 2020-09-07 09:07 geoffclare Note Edited: 0004974 2020-09-07 09:14 geoffclare Note Edited: 0004974 2020-10-16 09:35 geoffclare Note Added: 0005051 2021-04-29 15:19 geoffclare Note Added: 0005335 2021-04-29 15:20 geoffclare Interp Status => --- 2021-04-29 15:20 geoffclare Final Accepted Text => https://austingroupbugs.net/view.php?id=993#c5335 2021-04-29 15:20 geoffclare Status Under Review => Resolved 2021-04-29 15:20 geoffclare Resolution Open => Accepted As Marked ==
[1003.1(2008)/Issue 7 0000993]: Standardizing dladdr()
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=993 == Reported By:EdSchouten Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 993 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: Under Review Name: Ed Schouten Organization: Nuxi User Reference: Section:dlfcn.h Page Number:n/a Line Number:n/a Interp Status: --- Final Accepted Text: == Date Submitted: 2015-10-18 10:22 UTC Last Modified: 2021-04-29 15:19 UTC == Summary:Standardizing dladdr() == -- (0005335) geoffclare (manager) - 2021-04-29 15:19 https://austingroupbugs.net/view.php?id=993#c5335 -- Make the changes from "Additional APIs for Issue 8, Part 1" (Austin/1110). Issue History Date ModifiedUsername FieldChange == 2015-10-18 10:22 EdSchouten New Issue 2015-10-18 10:22 EdSchouten Status New => Under Review 2015-10-18 10:22 EdSchouten Assigned To => ajosey 2015-10-18 10:22 EdSchouten Name => Ed Schouten 2015-10-18 10:22 EdSchouten Organization => Nuxi 2015-10-18 10:22 EdSchouten Section => dlfcn.h 2015-10-18 10:22 EdSchouten Page Number => n/a 2015-10-18 10:22 EdSchouten Line Number => n/a 2015-11-04 20:01 wahern Note Added: 0002882 2015-11-05 14:00 shware_systems Note Added: 0002883 2015-11-05 18:17 EdSchouten Note Added: 0002886 2015-11-06 16:33 dalias Note Added: 0002891 2016-05-27 16:07 nico Note Added: 0003236 2016-05-27 16:13 nico Note Added: 0003237 2016-07-21 15:23 Don Cragun Note Added: 0003300 2016-09-14 14:24 emaste Issue Monitored: emaste 2020-09-07 09:06 geoffclare Note Added: 0004974 2020-09-07 09:07 geoffclare Note Edited: 0004974 2020-09-07 09:14 geoffclare Note Edited: 0004974 2020-10-16 09:35 geoffclare Note Added: 0005051 2021-04-29 15:19 geoffclare Note Added: 0005335 ==
[1003.1(2008)/Issue 7 0000993]: Standardizing dladdr()
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=993 == Reported By:EdSchouten Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 993 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: Under Review Name: Ed Schouten Organization: Nuxi User Reference: Section:dlfcn.h Page Number:n/a Line Number:n/a Interp Status: --- Final Accepted Text: == Date Submitted: 2015-10-18 10:22 UTC Last Modified: 2020-10-16 09:35 UTC == Summary:Standardizing dladdr() == -- (0005051) geoffclare (manager) - 2020-10-16 09:35 https://austingroupbugs.net/view.php?id=993#c5051 -- The dladdr() additions have been made in the Issue8NewAPIs branch in gitlab, based on https://austingroupbugs.net/view.php?id=993#c4974. Issue History Date ModifiedUsername FieldChange == 2015-10-18 10:22 EdSchouten New Issue 2015-10-18 10:22 EdSchouten Status New => Under Review 2015-10-18 10:22 EdSchouten Assigned To => ajosey 2015-10-18 10:22 EdSchouten Name => Ed Schouten 2015-10-18 10:22 EdSchouten Organization => Nuxi 2015-10-18 10:22 EdSchouten Section => dlfcn.h 2015-10-18 10:22 EdSchouten Page Number => n/a 2015-10-18 10:22 EdSchouten Line Number => n/a 2015-11-04 20:01 wahern Note Added: 0002882 2015-11-05 14:00 shware_systems Note Added: 0002883 2015-11-05 18:17 EdSchouten Note Added: 0002886 2015-11-06 16:33 dalias Note Added: 0002891 2016-05-27 16:07 nico Note Added: 0003236 2016-05-27 16:13 nico Note Added: 0003237 2016-07-21 15:23 Don Cragun Note Added: 0003300 2016-09-14 14:24 emaste Issue Monitored: emaste 2020-09-07 09:06 geoffclare Note Added: 0004974 2020-09-07 09:07 geoffclare Note Edited: 0004974 2020-09-07 09:14 geoffclare Note Edited: 0004974 2020-10-16 09:35 geoffclare Note Added: 0005051 ==
[1003.1(2008)/Issue 7 0000993]: Standardizing dladdr()
A NOTE has been added to this issue. == https://austingroupbugs.net/view.php?id=993 == Reported By:EdSchouten Assigned To:ajosey == Project:1003.1(2008)/Issue 7 Issue ID: 993 Category: Base Definitions and Headers Type: Clarification Requested Severity: Editorial Priority: normal Status: Under Review Name: Ed Schouten Organization: Nuxi User Reference: Section:dlfcn.h Page Number:n/a Line Number:n/a Interp Status: --- Final Accepted Text: == Date Submitted: 2015-10-18 10:22 UTC Last Modified: 2020-09-07 09:06 UTC == Summary:Standardizing dladdr() == -- (0004974) geoffclare (manager) - 2020-09-07 09:06 https://austingroupbugs.net/view.php?id=993#c4974 -- Suggested changes to go into The Open Group company review... Page and line numbers are for the 2016/2018 edition. On page 233 line 7838 section , add:The header shall define the Dl_info_t structure type, which shall include at least the following members:const char *dli_fname Pathname of mapped object file. void *dli_fbase Base of mapped address range. const char *dli_sname Symbol name or null pointer. void *dli_saddr Symbol address or null pointer. On page 233 line 7848 section , insert:int dladdr(const void *restrict, Dl_info_t *restrict); On page 233 line 7859 section , add dladdr() to SEE ALSO. On page 475 line 16317 section 2.2.2 The Name Space, change:RTLD_to:RTLD_, dli_ On page 2053 insert a new dladdr page: NAMEdladdr -- get information relating to an address SYNOPSIS#include int dladdr(const void *restrict addr, Dl_info_t *restrict dlip); DESCRIPTIONThe dladdr() function shall determine whether the address specified by addr is located within the address range occupied by a mapped object. The mapped objects examined shall include any executable object files that have previously been loaded by a call to dlopen() and for which dlclose() has not subsequently been called, and any shared library files that were loaded as dependencies of the executable file from which the current process image was loaded; they may also include any executable object files that have previously been loaded by a call to dlopen() and for which dlclose() has subsequently been called, the executable file from which the current process image was loaded, and implementation-defined additional mapped objects (for example, all regular files mapped using mmap() might be included). If the specified address is within the mapped address range of one of these mapped objects and the object contains a symbol table, the symbol table shall be searched for a symbol (a function identifier or a data object identifier) that has the largest address less than or equal to the specified address. If the address specified by addr is within the mapped address range of one of the examined mapped objects, the structure pointed to by dlip shall be populated as follows: The value of the dli_fname member shall be set to point to the pathname of the mapped object. (This might no longer resolve to the file that was mapped, for example if it was a link that has subsequently been removed or renamed.) The value of the dli_fbase member shall be set to the base of the address range occupied by the mapped object. The value of the dli_sname member shall be set to point to the name of the symbol that has the largest address less than or equal to the specified address, or to a null pointer if no such symbol was found. If dli_sname is set to a null pointer, the value of the dli_saddr member shall also be set to a null pointer. Otherwise, if dli_sname names a function identifier, dli_saddr shall bet set to the address of the function converted from type pointer to function to type pointer to void; otherwise, dli_saddr shall be set to the address of the data object named by dli_sname converted from a pointer to the type of the data object to a pointer to void. RETURN VALUEUpon successful completion, a non-zero value shall be returned. If the specified address is not located within the address range occupied by an examined mapped object, or if an error occurs, zero shall be returned. More detailed diagnostic