/** Proof-of-concept to show different methods to load executables in the Linux kernel * * @copyright 2021, Steffen Vogel * @license http://www.gnu.org/licenses/gpl.txt GNU Public License * @author Steffen Vogel * @link https://www.steffenvogel.de */ #include #include int main(int argc, char *argv[]) { printf("This is the dynamically-linked proxy: %s\n", argv[0]); printf(" Running now /usr/bin/objdump -dS %s\n\n", argv[1]); execl("/usr/bin/objdump", "objdump", "-dS", argv[0], NULL); }