Text: Difference between revisions

From Hackepedia
Jump to navigationJump to search
No edit summary
 
No edit summary
 
Line 1: Line 1:
In a [[process]] the text region contains the executable code instruction.
In a [[process]] the text region contains the executable code instruction.  The size of the text can be displayed by means of the size(1) command.
 
$ size longtest
text    data    bss    dec    hex
1728    368    352    2448    990
 
The text section can be disassembled by means of the objdump(1) command.
 
$ objdump -d longtest
...
Disassembly of section .text:
...

Latest revision as of 04:44, 8 October 2005

In a process the text region contains the executable code instruction. The size of the text can be displayed by means of the size(1) command.

$ size longtest
text    data    bss     dec     hex
1728    368     352     2448    990

The text section can be disassembled by means of the objdump(1) command.

$ objdump -d longtest
...
Disassembly of section .text:
...