blog/drafts/mach-o-symbol-and-relocation-tables.html
2011-12-03 15:01:11 -08:00

38 lines
762 B
HTML

<p><i>
This post is the last of a triplet on generating basic x86 Mach-O files
with Ruby. The
<a href="working-with-c-style-structs-in-ruby.html">
first post</a> introduced CStruct, a Ruby class used to serialize
simple struct-like objects, while the
second describes
<a href="basics-of-the-mach-o-file-format.html">the
structure of a simple Mach-O file</a>.
</i></p>
<h2>Symbol Tables</h2>
<p></p>
<h3>N-List structures</h3>
<p></p>
<h3>Load Command</h3>
<p></p>
<h2>Relocation Tables</h2>
<p></p>
<h2>Putting it all together</h2>
As promised I'll show you how to create a very basic Mach-O binary
that you can execute on a machine running OS X (well, any x86 machine
running Darwin but at least 99% of the time that is OS X).