Advanced Apple Debugging by 2018

Advanced Apple Debugging by 2018

Author:2018
Language: eng
Format: epub
Publisher: Ray Wenderlich


In the console output, you'll see the following:

0x00000001 code [0x0000000109e5f290-0x0000000109e68aa0) r-x 0x00001290 0x00009810 0x80000400 MachOFun.__TEXT.__text

Breaking down this output, the 0x00000001 is LLDB's way to identify the section.

LLDB has identified the content as code.

The addresses in brackets is where this section is located in memory.

The 0x00001290 is the offset on disk, while the 0x00009810 value is the size of the section on disk.

Finally, the flags have the value 0x80000400 which are S_ATTR_SOME_INSTRUCTIONS and S_ATTR_PURE_INSTRUCTIONS OR'd together. Once again, I'll leave that to you to research in mach-o/loader.h.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.