首页> 外文OA文献 >Tracing programs in the Linux operating system
【2h】

Tracing programs in the Linux operating system

机译:在Linux操作系统中跟踪程序

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

In this thesis we demonstrate how to use the technique of tracing not only for debugging purposes, but also as an extra tool during testing. The first part contains the theoretical background about software testing and system calls inside the Linux operating system. A special system call ptrace is described in detail because it can intercept all of application's system calls. The practical part mainly focuses on tracing and its application in software testing. We will take a look at how to access the processor's registers and how to start tracing as efficiently as possible. The main goal of the practical part is to demonstrate how we can use our newly-gained knowledge to acquire some incredibly valuable information about our program's execution. We will try to build a tree of processes it creates, intercept open files and all sent and received signals. The main result of this thesis is a program that contains all of the presented functionalities.
机译:在本文中,我们演示了如何将跟踪技术不仅用于调试目的,而且在测试过程中用作额外的工具。第一部分包含有关Linux操作系统内部软件测试和系统调用的理论背景。详细描述了特殊的系统调用ptrace,因为它可以拦截应用程序的所有系统调用。实际部分主要关注跟踪及其在软件测试中的应用。我们将研究如何访问处理器的寄存器以及如何尽可能有效地开始跟踪。实际部分的主要目的是演示如何使用新获得的知识来获取有关程序执行的非常有价值的信息。我们将尝试构建一个由它创建的进程树,拦截打开的文件以及所有已发送和已接收的信号。本文的主要结果是一个程序,其中包含所有提出的功能。

著录项

  • 作者

    Mohar David;

  • 作者单位
  • 年度 2016
  • 总页数
  • 原文格式 PDF
  • 正文语种
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号