Difference between revisions of "Kernel Symbols"

From The iPhone Wiki
Jump to: navigation, search
Line 7: Line 7:
 
<table>
 
<table>
 
<tr>
 
<tr>
  +
<th>symbol</th><th>5.0.0 iPodT 4G</th><th>Notes</th>
<td>_exception_triage</td><td>80016C34</td><td>The Mach exception processing logic. Same address on iOS 5.0.1</td>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>
  +
<td>_exception_triage</td><td>80016C34</td><td>The Mach exception processing logic. Same address on iOS 5.0.1</td>
<th>symbol</th><th>5.0.0 iPodT 4G</th><th>Notes</th>
 
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 03:34, 25 February 2012

iOS's XNU is largely stripped, and contains fewer and fewer symbols with its newer versions. Whereas in pre 3.0 most symbols were visible, nowadays only symbols required for KExt linkage remain so.

This page is started in the hopes of bringing together efforts of the various JBers so as to pool already symbolified sections of the kernel. Because addresses change along with the different builds, please add the symbols under the right kernel version (i.e. release + device). If not 100% sure about a symbol, indicate the level of confidence.


symbol5.0.0 iPodT 4GNotes
_exception_triage80016C34The Mach exception processing logic. Same address on iOS 5.0.1
sysent0x802CCBACThrough this you can obtain all of XNU's 438 system calls, e.g. _exit @0x8019DE04
syscall_names0x802D2C6CThe char[][] containing the textual names of all system calls
AppleMobileFileIntegrity_Start0x805E499CInitialization of AMFI, the kext responsible for sandbox policies and entitlements
ExceptionVectorsBase0x80078000Address of CPU exception handlers in kernel space: fleh_reset, fleh_undef, fleh_swi, fleh_prefabt, _fleh_dataabt, _fleh_addrexc and fleh_irq can be obtained from here

Note: For most of the above symbols, a fairly decent source code can be obtained from the public open source XNU at opensource.apple. Bear in mind that ml_, PE_ and other machine specific functions will naturally be implemented quite differently. (but, it's a start!)