{"id":250,"date":"2013-03-05T09:58:07","date_gmt":"2013-03-05T08:58:07","guid":{"rendered":"http:\/\/andras.palfi.hu\/?p=250"},"modified":"2013-03-05T09:58:07","modified_gmt":"2013-03-05T08:58:07","slug":"analyzing-binary-libraries","status":"publish","type":"post","link":"http:\/\/andras.palfi.hu\/?p=250","title":{"rendered":"Analyzing binary libraries on Mac"},"content":{"rendered":"<p>\t\t\t\tIf you want to know the architectures a library supports, just call:<\/p>\n<p><strong>lipo<\/strong> -info &lt;libname&gt;<\/p>\n<p>lipo is also used to create fat-binaries.<\/p>\n<p>If you want to look more deeply into a binary library the easiest way to use\u00a0<strong>nm<\/strong>.<\/p>\n<p>NM will list the whole structure of the library together with the public classes\/method.<\/p>\n<p>It&#8217;s under the Xcode.app bundle.<\/p>\n<p>For example:<\/p>\n<p>\/Applications\/Xcode.app\/Contents\/Developer\/usr\/bin\/nm -g -U -A -m -arch armv7<\/p>\n<p>The tools can be found at\u00a0\/Applications\/XCode.app\/Contents\/Developer\/Platforms\/iPhoneOS.platform\/Developer\/usr\/bin\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to know the architectures a library supports, just call: lipo -info &lt;libname&gt; lipo is also used to create fat-binaries. If you want to look more deeply into a binary library the easiest way to use\u00a0nm. NM will list the whole structure of the library together with the public classes\/method. It&#8217;s under the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"hide_page_title":"","footnotes":""},"categories":[3,4,11,13,14],"tags":[],"_links":{"self":[{"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=\/wp\/v2\/posts\/250"}],"collection":[{"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=250"}],"version-history":[{"count":0,"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=\/wp\/v2\/posts\/250\/revisions"}],"wp:attachment":[{"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=250"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/andras.palfi.hu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}