this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Do not generate trampolines for dlopen and dlclose

+4
+4
src/libdyld/Trampoline.cpp
··· 97 97 { 98 98 if ((targetAddr > m_pMem && targetAddr < m_pMem+m_nMax) || !isExecutable(targetAddr)) 99 99 return targetAddr; // will not create a trampoline for a trampoline 100 + if (strcmp(name, "dlopen") == 0) 101 + return targetAddr; // trampolines break RPATH resolution in dlopen 102 + if (strcmp(name, "dlsym") == 0) 103 + return targetAddr; // trampolines break RTLD_SELF 100 104 101 105 AddrEntry e = { name, name, targetAddr }; 102 106 if (m_nNext >= m_nMax)