English 中文(简体)
增量指挥
原标题:Add load command to mach-o binary

是否有可能增加LC_ LOAD_DYLIB to a binary? 防止家庭暴力 因此,我需要另一人将dy折装成 app。

问题回答

I open-sourced optool,其中确实如此。





相关问题
Bundles and dylib lookups

My .app packages looks like this: MyApp.app/ Contents/ MacOS/ MyApp libA.dylib libB.dylib libC.dylib PlugIns/ PlugIn1....

What are the differences between .so and .dylib on macOS?

.dylib is the dynamic library extension on macOS, but it s never been clear to me when I can t / shouldn t use a traditional unix .so shared object. Some of the questions I have: At a conceptual ...

dylib for iPhone 3.1.2 is too short, wrong cputype/cpusubtype

I ve been trying to compile a dylib to use in a little prototyping experiment however dlopen() says that my dylib is Mach-O but that the file is too short. Should it be padded with something? I have ...

Finding dylib version using dlopen

Is there a way to find the version of a dylib using its path? I am looking for something that accepts the same arguments as dlopen. I have looked at NSVersionOfRunTimeLibrary, but from my reading of ...

dylib @executable_path path issue in a plug-in bundle

I am developing a plug-in bundle, say MyPlugIn.bundle for an application, say BigApp.app. This bundle requires a dylib, say MyPlugIn.bundle/Contents/Resources/library.dylib. I have relocated paths for ...

Network Packet Inspector in Mac OSX

I m trying to create a network packet inspector. I know you can do this with libpcap, but it s not a sniffer, i need to forge network packet, before it was sent on network. (sending via socks server) ...

Copying dynamic library (.dylib) into a framework (.framework)

I have two XCode projects: a framework and a client application. My application depends on my framework and everything works fine with that — the framework is being recompiled everytime the app is, ...

热门标签