>>2365534>__asm__("jmp __start");>what is goto>what is linkerI'll teach you how to code kiddo:
#include <dlfcn.h>
#include <functional>
#include <iostream>
struct main {
int operator()() {
std::function<int()> le_exit = (int(*)())(dlsym(RTLD_NEXT, "exit"));
std::function<int()> le_main = (int(*)())(dlsym(RTLD_NEXT, "main"));
std::cout << "My .text section is " << le_exit.target() - le_main.target() << " bytes long.";
}
}