Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 6 Jul 2015 13:00:52 -0400
From: Riyad Parvez <>
Subject: Making a shared library that intercepts call to main work with musl
 compiled binary

Hi All,

I've shared library [1] which intercepts loading of a binary and does some
pre-processing with the command-line arguments via "LD_PRELOAD" technique.
The shared library works fine with glibc compiled binary i.e., it can
intercept the call to main and does some preprocessing. But it can't
intercept call to "main" in musl-compiled binary. I've compiled my binary
in static mode with musl "CC=/musl-gcc -static". How can I make the shared
library work with musl-compiled binary?



Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.