Your browser does not allow JavaScript!
JavaScript is necessary for the proper functioning of this website. Please enable JavaScript or use a modern browser.
Open Science Slovenia
Open Science
DiKUL
slv
|
eng
Search
Browse
New in RUL
About RUL
In numbers
Help
Sign in
Sledenje programom v operacijskem sistemu Linux : diplomsko delo
ID
MOHAR, DAVID
(
Author
),
ID
Mihelič, Jurij
(
Mentor
)
More about this mentor...
PDF - Presentation file,
Download
(274,32 KB)
MD5: D7F9E230B1226A8013AE1CA2CC38F2F9
PID:
20.500.12556/rul/3020a10f-ffb0-419b-aaee-6edb60a7c9b7
Image galllery
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
Typology:
2.11 - Undergraduate Thesis
Organization:
FRI - Faculty of Computer and Information Science
Publisher:
D. Mohar
Year:
2016
Number of pages:
39 str.
PID:
20.500.12556/RUL-80176
COBISS.SI-ID:
1536772291
Publication date in RUL:
03.02.2016
Views:
1449
Downloads:
522
Metadata:
Cite this work
Plain text
BibTeX
EndNote XML
EndNote/Refer
RIS
ABNT
ACM Ref
AMA
APA
Chicago 17th Author-Date
Harvard
IEEE
ISO 690
MLA
Vancouver
:
Copy citation
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