Function prologue and epilogue (original) (raw)

About DBpedia

In assembly language programming, the function prologue is a few lines of code at the beginning of a function, which prepare the stack and registers for use within the function. Similarly, the function epilogue appears at the end of the function, and restores the stack and registers to the state they were in before the function was called. The prologue and epilogue are not a part of the assembly language itself; they represent a convention used by assembly language programmers, and compilers of many higher-level languages. They are fairly rigid, having the same form in each function.

Property Value
dbo:abstract In assembly language programming, the function prologue is a few lines of code at the beginning of a function, which prepare the stack and registers for use within the function. Similarly, the function epilogue appears at the end of the function, and restores the stack and registers to the state they were in before the function was called. The prologue and epilogue are not a part of the assembly language itself; they represent a convention used by assembly language programmers, and compilers of many higher-level languages. They are fairly rigid, having the same form in each function. Function prologue and epilogue also sometimes contain code for buffer overflow protection. (en) Пролог процедуры, пролог функции — часть машинного кода в начале процедуры (функции), который подготавливает стек и машинные регистры — сохраняет контекст выполнения — для их дальнейшего использования в теле процедуры (функции). Соответственно, эпилог процедуры (функции) — часть машинного кода в конце процедуры (функции), восстанавливающая стек и машинные регистры до состояния, предшествовавшего вызову этой процедуры (функции). Пролог и эпилог не являются частью языка программирования, а используются компиляторами (ассемблерами) как соглашение и, обычно, имеют единую форму для всех процедур данной реализации компилятора. Пролог и эпилог функции также иногда содержат инструкции защиты от переполнения буфера. (ru)
dbo:wikiPageExternalLink http://jdebp.info/FGA/function-perilogues.html%7Ctitle=The
dbo:wikiPageID 2360837 (xsd:integer)
dbo:wikiPageLength 4671 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID 1081388966 (xsd:integer)
dbo:wikiPageWikiLink dbr:Processor_register dbr:Programmer dbc:Assembly_languages dbr:Compiler dbr:GNU_Compiler_Collection dbr:Call_stack dbr:Calling_convention dbr:Computer_programming dbr:Pascal_programming_language dbr:C_(programming_language) dbc:Subroutines dbr:X86_assembly_language dbr:Assembly_language dbr:Buffer_overflow_protection dbr:X86 dbr:Nested_function dbr:Programming_language
dbp:wikiPageUsesTemplate dbt:Citation_needed dbt:Cite_web
dct:subject dbc:Assembly_languages dbc:Subroutines
rdfs:comment In assembly language programming, the function prologue is a few lines of code at the beginning of a function, which prepare the stack and registers for use within the function. Similarly, the function epilogue appears at the end of the function, and restores the stack and registers to the state they were in before the function was called. The prologue and epilogue are not a part of the assembly language itself; they represent a convention used by assembly language programmers, and compilers of many higher-level languages. They are fairly rigid, having the same form in each function. (en) Пролог процедуры, пролог функции — часть машинного кода в начале процедуры (функции), который подготавливает стек и машинные регистры — сохраняет контекст выполнения — для их дальнейшего использования в теле процедуры (функции). Соответственно, эпилог процедуры (функции) — часть машинного кода в конце процедуры (функции), восстанавливающая стек и машинные регистры до состояния, предшествовавшего вызову этой процедуры (функции). Пролог и эпилог функции также иногда содержат инструкции защиты от переполнения буфера. (ru)
rdfs:label Function prologue and epilogue (en) Пролог процедуры (ru)
owl:sameAs wikidata:Function prologue and epilogue dbpedia-ru:Function prologue and epilogue https://global.dbpedia.org/id/4jrGE
prov:wasDerivedFrom wikipedia-en:Function_prologue_and_epilogue?oldid=1081388966&ns=0
foaf:isPrimaryTopicOf wikipedia-en:Function_prologue_and_epilogue
is dbo:wikiPageRedirects of dbr:Function_prologue dbr:Function_epilog dbr:Function_epilogue dbr:Function_prolog
is dbo:wikiPageWikiLink of dbr:Function_prologue dbr:Function_epilog dbr:Function_epilogue dbr:Function_prolog
is foaf:primaryTopic of wikipedia-en:Function_prologue_and_epilogue