F-Script 2.0: Browsing C Pointers
January 23, 2008 by Philippe Mougin
In F-Script, everything is an object, including C pointers, which are represented by FSPointer instances. In previous versions, we had to dereference them explicitly with the at: method in order to look at the content of the referenced memory. Exploration is made much easier in F-Script 2.0: when possible, the object browser now automatically displays the content of the memory.

For some pointers, F-Script uses the malloc_size() function to determine the size of the memory block to display. Thus, it might display memory contents that extend past the end of the memory block actually requested by the application at allocation time. In this case, some items at the end of the displayed content will just be the random values that happen to be there in memory.