User Tools

Site Tools


info:c_memory_structure

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
info:c_memory_structure [2012/10/16 17:22] – [Obtaining the debug section data] moritzinfo:c_memory_structure [2012/10/16 17:23] (current) – [Using the debug info dump] moritz
Line 262: Line 262:
 Here, ''iN'' represent the different bytes of the integer ''i'', same holds for ''s'' and ''c''. There is one byte padding at the end. The size of each member type can be determined by following the ''DW_AT_type'' pointer inside the debug info section. Here, ''iN'' represent the different bytes of the integer ''i'', same holds for ''s'' and ''c''. There is one byte padding at the end. The size of each member type can be determined by following the ''DW_AT_type'' pointer inside the debug info section.
  
-==== Using the debug info dump ==== 
- 
-The output of the debug info dump can be read again by a program in order to extract the ''typedef'' structures from it. The information forms a tree with pointers to specific tree elements and next items in the tree on the same level. Traverse type links recursively to obtain the size and encoding of individual types. 
  
 ==== Problems ==== ==== Problems ====
info/c_memory_structure.txt · Last modified: 2012/10/16 17:23 by moritz

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki