What are the different types of memory addresses in a Cocoa application?

Whenever I look at memory addresses in my Cocoa application, I notice (in general) 3 main categories of addresses

  • 0x00006xxxxxxx
  • 0x00007fffxxxx
  • 0x0000001xxxxx

I have an idea of ​​exactly what ... how did I notice that the addresses 0x00006xxxxxxxseem to be pointers to my application objects?

and 0x0000001xxxxx, apparently, are addresses in actual objects in memory?

But I really don’t know anything and cannot form a good Google request to give me an answer.

Does anyone have a resource or know how to identify address categories in a Cocoa application?

+4
source share
1

- , Cocoa?

- - . , , , , . , MacOS, ( ), .

Objective-C , , , ( , ) . , ( , ), .

, , , . , Objective-C , , . , : (int, char ..), C-, , ..

, , , , , , . , , , , (, ).

, :

+7

Source: https://habr.com/ru/post/1609816/


All Articles