Writing a Simple Mach-O Parser with Python ctypes

Overview When trying to understand the file format for a given executable type, there is no better way of accomplishing that than writing a parser for it. In this post we will walk through how to build a simple parser using Python and ctypes for the Mach-O file format. There…