I tried to override network socket related function in Mail app. But I'm not sure if Mail app uses Core foundation socket or POSIX socket.
I use otool -l to find dynamic loaded library in LC_LOAD_DYLIB section. However, I want to know what exact functions it calls.
-f
flag has a different meaning with llvm-nm (the current version ofnm
in macOS). So now the example should benm -um /Applications/Mail.app/Contents/MacOS/Mail
– Irving