这篇博客会简单介绍一下Prolog&Epilog 然后再简单介绍下我对于程序在计算机中到底如何运行的一些理解(因为自己之前也从来没有接触过这些方面的知识,所以如果有讲的不对的地方希望大家能够帮我指正)

1.首先我们认识下什么是Prolog&Epilog 其实就是两段固定的代码, 当编译器对程序进行编译的时候就会生成这两段代码, 然后编译器会在每一个函数的开头塞入Prolog代码,在每一个函数的结尾塞入 Epilog代码。 你可以把Prolog看成是一段程序的前言,把Epilog看成是一段程序的尾言。

2.废话不多说,我们用一段程序来进行理解:

 #include <stdio.h>
int add(int x, int y)
{
int i = ; int j = ;
return (x+y);
}
int main (int argc, char * argv[])
{
printf("%d\n", add(,));
return ;
}

这里写了一段很简单的C程序,其中在main函数中调用了我们自定义的add()函数,我们会用ollydbg来观察一下程序到底是如何运行的。

在windows平台下我们可以通过 >cl /c add1.c 生成目标文件add1.obj

                >link add1.obj 生成可执行文件 add1.exe

3. 当我们运行此程序的时候, OS(操作系统)首先会把这段程序加载到一个虚拟的4G内存当中。 如图所示:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmgAAAF8CAIAAAD0ItAOAAAgAElEQVR4nO3de5QU1Z3A8WvWB4uKIiPgKwKJwaC4vliZJio+wMdiUERE1BijNG5iDJK4ekxiPPGFitJLPCJKXDW+SSAGbR8gJ7rGmMMjgjoG2iAiLII66CAmzKv2j4aZqttVt7umq/r+uvr7OfePme7q6ttVY32tfqGcapXLpNQO6azt2aAk2bQykb8fzQ8glcnZniCA+CnbE+gyVzjlH2/h4f6fnqpMTmE/q+wBAChD9YbT2XH4IpsAgMqp6nACAFBphBMAgBAIJwAAIRBOAABCIJwAAIRAOAEACIFwAgAQAuEEACAEwgkAQAiEEwCAEAgnAAAhEE4AAEIgnAAAhEA4AQAIgXACABAC4QQAIATCCQBACIQTAIAQCCcAACEQTgAAQiCcAACEQDgBAAiBcAIAEALhBAAgBMIJAEAIhBMAgBAIJwAAIRBOAABCIJwAUCFKcchNAvYiAFSI2sH2RFAW9h8Ao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UEFPPvXUvn36PPzKa1o15y1/u/vuu+e/SOjNN988qO/eL/7Ifq5EjZaZ6vun/OuI4fXbtm2LfL8c9NWvKqUaGhpKXJ5w1lw4Ha0yO+KVTXtDls5qkc2m09nC1RZ7cdGzilwm5epX5z26bus3jRIeV8A0iq8NqKDPPvtMKXX2dy/VvoFv0k9/PvL0MxzHaWxsHHBQ74VX2w+VwNF+n7r0hO4//M/LIt8vxwwZcvK3R58wfHiJzwYTzmSHU+M50UyltNM8V1Xyv5oTpf1qehrW98zSlTXfkhfOyv9xFa5hx12UsjagUjZs2HD4EUeMvvg7L/59zSOv/uln99x7/hXfH3L88T323nvnnXd+8sknHce54vLv/Oys3awnSuz48h71jQP2eP3116PdNccMGTJ9ztxDBg164oknSlmecCY7nCW/Fuhb2cBulRBO93O1QeEsvG0pb2gq/Yyzwm+PAoItX748/yeYL+X+Bx446tvf/uVNN2Wz2Y8++ii/zLp16/r22v2LGfb7JHk8OVGNPKnevLUHDx6slPqXkimlZsx7JvPbuX3337+pqano3iSctRnOXCal0uliz2N2+Ywz6LQv7Bln6Y+rlDNOwJI333xz0KBBSqmbbr75+eef37hxo+9it0+97aoRnG4WGc33qrq9upn/QdOTTz31pl//zwvvvV/6yH+70xnnnT/56quL7lDCWYvh7AiK6yVA73uGnFwmlc76vsbped0wf2KZvxfX5e5F9JcZPc8Ob/+l80ffaZTwuPxPfEtYGxA/338+rNBpJw199kr7ZZI/zhnS/ZFHHjFsyVNGjLj14d8YPjUbNOYs/WvPXr3eeust854inMkOp88TlcHvqvV9etV1meddPTuWynjzt2PBzkVSKe8Zp9/zpoXv6DE8txruXbXF1gaI0e+Auvdutp+lksac6Y7jOAvt3PsNo3aaPPlHhi3Z5XAuWPPhD39587Djjze/S4hwJjecAKpKr7133zStSqpmNZx3nacuumCcYUuWE84X/75mr549H330UcP6CSfhBCBCr713//iuKqma1XBOH6fGjR1t2JLlhHN+w8qevXq9/PLLhvUTTsIJQATCWXo4x445y7AlywnnhVf+cNz555v3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QAIATCCQBACIQTAIAQCCcAACEQTgAAQiCcAACEQDgBAAiBcAIAEML/A/0I3u7vRiGwAAAAAElFTkSuQmCC" alt="" />

这个地方有一些概念会以后单独写文章再进行阐述,此处我们可以简单理解为: 当但我们对程序进行编译以后,程序是位于磁盘上的, 当我们点击运行程序以后程序会加载到内存当中。

...

Prolog&Epilog的更多相关文章

  1. slurm.conf系统初始配置

    #slurm集群配置 ##集群名称 ClusterName=myslurm ##主控制器的主机名 ControlMachine=node11 ##主控制器的IP地址 ControlAddr=192.1 ...

  2. 【逆向知识】裸函数(Naked函数)

    1 说明 指定裸函数编写的函数,编译器生成不带任何多余代码. 利用此功能,可以使用内联汇编程序代码编写自己的 prolog/epilog 代码序列. 裸函数对于编写虚拟设备驱动程序特别有用. 2 练习 ...

  3. 裸函数naked解析

    先分享一个案例: #include <stdio.h> __declspec(naked) void Test() { int x; x = ; __asm ret; } int main ...

  4. 【GCC编译器】Swing Modulo Scheduling

    1. SMS 在 GCC 中的实现 1.1. 一些基本概念 (1)软流水(Software pipelining )是一种通过重叠不同迭代的指令,使其并行执行,从而改进循环中指令调度的技术.关键思想是 ...

  5. DOM解析XML报错:Content is not allowed in prolog

    报错内容为: Content is not allowed in prolog. Nested exception: Content is not allowed in prolog. 网上所述总结来 ...

  6. Page-encoding specified in XML prolog (UTF-8) is different from that specified in page directive (utf-8)

    org.apache.jasper.JasperException:xxx.jsp(1,1) Page-encoding specified in XML prolog (UTF-8) is diff ...

  7. prolog 阶段总结

    http://blog.csdn.net/mwsong/article/details/1766382   到现在为止,我们已经对Prolog有了一个基本的了解,现在有必要对我们所学过的知识做一个系统 ...

  8. prolog 规则

    规则 规则由几个互相依赖的简单句(谓词)组成.用来描述事实之间的依赖关系,如:因果关系,蕴含关系,对应关系 规则的实质就是存储起来得查询 其语法结构如下: head:-body head 为谓词的定义 ...

  9. prolog 内部谓词

    内部谓词 和其他语言一样,prolog也提供一些基本的输入输出函数. 内部谓词是指已经在prolog中事先定义好的谓词,在内存中的动态数据库中是没有内部谓词子句的.(当我们运行某个.pl 文件的时候, ...

随机推荐

  1. scp 可以在 2个 linux 主机间复制文件

    Linux scp命令用于Linux之间复制文件和目录,具体如何使用这里好好介绍一下,从本地复制到远程.从远程复制到本地是两种使用方式.这里有具体举例: ================== Linu ...

  2. B. DZY Loves Modification

    B. DZY Loves Modification time limit per test 2 seconds memory limit per test 256 megabytes input st ...

  3. 数据绑定以及Container.DataItem几种方式与用法分析

    灵活的运用数据绑定操作        绑定到简单属性:<%#UserName%>        绑定到集合:<asp:ListBox id="ListBox1" ...

  4. WPF 模拟Button按钮事件触发

    this.Submit.AddHandler(Button.ClickEvent, new RoutedEventHandler(this.Submit_Click)); //这种是无效的方法 thi ...

  5. w3c万维网的介绍和html基本构成

    怎么与浏览器交互? 1.鼠标 2.键盘输入 w3c标准: 中文名:万维网联盟!外文名:world wide web cansortium万维网联盟创建于1994年,是web技术领域最具权威个影响的国际 ...

  6. fastjson格式化输出内容

    引入fastjson <!--fastjson--><dependency> <groupId>com.alibaba</groupId> <ar ...

  7. guacamole 0.9.13安装与配置

    以下命令很多都需要管理权限,建议使用管理员账号执行,遇到问题可以留言. Guacamole官网文档介绍翻译:http://www.cnblogs.com/ji-yun/p/5657709.html 1 ...

  8. 一键部署joomla开源内容管理平台

    https://market.azure.cn/Vhd/Show?vhdId=10896&version=12949 产品详情 产品介绍Joomla是一套自由.开放源代码的内容管理系统,以PH ...

  9. HDU 2147 kiki's game kiki的游戏(博弈,找规律)

    题意: 给一个有n*m 个格子的棋盘,将一个硬币放在右上角一格,每次可以往左/下/左下移动一格,碰到不能移动的局面者输. 思路: 找P/N状态.先将(n,1)归为P状态,那么能一步到达此位置的有3个位 ...

  10. SAP成都研究院DevOps那些事

    今天的文章来自我的同事平静静,SAP成都研究院一位程序媛.平静静2010年加入SAP,熟悉她的人一般都叫她平静.在她待过的每个小组,平静静都不是最引人瞩目的开发人员,然而她总是能一如既往,保质保量地完 ...