Date: Mon, 6 Jul 2015 13:00:52 -0400 From: Riyad Parvez <riyad.parvez@...terloo.ca> To: musl@...ts.openwall.com Subject: Making a shared library that intercepts call to main work with musl compiled binary Hi All, I've shared library  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? Thanks Riyad : https://github.com/dslab-epfl/s2e/blob/master/guest/init_env/init_env.c 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.