Text

From Hackepedia
Jump to navigationJump to search

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:
...