<div>Hi All,</div><div><br></div><div>I was wondering if someone could help illuminate me…  </div><div><br></div><div>I took a very simple objective-c file, "simple" and started looking at various sections…</div>
<div><br></div><div><br></div><div>Finally I did…</div><div><br></div><div>$otool -X -s __DATA __objc_selrefs simple</div><div><br></div><div>00003034<span class="Apple-tab-span" style="white-space:pre">     </span>00002fec 00002fe7 00002fd7 00002fcc </div>
<div>00003044<span class="Apple-tab-span" style="white-space:pre">      </span>00002fc6 00002ff2 </div><div><br></div><div>$ otool -l simple | grep selrefs -A20</div><div>  sectname __objc_selrefs</div><div>   segname __DATA</div>
<div>      addr 0x00003034</div><div>      size 0x00000018</div><div>    offset 8244</div><div>     align 2^2 (4)</div><div>    reloff 0</div><div>    nreloc 0</div><div>     flags 0x10000005</div><div> reserved1 0</div><div>
 reserved2 0</div><div><br></div><div>Now, obviously these are where the selectors are, and sure enough when I start walking the disass I find these addresses coming up.. but if I look at address 0x3034 I don't see 00002fec or anything the like.., in fact, using 0xED, I see 68300000 at offset 0x3034... so, where are the selectors?  Am I missing something, how is this section used??</div>
<div><br></div><div>Any help, pointers would be great, thanks!</div><div><br></div><div>- Jared</div><div><br></div><div><br></div>