Skip to content

dlsym(RTLD_NEXT) doesn't always work #2

@jethrogb

Description

@jethrogb

Sometimes you need to do some magic to find the entry point for the real function. Here's an example that uses dl_iterate_phdr when dlsym(RTLD_NEXT,...) fails: https://github.com/jethrogb/ssltrace/blob/bf17c150a7/ssltrace.cpp#L74-L112

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions