_symbolstub1 End of function _AudioServicesAddSystemSoundCompletion _symbolstub1 LDR PC, _AudioServicesAddSystemSoundCompletion$lazy_ptr For the standard "lazy" (on-demand) imports, the pointer resides in the _lazy_symbol section and initially points to a helper routine in the _stub_helper section, e.g.: _symbolstub1 _AudioServicesAddSystemSoundCompletion The symbol stubs indeed load into the PC a function pointer. I will describe the situation with the current iOS, it's somewhat different in the old versions. If someone can shed light on why this is so, or provide any resources that get this low level, please let me know. This looks something like a LDR which increases the PC by a fixed amount, but I don't see why the amount is the same for each entry in the symbol table. ![]() ![]() Using "otool -l" I see the following section: Section I am trying to understand how Mach-o files work, and have made a good deal of progress with the online resources available (In particular, the Apple page here: ), but I have hit a roadblock on understanding how symbol stubs work.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |