Skip to content

Optional support for symbol table dump and module address/size info on POSIX systems (adds GNU extension dependence) #1205

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.
Currently checksum app does not work on systems that use os-impl-posix-dl-symtab.c since module address/size data is not filled in, nor is OS_SymbolTableDump supported.

Describe the solution you'd like
Would add GNU extension dependence, but dl_iterate_phdr() could be used to get the information required for both symbol table dump and module address/size. Example for getting module address here: https://stackoverflow.com/questions/19451791/get-loaded-address-of-a-elf-binary-dlopen-is-not-working-as-expected

Describe alternatives you've considered
None

Additional context
We've avoided GNU extension dependence, but if supported on the desired system it would be helpful to have the option for this functionality to work. Another use case is when simulating a system that does have these functions implemented, it's likely desirable to support the capability.

Requester Info
Jacob Hageman - NASA/GSFC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions