About: Code segment     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : yago:WikicatExecutableFileFormats, within Data Space : dbpedia.org associated with source document(s)
QRcode icon
http://dbpedia.org/describe/?url=http%3A%2F%2Fdbpedia.org%2Fresource%2FCode_segment

In computing, a code segment, also known as a text segment or simply as text, is a portion of an object file or the corresponding section of the program's virtual address space that contains executable instructions. The term "segment" comes from the memory segment, which is a historical approach to memory management that has been succeeded by paging. When a program is stored in an object file, the code segment is a part of this file; when the loader places a program into memory so that it may be executed, various memory regions are allocated (in particular, as pages), corresponding to both the segments in the object files and to segments only needed at run time. For example, the code segment of an object file is loaded into a corresponding code segment in memory.

AttributesValues
rdf:type
rdfs:label
  • Codesegment (de)
  • Code segment (en)
  • Segmento de código (es)
  • Segment de code (fr)
  • Segment kodu (pl)
  • 代码段 (zh)
rdfs:comment
  • Le segment de code est une portion de l’espace d’adressage d’un processus virtuel, contenant les instructions a exécuter. Celles-ci sont sous leur forme binaire, en langage machine, après une édition de liens (souvent étape d'une compilation) depuis un code source. (fr)
  • 在采用段式内存管理的架构中,代码段(code segment / text segment)通常是指用来存放程序执行代码的一块内存区域。这部分区域的大小在程序运行前就已经确定,并且内存区域通常属于只读, 某些架构也允许代码段为可写,即允许程序自修改(self-modifying code)。在代码段中,也有可能包含一些只读的常数变量,例如字符串常量等。 操作系统在装载一个程序时会进行的分段,而代码段通常处于最底部,即最低地址部分,而堆和栈在高处,所以在允许代码段可写的架构上,当堆或栈内存溢出时,代码段中的数据就会开始被覆盖。 (zh)
  • In computing, a code segment, also known as a text segment or simply as text, is a portion of an object file or the corresponding section of the program's virtual address space that contains executable instructions. The term "segment" comes from the memory segment, which is a historical approach to memory management that has been succeeded by paging. When a program is stored in an object file, the code segment is a part of this file; when the loader places a program into memory so that it may be executed, various memory regions are allocated (in particular, as pages), corresponding to both the segments in the object files and to segments only needed at run time. For example, the code segment of an object file is loaded into a corresponding code segment in memory. (en)
  • Das Codesegment ist der Teil eines Anwendungsprogramms, in dem die expliziten Maschinen-Codes (Opcodes) stehen, die an den Prozessor geleitet und dann ausgeführt werden. Ein Codesegment enthält also Anweisungen (Befehle) für den Rechner, die dieser ausführen soll. Nach dem Laden des Programms durch das Betriebssystem arbeitet der Prozessor die Befehle im Codesegment Schritt für Schritt ab, bis in der Anwendung eine Abbruchbedingung eintritt, die die Beendigung der Anwendung einleitet. (de)
  • En computación, un segmento de código, también conocido simplemente como segmento, es una de las secciones de un programa en un fichero objeto o en memoria, que contiene instrucciones ejecutables. Contiene un tamaño fijo y es usualmente de solo-lectura. Si el segmento de texto no es de solo-lectura, es debido a que la arquitectura particular permite que el código se auto-modifique. La posición fija o posición de código independiente puede ser compartida en memoria por diferentes procesos en sistemas de memoria segmentada o paginada. (es)
  • Segment kodu (znany również jako text segment albo po prostu text) – obszar pamięci zawierający kod maszynowy przeznaczony do wykonania przez procesor komputera. Segment kodu może być umieszczony w pamięci operacyjnej komputera poprzez załadowanie fragmentu (sekcji w przypadku formatu pliku ELF) pliku wykonywalnego zawierającego instrukcje maszynowe. Segment kodu zapisany w pamięci tylko do odczytu może być używany przez kilka procesów (np. przez kilka równocześnie wykonywanych kopii tego samego programu lub w formie biblioteki współdzielonej). (pl)
dcterms:subject
Wikipage page ID
Wikipage revision ID
Link from a Wikipage to another Wikipage
sameAs
dbp:wikiPageUsesTemplate
has abstract
  • Das Codesegment ist der Teil eines Anwendungsprogramms, in dem die expliziten Maschinen-Codes (Opcodes) stehen, die an den Prozessor geleitet und dann ausgeführt werden. Ein Codesegment enthält also Anweisungen (Befehle) für den Rechner, die dieser ausführen soll. Das Codesegment wird vom Compiler aus dem Quellcode der Anwendung übersetzt. Aus dem Codesegment kann man mit Hilfe eines Disassemblers wieder Quellcode (Assembler-Code) zurückgewinnen. Der Begriff „Codesegment“ bezeichnet sowohl den Anweisungsbereich in der Programmdatei, als auch den Bereich des Arbeitsspeichers mit dem zur Ausführung geladenen Programm. Nach dem Laden des Programms durch das Betriebssystem arbeitet der Prozessor die Befehle im Codesegment Schritt für Schritt ab, bis in der Anwendung eine Abbruchbedingung eintritt, die die Beendigung der Anwendung einleitet. (de)
  • In computing, a code segment, also known as a text segment or simply as text, is a portion of an object file or the corresponding section of the program's virtual address space that contains executable instructions. The term "segment" comes from the memory segment, which is a historical approach to memory management that has been succeeded by paging. When a program is stored in an object file, the code segment is a part of this file; when the loader places a program into memory so that it may be executed, various memory regions are allocated (in particular, as pages), corresponding to both the segments in the object files and to segments only needed at run time. For example, the code segment of an object file is loaded into a corresponding code segment in memory. The code segment in memory is typically read-only and has a fixed size, so on embedded systems it can usually be placed in read-only memory (ROM), without the need for loading. If the code segment is not read-only, then the particular architecture allows self-modifying code. Fixed-position or position-independent code may be shared in memory by several processes in segmented or paged memory systems. As a memory region, the code segment may be placed below the heap or stack in order to prevent heap and stack overflows from overwriting it. (en)
  • En computación, un segmento de código, también conocido simplemente como segmento, es una de las secciones de un programa en un fichero objeto o en memoria, que contiene instrucciones ejecutables. Contiene un tamaño fijo y es usualmente de solo-lectura. Si el segmento de texto no es de solo-lectura, es debido a que la arquitectura particular permite que el código se auto-modifique. La posición fija o posición de código independiente puede ser compartida en memoria por diferentes procesos en sistemas de memoria segmentada o paginada. Tratado como una zona de memoria, el segmento de código puede ser colocado en una dirección más baja que la pila (stack) con el fin de evitar su sobre-escritura si ocurre un desbordamiento de esta última. (es)
  • Le segment de code est une portion de l’espace d’adressage d’un processus virtuel, contenant les instructions a exécuter. Celles-ci sont sous leur forme binaire, en langage machine, après une édition de liens (souvent étape d'une compilation) depuis un code source. (fr)
  • Segment kodu (znany również jako text segment albo po prostu text) – obszar pamięci zawierający kod maszynowy przeznaczony do wykonania przez procesor komputera. Segment kodu może być umieszczony w pamięci operacyjnej komputera poprzez załadowanie fragmentu (sekcji w przypadku formatu pliku ELF) pliku wykonywalnego zawierającego instrukcje maszynowe. W niektórych architekturach komputerów segment kodu jest przechowywany w obszarze pamięci tylko do odczytu, dzięki czemu w przypadku konieczności usunięcia segmentu kodu z pamięci operacyjnej przez mechanizm pamięci wirtualnej nie ma potrzeby zapisywania zawartości segmentu kodu do pamięci masowej. Przywrócenie segmentu kodu do pamięci operacyjnej następuje przez ponowne pobranie go z pliku wykonywalnego. Segment kodu zapisany w pamięci tylko do odczytu może być używany przez kilka procesów (np. przez kilka równocześnie wykonywanych kopii tego samego programu lub w formie biblioteki współdzielonej). W przypadku, gdy architektura komputera pozwala na modyfikację kodu programu podczas jego wykonania (tzw. kod samomodyfikujący się) - wówczas segment kodu jest umieszczany w pamięci umożliwiającej zapis. Tak zmodyfikowany segment kodu podlega zapisaniu w pamięci masowej w przypadku korzystania z pamięci wirtualnej. W architekturze x86 podczas wykonywania programu segment kodu jest wskazywany przez rejestr segmentowy CS. (pl)
  • 在采用段式内存管理的架构中,代码段(code segment / text segment)通常是指用来存放程序执行代码的一块内存区域。这部分区域的大小在程序运行前就已经确定,并且内存区域通常属于只读, 某些架构也允许代码段为可写,即允许程序自修改(self-modifying code)。在代码段中,也有可能包含一些只读的常数变量,例如字符串常量等。 操作系统在装载一个程序时会进行的分段,而代码段通常处于最底部,即最低地址部分,而堆和栈在高处,所以在允许代码段可写的架构上,当堆或栈内存溢出时,代码段中的数据就会开始被覆盖。 (zh)
gold:hypernym
prov:wasDerivedFrom
page length (characters) of wiki page
foaf:isPrimaryTopicOf
is Link from a Wikipage to another Wikipage of
is Wikipage redirect of
is Wikipage disambiguates of
Faceted Search & Find service v1.17_git139 as of Feb 29 2024


Alternative Linked Data Documents: ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 08.03.3330 as of Mar 19 2024, on Linux (x86_64-generic-linux-glibc212), Single-Server Edition (61 GB total memory, 49 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software