izpis_h1_title_alt

Sledenje programom v operacijskem sistemu Linux
ID MOHAR, DAVID (Author), ID Mihelič, Jurij (Mentor) More about this mentor... This link opens in a new window

.pdfPDF - Presentation file, Download (274,32 KB)
MD5: D7F9E230B1226A8013AE1CA2CC38F2F9
PID: 20.500.12556/rul/3020a10f-ffb0-419b-aaee-6edb60a7c9b7

Abstract
V diplomskem delu bomo pokazali, kako lahko tehniko sledenja programom uporabimo ne samo za razhroščevanje, ampak tudi kot dodatno orodje pri njenem testiranju, ki je dandanes zelo pomemben del razvoja. V prvem delu je predstavljenega nekaj teoretičnega ozadja o testiranju programske opreme in delovanju sistemskih klicev v operacijskem sistemu Linux. Bolj natančno je predstavljen sistemski klic ptrace, s katerim lahko prestrezamo sistemske klice, ki jih poljubni program opravi. V praktičnem delu se diplomsko delo osredotoča na sledenje in predvsem njegovo aplikacijo v procesu testiranja programske opreme. Predstavljeni so različne možnosti sistemskega klica ptrace in primera, kako lahko na enostaven način dostopamo do registrov procesorja ter kako najbolj učinkovito začnemo samo sledenje. Najpomembnejši del praktičnega dela je demonstracija, kako lahko z uporabljenim znanjem pridobimo nekaj zelo koristnih informacij. Tako smo poskusili graditi drevo procesov, ki jih opazovani program ustvari, opazovali datoteke, ki jih odpira, in prestrezali njegove signale. Na koncu je predstavljen končni izdelek diplomskega dela, program, ki vsebuje predstavljene funkcionalnosti. Podane so tudi nekatere možnosti za njegovo razširitev.

Language:Slovenian
Keywords:testiranje, Linux, sistemski klic, sledenje, prestrezanje, ptrace
Work type:Bachelor thesis/paper
Organization:FRI - Faculty of Computer and Information Science
Year:2016
PID:20.500.12556/RUL-80176 This link opens in a new window
Publication date in RUL:03.02.2016
Views:1093
Downloads:500
Metadata:XML RDF-CHPDL DC-XML DC-RDF
:
Copy citation
Share:Bookmark and Share

Secondary language

Language:English
Title:Tracing programs in the Linux operating system
Abstract:
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.

Keywords:testing, Linux, system call, tracing, intercepting, ptrace

Similar documents

Similar works from RUL:
Similar works from other Slovenian collections:

Back