text

Text From Hackepedia

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

In einem "process" enthält die "text" region die executierbare Maschinensprache. Die Grösse von diesem text kann mit mittels des "size(1)" Kommandos angezeigt werden.

$ size /bin/sh
   text	   data	    bss	    dec	    hex	filename
 679005	  19264	  19736	 718005	  af4b5	/bin/sh
Die text sektion, kann auch in Assembler Maschinensprache umgewandelt werden mit mittels des "objdump(1)" Kommandos.
$ objdump -d /bin/sh
...
Disassembly of section .text:
...