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 revision Previous revision
info:c_memory_structure [2012/10/16 17:22]
moritz [Obtaining the debug section data]
info:c_memory_structure [2012/10/16 17:23] (current)
moritz [Using the debug info dump]
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.1350400950.txt.gz · Last modified: 2012/10/16 17:22 by moritz